/* =============================================================
   1. TOKENS
   ============================================================= */
:root {
  /* Paleta */
  --bg:        #F5F2EE;
  --bg-2:      #EDEAE4;
  --bg-3:      #E8E4DF;
  --ink:       #1E1C1A;
  --ink-soft:  #3a3734;
  --ink-mute:  #6b6760;
  --accent:    #B8962E;
  --accent-2:  #9a7d22;
  --cement:    #8A8680;
  --cream:     #F5F2EE;
  --white:     #ffffff;
  --line:      rgba(30,28,26,0.10);
  --line-soft: rgba(30,28,26,0.06);

  /* Tipografía */
  --serif:  'Playfair Display', Georgia, serif;
  --sans:   'Inter', system-ui, sans-serif;
  --mono:   'Space Grotesk', 'Segoe UI', sans-serif;

  /* Espaciado */
  --gutter: clamp(20px, 5vw, 64px);
  --nav-h:  68px;

  /* Transiciones */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* =============================================================
   2. RESET Y BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
p { text-wrap: pretty; }
h1,h2,h3,h4 { text-wrap: balance; line-height: 1.08; }
ul[role="list"], ol[role="list"] { list-style: none; }
::selection { background: var(--accent); color: var(--white); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1.2rem; background: var(--ink); color: var(--cream);
  font-family: var(--mono); font-size: 13px;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. UTILITIES
   ============================================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.label-line {
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 10px;
}

.intro-label {
  display: flex; align-items: center;
  font-family: var(--mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.intro-label--light { color: rgba(245,242,238,.7); }
.intro-label--light .label-line { background: rgba(245,242,238,.5); }

.section-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.12;
  color: var(--ink);
}
.section-title em { color: var(--accent); font-style: italic; }

.section-sub {
  margin-top: 20px;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.75;
  color: var(--ink-mute);
  max-width: 600px;
}

.section-header {
  margin-bottom: clamp(40px, 5vw, 64px);
}

/* =============================================================
   4. BOTONES
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  font-family: var(--mono);
  font-size: 13px; font-weight: 500;
  letter-spacing: .04em;
  border: 1.5px solid transparent;
  transition: background .25s var(--ease-out),
              color .25s var(--ease-out),
              border-color .25s var(--ease-out),
              transform .2s var(--ease-out);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }

.btn-primary {
  background: var(--accent); color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-2); border-color: var(--accent-2); }

.btn-ghost {
  background: transparent; color: var(--cream);
  border-color: rgba(245,242,238,.45);
}
.btn-ghost:hover { background: rgba(245,242,238,.1); border-color: rgba(245,242,238,.7); }

.btn-ghost-dark {
  background: transparent; color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost-dark:hover { background: var(--ink); color: var(--cream); }

.btn-lg { padding: 15px 32px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }

/* =============================================================
   5. NAV
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding-inline: var(--gutter);
  background: rgba(30,28,26,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(245,242,238,.08);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,.25); }

.nav-brand {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo {
  height: 52px; width: auto;
  display: block;
  flex-shrink: 0;
}
.nav-brand-text {
  font-family: var(--sans);
  font-size: 14px; font-weight: 400;
  letter-spacing: -.01em;
  color: rgba(245,242,238,.75);
  line-height: 1;
}
.nav-brand-text em {
  color: var(--accent);
  font-style: normal;
}

.nav-links {
  display: none;
  align-items: center; gap: 32px;
  margin-inline: auto;
}
.nav-link {
  font-family: var(--mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  color: rgba(245,242,238,.55);
  transition: color .2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.nav-link:hover, .nav-link.is-active { color: var(--cream); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

.nav-cta {
  display: flex; align-items: center; gap: 10px;
  margin-left: auto;
}
.nav-tel {
  font-family: var(--mono);
  font-size: 12px; color: rgba(245,242,238,.55);
  display: none;
  transition: color .2s;
}
.nav-tel:hover { color: var(--accent); }

/* En móvil: ocultar texto del botón, mostrar solo icono */
.nav-cta .btn-primary .btn-text { display: none; }
.nav-cta .btn-primary {
  padding: 10px 14px;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

.nav-toggle {
  display: flex; flex-direction: column; gap: 5px;
  padding: 10px 8px; margin-left: 4px;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: rgba(245,242,238,.85);
  transition: transform .3s var(--ease-out), opacity .2s;
  border-radius: 2px;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-logo {
  height: 44px; width: auto;
  display: block;
}

/* Mobile menu — fondo oscuro */
.nav-links.is-open {
  display: flex; flex-direction: column;
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: rgba(30,28,26,.98);
  padding: 28px var(--gutter) 36px;
  border-bottom: 1px solid rgba(245,242,238,.08);
  gap: 20px; align-items: flex-start;
}

/* =============================================================
   6. HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero-media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(30,28,26,.25) 0%,
    rgba(30,28,26,.45) 40%,
    rgba(30,28,26,.78) 75%,
    rgba(30,28,26,.88) 100%
  );
}

/* Hero body — dos columnas en desktop */
.hero-body {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 48px);
  padding: clamp(40px, 6vw, 80px) clamp(32px, 7vw, 100px) clamp(32px, 4vw, 48px);
  align-items: center;
  max-width: 1280px;
  margin-inline: auto;
  width: 100%;
}

.hero-content { max-width: 520px; }

.hero-kicker {
  font-family: var(--mono);
  font-size: 12px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: #fff;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
  background: rgba(184,150,46,.85);
  display: inline-flex;
  padding: 6px 12px;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 20px;
}
.hero-title em { color: var(--accent); font-style: italic; }

.hero-sub {
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.65;
  color: rgba(245,242,238,.75);
  margin-bottom: 28px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Formulario en el hero */
.hero-form-wrap { width: 100%; }

.hero-form-card {
  background: rgba(245,242,238,.96);
  backdrop-filter: blur(12px);
  padding: clamp(24px, 3vw, 36px);
}

.hero-form-title {
  font-family: var(--serif);
  font-size: 18px; font-weight: 600;
  color: var(--ink);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.hf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.hf-group { margin-bottom: 10px; }
.hf-group input,
.hf-group select {
  width: 100%; padding: 11px 13px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--sans); font-size: 13px;
  outline: none; -webkit-appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.hf-group input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(184,150,46,.12); }
.hf-group input::placeholder { color: var(--cement); }

.hf-check { margin-bottom: 14px; }

/* Stats */
.hero-stats {
  position: relative; z-index: 1;
  display: flex; align-items: center;
  background: rgba(30,28,26,.7);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(245,242,238,.1);
  padding: clamp(18px, 2.5vw, 26px) var(--gutter);
}

.hero-stats--centered { justify-content: center; }
.hero-stats--centered .stat {
  flex: 0 1 200px;
  text-align: center;
  align-items: center;
}

.stat {
  flex: 1;
  display: flex; flex-direction: column; gap: 4px;
  padding: 0 clamp(16px, 3vw, 40px);
}
.stat:first-child { padding-left: 0; }

.stat-num {
  font-family: var(--serif);
  font-size: clamp(26px, 2.8vw, 42px);
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-family: var(--mono);
  font-size: 10px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(245,242,238,.5);
}

.stat-divider {
  width: 1px; height: 40px;
  background: rgba(245,242,238,.15);
  flex-shrink: 0;
}

/* =============================================================
   7. INTRO EDITORIAL
   ============================================================= */
.intro {
  padding: clamp(64px, 8vw, 112px) 0;
  border-bottom: 1px solid var(--line);
}
.intro-inner {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}
.intro-inner .intro-label { justify-content: center; }
.intro-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 50px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.intro-title em { color: var(--accent); font-style: italic; }
.intro-body {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.8;
  color: var(--ink-soft);
}

/* =============================================================
   8. GALERÍA
   ============================================================= */
.gallery-section {
  padding: clamp(64px, 8vw, 96px) 0;
  border-bottom: 1px solid var(--line);
}
.gallery-header {
  margin-bottom: clamp(32px, 4vw, 48px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  gap: 3px;
  padding-inline: var(--gutter);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
  aspect-ratio: 4/3;
}
.gallery-item--large {
  grid-row: span 2;
  aspect-ratio: auto;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-soft),
              filter .4s var(--ease-soft);
  filter: saturate(1.0);
}
.gallery-item:hover img {
  transform: scale(1.04);
  filter: saturate(1.12);
}

.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px 16px 16px;
  background: linear-gradient(transparent, rgba(30,28,26,.7));
  display: flex; justify-content: space-between; align-items: flex-end;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .3s, transform .3s var(--ease-out);
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: none; }

.gallery-tag {
  font-family: var(--mono);
  font-size: 10px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  background: var(--accent); color: var(--white);
  padding: 4px 9px;
}
.gallery-loc {
  font-family: var(--mono);
  font-size: 10px; color: rgba(245,242,238,.7);
  letter-spacing: .06em;
}

/* =============================================================
   9. SERVICIOS
   ============================================================= */
.services {
  padding: clamp(64px, 8vw, 96px) 0;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.service-card {
  padding: clamp(24px, 3vw, 36px) 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 52px 1fr;
  grid-template-rows: auto auto;
  column-gap: 20px;
  align-items: start;
}
.service-card:last-child { border-bottom: none; }

.service-num {
  font-family: var(--serif);
  font-size: 13px; color: var(--accent);
  letter-spacing: .06em;
  grid-row: span 2;
  padding-top: 3px;
}
.service-name {
  font-family: var(--serif);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 600;
  margin-bottom: 6px;
}
.service-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-mute);
}

/* =============================================================
   10. PROCESO
   ============================================================= */
.process {
  padding: clamp(64px, 8vw, 96px) 0;
  border-bottom: 1px solid var(--line);
}
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  list-style: none;
  counter-reset: steps;
}
.process-step {
  padding: clamp(24px, 3vw, 36px) 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 20px;
}
.process-step:last-child { border-bottom: none; }

.process-num {
  font-family: var(--serif);
  font-size: 13px; color: var(--accent);
  letter-spacing: .06em; padding-top: 3px;
  grid-row: span 2;
}
.process-name {
  font-family: var(--serif);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 600;
  margin-bottom: 6px;
}
.process-desc {
  font-size: 14px; line-height: 1.7;
  color: var(--ink-mute);
}

/* =============================================================
   11. PRECIOS
   ============================================================= */
.pricing {
  padding: clamp(64px, 8vw, 96px) 0;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.price-card {
  background: var(--white);
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.price-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(30,28,26,.08);
}
.price-card--featured {
  border-color: var(--accent);
  position: relative;
}
.price-card--featured::before {
  content: 'Más solicitada';
  position: absolute; top: -12px; left: 28px;
  background: var(--accent); color: var(--white);
  font-family: var(--mono);
  font-size: 10px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 10px;
}

.price-card-header {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}
.price-name {
  font-family: var(--serif);
  font-size: 18px; font-weight: 600;
}
.price-size {
  font-family: var(--mono);
  font-size: 11px; color: var(--cement);
  letter-spacing: .08em; text-transform: uppercase;
}

.price-range {
  display: flex; align-items: baseline; gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.price-from {
  font-family: var(--mono);
  font-size: 11px; color: var(--ink-mute);
  text-transform: uppercase; letter-spacing: .08em;
  flex-shrink: 0;
}
.price-num {
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 600; color: var(--accent);
  line-height: 1;
  white-space: nowrap;
}
.price-to {
  font-size: 12px; color: var(--ink-mute);
  white-space: nowrap;
}

.price-includes {
  list-style: none;
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 20px;
}
.price-includes li {
  font-size: 13px; color: var(--ink-soft);
  display: flex; align-items: center; gap: 8px;
}
.price-includes li::before {
  content: '';
  width: 5px; height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.price-deadline {
  font-family: var(--mono);
  font-size: 11px; color: var(--cement);
  letter-spacing: .06em; text-transform: uppercase;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.pricing-note {
  font-size: 12px; color: var(--cement);
  line-height: 1.6;
}

/* =============================================================
   12. TESTIMONIOS
   ============================================================= */
.testimonials {
  padding: clamp(64px, 8vw, 96px) 0;
  border-bottom: 1px solid var(--line);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.testi-card {
  background: var(--bg-2);
  padding: clamp(24px, 3vw, 36px);
  border-left: 2px solid var(--accent);
}
.testi-stars {
  color: var(--accent);
  font-size: 13px; letter-spacing: 3px;
  margin-bottom: 16px;
}
.testi-quote {
  font-family: var(--serif);
  font-size: clamp(15px, 1.3vw, 18px);
  font-style: italic;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.testi-quote::before { content: '\201C'; }
.testi-quote::after  { content: '\201D'; }
.testi-footer {
  display: flex; flex-direction: column; gap: 2px;
}
.testi-author {
  font-family: var(--mono);
  font-size: 13px; font-weight: 600;
  font-style: normal;
  color: var(--ink);
}
.testi-loc {
  font-family: var(--mono);
  font-size: 11px; color: var(--cement);
  letter-spacing: .06em;
}

/* =============================================================
   13. CTA FINAL
   ============================================================= */
.cta-section {
  position: relative;
  padding: clamp(64px, 10vw, 120px) 0;
  overflow: hidden;
}
.cta-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(30,28,26,.90) 0%,
    rgba(30,28,26,.78) 50%,
    rgba(30,28,26,.65) 100%
  );
}

.cta-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 64px);
}

.cta-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 60px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 20px;
}
.cta-title em { color: var(--accent); font-style: italic; }

.cta-sub {
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.7;
  color: rgba(245,242,238,.7);
  margin-bottom: 36px;
  max-width: 440px;
}

.cta-contact {
  display: flex; flex-direction: column; gap: 14px;
}
.contact-item {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono);
  font-size: 13px; color: rgba(245,242,238,.8);
  transition: color .2s;
}
a.contact-item:hover { color: var(--accent); }
.contact-icon {
  width: 36px; height: 36px;
  border: 1px solid rgba(245,242,238,.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

/* Formulario */
.form-card {
  background: var(--bg);
  padding: clamp(28px, 4vw, 44px);
}
.form-title {
  font-family: var(--serif);
  font-size: 22px; font-weight: 600;
  margin-bottom: 24px;
  color: var(--ink);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-group {
  margin-bottom: 14px;
}
.form-group label {
  display: block;
  font-family: var(--mono);
  font-size: 10px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 6px;
}
.form-optional { font-weight: 400; color: var(--cement); text-transform: none; letter-spacing: 0; font-size: 10px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--sans); font-size: 14px;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  -webkit-appearance: none; appearance: none;
  border-radius: 0;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184,150,46,.12);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath stroke='%236b6760' stroke-width='1.5' d='M1 1l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

.btn-block.is-sending { opacity: .7; pointer-events: none; }
.btn-block.is-success { background: #2d7a4a; border-color: #2d7a4a; }

.form-legal {
  margin-top: 10px;
  font-size: 11px; color: var(--cement);
  line-height: 1.6; text-align: center;
}

/* =============================================================
   14. FOOTER
   ============================================================= */
.footer {
  background: var(--ink);
  color: rgba(245,242,238,.6);
  padding: clamp(40px, 5vw, 64px) 0 clamp(24px, 3vw, 36px);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.footer-logo-wrap {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 10px;
}
.footer-logo-img {
  height: 56px; width: auto;
  flex-shrink: 0;
}
.footer-logo-name {
  font-family: var(--sans);
  font-size: 15px; font-weight: 400;
  color: rgba(245,242,238,.7);
  line-height: 1;
}
.footer-logo-name em { color: var(--accent); font-style: normal; }
.footer-tagline {
  font-size: 13px; color: rgba(245,242,238,.45);
  margin-top: 6px;
}

/* Form requerido y checkbox privacidad */
.form-required {
  color: var(--accent);
  font-size: 12px;
}

/* Mensaje de éxito tras envío */
.form-success {
  text-align: center;
  padding: clamp(24px, 4vw, 48px) 20px;
}
.form-success-icon {
  width: 56px; height: 56px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700;
  margin: 0 auto 20px;
}
.form-success-title {
  font-family: var(--serif);
  font-size: 22px; font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}
.form-success-msg {
  font-size: 15px; color: var(--ink-mute);
  line-height: 1.7; margin-bottom: 16px;
}
.form-success-tel {
  font-family: var(--mono);
  font-size: 13px; color: var(--ink-mute);
}
.form-success-tel a { color: var(--accent); font-weight: 600; }
.form-group--check { margin-bottom: 18px; }
.check-label {
  display: flex; align-items: flex-start; gap: 12px;
  cursor: pointer;
  font-size: 13px; color: var(--ink-soft);
  line-height: 1.5;
  user-select: none;
}

/* Ocultar checkbox nativo */
.check-label input[type="checkbox"] {
  position: absolute;
  opacity: 0; width: 0; height: 0;
}

/* Checkbox custom */
.check-label .check-box {
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; min-width: 22px;
  border: 2px solid var(--cement);
  background: var(--white);
  margin-top: 0;
  transition: border-color .2s, background .2s;
  flex-shrink: 0;
}
.check-label input[type="checkbox"]:checked + .check-box {
  background: var(--accent);
  border-color: var(--accent);
}
.check-label input[type="checkbox"]:checked + .check-box::after {
  content: '';
  display: block;
  width: 6px; height: 11px;
  border: 2px solid var(--white);
  border-top: none; border-left: none;
  transform: rotate(45deg) translateY(-2px);
}
.check-label:hover .check-box { border-color: var(--accent); }
.check-label input[type="checkbox"]:focus-visible + .check-box {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.check-link { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.check-link:hover { color: var(--accent-2); }
.footer-nav {
  display: flex; flex-direction: column; gap: 10px;
}
.footer-nav a {
  font-family: var(--mono);
  font-size: 12px; letter-spacing: .06em;
  color: rgba(245,242,238,.5);
  transition: color .2s;
}
.footer-nav a:hover { color: var(--accent); }
.footer-copy {
  font-family: var(--mono);
  font-size: 11px; color: rgba(245,242,238,.3);
}
.footer-copy a { color: rgba(245,242,238,.45); transition: color .2s; }
.footer-copy a:hover { color: var(--accent); }

.footer-legal {
  display: flex; flex-wrap: wrap; gap: 16px;
}
.footer-legal a {
  font-family: var(--mono);
  font-size: 11px; color: rgba(245,242,238,.4);
  letter-spacing: .04em; transition: color .2s;
}
.footer-legal a:hover { color: var(--accent); }

/* =============================================================
   15. ANIMACIONES / REVEAL
   ============================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s var(--ease-out),
              transform .75s var(--ease-out);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
/* Defensivo: data-split no se oculta */
[data-reveal][data-split] { opacity: 1; transform: none; }

/* =============================================================
   16. RESPONSIVE — tablet (720px+)
   ============================================================= */

/* Móvil: ocultar texto del logo por defecto */
.nav-brand-text { display: none; }

/* Móvil: hero form oculto */
.hero-form-wrap { display: none; }

@media (max-width: 719px) {
  .nav {
    min-height: 80px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    padding: 12px 16px;
    gap: 12px;
  }
  .nav-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    flex-shrink: 0;
  }
  .nav-logo { height: 36px; }
  .nav-brand-text {
    display: block;
    font-size: 10px;
    color: rgba(245,242,238,.7);
    white-space: nowrap;
    letter-spacing: .03em;
  }
  .nav-brand-text em { color: var(--accent); font-style: normal; }
  .nav-links { display: none; }
  .nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }
  .nav-tel { display: none; }
  .nav-cta .btn-primary {
    font-size: 11px;
    padding: 8px 12px;
    white-space: nowrap;
  }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    flex-shrink: 0;
    margin-left: 0;
  }
  .nav-toggle span {
    display: block;
    width: 20px; height: 2px;
    background: rgba(245,242,238,.9);
    border-radius: 2px;
  }
}

@media (min-width: 720px) {
  .nav-brand-text { display: inline; }
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .nav-tel { display: block; }

  .hero-form-wrap { display: block; max-width: 480px; justify-self: end; width: 100%; }
  .hero-body { grid-template-columns: 1fr 1fr; align-items: center; }

  .gallery-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: 320px 320px;
  }
  .gallery-item { aspect-ratio: auto; height: 100%; }
  .gallery-item--large { grid-row: span 2; }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-card { border-right: 1px solid var(--line); }
  .service-card:nth-child(2n) { border-right: none; }

  .process-steps {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    grid-template-columns: 1.5fr 1fr;
    align-items: start;
  }
}

/* =============================================================
   17. RESPONSIVE — desktop (1024px+)
   ============================================================= */
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .service-card:nth-child(2n) { border-right: 1px solid var(--line); }
  .service-card:nth-child(3n) { border-right: none; }

  .process-steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-inner {
    grid-template-columns: 2fr 1fr auto;
    align-items: end;
  }
}

/* =============================================================
   18. REDUCED MOTION (solo efectos intrusivos)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .gallery-item img { transition: none; }
}
