/* LocalTilePros.com - Small Town Builds
   Author: ChatGPT
*/
:root{
  --bg:#0b0d10;
  --panel:#11151b;
  --card:#0f1318;
  --text:#eef2f6;
  --muted:#aab5c2;
  --line:rgba(255,255,255,.10);
  --accent:#e7c26a; /* warm gold */
  --accent2:#9ad0ff; /* soft blue */
  --shadow: 0 18px 40px rgba(0,0,0,.35);
  --radius: 18px;
  --max: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:var(--font);
  background: radial-gradient(1100px 600px at 12% 0%, rgba(231,194,106,.18), transparent 55%),
              radial-gradient(900px 500px at 98% 10%, rgba(154,208,255,.14), transparent 55%),
              var(--bg);
  color:var(--text);
  line-height:1.55;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(var(--max), calc(100% - 40px)); margin:0 auto}
.small{font-size:.92rem}
.muted{color:var(--muted)}
.badge{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 14px; border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(6px);
  font-weight:600;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 16px; border-radius:12px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.06);
  color:var(--text);
  font-weight:700;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  cursor:pointer;
}
.btn:hover{transform: translateY(-1px); background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.18)}
.btn.primary{
  background: linear-gradient(135deg, rgba(231,194,106,.95), rgba(231,194,106,.78));
  border-color: rgba(231,194,106,.55);
  color:#151515;
}
.btn.primary:hover{background: linear-gradient(135deg, rgba(231,194,106,1), rgba(231,194,106,.85))}
.btn.ghost{background:transparent}
header.site-header{
  position:sticky; top:0; z-index:60;
  background: rgba(11,13,16,.72);
  border-bottom:1px solid var(--line);
  backdrop-filter: blur(10px);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 0;
  gap:14px;
}
.brand{
  display:flex; align-items:center; gap:12px;
  min-width: 220px;
}
.brand img{
  width:60px; height:60px; border-radius:14px;
  background:#fff;
  border:1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
}
.brand .title{display:flex; flex-direction:column; line-height:1.1}
.brand .title strong{font-size:1rem; letter-spacing:.2px}
.brand .title span{font-size:.85rem; color:var(--muted)}
.nav-links{
  display:flex; align-items:center; gap:14px;
}
.nav-links a{
  padding:10px 10px; border-radius:10px;
  color:var(--muted);
  font-weight:700;
  letter-spacing:.2px;
}
.nav-links a.active,
.nav-links a:hover{
  color:var(--text);
  background: rgba(255,255,255,.06);
}
.nav-cta{display:flex; align-items:center; gap:10px}
.icon-btn{
  display:none;
  width:44px; height:44px;
  border-radius:12px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  align-items:center; justify-content:center;
}
.icon-btn svg{width:22px;height:22px}
@media (max-width: 860px){
  .nav-links{display:none}
  .icon-btn{display:flex}
  .brand{min-width:unset}
}
.mobile-drawer{
  position:fixed; inset:0;
  background: rgba(0,0,0,.6);
  display:none;
  z-index:80;
}
.mobile-drawer.open{display:block}
.drawer-panel{
  position:absolute; right:0; top:0;
  width:min(360px, 92vw);
  height:100%;
  background: rgba(15,19,24,.98);
  border-left:1px solid var(--line);
  padding:18px;
  box-shadow: var(--shadow);
}
.drawer-panel .drawer-top{
  display:flex; align-items:center; justify-content:space-between;
}
.drawer-links{
  display:flex; flex-direction:column; gap:8px;
  margin:16px 0 18px;
}
.drawer-links a{
  padding:12px 12px; border-radius:12px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  color:var(--text);
  font-weight:800;
}
.drawer-links a:hover{background: rgba(255,255,255,.06)}
.hero{
  padding:56px 0 10px;
}
.hero-grid{
  display:grid; grid-template-columns: 1.05fr .95fr;
  gap:26px;
  align-items:stretch;
}
@media (max-width: 920px){
  .hero{padding:36px 0 10px}
  .hero-grid{grid-template-columns: 1fr; }
}
.hero h1{
  margin:12px 0 12px;
  font-size: clamp(2.1rem, 3.2vw, 3.2rem);
  letter-spacing:-.6px;
  line-height:1.08;
}
.hero p{color:var(--muted); font-size:1.05rem; margin:0 0 18px}
.hero .cta-row{display:flex; flex-wrap:wrap; gap:10px; margin: 18px 0 0}
.card{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0,0,0,.20);
}
.hero-card{
  padding:16px;
  overflow:hidden;
  position:relative;
}
.hero-card .img{
  border-radius: 14px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
}
.hero-card .img img{
  width:100%;
  height:340px;
  object-fit:cover;
  transform: scale(1.02);
}
@media (max-width: 920px){
  .hero-card .img img{height:280px}
}
.hero-card .overlay{
  position:absolute; left:16px; right:16px; bottom:16px;
  padding:14px 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(0,0,0,.0), rgba(0,0,0,.55));
}
.hero-card .overlay .kicker{
  font-weight:900; letter-spacing:.4px;
}
.section{padding:46px 0}
.section h2{margin:0 0 10px; font-size:1.75rem}
.section p.lead{margin:0 0 18px; color:var(--muted); max-width: 70ch}
.grid-3{
  display:grid; grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
@media (max-width: 920px){.grid-3{grid-template-columns: 1fr}}
.feature{
  padding:18px;
}
.feature h3{margin:10px 0 6px; font-size:1.08rem}
.feature p{margin:0; color:var(--muted)}
.kpi{
  display:flex; gap:12px; flex-wrap:wrap;
  margin:16px 0 0;
}
.kpi .pill{
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  border-radius: 999px;
  font-weight:800;
}
.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
}
@media (max-width: 920px){.split{grid-template-columns: 1fr}}
.list{
  display:grid; gap:10px;
}
.list .row{
  display:flex; gap:12px; align-items:flex-start;
  padding:14px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.check{
  width:22px;height:22px;border-radius:7px;
  border:1px solid rgba(231,194,106,.55);
  background: rgba(231,194,106,.14);
  display:flex;align-items:center;justify-content:center;
  flex: 0 0 auto;
  margin-top:2px;
}
.check svg{width:14px;height:14px; fill: var(--accent)}
.gallery{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:12px;
}
.gallery .shot{
  grid-column: span 4;
  overflow:hidden;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  cursor:pointer;
  position:relative;
}
.gallery .shot img{
  width:100%;
  height:210px;
  object-fit:cover;
  transition: transform .16s ease;
}
.gallery .shot:hover img{transform: scale(1.04)}
.gallery .shot .cap{
  position:absolute;
  left:12px; right:12px; bottom:12px;
  background: rgba(0,0,0,.55);
  border:1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding:10px 10px;
  font-weight:800;
}
@media (max-width: 980px){ .gallery .shot{grid-column: span 6} }
@media (max-width: 560px){ .gallery .shot{grid-column: span 12} .gallery .shot img{height:230px} }
.filters{
  display:flex; gap:8px; flex-wrap:wrap;
  margin: 0 0 14px;
}
.filter{
  padding:10px 12px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: var(--text);
  font-weight:800;
  cursor:pointer;
}
.filter.active{
  background: rgba(231,194,106,.18);
  border-color: rgba(231,194,106,.50);
}
.lightbox{
  position:fixed; inset:0;
  background: rgba(0,0,0,.78);
  display:none;
  align-items:center; justify-content:center;
  z-index:100;
  padding:18px;
}
.lightbox.open{display:flex}
.lightbox .frame{
  width:min(1000px, 96vw);
  background: rgba(17,21,27,.98);
  border:1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  overflow:hidden;
  box-shadow: var(--shadow);
}
.lightbox .frame img{
  width:100%;
  max-height: 68vh;
  object-fit:contain;
  background:#0b0d10;
}
.lightbox .meta{
  padding:14px 16px;
  display:flex; justify-content:space-between; gap:10px;
  align-items:flex-start;
}
.lightbox .meta strong{display:block}
.lightbox .close{
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--text);
  border-radius: 12px;
  padding:10px 12px;
  cursor:pointer;
  font-weight:900;
}
footer{
  padding:34px 0 44px;
  border-top:1px solid var(--line);
  background: rgba(0,0,0,.18);
}
.footer-grid{
  display:grid; grid-template-columns: 1.2fr .8fr .8fr;
  gap:18px;
  align-items:start;
}
@media (max-width: 920px){.footer-grid{grid-template-columns:1fr}}
.footer-brand{display:flex; gap:12px; align-items:center}
.footer-brand img{width:50px;height:50px;border-radius:14px;border:1px solid rgba(255,255,255,.12); background:#000}
.footer-brand strong{display:block}
.footer-grid a{color:var(--muted)}
.footer-grid a:hover{color:var(--text)}
.footer-bottom{margin-top:16px; color:var(--muted); font-size:.9rem}
.form{
  display:grid; gap:10px;
}
.input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color:var(--text);
  font:inherit;
}
textarea{min-height:120px; resize:vertical}
.notice{
  padding:12px 14px;
  border-radius: 16px;
  border:1px dashed rgba(255,255,255,.18);
  background: rgba(255,255,255,.03);
  color: var(--muted);
}
hr.sep{
  border:0; border-top:1px solid rgba(255,255,255,.10);
  margin:18px 0;
}

/* --- Brand logo placements (hero + scroll) --- */
.hero-logo{
  width: min(560px, 92%);
  height:auto;
  display:block;
  margin: 0 0 16px 0;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.28);
  padding: 10px 12px;
  box-shadow: 0 18px 46px rgba(0,0,0,.45);
}
.brand-strip{
  padding: 18px 0 10px;
}
.brand-strip .brand-card{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}
.brand-strip .brand-card img{
  width: min(520px, 90%);
  height:auto;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.28);
  padding: 10px 12px;
}
.page-hero{
  padding: 34px 0 6px;
}
.page-hero .wrap{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}
.page-hero .wrap img{
  width: min(420px, 92%);
  height:auto;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.28);
  padding: 10px 12px;
}



/* --- Logo on white background (header + hero + page-hero) --- */
.brand img,
.hero-logo,
.page-hero img{
  background:#fff;
  padding:8px;
  box-sizing:border-box;
}

/* Slightly larger logo in header on desktop */
.brand img{ width:72px; height:72px; }

/* Reduce header height + switch to compact title on mobile */
@media (max-width: 860px){
  .nav{ padding:6px 0; }
  .brand img{ width:48px; height:48px; padding:6px; border-radius:12px; }
  .brand .title strong{ font-size:.95rem; }
  .brand .title span{ display:none; }
  .icon-btn{ width:40px; height:40px; }
}

/* Hero logo larger on desktop while keeping mobile safe */
.hero-logo{
  max-width: 560px;
  width: min(560px, 92%);
  border-radius: 18px;
}

.page-hero img{border-radius:18px;}


/* Large on-page logo (one per page, separate from header) */
.page-logo{
  padding: 28px 0 10px;
}
.logo-card{
  background:#fff;
  border-radius: 22px;
  padding: 22px 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  border: 1px solid rgba(0,0,0,.08);
  display:flex;
  justify-content:center;
  align-items:center;
}
.logo-large{
  width: min(560px, 92%);
  height:auto;
  display:block;
}

/* Keep mobile header compact */
@media (max-width: 820px){
  .page-logo{ padding: 18px 0 6px; }
  .logo-card{ padding: 16px 12px; border-radius: 18px; }
  .logo-large{ width: min(420px, 92%); }
}
