/* ==========================================================================
   Crown Home Improvement, LLC — design system
   ========================================================================== */
:root {
  --navy: #101D32;
  --navy-2: #16263f;
  --royal: #234B80;
  --gold: #D5A64A;
  --gold-2: #e4bd6c;
  --gold-ink: #8a6420;
  --white: #FFFFFF;
  --light: #F4F6F8;
  --ink: #242B35;
  --muted: #5b6573;
  --line: #e2e6ec;

  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Public Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 29, 50, .06), 0 2px 8px rgba(16, 29, 50, .05);
  --shadow: 0 10px 30px -12px rgba(16, 29, 50, .25), 0 2px 6px rgba(16, 29, 50, .06);
  --shadow-lg: 0 30px 60px -20px rgba(16, 29, 50, .35);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 78px;
  --container: 1220px;

  /* placeholder patterns */
  --pat-shingle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='46'%3E%3Cpath d='M0 22.5h56M0 45.5h56' stroke='%23000' stroke-opacity='.38'/%3E%3Cpath d='M0 1h56M0 24h56' stroke='%23fff' stroke-opacity='.08'/%3E%3Cpath d='M.5 0v23M28.5 23v23' stroke='%23000' stroke-opacity='.3'/%3E%3C/svg%3E");
  --pat-brick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24'%3E%3Cpath d='M0 11.5h48M0 23.5h48' stroke='%23000' stroke-opacity='.35' stroke-width='1.4'/%3E%3Cpath d='M.5 0v12M24.5 12v12' stroke='%23000' stroke-opacity='.35' stroke-width='1.4'/%3E%3Cpath d='M0 1h48M0 13h48' stroke='%23fff' stroke-opacity='.07'/%3E%3C/svg%3E");
  --pat-flat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cpath d='M0 69.5h140M69.5 0v140' stroke='%23fff' stroke-opacity='.08' stroke-width='3'/%3E%3Ccircle cx='70' cy='70' r='3' fill='%23fff' fill-opacity='.08'/%3E%3C/svg%3E");
  --pat-grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 .5h40M.5 0v40' stroke='%23fff' stroke-opacity='.05'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 6px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: var(--royal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }

/* ---------- buttons ---------- */
.btn { --bh: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: var(--bh); padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent; font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .02em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s; }
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-lg { --bh: 56px; padding: 0 30px; font-size: 16px; }
.btn-sm { --bh: 42px; padding: 0 20px; font-size: 14px; }
.btn-block { width: 100%; white-space: normal; text-align: center; padding-block: 10px; }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 8px 22px -10px rgba(213, 166, 74, .8); }
.btn-gold:hover { background: var(--gold-2); transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(213, 166, 74, .9); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--royal); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .45); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; transform: translateY(-2px); }

/* ---------- type helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--royal); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.eyebrow-light { color: var(--gold-2); }
.section { padding: clamp(80px, 10vw, 128px) 0; }
.section-title { font-size: clamp(32px, 4.2vw, 50px); font-weight: 800; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-intro, .lead { font-size: 19px; color: var(--muted); }
.lead { color: var(--ink); }

/* ---------- reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); color: #fff; transition: background-color .35s, box-shadow .35s, height .35s; }
.site-header.scrolled { background: rgba(16, 29, 50, .94); backdrop-filter: blur(12px); box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .5); --header-h: 68px; height: 68px; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.logo-mark { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(145deg, var(--gold-2), var(--gold) 55%, #b8862f); color: var(--navy); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 6px 16px -6px rgba(213, 166, 74, .7); }
.logo-mark .ico { width: 26px; height: 26px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { font-family: var(--font-head); font-weight: 900; font-size: 22px; letter-spacing: .14em; }
.logo-text small { font-family: var(--font-head); font-size: 9.5px; font-weight: 700; letter-spacing: .27em; color: var(--gold-2); margin-top: 5px; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav ul a { display: block; padding: 10px 14px; color: rgba(255, 255, 255, .86); text-decoration: none; font-weight: 600; font-size: 15px; border-radius: 8px; position: relative; transition: color .2s; }
.main-nav ul a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav ul a:hover, .main-nav ul a.active { color: #fff; }
.main-nav ul a:hover::after, .main-nav ul a.active::after { transform: scaleX(1); }
.main-nav .nav-cta-mobile { display: none; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; place-items: center; }
.nav-toggle .ico { width: 24px; height: 24px; }
.nav-toggle .ico-close { display: none; }
.nav-open .nav-toggle .ico-open { display: none; }
.nav-open .nav-toggle .ico-close { display: block; }

@media (max-width: 1020px) {
  .header-cta { display: none; }
  .nav-toggle { display: grid; }
  .main-nav { position: fixed; inset: 0; top: 0; z-index: -1; background: var(--navy); padding: calc(var(--header-h) + 24px) 24px 32px; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .3s, transform .3s var(--ease), visibility .3s; background-image: var(--pat-grid); }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav ul a { font-family: var(--font-head); font-size: 28px; font-weight: 800; padding: 12px 4px; }
  .main-nav ul a::after { left: 4px; right: auto; width: 40px; }
  .main-nav .nav-cta-mobile { display: inline-flex; --bh: 56px; }
  body.nav-open { overflow: hidden; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: var(--navy) var(--pat-grid); color: #fff; isolation: isolate; cursor: default; }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: -3; opacity: 0; transition: opacity 1.2s var(--ease); cursor: pointer; }
.scene-ready #scene { opacity: 1; }
.hero-fallback { position: absolute; inset: 0; z-index: -4; background:
  radial-gradient(ellipse 60% 50% at 75% 40%, rgba(35, 75, 128, .55), transparent 70%),
  radial-gradient(ellipse 40% 35% at 85% 85%, rgba(213, 166, 74, .18), transparent 70%),
  linear-gradient(160deg, #16294a, var(--navy) 60%); }
.hero-fallback::after { content: ""; position: absolute; right: -4%; bottom: 0; width: min(62vw, 820px); aspect-ratio: 1.6; opacity: .16;
  background: no-repeat center bottom / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 500' fill='none' stroke='%23D5A64A' stroke-width='2'%3E%3Cpath d='M40 490h720M120 490V260L400 60l280 200v230M90 280 400 40l310 240M520 130V70h60v100M330 490V360h140v130M180 300h90v80h-90zM530 300h90v80h-90z'/%3E%3Cpath d='M150 250h500M190 220h420M230 190h340M270 160h260M310 130h180M350 100h100' stroke-opacity='.6'/%3E%3C/svg%3E"); }
.hero-scrim { position: absolute; inset: 0; z-index: -2; pointer-events: none; background:
  linear-gradient(90deg, rgba(16, 29, 50, .92) 0%, rgba(16, 29, 50, .78) 30%, rgba(16, 29, 50, .25) 58%, rgba(16, 29, 50, 0) 75%),
  linear-gradient(180deg, rgba(16, 29, 50, .55) 0%, rgba(16, 29, 50, 0) 22%, rgba(16, 29, 50, 0) 78%, rgba(16, 29, 50, .5) 100%); }
.hero-content { position: relative; padding: calc(var(--header-h) + 48px) 0 140px; pointer-events: none; }
.hero-content a, .hero-content button { pointer-events: auto; }
.hero-content > * { max-width: 640px; }
.hero-title { color: #fff; font-size: clamp(40px, 6vw, 76px); font-weight: 900; line-height: 1.02; letter-spacing: -.03em; margin-bottom: 24px; text-shadow: 0 2px 30px rgba(16, 29, 50, .4); }
.hero-title .gold { color: var(--gold); }
.hero-sub { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .86); max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.trust-chip { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 14px; border-radius: 999px; background: rgba(16, 29, 50, .55); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(8px); color: #fff; text-decoration: none; font-size: 15px; transition: border-color .25s, background-color .25s; }
.trust-chip:hover { border-color: var(--gold); background: rgba(16, 29, 50, .75); }
.trust-chip strong { color: var(--gold-2); }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars .ico { fill: currentColor; stroke: none; width: 17px; height: 17px; }
.hero-hint { position: absolute; right: 28px; bottom: 120px; display: flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px; background: rgba(255, 255, 255, .72); color: var(--navy); font-size: 13px; font-weight: 600; backdrop-filter: blur(8px); box-shadow: var(--shadow-sm); pointer-events: none; opacity: 0; transform: translateY(8px); transition: opacity .8s var(--ease) 1.5s, transform .8s var(--ease) 1.5s; }
.scene-ready .hero-hint { opacity: 1; transform: none; }
.hint-dot { width: 9px; height: 9px; border-radius: 50%; background: #e2873a; box-shadow: 0 0 0 0 rgba(226, 135, 58, .6); animation: pulse 2s infinite; }
.hint-touch { display: none; }
@media (hover: none) { .hint-mouse { display: none; } .hint-touch { display: inline; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(226, 135, 58, .55); } 80%, 100% { box-shadow: 0 0 0 12px rgba(226, 135, 58, 0); } }

@media (max-width: 860px) {
  .hero { align-items: flex-end; }
  .hero-scrim { background: linear-gradient(180deg, rgba(16, 29, 50, .55) 0%, rgba(16, 29, 50, .05) 26%, rgba(16, 29, 50, .55) 52%, rgba(16, 29, 50, .95) 78%); }
  .hero-content { padding: calc(var(--header-h) + 20vh) 0 110px; }
  .hero-hint { top: calc(var(--header-h) + 14px); bottom: auto; right: 50%; transform: translate(50%, 8px); width: max-content; max-width: calc(100% - 40px); text-align: center; }
  .scene-ready .hero-hint { transform: translate(50%, 0); }
}

/* ==========================================================================
   STATS
   ========================================================================== */
.stats-wrap { position: relative; z-index: 5; margin-top: -78px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.stat { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 30px 28px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 1px; background: var(--line); }
.stat-ico { grid-row: span 2; width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--light); color: var(--royal); }
.stat-ico .ico { width: 24px; height: 24px; }
.stat:first-child .stat-ico .ico { fill: var(--gold); stroke: var(--gold); }
.stat-num { font-family: var(--font-head); font-size: 38px; font-weight: 900; color: var(--navy); line-height: 1; letter-spacing: -.02em; }
.stat-num small { font-size: 20px; color: var(--muted); font-weight: 700; }
.stat-label { font-size: 14.5px; font-weight: 600; color: var(--muted); }
.stats-source { margin: 14px 4px 0; font-size: 13px; color: var(--muted); text-align: center; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3)::before { display: none; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 480px) { .stat { padding: 22px 16px; column-gap: 12px; } .stat-ico { width: 42px; height: 42px; } .stat-num { font-size: 30px; } .stat-label { font-size: 13px; } }

/* ==========================================================================
   PHOTO PLACEHOLDERS (replaced by real photos via js/main.js SITE.photos)
   ========================================================================== */
.ph { --ph-a: #1d3052; --ph-b: #0f1b2e; --ph-pat: var(--pat-shingle); position: relative; margin: 0; overflow: hidden; background: var(--ph-pat), radial-gradient(ellipse 80% 70% at 70% 20%, rgba(255, 255, 255, .14), transparent 60%), linear-gradient(160deg, var(--ph-a), var(--ph-b)); aspect-ratio: 4 / 3; color: rgba(255, 255, 255, .9); }
.ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(16, 29, 50, .35)); pointer-events: none; }
.ph-shingle { --ph-pat: var(--pat-shingle); }
.ph-brick { --ph-pat: var(--pat-brick); --ph-a: #7a4a33; --ph-b: #3e2519; }
.ph-flat { --ph-pat: var(--pat-flat); --ph-a: #4a5566; --ph-b: #242d3b; }
.ph-house { --ph-pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300' fill='none' stroke='%23fff' stroke-opacity='.13' stroke-width='2'%3E%3Cpath d='M30 290h340M80 290V150L200 60l120 90v140M60 165 200 50l140 115M250 95V60h25v55M170 290v-70h60v70M100 180h45v40h-45zM255 180h45v40h-45z'/%3E%3C/svg%3E") center 70% / 75% no-repeat, var(--pat-grid); --ph-a: #234B80; --ph-b: #13223b; }
.ph-warm { --ph-a: #5a4630; --ph-b: #231c16; }
.ph-blue { --ph-a: #2b5590; --ph-b: #142644; }
.ph-tall { aspect-ratio: 4 / 5; }
.ph-ico { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(4px); z-index: 1; }
.ph-ico .ico { width: 28px; height: 28px; color: var(--gold-2); }
.ph-tag { position: absolute; left: 12px; top: 12px; z-index: 2; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(16, 29, 50, .6); border: 1px dashed rgba(255, 255, 255, .35); color: rgba(255, 255, 255, .85); }
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform .8s var(--ease); }
.ph.has-photo > .ph-ico, .ph.has-photo > .ph-tag { display: none; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about { padding-top: clamp(90px, 10vw, 130px); }
.about-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-media { position: relative; }
.about-media .ph { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-media::before { content: ""; position: absolute; left: -22px; top: -22px; width: 55%; height: 55%; border-radius: var(--radius-lg); border: 2px solid var(--gold); z-index: -1; }
.about-badge { position: absolute; right: -24px; bottom: 36px; display: flex; align-items: center; gap: 14px; padding: 18px 22px; background: var(--navy); color: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); z-index: 2; }
.about-badge-num { font-family: var(--font-head); font-size: 40px; font-weight: 900; color: var(--gold); line-height: 1; }
.about-badge-num small { font-size: 18px; color: rgba(255, 255, 255, .7); }
.about-badge-text { font-size: 13.5px; line-height: 1.35; color: rgba(255, 255, 255, .85); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 30px 0 34px; }
.values li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--navy); }
.values .ico { width: 38px; height: 38px; padding: 9px; border-radius: 10px; background: rgba(213, 166, 74, .14); color: var(--gold-ink); }
@media (max-width: 920px) { .about-grid { grid-template-columns: 1fr; } .about-media { max-width: 520px; } .about-badge { right: 12px; } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } .about-media::before { left: -10px; top: -10px; } }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services { background: var(--light); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover .ph > img { transform: scale(1.06); }
.service-card .ph { aspect-ratio: 16 / 10; }
.service-card .ph-ico { display: none; }
.service-body { position: relative; padding: 34px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.service-ico { position: absolute; top: -26px; left: 24px; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: var(--gold); box-shadow: 0 10px 20px -8px rgba(16, 29, 50, .6); transition: background-color .3s, color .3s; }
.service-card:hover .service-ico { background: var(--gold); color: var(--navy); }
.service-ico .ico { width: 24px; height: 24px; }
.service-body h3 { font-size: 20px; margin: 6px 0 10px; }
.service-body p { font-size: 15.5px; color: var(--muted); flex: 1; }
.link-more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 14.5px; color: var(--royal); text-decoration: none; letter-spacing: .02em; }
.link-more .ico { transition: transform .25s var(--ease); }
.link-more:hover { color: var(--navy); }
.link-more:hover .ico { transform: translateX(4px); }
.service-cta { justify-content: center; padding: 34px 28px; background: var(--navy) var(--pat-grid); color: #fff; border: 0; }
.service-cta h3 { color: #fff; font-size: 23px; }
.service-cta p { color: rgba(255, 255, 255, .75); font-size: 15.5px; }
.service-cta .btn { align-self: flex-start; margin-top: 6px; }
.service-cta-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(213, 166, 74, .15); color: var(--gold); margin-bottom: 20px; }
.service-cta-ico .ico { width: 26px; height: 26px; }
@media (max-width: 1160px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .service-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   WHY CHOOSE US
   ========================================================================== */
.why { position: relative; background: var(--navy); color: rgba(255, 255, 255, .8); overflow: hidden; }
.why::before { content: ""; position: absolute; inset: 0; background: var(--pat-grid); -webkit-mask-image: radial-gradient(ellipse at 20% 30%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 20% 30%, #000, transparent 70%); }
.why::after { content: ""; position: absolute; right: -10%; top: -30%; width: 60%; aspect-ratio: 1; background: radial-gradient(circle, rgba(35, 75, 128, .55), transparent 65%); pointer-events: none; }
.why .container { position: relative; z-index: 1; }
.why-grid { display: grid; grid-template-columns: .85fr 1.4fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.why-head { position: sticky; top: calc(var(--header-h) + 30px); }
.why-head .section-title { color: #fff; }
.why-head p { font-size: 18px; margin-bottom: 30px; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why-item { display: flex; gap: 18px; padding: 26px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); transition: background-color .35s, border-color .35s, transform .35s var(--ease); }
.why-item:hover { background: rgba(255, 255, 255, .07); border-color: rgba(213, 166, 74, .5); transform: translateY(-4px); }
.why-ico { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(145deg, rgba(213, 166, 74, .25), rgba(213, 166, 74, .08)); border: 1px solid rgba(213, 166, 74, .35); color: var(--gold); }
.why-ico .ico { width: 24px; height: 24px; }
.why-item h3 { color: #fff; font-size: 18.5px; margin-bottom: 8px; }
.why-item p { font-size: 15px; margin: 0; color: rgba(255, 255, 255, .7); }
@media (max-width: 1020px) { .why-grid { grid-template-columns: 1fr; } .why-head { position: static; } }
@media (max-width: 640px) { .why-list { grid-template-columns: 1fr; } }

/* ==========================================================================
   PROJECTS / GALLERY
   ========================================================================== */
.notice { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--muted); background: var(--light); border: 1px dashed #c8cfd9; border-radius: 12px; padding: 12px 16px; margin: -24px 0 32px; }
.notice .ico { color: var(--royal); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 270px; grid-auto-flow: dense; gap: 18px; }
.g-item { position: relative; padding: 0; border: 0; border-radius: var(--radius-lg); overflow: hidden; cursor: zoom-in; background: var(--navy); text-align: left; }
.g-item .ph { position: absolute; inset: 0; aspect-ratio: auto; transition: transform .9s var(--ease); }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }
.g-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 17px; background: linear-gradient(0deg, rgba(16, 29, 50, .9), transparent); transform: translateY(6px); transition: transform .4s var(--ease); }
.g-cap .ico { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--gold); color: var(--navy); opacity: 0; transform: scale(.7); transition: opacity .35s, transform .35s var(--ease); }
.g-item:hover .ph, .g-item:focus-visible .ph { transform: scale(1.06); }
.g-item:hover .g-cap, .g-item:focus-visible .g-cap { transform: none; }
.g-item:hover .g-cap .ico, .g-item:focus-visible .g-cap .ico { opacity: 1; transform: none; }
@media (max-width: 960px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; grid-auto-rows: 230px; } .g-wide { grid-column: auto; } .g-tall { grid-row: auto; } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; background: rgba(10, 18, 32, .92); backdrop-filter: blur(10px); opacity: 0; transition: opacity .3s; }
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }
.lb-figure { grid-column: 2; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; transform: scale(.96); transition: transform .35s var(--ease); }
.lightbox.open .lb-figure { transform: none; }
.lb-stage { width: min(100%, 1100px); }
.lb-stage .ph { aspect-ratio: 16 / 10; border-radius: var(--radius-lg); max-height: 78vh; width: 100%; }
.lb-stage .ph-ico { width: 88px; height: 88px; }
.lb-stage .ph-ico .ico { width: 38px; height: 38px; }
.lb-caption { color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.lb-caption small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 13px; color: rgba(255, 255, 255, .6); text-align: center; margin-top: 4px; }
.lb-nav, .lb-close { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff; display: grid; place-items: center; cursor: pointer; justify-self: center; transition: background-color .25s, color .25s; }
.lb-nav:hover, .lb-close:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.lb-nav .ico, .lb-close .ico { width: 24px; height: 24px; }
.lb-prev { grid-column: 1; grid-row: 1; }
.lb-next { grid-column: 3; grid-row: 1; }
.lb-close { position: absolute; top: 20px; right: 20px; }
@media (max-width: 640px) { .lightbox { grid-template-columns: 1fr; padding: 16px; } .lb-figure { grid-column: 1; } .lb-prev, .lb-next { position: absolute; bottom: 24px; } .lb-prev { left: calc(50% - 64px); } .lb-next { left: calc(50% + 12px); } }

/* ==========================================================================
   REVIEWS
   ========================================================================== */
.reviews { background: var(--light); }
.reviews-grid > *, .contact-grid > *, .about-grid > *, .why-grid > * { min-width: 0; }
.reviews-grid { display: grid; grid-template-columns: 380px 1fr; gap: clamp(32px, 5vw, 70px); align-items: start; }
.score-card { position: sticky; top: calc(var(--header-h) + 30px); padding: 36px 32px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); border-top: 4px solid var(--gold); }
.score { font-family: var(--font-head); font-size: 82px; font-weight: 900; line-height: 1; color: var(--navy); letter-spacing: -.04em; }
.score small { font-size: 32px; color: var(--muted); }
.stars-lg { margin: 12px 0 8px; }
.stars-lg .ico { width: 24px; height: 24px; }
.score-meta { color: var(--muted); }
.bars { display: grid; gap: 8px; margin: 22px 0 28px; }
.bars li { display: grid; grid-template-columns: 14px 1fr 38px; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--muted); }
.bar { height: 8px; border-radius: 99px; background: var(--light); overflow: hidden; }
.bar > span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transition: width 1.4s var(--ease) .2s; }
.score-card.in .bar > span { width: var(--w); }
.btn-navy .ico { width: 1em; height: 1em; }
.review-list .section-title { margin-bottom: 30px; }
.review-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.review { position: relative; margin: 0; padding: 30px 28px 26px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review-feature { grid-column: span 2; background: var(--navy); border-color: var(--navy); }
.review.review-feature p { color: #fff; font-size: 20px; }
.review-feature cite { color: #fff !important; }
.review-feature small { color: rgba(255, 255, 255, .6) !important; }
.review-quote { width: 36px; height: 36px; color: var(--gold); margin-bottom: 14px; }
.review p { font-size: 17px; color: var(--ink); flex: 1; line-height: 1.6; }
.review footer { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, var(--royal), var(--navy)); color: var(--gold-2); font-family: var(--font-head); font-weight: 800; font-size: 15px; }
.review-feature .avatar { background: rgba(255, 255, 255, .1); }
.avatar .ico { width: 20px; height: 20px; }
.review cite { display: block; font-style: normal; font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.review small { display: block; font-size: 13px; color: var(--muted); }
@media (max-width: 1020px) { .reviews-grid { grid-template-columns: 1fr; } .score-card { position: static; max-width: 520px; } }
@media (max-width: 640px) { .review-cards { grid-template-columns: 1fr; } .review-feature { grid-column: auto; } .review-feature p { font-size: 18px; } }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band { position: relative; padding: clamp(70px, 8vw, 100px) 0; background: linear-gradient(120deg, var(--royal), var(--navy) 70%); color: #fff; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: var(--pat-shingle); opacity: .5; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000); }
.cta-band::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-2), var(--gold)); }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; font-size: clamp(32px, 4vw, 48px); font-weight: 900; margin-bottom: 12px; }
.cta-inner p { font-size: 19px; color: rgba(255, 255, 255, .82); max-width: 600px; margin: 0; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.info-list { display: grid; gap: 16px; margin: 28px 0 22px; }
.info-list li { display: flex; align-items: center; gap: 16px; }
.info-ico { flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--light); color: var(--royal); }
.info-ico .ico { width: 22px; height: 22px; }
.info-list small { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.info-list strong, .info-list a { font-weight: 600; color: var(--navy); text-decoration: none; font-size: 17px; }
.info-list a:hover { color: var(--royal); text-decoration: underline; }
[data-site].is-placeholder { color: #9a6a12 !important; font-style: italic; }
.perks { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.perks li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(213, 166, 74, .14); color: var(--gold-ink); font-weight: 600; font-size: 14px; }
.map { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--light) var(--pat-grid); border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 1; filter: saturate(.85); }
.map-ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; color: var(--muted); font-weight: 600; text-align: center; padding: 20px; background: linear-gradient(135deg, #eef1f5, #e3e8ef); }
.map-ph .ico { width: 34px; height: 34px; color: var(--royal); }
.form-card { padding: clamp(28px, 4vw, 44px); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); position: relative; }
.form-card::before { content: ""; position: absolute; left: 32px; right: 32px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: var(--gold); }
.form-card h3 { font-size: 26px; margin-bottom: 6px; }
.form-note { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field label { display: block; font-weight: 600; font-size: 14.5px; color: var(--navy); margin-bottom: 7px; }
.field label span { color: #c0392b; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--light); border: 1.5px solid transparent; border-radius: 12px; padding: 13px 16px; transition: border-color .2s, background-color .2s, box-shadow .2s; appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23234B80' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #d3d9e2; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--royal); box-shadow: 0 0 0 4px rgba(35, 75, 128, .12); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c0392b; background: #fdf3f2; }
.field.valid input, .field.valid select, .field.valid textarea { border-color: #2e8b57; }
.error { margin: 6px 0 0; min-height: 0; font-size: 13.5px; color: #c0392b; font-weight: 600; }
.error:empty { display: none; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form-status { margin: 16px 0 0; font-weight: 600; font-size: 15px; }
.form-status:empty { display: none; }
.form-status.ok { padding: 14px 16px; border-radius: 12px; background: #eaf6ef; color: #1f6b41; }
.form-status.warn { padding: 14px 16px; border-radius: 12px; background: #fff6e5; color: #7a5410; }
.form-status.err { padding: 14px 16px; border-radius: 12px; background: #fdf3f2; color: #a5281b; }
button[type=submit][disabled] { opacity: .7; cursor: progress; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: #0b1424; color: rgba(255, 255, 255, .68); padding: 80px 0 0; font-size: 15.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.logo-light { color: #fff; margin-bottom: 20px; }
.footer-brand p { max-width: 340px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); transition: background-color .25s, color .25s, transform .25s var(--ease); }
.socials a:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }
.footer-col h3 { color: #fff; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: rgba(255, 255, 255, .68); text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--gold-2); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .ico { color: var(--gold); margin-top: 4px; }
.footer-contact { margin-bottom: 22px; }
.site-footer [data-site].is-placeholder { color: var(--gold-2) !important; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 24px 0 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.footer-bottom p { margin: 0; }
.to-top { color: rgba(255, 255, 255, .7); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.to-top .ico { transform: rotate(-90deg); }
.to-top:hover { color: var(--gold-2); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* mobile quick bar */
.mobile-bar { display: none; }
@media (max-width: 720px) {
  .mobile-bar { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 90; display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 8px; border-radius: 999px; background: rgba(16, 29, 50, .94); backdrop-filter: blur(10px); box-shadow: var(--shadow-lg); transform: translateY(140%); transition: transform .4s var(--ease); }
  .mobile-bar.show { transform: none; }
  .mb-call { display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 700; border: 1px solid rgba(255, 255, 255, .2); }
  .mb-call.is-placeholder { font-style: normal; color: #fff !important; }
  .mobile-bar .btn { --bh: 46px; }
  .site-footer { padding-bottom: 80px; }
}
