/* =====================================================
   DECOURBAN ESTUDIO — Estilos Globales
   Diseño minimal · blanco · tipografía sistema
   ===================================================== */

/* ── VARIABLES ──────────────────────────────────────── */
:root {
  --bg: #ffffff;
  --bg-light: #f5f5f3;
  --bg-mid: #edece9;
  --text: #111111;
  --text-dark: #0a0a0a;
  --text-mid: #555555;
  --text-light: #888888;
  --border: #e0e0e0;
  --r: 2px;
  --border-lt: #f0ede8;
  --green: #25D366;
  /* Marca: blanco + gris oscuro + acento naranja (uso minoritario) */
  --accent: #f48534;
  --accent-dark: #c96c1a;
  --accent-soft: #fde8cc;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Assistant', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
}

/* ── UTILIDADES ─────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ── ACCESIBILIDAD: foco visible ───────────────────────── */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ── RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: #fff;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
  animation: pageFade .45s ease both;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── TIPOGRAFÍA ─────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 500; }
p { color: var(--text-mid); font-size: 0.94rem; line-height: 1.75; }
h1 em, h2 em, h3 em, h4 em, blockquote em {
  font-style: italic;
  font-family: var(--font-display);
  color: var(--accent);
  font-weight: 400;
}

/* ── NAV ────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 84px;
  display: flex;
  align-items: center;
  background: rgba(22,20,18,0.72);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid transparent;
  transition: background 0.4s, border-color 0.4s;
}
.site-nav.solid {
  background: rgba(22,20,18,0.96);
  backdrop-filter: blur(12px);
  border-bottom-color: transparent;
}
.nav-inner {
  position: relative;
  max-width: 1280px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  line-height: 0;
}
.nav-logo img {
  height: 64px;
  width: auto;
  display: block;
  transition: opacity .2s, transform .35s ease;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links-left {
  flex: 1;
  justify-content: flex-end;
  padding-right: 120px;
}
.nav-links-right {
  flex: 1;
  justify-content: flex-start;
  padding-left: 120px;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 0.6; }
.nav-links a.active { border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.nav-cta {
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  padding: 10px 24px !important;
  background: var(--accent) !important;
  color: #fff !important;
  border: 1px solid var(--accent) !important;
  transition: background 0.2s, border-color 0.2s !important;
}
.nav-cta:hover {
  background: var(--accent-dark) !important;
  border-color: var(--accent-dark) !important;
  opacity: 1 !important;
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  z-index: 3;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(255,255,255,0.9);
  transition: background 0.3s;
}
.nav-mobile {
  display: none;
  position: fixed;
  inset: 84px 0 0;
  background: #fff;
  z-index: 999;
  padding: 40px 32px;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}
.nav-mobile.open { display: flex; }
.nav-mobile-cta {
  margin-top: 16px;
  font-size: .9rem;
  background: var(--accent);
  color: #fff;
  padding: 16px 28px;
  text-align: center;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: none;
}
.nav-mobile a {
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

/* ── NAV DROPDOWN ──────────────────────────────────── */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.2s;
  font-family: inherit;
}
.nav-dropdown-toggle:hover { opacity: 0.6; }
.nav-dropdown-toggle.active {
  border-bottom: 1px solid rgba(255,255,255,0.9);
  padding-bottom: 1px;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: #fff;
  border: 1px solid var(--border);
  min-width: 195px;
  padding: 16px 0 8px;   /* padding-top cubre el gap visual sin crear espacio muerto */
  box-shadow: 0 12px 40px rgba(0,0,0,0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s, visibility 0.18s, transform 0.18s;
  z-index: 300;
}
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 9px 20px;
  font-size: 0.73rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color 0.15s, background 0.15s;
  font-weight: 400;
}
.nav-dropdown-menu a:hover {
  color: var(--text);
  background: var(--bg-light);
  opacity: 1 !important;
}
/* Hunter Douglas naranja en dropdown */
.nav-dropdown-menu a[href="hunterdouglas.html"]:hover { color: var(--accent) !important; }

/* Mobile: catalog row — link + arrow toggle */
.nav-mobile-cat-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.nav-mobile-cat-link {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  padding: 20px 0;
  border-bottom: none !important;
}
.nav-mobile-cat-label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 4px 20px 16px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-mobile-cat-label .cat-arrow {
  font-size: 0.7rem;
  transition: transform .25s;
  opacity: 0.5;
  color: var(--text);
}
.nav-mobile-cat-label.open .cat-arrow { transform: rotate(180deg); }
.nav-mobile-sub {
  display: none;
  flex-direction: column;
  padding: 0 0 12px 16px;
  border-bottom: 1px solid var(--border);
}
.nav-mobile-sub.open { display: flex; }
.nav-mobile-sub a {
  font-size: 0.85rem !important;
  padding: 9px 0 !important;
  border-bottom: none !important;
  color: var(--text-mid) !important;
  letter-spacing: 0.08em !important;
}
.nav-mobile-sub a:hover { color: var(--text) !important; opacity: 1 !important; }
/* Hunter Douglas naranja en mobile */
.nav-mobile-sub a[href="hunterdouglas.html"]:hover { color: var(--accent) !important; }

/* ── LAYOUT ─────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-gray { background: var(--bg-light); }
.section--dark { background: #1a160e; padding: 110px 0 120px; }
.section--dark .section-header h2 { color: #fff; font-size: clamp(1.9rem,3.5vw,2.8rem); line-height: 1.25; }
.section--dark .section-header p { max-width: 580px; margin: 20px auto 0; color: rgba(255,255,255,.55); text-align: center; font-size: 1.05rem; line-height: 1.85; }
.section--tall { padding: 100px 0; }
.section--no-pb { padding-bottom: 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.section-header { margin-bottom: 68px; }
.section-header--xl { margin-bottom: 80px; }
.section-header h2 { margin-bottom: 20px; }
.section-header p { max-width: 580px; color: var(--text-mid); line-height: 1.85; font-size: .96rem; }
.section-header--center { text-align: center; margin-bottom: 64px; }
.section-header--center p { max-width: 520px; margin: 0 auto; }
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--text);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 28px;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--text); color: #fff; }
.text-link {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--text);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.text-link:hover { opacity: 0.5; }
.text-link--mt { margin-top: 16px; }

/* ── SERVICES GRID ──────────────────────────────────── */

/* ── SERVICE EDITORIAL NUMBERS ─────────────────────── */
.svc-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  line-height: 1;
  color: var(--accent);
  opacity: .25;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.svc-rule {
  width: 32px;
  height: 1px;
  background: var(--accent);
  margin-bottom: 20px;
  opacity: .5;
}

/* ── ABOUT SPLIT ────────────────────────────────────── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-split img { width: 100%; height: 100%; display: block; object-fit: cover; }
.about-split img.portrait { width: auto; max-width: 100%; height: auto; }
.about-split .rvr h2 { margin-top: 8px; font-size: clamp(2rem,4vw,3rem); line-height: 1.1; }
.about-split .rvr > p { color: var(--text-mid); line-height: 1.8; margin-top: 20px; max-width: 420px; }
.about-split .btn-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 36px; }

/* ── FOOTER ─────────────────────────────────────────── */
.site-footer {
  background: #0f0d0b;
  color: rgba(255,255,255,.85);
  padding: 72px 0 0;
  border-top: 2px solid var(--accent);
  box-shadow: 0 -1px 0 rgba(244,133,52,.15);
}
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}
.footer-col-brand { }
.footer-logo-img {
  height: 44px;
  width: auto;
  display: block;
  margin-bottom: 20px;
  opacity: .9;
}
.footer-col-title {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 20px;
  font-family: var(--font-body);
}
.footer-col p,
.footer-col > p {
  font-size: 0.83rem;
  color: rgba(255,255,255,.45);
  line-height: 1.75;
  margin-bottom: 24px;
}
.footer-col a {
  display: block;
  font-size: 0.84rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 12px;
  transition: color 0.2s;
  line-height: 1.5;
}
.footer-col a:hover { color: #fff; }
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
}
.footer-social a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 0;
  letter-spacing: 0.04em;
}
.footer-social a:hover { color: #fff; }
.footer-social svg { flex-shrink: 0; opacity: .7; }
.footer-social a:hover svg { opacity: 1; }
.footer-rating {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-stars {
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 1px;
}
.footer-rating span:last-child {
  font-size: 0.75rem;
  color: rgba(255,255,255,.4);
  letter-spacing: 0.04em;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.footer-bottom p { font-size: 0.72rem; color: rgba(255,255,255,.3); }
.footer-bottom a { font-size: 0.72rem; color: rgba(255,255,255,.3); transition: color .2s; }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* ── WHATSAPP FLOAT ──────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  width: 54px;
  height: 54px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 27px; height: 27px; fill: #fff; }

/* Buttons */
.btn-p {
  display: inline-block;
  background: var(--text);
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 28px;
  transition: opacity 0.2s;
  border: none;
}
.btn-p:hover { opacity: 0.75; }

/* FAQ */
.fq-item { border-bottom: 1px solid var(--border); }
.fq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: inherit;
  letter-spacing: 0.04em;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.fq-a { padding: 0 0 20px; display: none; }
.fq-a.open { display: block; }
.fq-a p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.75; }
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.6);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 28px;
  transition: all 0.2s;
}
.btn-outline-light:hover { background: #fff; color: var(--text); }

/* ── RESPONSIVE ─────────────────────────────────────── */
/* El logo centrado se superpone con los links/CTA de la derecha en este
   rango de anchos: el CTA pierde su estilo de botón y pasa a ser un link
   más, liberando el espacio que necesita el logo. */
@media (max-width: 1090px) {
  .nav-links-right .nav-cta {
    padding: 0 !important;
    background: none !important;
    border: none !important;
    color: rgba(255,255,255,0.9) !important;
  }
  .nav-links-right .nav-cta:hover {
    background: none !important;
    border-color: transparent !important;
    opacity: 0.6 !important;
  }
}

@media (max-width: 840px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

@media (max-width: 1024px) {
  .nav-inner { padding: 0 32px; }
  .nav-logo img { height: 64px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 0.7rem; }
  .nav-cta { padding: 9px 16px !important; }
  .container { padding: 0 32px; }
  .footer-inner { padding: 0 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (min-width: 841px) and (max-width: 960px) {
  .nav-links { gap: 10px; }
  .nav-links a { font-size: 0.65rem; }
  .nav-logo img { height: 54px; }
}

@media (max-width: 768px) {
  .site-nav { height: 64px; }
  .nav-mobile { inset: 64px 0 0; }
  .nav-inner { padding: 0 24px; }
  .nav-logo img { height: 50px; }
  .container { padding: 0 24px; }
  .footer-inner { padding: 0 24px; }

  .section { padding: 56px 0; }

  .about-split { grid-template-columns: 1fr; gap: 32px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
.section-eyebrow { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-mid); font-weight: 600; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; font-family: var(--font-body); }
.section-eyebrow::before { content: ''; display: block; width: 28px; height: 1.5px; background: var(--accent); flex-shrink: 0; }
.section-eyebrow--accent { font-size: .7rem; letter-spacing: .18em; color: var(--accent); margin-bottom: 8px; }
.section-eyebrow--center { justify-content: center; }
.section-eyebrow--accent-only { color: var(--accent); }
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }

/* Stats */
.intro-stats { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--border); }
.intro-stats a { text-decoration: none; color: inherit; }

/* Testimonials mini */
.testi-mini { padding: 80px 48px; background: transparent; }

/* ══════════════════════════════════════════════════════════
   CONTACTO PAGE
   ══════════════════════════════════════════════════════════ */

/* Hero mini — claro, con acento naranja */

.hero-mini {
  background: #1a1612;
  padding: 148px 48px 88px;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}
.hero-mini::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 80% 50%, rgba(244,133,52,.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-mini-in { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }
.hero-mini h1 { color: #fff; margin-bottom: 18px; }
.hero-mini p { color: rgba(255,255,255,.58); font-size: .95rem; line-height: 1.75; }
.hero-mini .breadcrumb { color: rgba(255,255,255,.35); }
.hero-mini .breadcrumb a { color: rgba(255,255,255,.35); }
.hero-mini .breadcrumb a:hover { color: rgba(255,255,255,.7); }
.hero-mini .breadcrumb span { color: rgba(255,255,255,.18); }
.hero-mini .breadcrumb .breadcrumb-current { color: rgba(255,255,255,.7); }

/* Breadcrumb */
.breadcrumb { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-light); margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.breadcrumb a { color: var(--text-light); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span { color: var(--border); }
.breadcrumb .breadcrumb-current { color: var(--text-mid); }

/* Subtitle */
.subtitle { font-size: .9rem; color: var(--text-mid); margin-bottom: 28px; line-height: 1.7; }

/* Contact methods grid */
.methods { padding: 80px 0; }
.methods-inner { max-width: 1280px; margin: 0 auto; padding: 0 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.method-card { padding: 40px 32px; border: none; border-top: 2.5px solid var(--accent); background: #fff; box-shadow: 0 2px 16px rgba(0,0,0,.05); transition: box-shadow .25s, transform .25s; }
.method-card:hover { box-shadow: 0 12px 48px rgba(0,0,0,.10); transform: translateY(-3px); }
.method-icon { width: 48px; height: 48px; background: rgba(244,133,52,.08); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--accent); border-radius: 2px; }
.method-icon svg { width: 22px; height: 22px; }
.method-title { font-size: 1rem; font-weight: 500; letter-spacing: .06em; color: var(--text); margin-bottom: 10px; }
.method-desc { font-size: .84rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 12px; }
.method-value { font-size: .88rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.method-badge { display: inline-block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; background: var(--bg-mid); color: var(--text); padding: 4px 10px; margin-bottom: 20px; }
.method-badge--warn { background: rgba(180,120,60,.12); color: var(--accent); }
.method-link { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text); text-decoration: none; transition: gap .2s; }
.method-link:hover { gap: 10px; }

/* Contact main: form + map */
.contact-main { padding: 0 0 80px; }
.contact-inner { max-width: 1280px; margin: 0 auto; padding: 0 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.form-section h2 { margin-bottom: 8px; }

/* Contact form */
.cform { margin-top: 28px; }
.fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.fl { display: flex; flex-direction: column; margin-bottom: 16px; }
.fl label { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-mid); margin-bottom: 6px; font-weight: 500; }
fieldset.fl { border: 0; padding: 0; }
.fl legend { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-mid); margin-bottom: 6px; font-weight: 500; padding: 0; }
.fl input, .fl select, .fl textarea {
  padding: 12px 16px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: .9rem;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
  color: var(--text);
}
.fl input:focus, .fl select:focus, .fl textarea:focus { border-color: var(--text); box-shadow: 0 0 0 3px rgba(17,17,17,.08); }
.fl textarea { min-height: 120px; resize: vertical; }
.form-radio-group { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.radio-item { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--text-mid); cursor: pointer; }
.submit-btn { width: 100%; padding: 16px 32px; background: var(--text); color: #fff; border: none; cursor: pointer; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; display: flex; align-items: center; justify-content: center; gap: 10px; transition: opacity .2s; margin-top: 8px; }
.submit-btn:hover { opacity: .75; }
.form-note { font-size: .72rem; color: var(--text-light); text-align: center; margin-top: 12px; }
.field-err { font-size: .72rem; color: #c0392b; margin-top: 4px; display: none; }
.success-msg { display: none; background: #f0f8f0; border: 1px solid #27ae60; padding: 20px 24px; margin-top: 16px; }
.success-msg h3 { color: #27ae60; margin-bottom: 8px; font-size: 1rem; }
.success-msg p { color: #2d6a2d; font-size: .86rem; }

/* Map side */
.map-side { }
.map-side h2 { margin-bottom: 8px; }
.map-frame { width: 100%; aspect-ratio: 4/3; overflow: hidden; margin: 24px 0; }
.map-frame iframe { width: 100%; height: 100%; border: none; }

/* Info rows */
.info-grid { display: flex; flex-direction: column; gap: 16px; }
.info-row { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--border); }
.info-row-icon { width: 36px; height: 36px; background: var(--bg-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--text); }
.info-row-icon svg { width: 16px; height: 16px; }
.info-row-title { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mid); margin-bottom: 4px; font-weight: 600; }
.info-row-val { font-size: .86rem; color: var(--text); line-height: 1.5; }
.info-row-val a { color: var(--text); }

/* FAQ mini */
.faq-mini { padding: 80px 48px; }
.faq-mini-inner { max-width: 760px; margin: 0 auto; }
.faq-mini-inner h2 { text-align: center; margin-bottom: 40px; }

/* ══════════════════════════════════════════════════════════
   MOBILE — pages-specific
   ══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero-mini { padding: 120px 24px 60px; }
  .methods-inner { grid-template-columns: 1fr; padding: 0 20px; }
  .contact-inner { grid-template-columns: 1fr; padding: 0 20px; gap: 48px; }
  .fg-row { grid-template-columns: 1fr; }
  .testi-mini { padding: 60px 20px; }
}

/* ============================================================
   COMPONENTES COMPARTIDOS — reveal animations (.rv/.rvl/.rvr), FAQ, stats, CTA band
   ============================================================ */

/* Reveal-in animations: se activan cuando JS agrega .visible (IntersectionObserver) */
/* Estado inicial: invisible hasta que scroll trigger */
.rv, .rvl, .rvr { opacity: 0; }
/* Por si JS no está disponible: mostrar todo */
.fq-icon { width: 22px; height: 22px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--text); transition: transform .3s; }
.fq-icon svg { width: 16px; height: 16px; }
.fq-q.open .fq-icon { transform: rotate(45deg); }
.stat-n { font-family: var(--font-display); font-size: 2.8rem; font-weight: 300; color: var(--text); letter-spacing: .01em; line-height: 1; }
.stat-l { font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-mid); margin-top: 8px; line-height: 1.5; }

/* CTA band */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; background: var(--text); padding: 80px 64px; border-radius: var(--r); position: relative; overflow: hidden; }
.cta-band h3 { color: #fff; font-size: 1.9rem; font-weight: 400; margin: 0 0 12px; line-height: 1.2; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.cta-band p { color: rgba(255,255,255,.65); font-size: .95rem; line-height: 1.8; margin: 0; max-width: 520px; text-shadow: 0 1px 3px rgba(0,0,0,.4); }
.cta-band .btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.cta-band .btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.cta-band .btn-outline-light { border-color: rgba(255,255,255,.4); }
.cta-band .btn-outline-light:hover { background: #fff; color: var(--text); }

@media (max-width: 900px) {
  .cta-band { flex-direction: column; text-align: center; padding: 36px 24px; }
  .cta-band p { max-width: none; }
}

/* ══════════════════════════════════════════════════════════
   COMPONENTES ADICIONALES — íconos, testimonios mini
   ══════════════════════════════════════════════════════════ */

/* Utilidad global de íconos lineales (Feather-style) */
.ic { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Testimonios mini (grid de 2 cards) */
.testi-mini.rv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; padding: 0; background: none; margin-top: 8px; }
.testi-mini.rv--3 { grid-template-columns: repeat(3, 1fr); }
.testi-card-mini { background: #fff; border: none; border-left: 3px solid var(--accent); padding: 52px 44px; box-shadow: 0 2px 24px rgba(0,0,0,.07); transition: box-shadow .3s ease, transform .3s ease, border-left-color .3s ease; }
.testi-stars { display: flex; gap: 4px; margin-bottom: 24px; }
.testi-stars svg { width: 16px; height: 16px; fill: var(--accent); }
.testi-q { font-size: 1.06rem; color: var(--text); line-height: 1.9; font-style: italic; font-family: var(--font-display); margin-bottom: 28px; }
.testi-author { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-light); }

@media (max-width: 640px) {
  .testi-mini.rv { grid-template-columns: 1fr; }
}

/* =====================================================
   ESTUDIO PREMIUM — Nuevo sistema de componentes
   Hero full, media placeholders, case studies, servicios
   ===================================================== */

/* ── BOTÓN ACENTO (CTA principal) ────────────────────── */
.btn-accent {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 13px 30px;
  border: 1px solid var(--accent);
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
  position: relative;
  overflow: hidden;
}
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

/* ── MEDIA PLACEHOLDER ────────────────────────────────
   Bloques visuales "inteligentes" para reemplazar luego
   por fotos/videos reales. Incluyen ícono + etiqueta +
   descripción del contenido esperado. ─────────────── */
.media-placeholder {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--bg-light);
  background-image: repeating-linear-gradient(135deg, #efeeec 0, #efeeec 14px, #f7f6f4 14px, #f7f6f4 28px);
  border: 1px dashed #d8d6d2;
}
.media-placeholder.ph-4-3 { aspect-ratio: 4 / 3; }
.media-placeholder.ph-3-4 { aspect-ratio: 3 / 4; }

/* Placeholder con imagen real */
.media-placeholder.has-img { border: none; background: none; }
.media-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── HERO FULL (Inicio) ───────────────────────────────── */
.hero-full {
  position: relative;
  height: 100vh;
  max-height: 900px;
  min-height: 600px;
  overflow: hidden;
}
.hero-full .media-placeholder { position: absolute; inset: 0; aspect-ratio: auto; border: none; }

/* ── HERO SLIDESHOW ──────────────────────────────────── */
.hero-slideshow { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.5s ease-in-out; }
.hero-slide.active  { opacity: 1; }

/* Flechas */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(6px);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
}
.hero-arrow:hover { background: rgba(255,255,255,0.3); transform: translateY(-50%) scale(1.08); }
.hero-arrow svg { width: 22px; height: 22px; }
.hero-arrow-prev { left: 24px; }
.hero-arrow-next { right: 24px; }

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
  align-items: center;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  padding: 0;
  transition: background .3s, transform .3s;
}
.hero-dot.active {
  background: #fff;
  transform: scale(1.35);
}
.hero-dot:hover { background: rgba(255,255,255,0.75); }

@media (max-width: 600px) {
  .hero-arrow { width: 38px; height: 38px; }
  .hero-arrow-prev { left: 12px; }
  .hero-arrow-next { right: 12px; }
}


/* ── Stagger para grillas de elementos ───────────────── */
.process-grid .rv:nth-child(2) { animation-delay: .08s; }

.process-grid .rv:nth-child(3) { animation-delay: .16s; }

.process-grid .rv:nth-child(4) { animation-delay: .24s; }

@media (max-width: 860px) {
}
@media (max-width: 768px) {
}

/* ── PROCESO (Servicios) ──────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 48px;
}
.process-grid--auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.process-num {
  font-family: var(--font-display);
  font-size: 3.8rem;
  font-weight: 300;
  color: var(--accent);
  opacity: .3;
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}
.process-step h3 {
  font-size: 1.18rem;
  font-weight: 500;
  margin-bottom: 12px;
}
.process-step p {
  font-size: .93rem;
  color: var(--text-mid);
  line-height: 1.82;
}
@media (max-width: 840px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }
}
@media (max-width: 480px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ── Hero de pestañas internas (compartido) ─────────── */
.page-hero {
  position: relative;
  padding: 200px 0 110px;
  text-align: center;
  background-color: var(--text);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  animation: heroDrift 18s ease-in-out infinite alternate;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10,8,6,.62);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero .section-eyebrow {
  margin-bottom: 12px;
  color: var(--accent);
  justify-content: flex-start;
}
.page-hero h1 {
  margin-bottom: 0;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.85), 0 3px 14px rgba(0,0,0,.6), 0 8px 32px rgba(0,0,0,.35);
}
.page-hero h1 em { color: var(--accent); }
.page-hero p {
  margin-top: 16px;
  font-size: 1rem;
  color: rgba(255,255,255,.72);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 3px rgba(0,0,0,.6);
}
@media (max-width: 768px) {
  .page-hero { padding: 120px 24px 60px; }
}

/* ── Hero: logo solo (zona inicial) ─────────────────── */

/* ══════════════════════════════════════════════════════
   EFECTOS VISUALES — Solo estilo, cero texto nuevo
   ══════════════════════════════════════════════════════ */

/* ── Fade-in de página al cargar ─────────────────────── */
@keyframes pageFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes kenBurns {
  0%   { transform: scale(1.0); }
  100% { transform: scale(1.08); }
}

@keyframes heroDrift {
  from { background-position: center 38%; }
  to   { background-position: center 44%; }
}

/* ── Process steps — lift + accent glow on hover ─────── */
.process-step {
  transition: box-shadow .35s ease, transform .35s ease;
}
.process-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(0,0,0,.11), 0 0 0 1px rgba(244,133,52,.2);
}
.process-step--dark {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r);
  padding: 56px 44px 52px;
  display: flex;
  flex-direction: column;
}
.process-step--featured { border-top: 3px solid var(--accent); }
.plan-deco-num {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--accent);
  opacity: .18;
  letter-spacing: -.02em;
  margin-bottom: 28px;
  pointer-events: none;
  user-select: none;
}
.plan-rule { width: 36px; height: 1px; background: var(--accent); margin-bottom: 18px; opacity: .6; }
.plan-label { color: var(--accent); letter-spacing: .12em; font-size: .78rem; margin-bottom: 14px; }

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.04) 50%, transparent 70%);
  animation: bandSweep 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes bandSweep {
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(250%); }
}

.btn-accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  transform: skewX(-18deg);
  transition: left .5s ease;
  pointer-events: none;
}
.btn-accent:hover::before { left: 135%; }

/* ── About-split images — smooth zoom on hover ───────── */
.about-split .media-placeholder { overflow: hidden; border-radius: 2px; }
.about-split .media-placeholder img {
  transition: transform .7s cubic-bezier(.25,.46,.45,.94);
}
.about-split .media-placeholder:hover img { transform: scale(1.05); }

/* ── Service images — warm accent tint on hover ──────── */
.about-split .media-placeholder.has-img { position: relative; }
.about-split .media-placeholder.has-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  transition: background .45s ease;
  pointer-events: none;
  z-index: 1;
}
.about-split .media-placeholder.has-img:hover::after {
  background: rgba(244,133,52,.06);
}

/* Nosotros about-split specifics */
.about-split--top .rvl { align-self: start; }
.about-split--top .rvl img { width: 100%; height: auto; border-radius: 2px; display: block; }
.about-split--top .rvr h2 { font-size: clamp(2rem,3.8vw,3rem); line-height: 1.15; }
.about-split--top .rvr h2 span { display: block; font-size: clamp(.9rem,1.5vw,1.1rem); font-weight: 400; font-style: normal; color: var(--text-mid); margin-top: 8px; }
.about-split--top .rvr p { font-size: 1rem; line-height: 1.9; margin-top: 16px; }

.testi-card-mini:hover {
  box-shadow: 0 22px 64px rgba(0,0,0,.13), -4px 0 0 0 var(--accent);
  transform: translateY(-4px);
}

/* ── Nav logo — subtle scale on hover ────────────────── */
.nav-logo:hover img { transform: scale(1.05); opacity: .9; }

/* ── Scroll reveal — easing más elástico ─────────────── */
@keyframes revealUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: none; }
}
@keyframes revealLeft {
  from { opacity: 0; transform: translateX(-36px); }
  to   { opacity: 1; transform: none; }
}
@keyframes revealRight {
  from { opacity: 0; transform: translateX(36px); }
  to   { opacity: 1; transform: none; }
}
.rv.visible  { animation: revealUp  .75s cubic-bezier(.22,1,.36,1) both; }
.rvl.visible { animation: revealLeft .85s cubic-bezier(.22,1,.36,1) both; }
.rvr.visible { animation: revealRight .85s cubic-bezier(.22,1,.36,1) both; }


/* ── Reducción de movimiento: respeto accesibilidad ───── */
@media (prefers-reduced-motion: reduce) {
  body, .hero-slide.active, .page-hero,
  .cta-band::before, .btn-accent::before,
  .rv, .rvl, .rvr { animation: none !important; }
  .rv, .rvl, .rvr { opacity: 1 !important; }
}

/* ── Servicios split rows ─────────────────────────────── */
.svc-split {
  max-width: 1200px;
  margin: 0 auto 72px;
  padding: 0 24px;
  align-items: center;
  gap: 64px;
}
.svc-split > div { flex: 1; }
.svc-split h2 { font-size: 1.6rem; margin: 0 0 18px; }
.svc-split p { color: var(--text-mid); line-height: 1.9; font-size: .97rem; }

/* ── Asesoramiento dark card typography ───────────────── */
.plan-card-title { font-size: 1.4rem; margin: 0 0 20px; color: #fff; font-weight: 500; line-height: 1.3; }
.plan-card-desc  { color: rgba(255,255,255,.58); font-size: .95rem; line-height: 1.85; margin: 0; }

/* ── Google review badge ──────────────────────────────── */
.google-icon     { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }
.testi-platform  { color: rgba(0,0,0,.3); font-size: .65rem; margin-left: 4px; }

/* ── Política de privacidad ───────────────────────────── */
.privacy-content { max-width: 780px; margin: 0 auto; }
.privacy-content h2 { margin-bottom: 14px; }
.privacy-content p  { margin-bottom: 32px; }
.privacy-content p + ul,
.privacy-content h2 + p { margin-bottom: 16px; }
.privacy-content ul { list-style: disc; padding-left: 22px; color: var(--text-mid); font-size: .94rem; line-height: 1.75; margin-bottom: 32px; }
.privacy-content li { margin-bottom: 8px; }
.privacy-content li:last-child { margin-bottom: 0; }
.privacy-content p:last-child { margin-bottom: 0; }

/* ── Catálogo modifiers ───────────────────────────────── */
.cat-section-header--centered { flex-direction: column; align-items: center; text-align: center; border-bottom: none; padding-bottom: 0; }
.cat-section-header--centered > p { color: var(--text-mid); max-width: 580px; margin: 16px auto 0; font-size: .95rem; line-height: 1.7; }

/* ── Contact / method-link ───────────────────────────── */
.method-link--mt { margin-top: 8px; }
#cf-msg-count { font-size: 11px; color: var(--text-light); text-align: right; display: block; margin-top: 4px; }

/* ── 404 page ─────────────────────────────────────────── */
.e404-section { padding-top: 200px; min-height: 70vh; display: flex; align-items: center; }
.e404-wrap { text-align: center; max-width: 680px; margin: 0 auto; }
.e404-digit { font-family: var(--font-display); font-size: clamp(80px,15vw,160px); font-weight: 300; line-height: 1; color: var(--accent-soft); }
.e404-desc { margin: 20px auto 36px; max-width: 480px; color: var(--text-mid); font-size: 1.05rem; line-height: 1.7; }
.e404-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.e404-links { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; }
