/* ============================================================
   ALUMEN · Carpintería de aluminio — Puerto de Mazarrón
   Paleta: grafito/antracita + aluminio + bronce anodizado
   ============================================================ */

:root {
  --ink: #14171c;
  --ink-2: #1c2128;
  --night: #0f1215;
  --paper: #f5f6f7;
  --paper-2: #eceef0;
  --white: #ffffff;

  --body: #474d55;
  --muted: #7c848d;
  --faint: #a7aeb6;
  --line: #dce0e4;
  --hair: #e6e9ec;

  --accent: #b5793a;        /* bronce anodizado */
  --accent-deep: #935e28;
  --accent-soft: #cf9a5f;
  --accent-glow: rgba(181, 121, 58, .28);

  --steel: #5b6572;

  --maxw: 1220px;
  --gutter: clamp(20px, 5vw, 60px);
  --section: clamp(70px, 10vw, 128px);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;

  --shadow-sm: 0 2px 10px -4px rgba(15, 18, 21, .18);
  --shadow-md: 0 16px 40px -20px rgba(15, 18, 21, .32);
  --shadow-lg: 0 40px 90px -40px rgba(15, 18, 21, .55);

  --ease: cubic-bezier(.22, .61, .36, 1);

  --f-display: "Archivo", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, sans-serif;
  --f-mono: "Space Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.62;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--accent); color: #fff; }

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

/* ---------- Tipografía base ---------- */
.h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.6vw, 3.15rem);
  line-height: 1.04;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.h2--sm { font-size: clamp(1.6rem, 3.6vw, 2.35rem); }
.h2 em, .hero-title em { font-style: normal; color: var(--accent); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--f-mono);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow--light { color: var(--accent-soft); }
.eyebrow--light::before { background: var(--accent-soft); }

.lead { font-size: 1.12rem; color: var(--ink); font-weight: 500; }
p { text-wrap: pretty; }

.section-head { max-width: 640px; margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }
.section-sub { color: var(--body); margin-top: 1rem; font-size: 1.05rem; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: -.01em;
  padding: .82em 1.35em;
  border-radius: var(--r-sm);
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
  line-height: 1;
  white-space: nowrap;
}
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn .ico { font-size: 1.02em; }

.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -12px var(--accent-glow); }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 16px 30px -12px var(--accent-glow); }

.btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .32); }
.btn--ghost:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); }

.btn--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--outline:hover { box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent-deep); transform: translateY(-2px); }

.btn--lg { padding: 1.02em 1.7em; font-size: 1rem; }
.btn--sm { padding: .62em 1em; font-size: .86rem; }
.btn--block { width: 100%; justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--f-display); font-weight: 700; color: var(--accent-deep);
  margin-top: 1.4rem;
}
.link-arrow .arrow { transition: transform .3s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(5px); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s;
}
.header-inner { display: flex; align-items: center; gap: 1.4rem; height: 74px; }
.header.scrolled {
  background: rgba(245, 246, 247, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--hair), var(--shadow-sm);
}

.brand { display: inline-flex; align-items: center; gap: .6rem; margin-right: auto; }
.brand-mark {
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: .04em;
  color: #fff;
  background: var(--ink);
  padding: .34em .5em;
  border-radius: 6px;
  line-height: 1;
}
.brand-bracket { color: var(--accent-soft); }
.brand-word {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -.02em;
  color: #fff;
}
.header.scrolled .brand-word { color: var(--ink); }
.header.scrolled .brand-mark { background: var(--ink); }

.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav a {
  font-weight: 600; font-size: .95rem; color: rgba(255, 255, 255, .9);
  transition: color .2s;
}
.nav a:hover { color: #fff; }
.header.scrolled .nav a { color: var(--body); }
.header.scrolled .nav a:hover { color: var(--ink); }
.nav-cta {
  color: #fff !important;
  background: var(--accent);
  padding: .5em .95em; border-radius: var(--r-sm);
}
.nav-cta:hover { background: var(--accent-deep); }

.header-call { display: none; }
.header.scrolled .header-call { }

.burger { display: none; width: 42px; height: 42px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.burger span { width: 24px; height: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s; }
.header.scrolled .burger span { background: var(--ink); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 18, 21, .58) 0%, rgba(15, 18, 21, .22) 32%, rgba(15, 18, 21, .55) 72%, rgba(15, 18, 21, .92) 100%),
    linear-gradient(90deg, rgba(15, 18, 21, .6) 0%, rgba(15, 18, 21, 0) 60%);
}
.hero-inner { position: relative; z-index: 2; padding-block: clamp(120px, 20vh, 190px) clamp(46px, 8vh, 74px); color: #fff; max-width: 880px; }
.hero-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: .98;
  letter-spacing: -.035em;
  text-wrap: balance;
  margin-bottom: 1.3rem;
}
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.28rem); max-width: 600px; color: rgba(255, 255, 255, .9); font-weight: 500; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.hero-chips {
  list-style: none; display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 2rem;
}
.hero-chips li {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--f-mono); font-size: .78rem; letter-spacing: .02em;
  padding: .5em .9em; border-radius: 100px;
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
  backdrop-filter: blur(6px);
}
.hero-chips .dot { width: 8px; height: 8px; border-radius: 50%; background: #38c172; box-shadow: 0 0 0 4px rgba(56, 193, 114, .22); }

.hero-meta { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2rem; font-size: .92rem; color: rgba(255, 255, 255, .82); }
.hero-meta a:hover { color: #fff; }
.hm-k { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-soft); margin-right: .6em; }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3; width: 26px; height: 42px; border-radius: 20px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; border-radius: 3px; background: #fff; transform: translateX(-50%); animation: scrollcue 1.7s var(--ease) infinite; }
@keyframes scrollcue { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80%, 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust { background: var(--ink); color: #fff; }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(255, 255, 255, .1);
  background-clip: content-box; /* el hairline solo bajo el contenido, no bajo el padding-inline del .container */
  border-radius: 0;
}
.trust-item { background: var(--ink); padding: clamp(2rem, 3.5vw, 3rem) clamp(1.4rem, 2.5vw, 2.1rem); }
.ti-num { font-family: var(--f-mono); font-size: .82rem; color: var(--accent-soft); letter-spacing: .1em; }
.trust-item h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.18rem; margin: .8rem 0 .5rem; letter-spacing: -.01em; }
.trust-item p { color: rgba(255, 255, 255, .68); font-size: .95rem; }

/* ============================================================
   ABOUT
   ============================================================ */
.about { padding-block: var(--section); }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.4rem, 5vw, 5rem); align-items: center; }
.about-text p:not(.lead):not(.eyebrow) { color: var(--body); margin-top: 1.1rem; }
.about-text .lead { margin-top: 1.2rem; }

.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.about-badge {
  position: absolute; left: -18px; bottom: 26px;
  background: #fff; padding: 1rem 1.25rem; border-radius: var(--r-md);
  box-shadow: var(--shadow-md); border: 1px solid var(--hair);
  display: flex; flex-direction: column; gap: .15rem;
}
.ab-k { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); }
.ab-v { font-family: var(--f-display); font-weight: 700; font-size: 1.02rem; color: var(--ink); }

/* ============================================================
   SERVICIOS
   ============================================================ */
.services { padding-block: var(--section); background: var(--paper-2); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.svc { background: var(--paper); padding: clamp(1.8rem, 3vw, 2.6rem); transition: background .3s var(--ease); position: relative; }
.svc:hover { background: #fff; }
.svc-num { font-family: var(--f-mono); font-weight: 700; font-size: .85rem; color: var(--accent); letter-spacing: .1em; }
.svc h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.28rem; margin: 1rem 0 .6rem; letter-spacing: -.015em; }
.svc p { color: var(--body); font-size: .98rem; }
.svc::after { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 0; background: var(--accent); transition: height .35s var(--ease); }
.svc:hover::after { height: 100%; }

/* ============================================================
   TRABAJOS
   ============================================================ */
.works { padding-block: var(--section); }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 14px; }
.shot {
  position: relative; border-radius: var(--r-md); overflow: hidden; display: block;
  box-shadow: var(--shadow-sm); background: var(--ink-2);
}
.shot--tall { grid-row: span 2; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.shot:hover img { transform: scale(1.05); }
.shot-tag {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .04em;
  color: #fff; background: rgba(15, 18, 21, .62); backdrop-filter: blur(4px);
  padding: .4em .7em; border-radius: 6px;
}
.shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15, 18, 21, .35)); opacity: 0; transition: opacity .3s; }
.shot:hover::after { opacity: 1; }
.shot--tall img { object-position: center 55%; }

.shot--ph {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background:
    repeating-linear-gradient(45deg, var(--paper-2), var(--paper-2) 12px, #e4e7ea 12px, #e4e7ea 24px);
  color: var(--muted); box-shadow: inset 0 0 0 1px var(--line);
}
.shot--ph span { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; color: var(--steel); padding: 1rem; }

/* ============================================================
   PROCESO
   ============================================================ */
.process { padding-block: var(--section); background: var(--night); color: #fff; }
.process .section-head { max-width: 720px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step { position: relative; padding-top: 2.6rem; }
.step::before { content: ""; position: absolute; top: 14px; left: 0; right: 0; height: 1px; background: rgba(255, 255, 255, .14); }
.step-num {
  position: absolute; top: 0; left: 0;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--f-mono); font-weight: 700; font-size: .9rem;
  background: var(--accent); color: #fff;
}
.step h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.22rem; margin-bottom: .5rem; letter-spacing: -.01em; }
.step p { color: rgba(255, 255, 255, .68); font-size: .95rem; }

/* ============================================================
   UBICACIÓN + HORARIO
   ============================================================ */
.location { padding-block: var(--section); }
.location-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.6rem, 3vw, 2.6rem); align-items: stretch; }
.loc-map { border-radius: var(--r-lg); overflow: hidden; min-height: 420px; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.loc-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(.2) contrast(1.02); }
.loc-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.8rem, 3vw, 2.6rem); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }

.loc-live { display: inline-flex; align-items: center; gap: .6rem; margin: 1.2rem 0 1.4rem; }
.live-pill { display: inline-grid; place-items: center; width: 30px; height: 18px; border-radius: 100px; }
.live-pill .dot { width: 9px; height: 9px; border-radius: 50%; }
.live-pill.open { background: rgba(56, 193, 114, .16); }
.live-pill.open .dot { background: #38c172; box-shadow: 0 0 0 3px rgba(56, 193, 114, .2); }
.live-pill.closed { background: rgba(180, 60, 60, .14); }
.live-pill.closed .dot { background: #c0504d; }
.live-text { font-family: var(--f-display); font-weight: 700; font-size: .98rem; }

.hours { width: 100%; border-collapse: collapse; margin-bottom: 1.6rem; }
.hours th { text-align: left; font-weight: 600; color: var(--body); padding: .5rem 0; font-size: .96rem; }
.hours td { text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; padding: .5rem 0; font-size: .96rem; }
.hours td.closed { color: var(--faint); }
.hours tr { border-bottom: 1px solid var(--hair); }
.hours tr.today { }
.hours tr.today th, .hours tr.today td { color: var(--accent-deep); font-weight: 700; }
.hours tr.today th::before { content: "● "; color: var(--accent); font-size: .7em; vertical-align: middle; }

.loc-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: auto; }
.loc-addr { margin-top: 1.1rem; color: var(--muted); font-size: .9rem; }

/* ============================================================
   CONTACTO
   ============================================================ */
.contact { padding-block: var(--section); background: var(--ink); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.contact-intro .lead { color: rgba(255, 255, 255, .88); }
.contact-list { list-style: none; margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.contact-list li { display: flex; flex-direction: column; gap: .1rem; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 1rem; }
.contact-list a { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; }
.contact-list a:hover { color: var(--accent-soft); }
.cl-k { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-soft); }

.contact-form { background: #fff; border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-lg); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--f-display); font-weight: 700; font-size: .86rem; color: var(--ink); margin-bottom: .45rem; }
.field input, .field textarea {
  width: 100%; font-family: var(--f-body); font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: .8em .95em; transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px var(--accent-glow); }
.field textarea { resize: vertical; }
.check { display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem; color: var(--body); margin-bottom: 1.2rem; }
.check input { margin-top: .2rem; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.check a { color: var(--accent-deep); text-decoration: underline; }
.form-note { margin-top: 1rem; font-size: .92rem; min-height: 1.2em; }
.form-note.err { color: #c0504d; }
.form-note.ok { color: var(--accent-deep); }
.form-note a { text-decoration: underline; font-weight: 700; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--night); color: #fff; padding-top: clamp(3rem, 6vw, 5rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 2.4rem; padding-bottom: 3rem; }
.brand-mark--foot { display: inline-block; font-size: 1.3rem; }
.foot-tag { color: rgba(255, 255, 255, .62); margin-top: 1.1rem; max-width: 320px; font-size: .96rem; }
.foot-col h4 { font-family: var(--f-display); font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-soft); margin-bottom: 1.1rem; }
.foot-col a, .foot-col span { display: block; color: rgba(255, 255, 255, .74); font-size: .96rem; margin-bottom: .7rem; }
.foot-col a:hover { color: #fff; }

.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); flex-wrap: wrap; }
.foot-legal { display: flex; gap: 1.4rem; order: 1; }
.foot-legal a { color: rgba(255, 255, 255, .6); font-size: .86rem; }
.foot-legal a:hover { color: #fff; }
.foot-copy { color: rgba(255, 255, 255, .5); font-size: .84rem; order: 2; }

/* ============================================================
   CALL BAR MÓVIL
   ============================================================ */
.callbar { position: fixed; inset: auto 0 0 0; z-index: 55; display: none; gap: 1px; background: rgba(255, 255, 255, .1); box-shadow: 0 -6px 24px -12px rgba(0, 0, 0, .5); }
.callbar-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: .5em; padding: 1em; font-family: var(--f-display); font-weight: 700; background: var(--ink); color: #fff; font-size: .98rem; }
.callbar-btn--alt { background: var(--accent); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(10, 12, 14, .92); display: none; align-items: center; justify-content: center; padding: 4vw; }
.lightbox.open { display: flex; }
.lb-figure { max-width: min(1000px, 92vw); max-height: 88vh; }
.lb-figure img { max-height: 82vh; width: auto; margin-inline: auto; border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
.lb-figure figcaption { text-align: center; color: rgba(255, 255, 255, .8); font-family: var(--f-mono); font-size: .82rem; margin-top: 1rem; }
.lb-close { position: absolute; top: 20px; right: 24px; color: #fff; font-size: 1.6rem; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 2.4rem; width: 54px; height: 54px; border-radius: 50%; background: rgba(255, 255, 255, .08); transition: background .2s; }
.lb-nav:hover, .lb-close:hover { background: rgba(255, 255, 255, .2); }
.lb-prev { left: 3vw; } .lb-next { right: 3vw; }

/* ============================================================
   MODAL LEGAL
   ============================================================ */
.legal-modal { position: fixed; inset: 0; z-index: 95; background: rgba(10, 12, 14, .6); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 5vw; }
.legal-modal.open { display: flex; }
.legal-box { background: #fff; border-radius: var(--r-lg); max-width: 560px; width: 100%; padding: clamp(1.8rem, 4vw, 2.8rem); position: relative; box-shadow: var(--shadow-lg); max-height: 85vh; overflow-y: auto; }
.legal-close { position: absolute; top: 16px; right: 18px; font-size: 1.3rem; color: var(--muted); width: 36px; height: 36px; border-radius: 50%; }
.legal-close:hover { background: var(--paper-2); }
.legal-box h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; margin-bottom: 1.1rem; letter-spacing: -.02em; }
.legal-box p { color: var(--body); margin-bottom: .9rem; font-size: .98rem; }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
.reveal[data-d="5"] { transition-delay: .4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .about-grid, .location-grid, .contact-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.4rem; }
  .about-media { max-width: 460px; }
  .loc-map { min-height: 340px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    background: var(--ink); flex-direction: column; align-items: flex-start;
    justify-content: center; gap: 1.5rem; padding: 2.5rem; z-index: 65;
    transform: translateX(100%); transition: transform .38s var(--ease);
  }
  .nav.open { transform: none; box-shadow: var(--shadow-lg); }
  .nav a { color: #fff; font-size: 1.15rem; }
  .header.scrolled .nav a { color: #fff; }
  .burger { display: flex; }
  body.menu-open { overflow: hidden; }
  .header-call { display: none; }
  .callbar { display: flex; }
  body { padding-bottom: 58px; }

  .works-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .shot--tall { grid-row: span 2; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .about-badge { left: 12px; }
}

@media (max-width: 460px) {
  .trust-grid, .svc-grid, .steps, .works-grid { grid-template-columns: 1fr; }
  .shot--tall { grid-row: auto; }
  .hero-cta .btn { flex: 1; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
