/* ═══════════════════════════════════════════════════════════
   López & Asoc. · Remodelaciones Deluxe
   styles.css — Identidad visual "Tectonic Precision"
   ═══════════════════════════════════════════════════════════ */

/* ── 1. VARIABLES DE MARCA ──────────────────────────────── */
:root {
  --forest:          #1A3D2B;
  --forest-deep:     #122B1E;
  --terracotta:      #B85C38;
  --terracotta-hover:#C97449;
  --terracotta-light:#E5A572;
  --cream:           #F5F0E8;
  --cream-warm:      #EBE4D4;
  --carbon:          #0F0F0D;
  --gold:            #B8973A;

  --ink-dark:        #1A1A14;
  --ink-muted:       #5C5A4F;
  --ink-light:       #F5F0E8;
  --ink-light-muted: rgba(245, 240, 232, 0.70);

  --nav-h:           72px;
  --container-max:   1200px;
  --container-px:    clamp(1.25rem, 5vw, 4rem);
  --section-py:      clamp(4rem, 8vw, 7rem);
}

/* ── 2. RESET & BASE ────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-dark);
  background-color: var(--cream);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ── 3. TIPOGRAFÍA ──────────────────────────────────────── */
h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.15;
  font-weight: 300;
}

h1 { font-size: clamp(2.6rem, 6vw, 5.25rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

h1 strong, h2 strong { font-weight: 700; }
h1 em, h2 em { font-style: italic; font-weight: 300; }

.section-label {
  font-family: 'Jura', sans-serif;
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--terracotta);
  display: block;
  margin-bottom: 1rem;
}

.section-label--light { color: var(--terracotta-light); }

/* ── 4. LAYOUT UTILITARIOS ──────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.section {
  padding-block: var(--section-py);
}

.section--forest { background-color: var(--forest); }
.section--cream  { background-color: var(--cream);  }

.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-title--dark  { color: var(--ink-dark);  }
.section-title--light { color: var(--ink-light); }

.br-desk { display: none; }
@media (min-width: 768px) { .br-desk { display: block; } }

/* ── 5. BOTONES ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85em 2em;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--terracotta);
  color: var(--cream);
  border-color: var(--terracotta);
}
.btn--primary:hover {
  background-color: var(--terracotta-hover);
  border-color: var(--terracotta-hover);
}

.btn--outline {
  background-color: transparent;
  color: var(--ink-light);
  border-color: rgba(245, 240, 232, 0.45);
}
.btn--outline:hover {
  border-color: var(--ink-light);
}

.btn--cta {
  background-color: var(--terracotta);
  color: var(--cream);
  border-color: var(--terracotta);
  padding: 0.65em 1.5em;
  font-size: 0.8rem;
}
.btn--cta:hover {
  background-color: var(--terracotta-hover);
  border-color: var(--terracotta-hover);
}

.btn--dark {
  background-color: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}
.btn--dark:hover {
  background-color: var(--forest-deep);
  border-color: var(--forest-deep);
}

.btn--whatsapp {
  background-color: #25D366;
  color: #fff;
  border-color: #25D366;
  font-size: 1rem;
  padding: 1em 2.5em;
  gap: 0.65rem;
}
.btn--whatsapp:hover {
  background-color: #1EBD5A;
  border-color: #1EBD5A;
}

/* ── 6. NAV ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  padding: 0.85rem 5%;
  background-color: var(--forest);
  border-bottom: 1px solid rgba(184, 151, 58, 0.25);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  background-color: rgba(26, 61, 43, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.nav-logo img {
  height: 88px;
  width: auto;
  display: block;
  mix-blend-mode: screen;
  filter: brightness(1.2);
}

.footer-logo img {
  height: 56px;
  width: auto;
  display: block;
  background: none;
  border: none;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
}

.nav-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-light-muted);
  transition: color 0.25s ease;
}
.nav-link:hover { color: var(--ink-light); }

.nav .btn--cta {
  margin-left: auto;
}

@media (min-width: 768px) {
  .nav .btn--cta { margin-left: 0; }
}

.nav-mobile-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-light);
  padding: 0.5rem;
  margin-left: auto;
}

@media (min-width: 768px) {
  .nav-mobile-btn { display: none; }
}

.hamburger-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--ink-light);
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}

.hamburger-label {
  font-family: 'Jura', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--ink-light-muted);
  transition: opacity 0.3s ease;
}

/* Estado abierto */
.nav-mobile-btn.is-open .hamburger-line:first-child {
  transform: translateY(6px) rotate(45deg);
}

.nav-mobile-btn.is-open .hamburger-line:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-mobile-btn.is-open .hamburger-label {
  opacity: 0.5;
  letter-spacing: 0.15em;
}

/* Mobile menu open state */
.nav-links.is-open {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background-color: var(--forest-deep);
  padding: 1.5rem var(--container-px) 2rem;
  gap: 1.25rem;
  border-bottom: 1px solid rgba(184, 151, 58, 0.2);
}

@media (max-width: 767px) {
  .nav-inner {
    padding: 0 4%;
  }
  .btn--cta {
    padding: 0.5rem 0.75rem;
    font-size: 0.6rem;
    letter-spacing: 0.06em;
    white-space: nowrap;
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nav .btn--cta {
    display: none !important;
  }
  .nav-logo svg {
    height: 36px;
    width: auto;
  }
}

/* ── 7. HERO ────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 43, 30, 0.82);
  z-index: 1;
}

.hero-watermark-cover {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 220px;
  background: linear-gradient(to top, #122B1E 50%, transparent 100%);
  z-index: 2;
}

.hero-inner {
  position: relative;
  z-index: 3;
  padding: 8rem 5% 5rem;
}

.hero-ornament {
  width: 1px;
  height: 60px;
  background-color: var(--gold);
  opacity: 0.7;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.hero-label {
  font-family: 'Jura', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--terracotta-light);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink-light);
  margin-bottom: 1.5rem;
}

.hero-title strong {
  font-weight: 700;
  color: var(--ink-light);
}

.hero-sub {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--ink-light-muted);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1rem;
  color: var(--ink-light-muted);
  letter-spacing: 0.05em;
}

/* ── 8. PROBLEMA ────────────────────────────────────────── */
.problema-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
}

@media (min-width: 900px) {
  .problema-grid { grid-template-columns: 1fr 1fr; }
}

.pain-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pain-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.pain-bar {
  flex-shrink: 0;
  width: 3px;
  height: 100%;
  min-height: 64px;
  background-color: var(--terracotta);
  align-self: stretch;
}

.pain-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-dark);
  margin-bottom: 0.35rem;
}

.pain-content p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  font-weight: 300;
}

.editorial-quote {
  border: none;
  padding: 0;
  margin-bottom: 2rem;
}

.editorial-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 300;
  line-height: 1.4;
  color: var(--ink-dark);
  margin-bottom: 1.25rem;
}

.editorial-quote--light p { color: var(--ink-light); }

.editorial-quote footer {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quote-line {
  display: inline-block;
  width: 36px;
  height: 1px;
  background-color: var(--gold);
}

.editorial-quote cite {
  font-family: 'Jura', sans-serif;
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.editorial-quote--light cite { color: var(--ink-light-muted); }
.editorial-quote--light .quote-line { background-color: var(--gold); }

.problema-copy {
  font-size: 0.975rem;
  color: var(--ink-muted);
  font-weight: 300;
  margin-bottom: 1rem;
  line-height: 1.75;
}

.problema-copy strong {
  font-weight: 600;
  color: var(--ink-dark);
}

/* ── 9. SERVICIOS ───────────────────────────────────────── */
.servicios-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5px;
}

@media (min-width: 768px) {
  .servicios-grid { grid-template-columns: repeat(3, 1fr); }
}

.servicio-card {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border: 1px solid rgba(184, 151, 58, 0.20);
  position: relative;
  transition: border-color 0.3s ease;
}

.servicio-card:hover {
  border-color: rgba(184, 151, 58, 0.55);
}

/* Servicios — carrusel horizontal en mobile */
@media (max-width: 767px) {
  .servicios-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding-bottom: 1rem;
    scrollbar-width: none;
  }

  .servicios-grid::-webkit-scrollbar {
    display: none;
  }

  .servicio-card {
    flex: 0 0 80vw;
    max-width: 300px;
    scroll-snap-align: start;
  }
}

.servicio-num {
  font-family: 'Jura', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  display: block;
  margin-bottom: 1.25rem;
}

.servicio-icon {
  color: var(--terracotta-light);
  margin-bottom: 1rem;
  opacity: 0.85;
}

.servicio-icon svg { width: 28px; height: 28px; }

.servicio-title {
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  color: var(--ink-light);
  margin-bottom: 1rem;
}

.servicio-desc {
  font-size: 0.9rem;
  color: var(--ink-light-muted);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.servicio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  font-family: 'Jura', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(184, 151, 58, 0.35);
  padding: 0.3em 0.8em;
}

/* ── 10. PROCESO ────────────────────────────────────────── */
.proceso-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 860px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .proceso-grid {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 0;
  }
}

.proceso-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.proceso-numeral {
  width: 52px;
  height: 52px;
  border: 1px solid var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--forest);
  flex-shrink: 0;
}

.proceso-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-dark);
  margin-bottom: 0.5rem;
}

.proceso-content p {
  font-size: 0.875rem;
  color: var(--ink-muted);
  font-weight: 300;
  line-height: 1.7;
}

/* Connector line between steps — desktop only */
.proceso-connector {
  display: none;
}

@media (min-width: 768px) {
  .proceso-connector {
    display: block;
    width: clamp(2rem, 4vw, 4rem);
    height: 1px;
    background-color: var(--gold);
    opacity: 0.5;
    margin-top: 26px;
    flex-shrink: 0;
  }
}

@media (max-width: 767px) {
  .proceso-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1.5rem;
    padding-bottom: 1rem;
    scrollbar-width: none;
  }

  .proceso-grid::-webkit-scrollbar {
    display: none;
  }

  .proceso-step {
    flex: 0 0 72vw;
    max-width: 260px;
    scroll-snap-align: start;
  }

  .proceso-connector {
    display: none;
  }
}

.proceso-cta {
  text-align: center;
}

/* ── 11. MATERIALES ─────────────────────────────────────── */
.materiales-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

@media (min-width: 900px) {
  .materiales-grid { grid-template-columns: 1fr 1fr; }
}

.materiales-cards {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.material-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 1px solid rgba(184, 151, 58, 0.15);
  transition: border-color 0.3s ease;
}

.material-card:hover { border-color: rgba(184, 151, 58, 0.4); }

.material-accent {
  flex-shrink: 0;
  width: 3px;
  background-color: var(--terracotta);
  align-self: stretch;
}

.material-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink-light);
  margin-bottom: 0.15rem;
}

.material-latin {
  font-family: 'Jura', sans-serif;
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
}

.material-content p {
  font-size: 0.875rem;
  color: var(--ink-light-muted);
  font-weight: 300;
  line-height: 1.7;
}

.materiales-quote {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.materiales-note {
  font-size: 0.85rem;
  color: var(--ink-light-muted);
  font-weight: 300;
  line-height: 1.75;
  padding-top: 1rem;
  border-top: 1px solid rgba(184, 151, 58, 0.2);
}

/* ── 12. TESTIMONIOS ────────────────────────────────────── */
.testimonios-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .testimonios-grid { grid-template-columns: repeat(2, 1fr); }
}

.testimonio-card {
  background-color: #fff;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--cream-warm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26, 61, 43, 0.08);
}

@media (max-width: 767px) {
  .testimonios-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding-bottom: 1rem;
    scrollbar-width: none;
  }

  .testimonios-grid::-webkit-scrollbar {
    display: none;
  }

  .testimonio-card {
    flex: 0 0 80vw;
    max-width: 300px;
    scroll-snap-align: start;
  }
}

.testimonio-stars {
  color: var(--terracotta);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.testimonio-card blockquote p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 300;
  color: var(--ink-dark);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.testimonio-footer {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--cream-warm);
}

.testimonio-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--ink-dark);
}

.testimonio-location {
  font-family: 'Jura', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ── 13. CTA FINAL ──────────────────────────────────────── */
.cta-final {
  background-color: #0F0F0D;
  padding-block: var(--section-py);
}

.cta-final-inner {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
}

.cta-final-title {
  font-size: clamp(2rem, 5vw, 3.75rem);
  color: var(--ink-light);
  margin-bottom: 1.25rem;
  font-weight: 300;
}

.cta-final-sub {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: var(--ink-light-muted);
  font-weight: 300;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.cta-final-footnote {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.4);
  font-family: 'Jura', sans-serif;
}

.cta-final-footnote a {
  color: rgba(245, 240, 232, 0.55);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.25s ease;
}
.cta-final-footnote a:hover { color: var(--ink-light); }

/* ── 14. FOOTER ─────────────────────────────────────────── */
.footer {
  background-color: var(--carbon);
  border-top: 1px solid rgba(184, 151, 58, 0.15);
  padding-block: clamp(2rem, 4vw, 3.5rem);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr auto auto;
    align-items: start;
    gap: 4rem;
  }
}

.footer-logo img { height: 56px; width: auto; }

.footer-tagline {
  margin-top: 0.75rem;
  font-family: 'Jura', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.35);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.45);
  transition: color 0.25s ease;
}
.footer-link:hover { color: var(--ink-light); }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-wa,
.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.45);
  transition: color 0.25s ease;
}

.footer-wa:hover,
.footer-email:hover { color: var(--ink-light); }

.footer-wa svg,
.footer-email svg { width: 16px; height: 16px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(184, 151, 58, 0.1);
}

.footer-copy {
  font-family: 'Jura', sans-serif;
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  color: rgba(245, 240, 232, 0.3);
}

.footer-est {
  font-family: 'Jura', sans-serif;
  font-size: 0.67rem;
  letter-spacing: 0.2em;
  color: rgba(184, 151, 58, 0.5);
}

/* ── 15. UTILIDADES ─────────────────────────────────────── */
/* ── 16. FORMULARIO DE CONTACTO ─────────────────────────── */
.contacto-form {
  max-width: 720px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--forest);
  font-family: 'Outfit', sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: white;
  border: 1px solid var(--cream-warm);
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  color: var(--ink-dark);
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  transition: border-color 0.25s ease;
  border-radius: 0;
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--forest);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--ink-muted);
  opacity: 0.6;
}

.form-group select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231A3D2B' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ── 17. BOTÓN FLOTANTE WHATSAPP ────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

/* ── 18. ACCESIBILIDAD ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-aos] { opacity: 1 !important; transform: none !important; }
}
/* ── 19. MOBILE CTA BAR ─────────────────────────────────── */
.mobile-cta-bar {
  display: none;
}

@media (max-width: 767px) {
  .mobile-cta-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    background-color: var(--terracotta);
    padding: 0.9rem 1.5rem;
    gap: 0.6rem;
    box-shadow: 0 -2px 16px rgba(184, 92, 56, 0.35);
  }

  .mobile-cta-bar a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cream);
    text-decoration: none;
  }

  .mobile-cta-bar svg {
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0;
  }

  /* Evitar que el WhatsApp flotante se superponga */
  .whatsapp-float {
    bottom: 5rem;
  }
}

/* ── 20. BLOG PREVIEW ───────────────────────────────────── */
.blog-preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .blog-preview-grid { grid-template-columns: repeat(3, 1fr); }
}

.blog-preview-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.75rem;
  border: 1px solid var(--cream-warm);
  background: #fff;
  text-decoration: none;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.blog-preview-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(26, 61, 43, 0.08);
}

.blog-preview-cat {
  font-family: 'Jura', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.blog-preview-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
  color: var(--ink-dark);
  line-height: 1.3;
}

.blog-preview-desc {
  font-size: 0.875rem;
  color: var(--ink-muted);
  font-weight: 300;
  line-height: 1.7;
  flex: 1;
}

.blog-preview-read {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

/* ── 21. MICROINTERACCIONES & MOTION ────────────────────── */

/* Carrusel — indicador de scroll hint en mobile */
@media (max-width: 767px) {
  .servicios-grid,
  .proceso-grid,
  .testimonios-grid {
    position: relative;
  }

  /* Fade edge derecho para indicar que hay más contenido */
  .section--forest .servicios-grid::after,
  .section--cream .proceso-grid::after,
  .section--cream .testimonios-grid::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 100%;
    pointer-events: none;
  }

  .section--forest .servicios-grid::after {
    background: linear-gradient(to right, transparent, var(--forest));
  }

  .section--cream .proceso-grid::after,
  .section--cream .testimonios-grid::after {
    background: linear-gradient(to right, transparent, var(--cream));
  }

  /* Cards — press feedback táctil */
  .servicio-card,
  .testimonio-card,
  .blog-preview-card {
    transition: transform 0.15s ease, opacity 0.15s ease;
  }

  .servicio-card:active,
  .testimonio-card:active,
  .blog-preview-card:active {
    transform: scale(0.97);
    opacity: 0.85;
  }

  /* CTA bar — pulse sutil en el ícono WhatsApp */
  .mobile-cta-bar svg {
    animation: pulse-wa 2.5s ease-in-out infinite;
  }

  @keyframes pulse-wa {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
  }

  /* Botón flotante WhatsApp — bounce entry */
  .whatsapp-float {
    animation: bounce-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    animation-delay: 1.5s;
    opacity: 0;
    animation-fill-mode: forwards;
  }

  @keyframes bounce-in {
    from {
      opacity: 0;
      transform: scale(0.5) translateY(20px);
    }
    to {
      opacity: 1;
      transform: scale(1) translateY(0);
    }
  }
}

/* Scroll reveal — fade up para secciones (complementa AOS) */
[data-aos="fade-up"] {
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !important;
}