/* ═══════════════════════════════════════════════
   CHESAPEAKE CONSTRUCTION & DESIGN LLC
   Hoja de estilos compartida — todas las páginas
   ═══════════════════════════════════════════════ */

/* ---------- 1. TOKENS ---------- */
:root {
  --orange:        #f26522;
  --orange-dark:   #c94d13;
  --orange-light:  #ff8a4c;
  --asphalt:       #1a1a1a;
  --asphalt-soft:  #242424;
  --concrete:      #8c8c8c;
  --concrete-light:#e6e6e6;
  --white:         #ffffff;

  --font-display: 'Archivo', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-lg: 0 18px 40px -12px rgba(0,0,0,.35);
  --shadow-xl: 0 30px 70px -20px rgba(0,0,0,.55);
  --maxw: 1220px;
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--asphalt);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ---------- 3. TIPOGRAFÍA ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 75%;
  text-transform: uppercase;
  line-height: .98;
  letter-spacing: .01em;
}
h1 { font-size: clamp(2.1rem, 6vw, 3.75rem); }
h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
h3 { font-size: 1.2rem; }
.on-dark { color: var(--white); }
.muted { color: var(--concrete); }
strong { font-weight: 700; }

.eyebrow {
  font-size: .72rem; font-weight: 600; letter-spacing: .28em;
  text-transform: uppercase; color: var(--orange); margin-bottom: .85rem;
}
.caption { margin-top: 1rem; font-size: .875rem; color: var(--concrete); }
.fine { margin-top: 1.25rem; font-size: .75rem; color: rgba(255,255,255,.4); }

/* ---------- 4. LAYOUT ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 860px; }
.center { text-align: center; margin-top: 3rem; }

.section { position: relative; padding: 4rem 0; }
.section--white { background: var(--white); }
.section--grey  { background: var(--concrete-light); }
.section--dark  { background: var(--asphalt); padding: 4.5rem 0; }
.section > .container { position: relative; z-index: 1; }

.section__head { max-width: 780px; margin-bottom: 2.5rem; }
.section__head--center { margin-inline: auto; text-align: center; max-width: 640px; }
.section__lead { margin-top: 1rem; font-size: 1.0625rem; color: var(--concrete); }
.section__lead--dark { color: rgba(255,255,255,.6); }

/* ---------- 5. TEXTURAS ---------- */
.tex { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: overlay; z-index: 0; }
.tex--asphalt {
  opacity: .6;
  background-image: url("images/texture-asphalt.jpg");
  background-size: cover;
  background-position: center;
}
.tex--stone {
  opacity: .3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.035 0.09' numOctaves='5' seed='7'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23s)'/%3E%3C/svg%3E");
}

/* ---------- 6. BOTONES ---------- */
.btn {
  display: inline-block; text-align: center;
  font-family: var(--font-display); font-weight: 700; font-stretch: 75%;
  text-transform: uppercase; letter-spacing: .02em;
  padding: .95rem 1.9rem; font-size: .95rem;
  transition: background-color .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), transform .3s var(--ease);
}
.btn--sm { padding: .8rem 1.4rem; font-size: .82rem; }
.btn--lg { padding: 1.1rem 2.3rem; font-size: 1.1rem; }

.btn--orange { background: var(--orange); color: var(--white); }
.btn--orange:hover, .btn--orange:focus-visible { background: var(--orange-dark); transform: scale(1.04); }

.btn--ghost { border: 1px solid rgba(255,255,255,.3); color: var(--white); }
.btn--ghost:hover, .btn--ghost:focus-visible { border-color: var(--orange); color: var(--orange); }

.btn--outline { border: 2px solid var(--orange); color: var(--orange); background: transparent; }
.btn--outline:hover, .btn--outline:focus-visible { background: var(--orange); color: var(--white); }

.flare { position: relative; overflow: hidden; isolation: isolate; }
.flare::after {
  content: ""; position: absolute; top: -60%; left: -120%; width: 60%; height: 220%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-20deg); transition: left .55s var(--ease); pointer-events: none;
}
.flare:hover::after, .flare:focus-visible::after { left: 130%; }

/* ---------- 7. REVELADO SUAVE AL HACER SCROLL ---------- */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 8. HEADER ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background-color .4s var(--ease), backdrop-filter .4s var(--ease), box-shadow .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  background: rgba(26,26,26,.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: rgba(255,255,255,.1);
}
.header:not(.is-stuck) { background: rgba(26,26,26,.55); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 4.5rem; }

.logo { display: flex; align-items: center; gap: .75rem; }
.logo__img { display: block; height: 2.4rem; width: auto; }
.logo__img--footer { height: 2.9rem; }

.nav { display: none; align-items: center; gap: 1.6rem; }
.nav__link {
  font-size: .76rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.85);
  transition: color .3s var(--ease); white-space: nowrap;
}
.nav__link:hover { color: var(--orange); }

.burger { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; color: var(--white); }
.burger__bars { position: relative; display: block; width: 1.5rem; height: 2px; background: currentColor; }
.burger__bars::before, .burger__bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; }
.burger__bars::before { top: -.5rem; }
.burger__bars::after  { top: .5rem; }

.mobile-menu {
  max-height: 0; overflow: hidden;
  transition: max-height .5s var(--ease);
  background: rgba(26,26,26,.97);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,.1);
}
.mobile-menu__nav { padding: 1.25rem 1.25rem; }
.mobile-menu__link {
  display: block; padding: .7rem 0;
  font-family: var(--font-display); font-stretch: 75%; font-size: 1.35rem;
  text-transform: uppercase; color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.mobile-menu__link--accent { color: var(--orange); border-bottom: 0; }

/* ---------- 9. BREADCRUMB ---------- */
.breadcrumb {
  padding-top: 6.5rem; padding-bottom: 1rem;
  font-size: .78rem; color: var(--concrete);
}
.breadcrumb a { color: var(--concrete); transition: color .3s var(--ease); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb__sep { margin: 0 .4rem; color: rgba(140,140,140,.5); }
.breadcrumb__current { color: var(--asphalt); font-weight: 600; }

/* ---------- 10. HERO (portada) ---------- */
.hero {
  position: relative; display: flex; align-items: flex-start;
  width: 100%; aspect-ratio: 16 / 9;
  min-height: 43rem; max-height: 60.75rem;
  background: var(--asphalt);
}
.hero__bg { position: absolute; inset: 0; overflow: hidden; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__surface { position: absolute; inset: 0; }
.hero__surface--1 { background: radial-gradient(120% 90% at 30% 0%, #4a4a4a 0%, #2c2c2c 55%, #1d1d1d 100%); }
.hero__surface--2 { background: radial-gradient(120% 90% at 70% 0%, #4c534e 0%, #2a2c29 55%, #1a1b19 100%); }
.hero__surface--3 { background: radial-gradient(120% 90% at 40% 10%, #4c4842 0%, #302d29 55%, #1c1a17 100%); }
.hero__art { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .95; object-fit: cover; object-position: center; }
.hero__overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(100deg, rgba(20,20,20,.82) 0%, rgba(20,20,20,.55) 42%, rgba(20,20,20,.28) 68%, rgba(20,20,20,.42) 100%), rgba(26,26,26,.34);
}
.hero__fade { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, var(--asphalt), rgba(26,26,26,.15) 55%, rgba(26,26,26,.3) 82%); }
.hero__content { position: relative; z-index: 3; padding-top: 6rem; padding-bottom: 2.5rem; }
.hero__title { color: var(--white); max-width: 21ch; font-size: clamp(2.1rem, 7vw, 4.5rem); text-shadow: 0 4px 24px rgba(0,0,0,.4); }
.hero__title-accent { display: block; color: var(--orange); }
.hero__lead { margin-top: 1.1rem; max-width: 34rem; font-size: 1.0625rem; line-height: 1.6; color: rgba(255,255,255,.82); text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hero__lead strong { color: var(--white); }
.hero__actions { display: flex; flex-direction: column; gap: .8rem; margin-top: 1.6rem; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 30rem; margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.18); }
.stats dt { font-family: var(--font-display); font-stretch: 75%; font-size: 1.55rem; color: var(--orange); }
.stats dd { margin-top: .2rem; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); }

.hero__dots { position: absolute; z-index: 3; left: 50%; bottom: 1.25rem; transform: translateX(-50%); display: flex; gap: .55rem; }
.hero__dot { width: 1.9rem; height: 3px; background: rgba(255,255,255,.35); transition: background-color .3s var(--ease); }
.hero__dot.is-active { background: var(--orange); }
.hero__dot:hover { background: rgba(255,255,255,.65); }

/* ---------- 11. BANNER (hero simple para páginas internas) ---------- */
.page-banner {
  position: relative; padding: 6.5rem 0 3.5rem; background: var(--asphalt); overflow: hidden;
}
.page-banner .tex { z-index: 0; }
.page-banner__inner { position: relative; z-index: 1; }
.page-banner h1 { color: var(--white); max-width: 30ch; }
.page-banner p { margin-top: .85rem; max-width: 40rem; color: rgba(255,255,255,.68); font-size: 1.05rem; }
.page-banner .breadcrumb { padding-top: 0; margin-bottom: 1rem; }
.page-banner .breadcrumb, .page-banner .breadcrumb a { color: rgba(255,255,255,.55); }
.page-banner .breadcrumb a:hover { color: var(--orange); }
.page-banner .breadcrumb__current { color: var(--white); }

/* ---------- 12. TARJETAS DE SERVICIO (home, 4 categorías) ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid--services { grid-template-columns: 1fr; }
.grid--subservices { grid-template-columns: 1fr; }

.service-tile {
  position: relative; display: block; overflow: hidden;
  box-shadow: var(--shadow-sm); transition: box-shadow .3s var(--ease), transform .3s var(--ease);
  background: var(--asphalt);
}
.service-tile:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.service-tile__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.service-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-tile:hover .service-tile__media img { transform: scale(1.06); }
.service-tile__label {
  position: absolute; inset-inline: 0; bottom: 0; padding: .9rem 1rem;
  background: var(--orange); color: var(--white);
  font-family: var(--font-display); font-stretch: 75%; font-weight: 700;
  font-size: .95rem; text-transform: uppercase; text-align: center;
}
.service-tile--pending .service-tile__label { background: var(--concrete); }
.service-tile--pending { opacity: .82; }

/* Tarjetas de subservicio (dentro de una página de categoría) */
.subservice-card {
  display: block; background: var(--white); border: 1px solid rgba(140,140,140,.28);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.subservice-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.subservice-card__media { position: relative; height: 11rem; overflow: hidden; background: var(--asphalt); }
.subservice-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.subservice-card:hover .subservice-card__media img { transform: scale(1.05); }
.subservice-card__media::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: .45rem; background: var(--orange); }
.subservice-card__body { padding: 1.25rem 1.4rem; }
.subservice-card__body h3 { font-size: 1.05rem; }
.subservice-card__body p { margin-top: .6rem; font-size: .875rem; color: var(--concrete); }
.subservice-card__link {
  display: inline-block; margin-top: .85rem; font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--orange);
}

/* ---------- 13. GALERÍA (páginas de subservicio) ---------- */
.gallery { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.gallery__item { position: relative; aspect-ratio: 4 / 3; overflow: hidden; cursor: zoom-in; background: var(--asphalt); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item::after {
  content: "+"; position: absolute; top: .6rem; right: .6rem;
  width: 2rem; height: 2rem; display: grid; place-items: center;
  background: rgba(26,26,26,.7); color: var(--white); font-size: 1.1rem; line-height: 1;
}

.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(10,10,10,.94); align-items: center; justify-content: center;
  padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lightbox__img { max-width: 92vw; max-height: 82vh; box-shadow: var(--shadow-xl); }
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute; color: var(--white); background: rgba(255,255,255,.1);
  width: 3rem; height: 3rem; display: grid; place-items: center; font-size: 1.5rem;
  transition: background-color .3s var(--ease);
}
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: var(--orange); }
.lightbox__close { top: 1.25rem; right: 1.25rem; }
.lightbox__prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.6); font-size: .85rem; }

/* ---------- 14. FILTROS DE PROYECTOS (home) ---------- */
.filter-tabs { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.filter-tab {
  padding: .55rem 1.1rem; font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; border: 1px solid var(--concrete); color: var(--asphalt);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.filter-tab.is-active, .filter-tab:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }

.project { position: relative; overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.project.is-hidden { display: none; }
.project:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.project__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--asphalt); }
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project:hover .project__media img { transform: scale(1.06); }
.project__tag {
  position: absolute; top: .8rem; left: .8rem; background: rgba(242,101,34,.92); color: var(--white);
  font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .65rem;
}
.project__caption { padding: 1rem 1.1rem; background: var(--white); border: 1px solid rgba(140,140,140,.25); border-top: 0; }
.project__caption h3 { font-size: 1rem; }

/* ---------- 15. ABOUT ---------- */
.about { display: grid; gap: 2.5rem; }
.about__text .section__lead { max-width: 34rem; }
.about__list { margin: 1.5rem 0 1.75rem; display: grid; gap: .8rem; }
.about__list li { display: flex; align-items: center; gap: .75rem; font-size: .92rem; }
.about__mark { flex-shrink: 0; width: .5rem; height: .5rem; background: var(--orange); transform: rotate(45deg); }
.about__panel { position: relative; overflow: hidden; background: var(--asphalt); color: var(--white); box-shadow: var(--shadow-lg); }
.about__panel-inner { position: relative; z-index: 1; padding: 2.5rem 2rem; text-align: center; }
.about__big { font-family: var(--font-display); font-stretch: 75%; font-size: clamp(3rem, 9vw, 4.5rem); color: var(--orange); line-height: 1; }
.about__big-label { margin-top: .4rem; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.about__badges { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; margin-top: 1.75rem; }
.about__badge { font-size: .65rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .45rem .9rem; border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.8); }

/* ---------- 16. BEFORE / AFTER ---------- */
.ba { position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; cursor: ew-resize; user-select: none; box-shadow: var(--shadow-xl); touch-action: pan-y; }
.ba__after, .ba__before-inner { position: absolute; inset: 0; }
.ba__before { position: absolute; top: 0; bottom: 0; left: 0; width: 50%; overflow: hidden; }
.ba__after img, .ba__before-inner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__label {
  position: absolute; bottom: 1rem; z-index: 20; font-family: var(--font-display); font-stretch: 75%;
  font-size: .82rem; text-transform: uppercase; padding: .45rem .9rem; box-shadow: var(--shadow-lg);
}
.ba__label--after  { right: 1.25rem; background: rgba(255,255,255,.95); color: var(--asphalt); }
.ba__label--before { left: 1.25rem; background: rgba(26,26,26,.95); color: var(--white); }
.ba__line { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: rgba(255,255,255,.9); z-index: 30; pointer-events: none; }
.ba__knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--orange); color: var(--white);
  display: grid; place-items: center; cursor: ew-resize; pointer-events: auto; box-shadow: var(--shadow-xl);
}
.ba__knob svg { width: 1.4rem; height: 1.4rem; }

/* ---------- 17. PROCESO (3 pasos) ---------- */
.timeline { position: relative; }
.timeline__track { display: none; position: absolute; top: 1.9rem; left: 16.66%; right: 16.66%; height: 3px; background: rgba(255,255,255,.14); }
.timeline__track--mobile { display: block; top: 1.9rem; bottom: 1.9rem; left: 1.9rem; right: auto; width: 3px; height: auto; background: rgba(255,255,255,.14); }
.timeline__steps { display: grid; gap: 2.75rem; position: relative; }
.step { display: flex; gap: 1.25rem; }
.step__dot {
  flex-shrink: 0; display: grid; place-items: center; width: 3.75rem; height: 3.75rem; border-radius: 50%;
  background: var(--asphalt-soft); border: 3px solid var(--orange); color: var(--white);
  font-family: var(--font-display); font-stretch: 75%; font-size: 1.4rem;
}
.step__body p { margin-top: .6rem; font-size: .85rem; color: rgba(255,255,255,.6); max-width: 22rem; }

/* ---------- 18. OFERTA (cupón) ---------- */
.coupon { position: relative; background: var(--asphalt); color: var(--white); box-shadow: var(--shadow-xl); overflow: hidden; }
.coupon__strip { position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--orange); z-index: 1; }
.coupon__inner { position: relative; z-index: 1; padding: 1.75rem; display: flex; flex-direction: column; gap: 2rem; }
.coupon__big { font-family: var(--font-display); font-stretch: 75%; font-size: clamp(3.5rem, 16vw, 6.5rem); line-height: 1; margin-top: .4rem; }
.coupon__big span { color: var(--orange); }
.coupon__note { margin-top: .6rem; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.coupon__right p { color: rgba(255,255,255,.65); margin-top: .85rem; }
.coupon__actions { display: flex; flex-direction: column; gap: .85rem; margin-top: 1.6rem; }
.coupon__actions .btn { flex: 1; }

/* ---------- 19. ESTIMATE: FORM + MAPA ---------- */
.estimate { display: grid; gap: 2.5rem; align-items: start; }
.estimate__form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; }
.form__group { display: grid; gap: .45rem; }
.form__group label { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.form__group input, .form__group select, .form__group textarea {
  width: 100%; font-family: var(--font-body); font-size: .95rem;
  padding: .8rem .95rem; border: 1px solid var(--concrete); background: var(--white);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.form__group input:focus, .form__group select:focus, .form__group textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242,101,34,.15);
}
.form__group textarea { resize: vertical; min-height: 5.5rem; }
.estimate__form .btn { justify-self: start; margin-top: .4rem; }
.form__status { font-size: .85rem; color: var(--orange-dark); min-height: 1.2rem; }

.estimate__map { display: grid; box-shadow: var(--shadow-lg); }
.estimate__map iframe { width: 100%; height: 300px; border: 0; filter: grayscale(.15) contrast(1.05); }
.estimate__map-card { background: var(--asphalt); color: var(--white); padding: 1.4rem; }
.estimate__map-title { font-family: var(--font-display); font-stretch: 75%; text-transform: uppercase; color: var(--orange); font-size: .92rem; margin-bottom: .4rem; }
.estimate__map-card p { font-size: .82rem; color: rgba(255,255,255,.65); }
.estimate__map-link { display: inline-block; margin-top: .85rem; font-size: .78rem; font-weight: 600; color: var(--orange); }
.estimate__map-link:hover { color: var(--orange-light); }

/* ---------- 20. FAQ ---------- */
.faq { border-top: 1px solid rgba(140,140,140,.3); border-bottom: 1px solid rgba(140,140,140,.3); }
.faq__item + .faq__item { border-top: 1px solid rgba(140,140,140,.3); }
.faq__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  text-align: left; padding: 1.25rem 0;
  font-family: var(--font-display); font-stretch: 75%; font-weight: 900; font-size: 1.05rem;
  text-transform: uppercase; line-height: 1.2; transition: color .3s var(--ease);
}
.faq__btn:hover { color: var(--orange); }
.faq__icon {
  flex-shrink: 0; display: grid; place-items: center; width: 2rem; height: 2rem;
  border: 1px solid var(--concrete); color: var(--concrete); font-size: 1.1rem; line-height: 1;
  transition: transform .4s var(--ease), background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.faq__panel { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--ease), opacity .4s var(--ease); }
.faq__panel p { padding: 0 2.5rem 1.5rem 0; color: var(--concrete); }
.faq__item.is-open .faq__panel { opacity: 1; }
.faq__item.is-open .faq__icon { transform: rotate(45deg); background: var(--orange); border-color: var(--orange); color: var(--white); }
.faq__cta {
  display: flex; flex-direction: column; align-items: center; gap: 1.25rem; margin-top: 3rem;
  padding: 1.75rem; background: var(--concrete-light); text-align: center;
}
.faq__cta p { font-family: var(--font-display); font-stretch: 75%; font-weight: 900; text-transform: uppercase; font-size: 1.3rem; }

/* ---------- 21. CTA banda oscura ("Quality work. Built to last.") ---------- */
.cta-band { position: relative; background: var(--asphalt); padding: 3.5rem 0; text-align: center; overflow: hidden; }
.cta-band h2 { color: var(--orange); }
.cta-band p { margin-top: .9rem; color: rgba(255,255,255,.7); max-width: 40rem; margin-inline: auto; }
.cta-band .btn { margin-top: 1.75rem; }

/* ---------- 22. FOOTER ---------- */
.footer { position: relative; background: var(--asphalt); border-top: 3px solid var(--orange); padding: 3.5rem 0 6rem; }
.footer > .container { position: relative; z-index: 1; }
.footer__grid { display: grid; gap: 2.5rem; }
.footer__about { max-width: 24rem; font-size: .85rem; color: rgba(255,255,255,.55); margin-top: 1rem; }
.footer__title { font-size: .78rem; letter-spacing: .24em; color: var(--white); margin-bottom: 1.25rem; }
.footer__list li + li { margin-top: .65rem; }
.footer__list a { font-size: .85rem; color: rgba(255,255,255,.6); transition: color .3s var(--ease); }
.footer__list a:hover { color: var(--orange); }
.footer__phone { font-family: var(--font-display); font-stretch: 75%; font-size: 1.6rem; color: var(--orange); }
.footer__phone:hover { color: var(--orange-light); }
.footer__meta { margin-top: .65rem; font-size: .85rem; color: rgba(255,255,255,.55); }
.social { display: flex; gap: .65rem; margin-top: 1.25rem; }
.social a { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.7); transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease); }
.social a:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }
.social svg { width: 1.1rem; height: 1.1rem; }
.footer__legal { display: flex; flex-direction: column; gap: 1rem; margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .72rem; color: rgba(255,255,255,.4); }
.footer__legal-links { display: flex; gap: 1.25rem; }
.footer__legal-links a:hover { color: var(--orange); }

/* ---------- 23. BARRA MÓVIL ---------- */
.callbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50; display: flex; gap: .75rem; padding: .75rem;
  background: rgba(26,26,26,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,.1); padding-bottom: calc(.75rem + env(safe-area-inset-bottom));
}
.callbar__main { flex: 1; padding: .95rem; font-size: .95rem; }
.callbar__sms { display: grid; place-items: center; width: 3.25rem; border: 1px solid rgba(255,255,255,.25); color: var(--white); }
.callbar__sms svg { width: 1.15rem; height: 1.15rem; }

/* ═══════════ 24. RESPONSIVE ═══════════ */
@media (min-width: 640px) {
  .hero__actions, .coupon__actions { flex-direction: row; }
  .hero { min-height: 40rem; }
  .stats { display: grid; }
  .grid--services { grid-template-columns: repeat(3, 1fr); }
  .grid--subservices { grid-template-columns: repeat(2, 1fr); }
  .grid--projects { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .form__row { grid-template-columns: 1fr 1fr; }
  .stats dt { font-size: 2.2rem; }
  .faq__btn { font-size: 1.3rem; }
  .faq__cta { flex-direction: row; justify-content: space-between; text-align: left; }
  .footer__legal { flex-direction: row; justify-content: space-between; }
  .ba { aspect-ratio: 16 / 8; }
  .coupon__inner { padding: 2.5rem; }
}

@media (min-width: 768px) {
  .hero { min-height: 34rem; }
  .footer__grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
  .timeline__track { display: block; }
  .timeline__track--mobile { display: none; }
  .timeline__steps { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
  .step { flex-direction: column; align-items: center; text-align: center; }
  .step__body p { margin-inline: auto; }
  .about { grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: center; }
  .estimate { grid-template-columns: 1.2fr .8fr; }
}

@media (min-width: 1024px) {
  .container { padding-inline: 2rem; }
  .header__inner { height: 5.25rem; }
  .nav { display: flex; }
  .burger { display: none; }
  .mobile-menu { display: none; }
  .callbar { display: none; }
  .footer { padding-bottom: 2.5rem; }
  .hero { min-height: 32rem; }
  .grid--subservices { grid-template-columns: repeat(3, 1fr); }
  .grid--projects { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .logo__img { height: 2.75rem; }
  .hero__lead { font-size: 1.15rem; }
  .coupon__inner { flex-direction: row; align-items: center; gap: 2.5rem; padding: 3rem; }
  .coupon__left { padding-right: 2.5rem; border-right: 1px dashed rgba(255,255,255,.25); }
  .coupon__right { flex: 1; }
  .section { padding: 5.5rem 0; }
  .section--dark { padding: 6rem 0; }
  .estimate__map iframe { height: 100%; min-height: 380px; }
}

/* ---------- 25. ACCESIBILIDAD ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__slide { transition: none; }
}
