/* ==========================================================
   Black Rain Exterior LLC — site styles
   Palette: wet asphalt + hi-vis signal gold
   Type: Archivo (variable width) — wide for display, normal for text
   ========================================================== */

:root {
  --ink: #0d1216;        /* wet asphalt — page background */
  --ink-2: #141b21;      /* raised surface */
  --ink-3: #1c252d;      /* panels / inputs */
  --line: #2a3640;       /* hairlines */
  --text: #e8edf0;
  --muted: #93a1ab;
  --signal: #f2b705;     /* hi-vis gold — CTAs only */
  --signal-hover: #ffc929;
  --signal-ink: #1a1400;
  --navy: #1e3247;       /* siding blue, from their own job photos */

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
   --header-h: 72px;
  --radius: 4px;

  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Archivo", Arial, sans-serif;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --step-1: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --step-2: clamp(1.4rem, 1.2rem + 0.9vw, 1.9rem);
  --step-3: clamp(1.9rem, 1.45rem + 2vw, 3.1rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.6vw, 4.6rem);
  --step-5: clamp(2.9rem, 1.4rem + 7vw, 8.4rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--signal); color: var(--signal-ink);
  padding: 10px 16px; font-weight: 700; text-decoration: none; border-radius: var(--radius);
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.display,
h1, h2, h3 {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.1; letter-spacing: 0.005em; }

.lead { font-size: var(--step-1); line-height: 1.5; color: #cfd8de; max-width: 60ch; }
.muted { color: var(--muted); }
.prose { max-width: 66ch; }
.prose p { color: #cbd4da; }

/* Signal rule under section headings — the only decorative line we use */
.rule { width: 72px; height: 4px; background: var(--signal); margin: 22px 0 0; border: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  font-family: var(--display); font-stretch: 112%; font-weight: 700;
  font-size: 0.95rem; letter-spacing: 0.02em; text-transform: uppercase;
  text-decoration: none; border-radius: var(--radius);
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--signal { background: var(--signal); color: var(--signal-ink); }
.btn--signal:hover { background: var(--signal-hover); }
.btn--ghost { border-color: rgba(232, 237, 240, .55); color: var(--text); background: rgba(13, 18, 22, .25); }
.btn--ghost:hover { border-color: var(--text); background: rgba(13, 18, 22, .5); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-stretch: 112%; font-weight: 700; text-transform: uppercase;
  font-size: 0.9rem; letter-spacing: .03em; text-decoration: none; color: var(--text);
  border-bottom: 2px solid var(--signal); padding-bottom: 4px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .18s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Media + missing-file fallback ---------- */
.media {
  position: relative; overflow: hidden; background-color: var(--ink-3);
  background-image:
    repeating-linear-gradient(105deg, rgba(255,255,255,.035) 0 1px, transparent 1px 14px),
    linear-gradient(160deg, #1f2b35 0%, #0f161b 100%);
}
.media > img, .media > video { width: 100%; height: 100%; object-fit: cover; }
.media.is-missing::after {
  content: attr(data-file);
  position: absolute; left: 12px; bottom: 10px;
  font-size: 12px; letter-spacing: .02em; color: rgba(232,237,240,.45);
  background: rgba(13,18,22,.6); padding: 3px 8px; border-radius: 3px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background-color .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(13,18,22,.75), rgba(13,18,22,0));
}
.site-header.is-solid {
  background: rgba(13, 18, 22, .94);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand svg { width: 40px; height: 40px; }
.brand-logo { height: 60px; width: auto; }
.site-footer .brand-logo { height: 100px; }
@media (max-width: 479px) { .brand-logo { height: 50px; } }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 1.22rem; letter-spacing: .01em; text-transform: uppercase; }
.brand-sub { font-size: .68rem; letter-spacing: .32em; color: var(--muted); margin-top: 5px; text-transform: uppercase; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav > a, .nav-drop > button {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px;
  font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--text);
  background: none; border: 0; cursor: pointer; border-radius: var(--radius);
}
.nav > a:hover, .nav-drop > button:hover { color: var(--signal); }
.nav a[aria-current="page"], .nav-drop.is-current > button { color: var(--signal); }
.nav-drop { position: relative; }
.nav-drop > button svg { width: 12px; height: 12px; transition: transform .2s ease; }
.nav-drop.is-open > button svg { transform: rotate(180deg); }
.drop-panel {
  position: absolute; top: calc(100% + 10px); left: -8px; min-width: 280px;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px; display: none; box-shadow: 0 18px 40px rgba(0,0,0,.45);
}
.drop-panel::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-drop.is-open .drop-panel { display: block; }
@media (hover: hover) and (min-width: 1100px) {
  .nav-drop:hover .drop-panel { display: block; }
}
.drop-panel a {
  display: flex; flex-direction: column; padding: 12px 14px; text-decoration: none; border-radius: 3px;
}
.drop-panel a:hover { background: var(--ink-3); }
.drop-panel strong { font-weight: 700; font-size: .98rem; }
.drop-panel span { font-size: .84rem; color: var(--muted); }
.drop-panel .drop-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; color: var(--signal); font-weight: 700; font-size: .9rem; }

.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: .98rem; }
.header-phone svg { width: 18px; height: 18px; color: var(--signal); }
.header-actions .btn { min-height: 46px; padding: 0 20px; font-size: .86rem; }

.menu-toggle {
  display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid var(--line);
  background: rgba(13,18,22,.5); border-radius: var(--radius); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle svg { width: 24px; height: 24px; }

@media (max-width: 1099px) {
  .nav, .header-actions { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* Mobile / tablet menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 150; background: var(--ink);
  display: flex; flex-direction: column; padding: 0 var(--gutter) 32px;
  overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .2s ease, visibility 0s .2s;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; transition: opacity .2s ease; }
.mobile-menu-top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; flex: none; }
.mobile-menu nav { display: flex; flex-direction: column; margin-top: 12px; }
.mobile-menu nav > a, .mobile-menu .m-group-title {
  font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.5rem, 6vw, 2.2rem); line-height: 1.1; text-decoration: none;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.mobile-menu nav > a[aria-current="page"] { color: var(--signal); }
.m-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; padding: 6px 0 14px; border-bottom: 1px solid var(--line); }
.m-sub a { padding: 9px 0; text-decoration: none; color: #cbd4da; font-weight: 600; }
.m-sub a[aria-current="page"] { color: var(--signal); }
.mobile-menu .m-group-title { border-bottom: 0; padding-bottom: 4px; }
.mobile-menu-cta { margin-top: 28px; display: grid; gap: 12px; }
.mobile-menu-cta .btn { width: 100%; }

/* Sticky call bar on phones */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; grid-template-columns: 1fr 1.25fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(13,18,22,.96); border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.callbar .btn { min-height: 48px; padding: 0 12px; font-size: .82rem; }
@media (max-width: 767px) {
  .callbar { display: grid; }
  body { padding-bottom: 72px; }
  .hero-content { padding-bottom: 104px; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; max-height: 1000px;
  display: flex; align-items: flex-end; isolation: isolate; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media > .media { position: absolute; inset: 0; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(13,18,22,.88) 0%, rgba(13,18,22,.55) 45%, rgba(13,18,22,.15) 100%),
    linear-gradient(0deg, rgba(13,18,22,1) 0%, rgba(13,18,22,0) 38%);
}
/* Rain: the one ambient motion on the site */
.rain {
  position: absolute; inset: -20% -10%; z-index: -1; pointer-events: none; opacity: .32;
  background-image:
    repeating-linear-gradient(105deg, transparent 0 46px, rgba(220,232,240,.22) 46px 47px, transparent 47px 120px),
    repeating-linear-gradient(105deg, transparent 0 83px, rgba(220,232,240,.14) 83px 84px, transparent 84px 190px);
  background-size: 100% 220px, 100% 340px;
  animation: rain 1.4s linear infinite;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
@keyframes rain { to { background-position: -60px 220px, -60px 340px; } }
@media (prefers-reduced-motion: reduce) { .rain { animation: none; } }

.hero-content { padding-top: calc(var(--header-h) + 48px); padding-bottom: clamp(40px, 8vh, 96px); width: 100%; }
.hero h1 { font-size: var(--step-5); line-height: .88; max-width: 11ch; }
.hero h1 .line { display: block; }
.hero h1 .line--outline {
  color: transparent; -webkit-text-stroke: 2px var(--text);
}
@supports not (-webkit-text-stroke: 2px #fff) { .hero h1 .line--outline { color: var(--text); } }
.hero .lead { margin: 28px 0 32px; max-width: 52ch; }

.hero-load .line, .hero-load .lead, .hero-load .btn-row {
  opacity: 0; transform: translateY(18px);
  animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-load .line:nth-child(2) { animation-delay: .1s; }
.hero-load .lead { animation-delay: .25s; }
.hero-load .btn-row { animation-delay: .35s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero-load .line, .hero-load .lead, .hero-load .btn-row { animation: none; opacity: 1; transform: none; }
}

/* Trust strip */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink); }
.trust ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust li { display: flex; align-items: center; gap: 14px; padding: 24px 22px; border-left: 1px solid var(--line); }
.trust li:first-child { border-left: 0; padding-left: 0; }
.trust svg { width: 28px; height: 28px; color: var(--signal); flex: none; }
.trust strong { display: block; font-weight: 700; line-height: 1.25; }
.trust span { display: block; font-size: var(--step--1); color: var(--muted); line-height: 1.35; }
@media (max-width: 1023px) {
  .trust ul { grid-template-columns: 1fr 1fr; }
  .trust li { border-left: 0; padding: 20px 0; }
  .trust li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 479px) {
  .trust ul { grid-template-columns: 1fr; }
  .trust li, .trust li:nth-child(even) { padding: 16px 0; border-left: 0; }
  .trust li:nth-child(n+2) { border-top: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 140px); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--alt { background: var(--ink-2); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head p { margin: 0; color: #cbd4da; max-width: 52ch; }
@media (max-width: 899px) { .section-head { grid-template-columns: 1fr; } }

/* Services index (home + services page) */
.svc-list { list-style: none; border-top: 1px solid var(--line); }
.svc-row {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 200px 40px;
  gap: 32px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line);
  text-decoration: none; position: relative;
}
.svc-row h3 { font-size: var(--step-3); line-height: 1; transition: color .18s ease; }
.svc-row p { margin: 0; color: var(--muted); max-width: 46ch; }
.svc-row .media { aspect-ratio: 16 / 10; border-radius: var(--radius); }
.svc-row .media img { transition: transform .5s ease; }
.svc-row .go { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: background-color .18s ease, border-color .18s ease; }
.svc-row .go svg { width: 16px; height: 16px; }
.svc-row:hover h3 { color: var(--signal); }
.svc-row:hover .media img { transform: scale(1.05); }
.svc-row:hover .go { background: var(--signal); border-color: var(--signal); color: var(--signal-ink); }
@media (max-width: 899px) {
  .svc-row { grid-template-columns: 120px minmax(0, 1fr) 40px; gap: 18px; }
  .svc-row .media { grid-row: 1 / span 2; grid-column: 1; aspect-ratio: 1; }
  .svc-row h3 { grid-column: 2; font-size: var(--step-2); align-self: end; }
  .svc-row p { grid-column: 2; font-size: var(--step--1); align-self: start; }
  .svc-row .go { grid-column: 3; grid-row: 1 / span 2; }
}
@media (max-width: 479px) {
  .svc-row { grid-template-columns: 88px minmax(0, 1fr); gap: 6px 14px; padding: 20px 0; }
  .svc-row .go { display: none; }
  .svc-row p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}

/* Storm split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--top { align-items: start; }
.split .media { aspect-ratio: 4 / 5; border-radius: var(--radius); }
@media (max-width: 899px) {
  .split { grid-template-columns: 1fr; }
  .split .media { aspect-ratio: 16 / 11; }
}

.steps { list-style: none; counter-reset: step; margin: 36px 0 40px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  content: counter(step); font-family: var(--display); font-stretch: 125%; font-weight: 800;
  font-size: 1.6rem; line-height: 1; color: var(--signal);
}
.steps strong { display: block; font-size: 1.08rem; margin-bottom: 4px; }
.steps span { color: var(--muted); }

/* Project gallery */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(160px, 18vw, 260px); gap: 12px; }
.gallery .media { border-radius: var(--radius); }
.gallery .g1 { grid-column: span 7; grid-row: span 2; }
.gallery .g2 { grid-column: span 5; }
.gallery .g3 { grid-column: span 5; }
.gallery .g4 { grid-column: span 4; }
.gallery .g5 { grid-column: span 4; }
.gallery .g6 { grid-column: span 4; }
@media (max-width: 767px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 42vw; gap: 8px; }
  .gallery .media { grid-column: span 1 !important; grid-row: span 1 !important; }
  .gallery .g1, .gallery .g6 { grid-column: span 2 !important; grid-row: span 1 !important; }
}
.gallery-foot { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.gallery-foot p { margin: 0; color: var(--muted); }

/* Why us */
.why { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); }
.why-list { list-style: none; }
.why-list li { padding: 26px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 34px 1fr; gap: 16px; }
.why-list li:last-child { border-bottom: 1px solid var(--line); }
.why-list svg { width: 26px; height: 26px; color: var(--signal); margin-top: 2px; }
.why-list h3 { margin-bottom: 8px; }
.why-list p { margin: 0; color: var(--muted); }
@media (max-width: 899px) { .why { grid-template-columns: 1fr; } }

/* Video CTA band */
.cta-band { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(96px, 14vw, 200px); text-align: left; }
.cta-band .cta-media { position: absolute; inset: 0; z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13,18,22,.92) 0%, rgba(13,18,22,.6) 60%, rgba(13,18,22,.35) 100%); }
.cta-band h2 { font-size: var(--step-4); max-width: 14ch; }
.cta-band p { margin: 24px 0 32px; max-width: 48ch; color: #d5dde2; font-size: var(--step-1); }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(440px, 62vh, 640px); display: flex; align-items: flex-end; }
.page-hero .hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media > .media { position: absolute; inset: 0; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13,18,22,.9) 0%, rgba(13,18,22,.5) 60%, rgba(13,18,22,.25) 100%), linear-gradient(0deg, var(--ink) 0%, rgba(13,18,22,0) 45%); }
.page-hero .wrap { padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(40px, 6vw, 72px); }
.page-hero h1 { max-width: 13ch; }
.page-hero .lead { margin: 22px 0 28px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: var(--step--1); color: var(--muted); margin-bottom: 20px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }

/* ---------- Service detail ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 1023px) { .detail { grid-template-columns: 1fr; } }
.detail h2 { font-size: var(--step-3); margin-bottom: 24px; }
.detail .block + .block { margin-top: clamp(56px, 7vw, 88px); }

.features { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; border-top: 1px solid var(--line); }
.features li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.features strong { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin-bottom: 6px; }
.features strong svg { width: 18px; height: 18px; color: var(--signal); flex: none; }
.features span { color: var(--muted); display: block; }
@media (max-width: 639px) { .features { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips li { border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; font-size: var(--step--1); color: #cbd4da; }

.aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
@media (max-width: 1023px) { .aside { position: static; } }
.aside-box { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.aside-box h3 { font-size: 1.35rem; margin-bottom: 10px; }
.aside-box p { color: var(--muted); font-size: var(--step--1); }
.aside-box .btn { width: 100%; margin-top: 8px; }
.aside-box--signal { border-top: 4px solid var(--signal); }
.aside-links { list-style: none; }
.aside-links a { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.aside-links a:hover { color: var(--signal); }
.aside-links svg { width: 14px; height: 14px; }

.wide-media { aspect-ratio: 21 / 9; border-radius: var(--radius); }
@media (max-width: 767px) { .wide-media { aspect-ratio: 4 / 3; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; font-weight: 700; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 28px; height: 28px; flex: none; border: 1px solid var(--line); border-radius: 50%; position: relative; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--signal); transform: translate(-50%, -50%); transition: transform .2s ease; }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq details p { color: var(--muted); max-width: 70ch; padding-bottom: 22px; margin: 0; }

/* Area list */
.areas { list-style: none; columns: 3 160px; column-gap: 32px; }
.areas li { padding: 8px 0; border-bottom: 1px solid var(--line); break-inside: avoid; color: #cbd4da; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 1023px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 639px) { .form { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 8px; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; color: var(--text);
  background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .15s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2393a1ab' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--signal); outline: none; box-shadow: 0 0 0 3px rgba(242,183,5,.18); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #e5684f; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 10px; }
.radios label { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 0 16px; min-height: 48px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-3); cursor: pointer; font-weight: 500; }
.radios input { width: 18px; height: 18px; min-height: 0; accent-color: var(--signal); margin: 0; }
.radios label:has(input:checked) { border-color: var(--signal); }
.form-note { font-size: var(--step--1); color: var(--muted); margin: 0; }
.form-done { display: none; grid-column: 1 / -1; background: var(--ink-2); border: 1px solid var(--line); border-left: 4px solid var(--signal); padding: 22px 24px; border-radius: var(--radius); }
.form-done strong { display: block; font-size: 1.15rem; margin-bottom: 4px; }
.form.is-sent .form-done { display: block; }
.form.is-sent > :not(.form-done) { display: none; }

.contact-card { display: grid; gap: 28px; }
.contact-line { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; text-decoration: none; }
.contact-line .ic { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--signal); }
.contact-line .ic svg { width: 20px; height: 20px; }
.contact-line small { display: block; color: var(--muted); font-size: var(--step--1); }
.contact-line strong { font-size: 1.1rem; word-break: break-word; }
a.contact-line:hover strong { color: var(--signal); }

.socials { display: flex; gap: 10px; list-style: none; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: border-color .18s ease, color .18s ease; }
.socials a:hover { border-color: var(--signal); color: var(--signal); }
.socials svg { width: 18px; height: 18px; }

/* ---------- About ---------- */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); list-style: none; }
.values li { padding: 32px 32px 32px 0; }
.values li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.values h3 { margin-bottom: 12px; font-size: clamp(1.2rem, 1.7vw, 1.9rem); overflow-wrap: anywhere; }
.values p { color: var(--muted); margin: 0; }
@media (max-width: 899px) {
  .values { grid-template-columns: 1fr; }
  .values li, .values li + li { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Footer ---------- */
.site-footer { background: #090d10; border-top: 1px solid var(--line); padding-top: clamp(64px, 8vw, 104px); }
.footer-top { display: grid; grid-template-columns: 1.3fr .8fr .8fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.footer-top h4 { font-family: var(--display); font-stretch: 112%; font-weight: 700; text-transform: uppercase; font-size: .9rem; letter-spacing: .04em; margin: 0 0 18px; color: var(--muted); }
.footer-top ul { list-style: none; display: grid; gap: 10px; }
.footer-top a { text-decoration: none; color: #cbd4da; }
.footer-top a:hover { color: var(--signal); }
.footer-mail { overflow-wrap: anywhere; }
.footer-top .socials { display: flex; gap: 10px; }
.footer-brand p { color: var(--muted); max-width: 34ch; margin: 18px 0 22px; }
.footer-big { font-family: var(--display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(2.6rem, 11vw, 10.5rem); line-height: .82; letter-spacing: -.01em; color: transparent; -webkit-text-stroke: 1px #24303a; margin: 0; padding-bottom: 8px; white-space: nowrap; overflow: hidden; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: var(--step--1); color: var(--muted); }
@media (max-width: 1023px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 479px) { .footer-top { grid-template-columns: 1fr; } }

/* Utility */
.mt-0 { margin-top: 0; }
.center-sm { }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 479px) {
  .btn-row .btn { flex: 1 1 100%; }
}

/* Hero: video sin capas ni efectos */
.hero::before { display: none; }                               /* quita el degradado oscuro encima del video */
.rain { display: none; }                                       /* quita la animación de lluvia */
.site-header:not(.is-solid) { background: transparent; }       /* quita el degradado detrás del menú arriba */
