:root{
  /* Dark, warm premium background + colorful accents (teal + sunset pink from logo) */
  --bg:#0b1220;
  --surface: rgba(255,255,255,.92);
  --surface2: rgba(255,255,255,.08);
  --text:#f8fafc;
  --textDark:#0f172a;
  --muted: rgba(248,250,252,.78);
  --mutedDark:#475569;
  --border: rgba(226,232,240,.22);
  --borderLight:#e2e8f0;
  --shadow: 0 20px 60px rgba(0,0,0,.35);

  /* Accent palette (matches logo energy) */
  --accent:#17b6c8;     /* teal */
  --accent2:#ff4d8d;    /* pink */
  --accent3:#f4b740;    /* gold */
  --accentSoft: rgba(23,182,200,.16);
  --accentSoft2: rgba(255,77,141,.14);

  --radius: 18px;
  --max: 1120px;
}

*{box-sizing:border-box}
html,body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background:
    radial-gradient(900px 520px at 12% 8%, rgba(255,77,141,.18), transparent 55%),
    radial-gradient(820px 520px at 86% 10%, rgba(23,182,200,.16), transparent 55%),
    radial-gradient(900px 520px at 40% 120%, rgba(244,183,64,.10), transparent 55%),
    linear-gradient(180deg, #070c16, var(--bg));
  line-height:1.6;
}

a{color:inherit}
.wrap{max-width:var(--max);margin:0 auto;padding:20px}

.topbar{
  position:relative; top:0; z-index:50;
  background: rgba(11,18,32,.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226,232,240,.12);
}

header{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:850; letter-spacing:.2px; text-decoration:none;
}
.brand .mark{
  width:34px;height:34px;border-radius:12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 14px 34px rgba(31,111,235,.20);
}
.brand small{display:block; color:var(--muted); font-weight:650; margin-top:2px}

nav{display:flex; gap:14px; flex-wrap:wrap; align-items:center}
nav a{
  text-decoration:none; font-weight:780; font-size:14px; color:rgba(15,23,42,.82);
}
nav a:hover{color:rgba(15,23,42,1); text-decoration:underline}
nav a.active{text-decoration:underline}

.cta{
  display:flex; gap:10px; flex-wrap:wrap; align-items:center; justify-content:flex-end;
}
.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 12px; border-radius:999px;
  border:1px solid var(--border);
  background: #fff;
  text-decoration:none;
  font-weight:800;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 14px; border-radius:14px;
  text-decoration:none;
  font-weight:850;
  border:1px solid transparent;
}
.btn.primary{
  color:#fff;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 16px 40px rgba(31,111,235,.18);
}
.btn.ghost{
  background:#fff;
  border:1px solid var(--border);
  color: rgba(15,23,42,.92);
}

.card{
  background: var(--surface);
  border: 1px solid rgba(226,232,240,.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--textDark);
}

.hero{padding:34px 0 12px}
.hero-grid{
  display:grid; grid-template-columns: 1.22fr .78fr;
  gap:16px; align-items:stretch;
}
.hero-left{padding:24px}
.hero-left h1{margin:0 0 6px;font-size:38px;line-height:1.08;letter-spacing:-.6px}
.hero-left h2{margin:0 0 14px;font-size:18px;font-weight:850;color:rgba(15,23,42,.78)}
.hero-left p{margin:0 0 12px;font-size:16px;color:rgba(15,23,42,.88)}
.hero-left p:last-child{margin-bottom:0}

.hero-right{padding:18px}
.kpis{display:grid; gap:12px}
.kpi{
  padding:14px;
  border-radius:16px;
  border:1px solid rgba(226,232,240,.95);
  background: linear-gradient(180deg, #ffffff, #fbfcff);
}
.kpi strong{display:block; font-size:15px}
.kpi span{display:block; color:var(--muted); font-size:13px; margin-top:4px}

.section{padding:26px 0}
.section h1{margin:0 0 10px;font-size:34px;letter-spacing:-.6px;line-height:1.08}
.section h3{margin:0 0 10px;font-size:22px;letter-spacing:-.3px}
.lead{margin:0 0 14px;color:var(--muted);max-width:78ch}

.grid3{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px}
.grid2{display:grid; grid-template-columns: repeat(2, 1fr); gap:14px}
.tile{padding:18px}
.tile h4{margin:0 0 8px;font-size:16px}
.tile p{margin:0;color:var(--muted);font-size:14px}
.tile ul{margin:10px 0 0; padding-left:18px; color:var(--muted)}
.tile li{margin:6px 0; font-size:14px}

.callout{
  padding:18px;
  background: linear-gradient(135deg, rgba(31,111,235,.07), rgba(20,184,166,.09));
  border:1px solid rgba(226,232,240,.9);
  border-radius: var(--radius);
}
.row{display:flex; gap:10px; flex-wrap:wrap; align-items:center}
.hr{height:1px;background:var(--border);margin:14px 0}

.form{display:grid; gap:10px}
label{font-weight:780; font-size:13px; color:rgba(15,23,42,.78)}
input, textarea, select{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#fff;
  color:var(--text);
  outline:none;
}
textarea{min-height:140px; resize:vertical}
.helper{color:var(--muted); font-size:13px; margin-top:6px}

.footer{
  padding:22px 0 34px;
  border-top:1px solid var(--border);
  color:var(--muted);
  margin-top:18px;
  font-size:13px;
}

@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr}
  .grid3{grid-template-columns:1fr}
  .grid2{grid-template-columns:1fr}
  header{flex-wrap:wrap}
  .cta{justify-content:flex-start}
  .hero-left h1{font-size:32px}
}


/* ===== Visual warmth upgrades (images + color sections) ===== */
.heroImage{
  position: relative;
  overflow: hidden;
}
.heroImage::before{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(90deg, rgba(15,23,42,.80) 0%, rgba(15,23,42,.55) 42%, rgba(15,23,42,.22) 70%, rgba(15,23,42,.10) 100%);
  z-index: 1;
}
.heroImage img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit: cover;
  transform: scale(1.02);
}
.heroImage .heroContent{
  position: relative;
  z-index: 2;
  padding: 44px 22px;
  color: #fff;
}
.heroImage .heroContent h1{
  color:#fff;
  margin:0 0 6px;
}
.heroImage .heroContent .sub{
  margin: 0 0 14px;
  color: rgba(255,255,255,.88);
  font-weight: 750;
}
.heroImage .heroContent p{
  color: rgba(255,255,255,.92);
  max-width: 72ch;
}
.heroImage .heroContent .btn.ghost{
  background: rgba(255,255,255,.10);
  color:#fff;
  border-color: rgba(255,255,255,.22);
}

.band{
  background:
    radial-gradient(900px 520px at 12% 8%, var(--accentSoft), transparent 55%),
    radial-gradient(820px 480px at 86% 12%, var(--accentSoft2), transparent 55%),
    linear-gradient(180deg, #ffffff, var(--bg));
  border: 1px solid rgba(226,232,240,.85);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.serviceSection{
  display:grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 16px;
  align-items: stretch;
  padding: 18px;
}
.serviceSection.reverse{
  grid-template-columns: 1.1fr .9fr;
}
.serviceMedia{
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(226,232,240,.95);
  background: #fff;
  min-height: 240px;
}
.serviceMedia img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.serviceBody h3{
  margin:0 0 6px;
  font-size: 22px;
  letter-spacing: -.3px;
}
.kicker{
  display:inline-block;
  font-weight: 850;
  color: rgba(15,23,42,.72);
  background: linear-gradient(135deg, rgba(31,111,235,.10), rgba(20,184,166,.12));
  border: 1px solid rgba(226,232,240,.9);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  margin-bottom: 10px;
}
.serviceBody p{
  margin: 0 0 10px;
  color: rgba(15,23,42,.86);
}
.serviceBody ul{
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(15,23,42,.82);
}
.serviceBody li{
  margin: 6px 0;
  font-size: 14px;
}

.calloutStrong{
  background: linear-gradient(135deg, rgba(31,111,235,.09), rgba(20,184,166,.14));
  border: 1px solid rgba(226,232,240,.95);
  border-radius: var(--radius);
  padding: 18px;
}

@media (max-width: 980px){
  .serviceSection, .serviceSection.reverse{
    grid-template-columns: 1fr;
  }
  .serviceMedia{min-height: 210px;}
  .heroImage .heroContent{padding: 34px 18px;}
}


/* ===== Brand logo ===== */
.brand .mark{
  /* keep for fallback if image fails */
}
.brand .logoImg{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(226,232,240,.9);
  box-shadow: 0 14px 34px rgba(31,111,235,.16);
}
@media (max-width: 980px){
  .brand .logoImg{width:42px;height:42px}
}


/* ===== Header redesign (bigger tabs, centered logo) ===== */
header.headerStack{
  display:flex;
  flex-direction: column;
  align-items:center;
  justify-content:center;
  gap: 12px;
  padding: 18px 0 14px;
}

.brand.brandCenter{
  display:flex;
  align-items:center;
  gap: 14px;
  text-decoration:none;
}
.brand.brandCenter .brandName{
  font-weight: 900;
  letter-spacing: .2px;
  font-size: 20px;
  line-height: 1.1;
}
.brand.brandCenter .brandTag{
  font-weight: 750;
  font-size: 13px;
  color: rgba(248,250,252,.78);
  margin-top: 3px;
}
.brand.brandCenter .logoImg{
  width: 78px;
  height: 78px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(226,232,240,.18);
  box-shadow: 0 18px 46px rgba(0,0,0,.35);
}

nav.navTabs{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
  justify-content:center;
}
nav.navTabs a{
  text-decoration:none;
  font-weight: 900;
  font-size: 15px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(226,232,240,.14);
  background: rgba(255,255,255,.06);
  color: rgba(248,250,252,.92);
}
nav.navTabs a:hover{
  background: rgba(255,255,255,.10);
}
nav.navTabs a.active{
  border-color: rgba(255,77,141,.45);
  background: linear-gradient(135deg, rgba(23,182,200,.16), rgba(255,77,141,.16));
}

/* Hide old CTA area if still present */
.cta{display:none !important;}
.pill{display:none !important;}

.leadDark{color: rgba(15,23,42,.78); max-width:78ch;}


/* ===== Home/Services layout polish ===== */
.sectionBand{
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(226,232,240,.14);
  background: rgba(255,255,255,.06);
}
.sectionBand.pink{
  background: linear-gradient(135deg, rgba(255,77,141,.12), rgba(23,182,200,.08));
}
.sectionBand.teal{
  background: linear-gradient(135deg, rgba(23,182,200,.14), rgba(244,183,64,.06));
}
.sectionBand.cream{
  background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.05));
}

.surfaceCard{
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(226,232,240,.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--textDark);
}

.heroTwoCol{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 16px;
  align-items: stretch;
}
.heroTwoCol .heroLeft{
  padding: 22px;
}
.heroTwoCol .heroLeft h1{
  margin:0 0 10px;
  font-size: 40px;
  letter-spacing: -.7px;
  line-height: 1.05;
}
.heroTwoCol .heroLeft p{
  margin: 0 0 12px;
  color: rgba(15,23,42,.84);
}
.heroTwoCol .heroLeft .bigCta{
  margin-top: 14px;
}
.heroTwoCol .heroRight{
  min-height: 360px;
}

.badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top: 12px;
}
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(226,232,240,.16);
  background: rgba(255,255,255,.06);
  color: rgba(248,250,252,.92);
  font-weight: 850;
  font-size: 13px;
}

.btn.primary{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}
.btn.primary:hover{filter: brightness(1.05);}

.h2Title{
  margin:0 0 8px;
  font-size: 26px;
  color: rgba(248,250,252,.96);
  letter-spacing: -.4px;
}
.pMuted{color: rgba(248,250,252,.78); margin:0; max-width: 78ch;}

.cardGrid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.cardGrid3 .tile{
  padding: 18px;
}
.tile .mini{
  font-weight: 900;
  color: rgba(15,23,42,.80);
  margin-bottom: 8px;
}
.tile a.link{
  display:inline-block;
  margin-top: 10px;
  font-weight: 900;
  text-decoration:none;
  color: rgba(15,23,42,.92);
}
.tile a.link:hover{text-decoration: underline;}

.quote{
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(226,232,240,.14);
  color: rgba(248,250,252,.92);
}
.quote strong{color:#fff}

@media (max-width: 980px){
  .heroTwoCol{grid-template-columns:1fr}
  .heroTwoCol .heroLeft h1{font-size: 32px}
  .cardGrid3{grid-template-columns:1fr}
}


/* ====== V7: brighter brand, darker premium background, bigger nav ====== */
body{
  background:
    radial-gradient(900px 500px at 18% 8%, rgba(255,77,141,.16), transparent 60%),
    radial-gradient(900px 520px at 82% 18%, rgba(23,182,200,.14), transparent 60%),
    radial-gradient(900px 520px at 50% 95%, rgba(244,183,64,.10), transparent 60%),
    linear-gradient(180deg, #0b1220, #0a1322 55%, #0a0f1a);
}

.headerStack{
  background: rgba(11,18,32,.70);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226,232,240,.10);
}

.brandCenter{
  gap: 14px;
}

.logoImg{
  width: 86px;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(0,0,0,.25);
  background: rgba(255,255,255,.06);
  padding: 6px;
}

.brandName{
  font-size: 20px;
  letter-spacing: -.2px;
}
.brandTag{
  color: rgba(248,250,252,.78);
  font-weight: 650;
}

.navTabs a{
  font-size: 16px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(226,232,240,.14);
}
.navTabs a:hover{
  background: rgba(255,255,255,.10);
}
.navTabs a.active{
  background: linear-gradient(135deg, rgba(255,77,141,.18), rgba(23,182,200,.14));
  border-color: rgba(255,255,255,.18);
}

.wrap{
  padding-top: 24px;
}

/* Home hero improvements */
.heroTwoCol .surfaceCard.heroLeft{
  background: rgba(255,255,255,.92);
}
.heroTwoCol .heroRight{
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
}
.heroImage:before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(0,0,0,.58), rgba(0,0,0,.18) 60%, rgba(0,0,0,.06));
  pointer-events:none;
}
.heroImage img{ filter: saturate(1.08) contrast(1.02); }

/* ===== Services "Option A": tall image cards with colored label ===== */
.serviceCards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 980px){
  .serviceCards{grid-template-columns: 1fr;}
}

.serviceCard{
  border-radius: var(--radius);
  overflow:hidden;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(226,232,240,.12);
  box-shadow: 0 16px 44px rgba(0,0,0,.26);
}

.serviceMediaTall{
  position: relative;
  height: 360px;
  overflow:hidden;
}
.serviceMediaTall img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}
.serviceMediaTall::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.06) 50%, rgba(0,0,0,.28));
}

.serviceLabel{
  position:absolute;
  left: 16px;
  bottom: 16px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(226,232,240,.18);
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
  font-weight: 950;
  letter-spacing: -.2px;
  font-size: 16px;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.serviceLabel .dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: currentColor;
  opacity: .85;
}
.serviceLabel.pink{ color: rgba(255,77,141,.92); }
.serviceLabel.teal{ color: rgba(23,182,200,.92); }
.serviceLabel.gold{ color: rgba(244,183,64,.95); }

.serviceBodyPad{
  padding: 16px 16px 18px;
  color: rgba(15,23,42,.82);
}
.serviceBodyPad p{ margin: 0 0 10px; }
.serviceBodyPad ul{
  margin: 0;
  padding-left: 18px;
}
.serviceBodyPad li{ margin: 6px 0; }
.serviceBodyPad a{
  display:inline-block;
  margin-top: 10px;
  font-weight: 950;
  color: rgba(15,23,42,.92);
  text-decoration:none;
}
.serviceBodyPad a:hover{ text-decoration: underline; }

/* Section heading band */
.sectionTitle{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-bottom: 14px;
}
.sectionTitle h1, .sectionTitle h2 { margin:0; }


/* ====== V8 polish: bigger logo (no frame), show full photos, warmer cards ====== */
.brand.brandCenter .logoImg{
  width: 118px;
  height: auto;
  border-radius: 0;
  border: none;
  box-shadow: none;
  padding: 0;
  background: transparent;
  object-fit: contain;
}

nav.navTabs a{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(226,232,240,.12);
}

/* Warmer off-white surfaces */
.surfaceCard{
  background: #fff7f3;
}
.serviceCard{
  background: #fff7f3;
}

/* Show full hero images when requested */
.heroContain img{
  object-fit: contain !important;
  background: rgba(255,255,255,.06);
}
.heroContain:before{
  background: linear-gradient(90deg, rgba(0,0,0,.58), rgba(0,0,0,.26) 55%, rgba(0,0,0,.10)) !important;
}

/* Show full service card images (no cropped faces) */
.serviceMediaTall{
  background: rgba(255,255,255,.08);
}
.serviceMediaTall img{
  object-fit: contain !important;
  background: rgba(255,255,255,.06);
  transform: none !important;
}


/* ====== V9: extra-large logo so text is readable ====== */
.brand.brandCenter .logoImg{
  width: 160px;
}
@media (max-width: 768px){
  .brand.brandCenter .logoImg{
    width: 130px;
  }
}


/* ====== V10: Contact card readability fix ====== */
.contactCard,
.contactCard p,
.contactCard strong,
.contactCard a{
  color: #0f172a !important;
}
.contactCard{
  background: #fff7f3;
}
.contactCard a{
  font-weight: 700;
  text-decoration: none;
}
.contactCard a:hover{
  text-decoration: underline;
}


/* ====== V11: Force visible contact info text ====== */
.contactCard h3,
.contactCard h4{
  color: #0b1220 !important;
  font-weight: 800;
}

.contactCard .muted,
.contactCard span,
.contactCard p{
  color: #1f2937 !important;
}

.contactCard a{
  color: #0f172a !important;
  font-weight: 700;
}


/* ====== V12: Contact page contrast (fixes invisible text) ====== */
.page-contact .card.tile{
  background: #fff7f3 !important;
  color: #0f172a !important;
}
.page-contact .card.tile *{
  color: #0f172a !important;
}
.page-contact .card.tile .helper{
  color: #0f172a !important;
  opacity: .85;
}
.page-contact .card.tile .callout{
  background: rgba(23,182,200,.12) !important;
  border: 1px solid rgba(23,182,200,.18) !important;
  color: #0b1220 !important;
}


/* ====== V14 changes ====== */

/* Slimmer header */
.headerStack{ padding: 10px 0; }
.brandName{ font-size: 18px; }
.brandTag{ font-size: 13px; }
.brand.brandCenter .logoImg{ width: 120px; border-radius: 0; background: transparent; padding: 0; box-shadow: none; }

@media (max-width: 768px){
  .headerStack{ padding: 8px 0; }
  .brand.brandCenter .logoImg{ width: 86px; }
  .brandName{ font-size: 16px; }
  .brandTag{ font-size: 12px; }
}

/* Home hero above fold */
.heroHome{ min-height: 70vh; }
@media (max-width: 768px){ .heroHome{ min-height: 64vh; } }
.heroHome img{ width:100%; height:100%; object-fit: cover; }
.heroHome:before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(0,0,0,.58), rgba(0,0,0,.30) 55%, rgba(0,0,0,.12));
  pointer-events:none;
}
.heroContentWide{ max-width: 68ch; }

/* Homepage service tiles */
.tileGrid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 980px){ .tileGrid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px){ .tileGrid{ grid-template-columns: 1fr; } }

.tileCard{
  position: relative;
  border-radius: 18px;
  overflow:hidden;
  height: 210px;
  display:block;
  box-shadow: 0 18px 50px rgba(0,0,0,.32);
  border: 1px solid rgba(226,232,240,.10);
}
.tileCard img{ width:100%; height:100%; object-fit: cover; filter: saturate(1.05) contrast(1.02); transform: scale(1.02); }
.tileCard:after{ content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.28)); }
.tileLabel{
  position:absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(226,232,240,.22);
  font-weight: 950;
  color: rgba(15,23,42,.92);
}
.tileCard:hover .tileLabel{ background: rgba(255,255,255,.94); }

/* Contact form inputs visible */
.page-contact input,
.page-contact select,
.page-contact textarea{
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid rgba(15,23,42,.18) !important;
}
.page-contact input:focus,
.page-contact select:focus,
.page-contact textarea:focus{
  outline: none;
  border-color: rgba(23,182,200,.65) !important;
  box-shadow: 0 0 0 4px rgba(23,182,200,.18);
}

/* Map embed square */
.mapWrap{
  margin-top: 14px;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(226,232,240,.16);
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
}
.mapWrap iframe{ width: 100%; height: 100%; border: 0; }


/* ====== V15: Sticky header only after hero ====== */
body.headerSticky .topbar{
  position: sticky;
  top: 0;
}
body.headerSticky .headerStack{
  padding: 8px 0 8px;
  gap: 10px;
}
body.headerSticky .brand.brandCenter .logoImg{
  width: 78px;
}
@media (max-width: 768px){
  body.headerSticky .brand.brandCenter .logoImg{ width: 64px; }
  body.headerSticky nav.navTabs a{ padding: 9px 11px; }
}

/* ====== V15: Full-bleed hero without frame + top-safe crop ====== */
.heroBleed{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
  overflow: hidden;
  border: none;
  box-shadow: none;
}
.heroBleed .heroMedia{
  position: relative;
  min-height: 72vh;
}
@media (max-width: 768px){
  .heroBleed .heroMedia{ min-height: 64vh; }
}
.heroBleed picture,
.heroBleed img{
  width: 100%;
  height: 100%;
  display:block;
}
.heroBleed img{
  object-fit: cover;
  object-position: 50% 18%;
}
@media (max-width: 768px){
  .heroBleed img{ object-position: 50% 10%; }
}
.heroBleed .heroMedia:before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(0,0,0,.60), rgba(0,0,0,.28) 58%, rgba(0,0,0,.10));
  pointer-events:none;
  z-index:1;
}
.heroBleed .heroContent{
  position:absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  display:flex;
  align-items:center;
  z-index:2;
}
.heroBleed .heroInner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 20px;
}
.heroBleed h1{ font-size: clamp(34px, 4vw, 54px); }


/* ====== V15: Sticky header ONLY after hero ====== */
#siteHeader{
  position: relative; /* default: scrolls with page */
}
#siteHeader.isSticky{
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(10px);
  background: rgba(6,12,22,.88);
  border-bottom: 1px solid rgba(226,232,240,.10);
}
#siteHeader.isSticky .headerStack{
  padding: 6px 0;
}
#siteHeader.isSticky .brand.brandCenter .logoImg{
  width: 76px;
}
@media (max-width: 768px){
  #siteHeader.isSticky .brand.brandCenter .logoImg{ width: 64px; }
  #siteHeader.isSticky nav.navTabs a{ padding: 9px 11px; }
}

/* ====== V15: Full-bleed hero (no framed card) ====== */
.heroFull{
  padding: 0;
  margin-top: 0;
}
.heroFullWrap{
  position: relative;
  width: 100%;
  min-height: 72vh;
  overflow: hidden;
}
@media (max-width: 768px){
  .heroFullWrap{ min-height: 64vh; }
}
.heroFullWrap picture, .heroFullWrap img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}
.heroFullWrap img{
  object-fit: cover;
  object-position: 50% 18%; /* keep heads */
}
@media (max-width: 640px){
  .heroFullWrap img{
    object-position: 50% 8%; /* even more headroom on phones */
  }
}
.heroFullWrap:after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.34) 55%, rgba(0,0,0,.12));
}
.heroFullInner{
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 18px 54px;
}
@media (max-width: 768px){
  .heroFullInner{ padding: 58px 16px 44px; }
}
.heroFullInner h1{
  max-width: 18ch;
}
.heroFullInner .sub{
  max-width: 55ch;
}

/* Make the first section after hero not hide under sticky header when it activates */
.afterHero{ padding-top: 26px; }

/* ====== V15: Services page image tiles (like reference) ====== */
.servicesTiles{
  margin-top: 8px;
}


/* ====== V16: Full-bleed About CTA banner + Services tiles ====== */
.section.fullBleed{
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.fullBleedHero{
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 360px;
  overflow: hidden;
  border-radius: 0;
}
.fullBleedImg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
}
.fullBleedHero:after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.28) 60%, rgba(0,0,0,.08));
}
.fullBleedOverlay{
  position: relative;
  z-index: 2;
  padding: 44px 22px;
  max-width: 1100px;
  margin: 0 auto;
  color: #fff;
}
.fullBleedOverlay h2{
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.05;
  margin: 0 0 10px 0;
}
.fullBleedOverlay p{
  margin: 0 0 16px 0;
  max-width: 60ch;
  color: rgba(255,255,255,.9);
  font-weight: 600;
}
@media (max-width: 768px){
  .fullBleedHero{ min-height: 420px; }
  .fullBleedImg{ object-position: 50% 10%; }
  .fullBleedOverlay{ padding: 34px 16px; }
}

/* Services page: make tiles a touch taller */
.tileGridServices .tileCard{
  height: 240px;
}
@media (max-width: 640px){
  .tileGridServices .tileCard{
    height: 220px;
  }
}


/* ====== V17: About hero full-bleed (no grey sides) ====== */
.section.fullBleed{
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.fullBleedHero{
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  border-radius: 0;
}
.aboutBleed{ min-height: 420px; }
@media (max-width: 768px){
  .aboutBleed{ min-height: 520px; }
}
.fullBleedOverlay .sub{
  margin-top: 8px;
  font-weight: 650;
  color: rgba(255,255,255,.92);
}
