/* ============================================================
   EMPORDÀ CASA — styles.css  v=20260518
   Archetype: Editorial Light Cream (Mediterranean adaptation)
   ============================================================ */

/* ---- Custom properties ---- */
:root {
  --bg: #f3efe6;
  --bg-2: #e7dfd0;
  --bg-3: #ddd4c2;
  --paper: #ffffff;
  --ink: #1c1917;
  --ink-soft: #3d3830;
  --ink-mute: #7a7268;
  --accent: #1e5f74;
  --accent-h: #174d5f;
  --accent-2: #6a8f5e;
  --warm: #c06040;
  --line: rgba(28, 25, 23, 0.13);
  --radius: 12px;
  --radius-lg: 20px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui,
    sans-serif;
}

/* ---- Reset ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  overflow-x: clip;
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}
input,
textarea {
  font-family: inherit;
  font-size: inherit;
}
details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}

/* ---- Language toggle ---- */
.lang-fr {
  display: none;
}
html.is-fr .lang-fr {
  display: initial;
}
html.is-fr .lang-es {
  display: none;
}

/* ---- Reveal animation (JS adds .is-visible) ---- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.75s var(--ease-out),
    transform 0.75s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* DEFENSIVE: elements that have both .reveal AND data-split must stay visible */
.reveal[data-split] {
  opacity: 1;
  transform: none;
}

/* ---- Container ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

/* ---- Typography helpers ---- */
.kicker {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.kicker--light {
  color: rgba(243, 239, 230, 0.7);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 500;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 1.5rem;
  text-wrap: balance;
}
.section-title em {
  font-style: italic;
  color: var(--accent);
}
.section-title--light {
  color: #f3efe6;
}
.section-title--light em {
  color: rgba(243, 239, 230, 0.75);
}

.body-text {
  font-size: 1.05rem;
  line-height: 1.72;
  color: var(--ink-soft);
  max-width: 58ch;
  margin-bottom: 1.25rem;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-header .kicker {
  display: block;
}
.section-header .section-title {
  max-width: 22ch;
  margin: 0 auto 0;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    border-color 0.25s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1.5px solid var(--accent);
}
@media (hover: hover) {
  .btn-primary:hover {
    background: var(--accent-h);
    border-color: var(--accent-h);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30, 95, 116, 0.28);
  }
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
}
@media (hover: hover) {
  .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
  }
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
@media (hover: hover) {
  .btn-outline:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30, 95, 116, 0.22);
  }
}
.btn-nav {
  background: var(--accent);
  color: #fff;
  border: 1.5px solid var(--accent);
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
}
@media (hover: hover) {
  .btn-nav:hover {
    background: var(--accent-h);
    border-color: var(--accent-h);
  }
}
.btn--full {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition:
    background 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.nav.is-scrolled {
  background: rgba(243, 239, 230, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-mark {
  display: block;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
  color: currentColor;
}
.nav-logo-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.2s;
}
.nav.is-hero .nav-logo-name {
  color: #fff;
}
.nav.is-hero:not(.is-scrolled) .nav-logo-name {
  color: #fff;
}
.nav.is-scrolled .nav-logo-name {
  color: var(--ink);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.nav-link {
  font-size: 0.88rem;
  font-weight: 400;
  padding: 0.45rem 0.8rem;
  border-radius: 6px;
  color: var(--ink-mute);
  transition:
    color 0.2s,
    background 0.2s;
}
.nav.is-hero:not(.is-scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.8);
}
.nav.is-scrolled .nav-link {
  color: var(--ink-mute);
}
@media (hover: hover) {
  .nav-link:hover {
    color: var(--ink);
    background: rgba(28, 25, 23, 0.06);
  }
  .nav.is-hero:not(.is-scrolled) .nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
  }
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Lang toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  color: var(--ink-mute);
  transition: background 0.2s;
}
@media (hover: hover) {
  .lang-toggle:hover {
    background: rgba(28, 25, 23, 0.06);
  }
}
.nav.is-hero:not(.is-scrolled) .lang-toggle {
  color: rgba(255, 255, 255, 0.75);
}
.lt-es {
  font-weight: 600;
  color: var(--accent);
}
.lt-fr {
  opacity: 0.5;
}
.lt-sep {
  opacity: 0.4;
}
html.is-fr .lt-es {
  font-weight: 400;
  color: inherit;
  opacity: 0.5;
}
html.is-fr .lt-fr {
  opacity: 1;
  font-weight: 600;
  color: var(--accent);
}
.nav.is-hero:not(.is-scrolled) .lt-es {
  color: #fff;
}
html.is-fr .nav.is-hero:not(.is-scrolled) .lt-fr {
  color: #fff;
}

/* Burger (mobile) */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition:
    transform 0.3s var(--ease),
    opacity 0.3s;
}
.nav.is-hero:not(.is-scrolled) .nav-burger span {
  background: #fff;
}

@media (max-width: 860px) {
  .nav-burger {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0 1.5rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.4s var(--ease-out),
      opacity 0.35s;
    z-index: 99;
    box-shadow: 0 12px 32px rgba(28, 25, 23, 0.12);
  }
  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-menu li {
    width: 100%;
  }
  .nav-link {
    display: block;
    padding: 0.85rem clamp(1.25rem, 5vw, 3rem);
    color: var(--ink) !important;
    font-size: 1rem;
    border-radius: 0;
  }
  .nav-end .btn-nav {
    display: none;
  }
  .nav.is-hero:not(.is-scrolled) .nav-logo-name {
    color: #fff;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 16, 14, 0.35) 0%,
    rgba(20, 16, 14, 0.55) 50%,
    rgba(20, 16, 14, 0.72) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: var(--nav-h) clamp(1.25rem, 5vw, 3rem) 4rem;
  max-width: 860px;
  animation: heroFadeIn 1.2s var(--ease-out) both;
}
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hero-kicker {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.25rem;
  animation: heroFadeIn 1.2s 0.1s var(--ease-out) both;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.5vw, 5.6rem);
  font-weight: 500;
  line-height: 1.07;
  color: #fff;
  margin-bottom: 1.5rem;
  text-wrap: balance;
  animation: heroFadeIn 1.2s 0.2s var(--ease-out) both;
}
.hero-title em {
  font-style: italic;
  color: rgba(168, 197, 208, 0.9);
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  max-width: 52ch;
  margin: 0 auto 2.5rem;
  animation: heroFadeIn 1.2s 0.3s var(--ease-out) both;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  animation: heroFadeIn 1.2s 0.45s var(--ease-out) both;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: heroBounce 2.5s 1.5s ease-in-out infinite;
}
@keyframes heroBounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(2rem, 4vw, 3rem) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}
@media (max-width: 720px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.stat {
  background: var(--bg-2);
  text-align: center;
  padding: 2rem 1rem;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--ink-mute);
  letter-spacing: 0.03em;
}

/* ============================================================
   MANIFIESTO / NOSOTROS
   ============================================================ */
.manifiesto {
  padding: clamp(5rem, 10vw, 8rem) 0;
}
.manifiesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
@media (max-width: 768px) {
  .manifiesto-grid {
    grid-template-columns: 1fr;
  }
}
.manifiesto-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 24px 64px rgba(28, 25, 23, 0.14);
}
.manifiesto-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
@media (hover: hover) {
  .manifiesto-img:hover img {
    transform: scale(1.04);
  }
}
.manifiesto-text .kicker {
  display: block;
}
.manifiesto-text .section-title {
  margin-bottom: 1.5rem;
}
.manifiesto-text .body-text {
  margin-bottom: 1rem;
}
.manifiesto-text .btn {
  margin-top: 1rem;
}

/* ============================================================
   SERVICIOS
   ============================================================ */
.servicios {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--bg-2);
}
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) {
  .servicios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .servicios-grid {
    grid-template-columns: 1fr;
  }
}

.servicio-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  border: 1px solid var(--line);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}
@media (hover: hover) {
  .servicio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(28, 25, 23, 0.1);
  }
}
.servicio-icon {
  width: 56px;
  height: 56px;
  background: rgba(30, 95, 116, 0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.25rem;
  transition:
    background 0.25s,
    color 0.25s;
}
@media (hover: hover) {
  .servicio-card:hover .servicio-icon {
    background: var(--accent);
    color: #fff;
  }
}
.servicio-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
.servicio-card p {
  font-size: 0.92rem;
  color: var(--ink-mute);
  line-height: 1.65;
}

/* ============================================================
   ZONA
   ============================================================ */
.zona {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
}
.zona-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.zona-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.zona-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(14, 40, 50, 0.85) 0%,
    rgba(14, 40, 50, 0.65) 55%,
    rgba(14, 40, 50, 0.45) 100%
  );
}
.zona-content {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 8vw, 7rem) 0;
  width: 100%;
}
.zona-content .section-title {
  margin-bottom: 2.5rem;
}
.zona-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.zona-list li {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(243, 239, 230, 0.9);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  backdrop-filter: blur(6px);
  transition:
    background 0.2s,
    color 0.2s;
}
@media (hover: hover) {
  .zona-list li:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
  }
}
.zona-more {
  color: rgba(243, 239, 230, 0.6) !important;
  font-style: italic;
}

/* ============================================================
   PLANES
   ============================================================ */
.planes {
  padding: clamp(5rem, 10vw, 8rem) 0;
}
.planes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 860px) {
  .planes-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

.plan-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  border: 1px solid var(--line);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
  position: relative;
}
@media (hover: hover) {
  .plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(28, 25, 23, 0.1);
  }
}
.plan-card--featured {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: scale(1.03);
}
@media (hover: hover) {
  .plan-card--featured:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: 0 20px 56px rgba(30, 95, 116, 0.32);
  }
}
.plan-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}
.plan-header {
  margin-bottom: 1.75rem;
}
.plan-name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}
.plan-amount {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1;
}
.plan-per {
  font-size: 0.88rem;
  opacity: 0.7;
}
.plan-features {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  line-height: 1.4;
}
.plan-features li svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  opacity: 0.85;
}
.plan-card--featured .plan-features li {
  color: rgba(255, 255, 255, 0.9);
}
.plan-card--featured .btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
@media (hover: hover) {
  .plan-card--featured .btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: translateY(-2px);
  }
}
.plan-card--featured .btn-primary {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}
@media (hover: hover) {
  .plan-card--featured .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  }
}
.plan-card .btn {
  width: 100%;
  justify-content: center;
}

.planes-note {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.9rem;
  color: var(--ink-mute);
}
.planes-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   TESTIMONIOS
   ============================================================ */
.testimonios {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--bg-2);
}
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 860px) {
  .testimonios-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
}

.testimonio {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.testimonio blockquote {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.testimonio-text {
  font-family: var(--font-body);
  font-size: 0.9875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.78;
  color: var(--ink-soft);
  flex: 1;
  margin-bottom: 1.5rem;
  padding-top: 2rem;
  position: relative;
}
.testimonio-text::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.18;
  position: absolute;
  top: -0.25rem;
  left: -0.125rem;
  font-style: normal;
  pointer-events: none;
}
.testimonio-footer {
  margin-top: auto;
}
.testimonio-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.15rem;
}
.testimonio-loc {
  font-size: 0.8rem;
  color: var(--ink-mute);
}

/* ============================================================
   PROCESO
   ============================================================ */
.proceso {
  padding: clamp(5rem, 10vw, 8rem) 0;
  border-top: 1px solid var(--line);
}
.proceso-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  position: relative;
}
@media (max-width: 760px) {
  .proceso-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.proceso-step {
  text-align: center;
}
.proceso-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 600;
  color: rgba(30, 95, 116, 0.15);
  line-height: 1;
  margin-bottom: 1rem;
}
.proceso-step h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.proceso-step p {
  font-size: 0.92rem;
  color: var(--ink-mute);
  line-height: 1.65;
  max-width: 36ch;
  margin: 0 auto;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--bg-2);
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child {
  border-top: 1px solid var(--line);
}
.faq-q {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 0;
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.2s;
}
.faq-q:focus-visible {
  outline: 2px solid var(--accent);
  border-radius: 4px;
}
@media (hover: hover) {
  .faq-q:hover {
    color: var(--accent);
  }
}
.faq-arrow {
  margin-left: auto;
  flex-shrink: 0;
  color: var(--ink-mute);
  transition: transform 0.35s var(--ease);
}
details[open] .faq-arrow {
  transform: rotate(180deg);
}
.faq-a {
  padding: 0 0 1.5rem;
}
.faq-a p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.72;
}

/* ============================================================
   CONTACTO
   ============================================================ */
.contacto {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--bg);
}
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
@media (max-width: 860px) {
  .contacto-grid {
    grid-template-columns: 1fr;
  }
}
.contacto-info .kicker {
  display: block;
}
.contacto-info .section-title {
  margin-bottom: 1rem;
}
.contacto-info .body-text {
  margin-bottom: 2rem;
}
.contacto-channels {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.channel-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 500;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    background 0.2s;
  max-width: 320px;
}
@media (hover: hover) {
  .channel-btn:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(28, 25, 23, 0.1);
  }
}
.channel-btn--wa {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}
@media (hover: hover) {
  .channel-btn--wa:hover {
    background: #22bf5c;
    border-color: #22bf5c;
  }
}
.channel-btn--email {
  word-break: break-all;
}

/* Form */
.contacto-form {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--line);
  box-shadow: 0 8px 32px rgba(28, 25, 23, 0.07);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 540px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.form-group label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-size: 0.95rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  resize: none;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30, 95, 116, 0.12);
}
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
  border-color: #c06040;
}
.form-success {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  color: var(--accent-2);
  font-size: 0.9rem;
  font-weight: 500;
}
.form-success[hidden] {
  display: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: rgba(243, 239, 230, 0.75);
  padding: 3.5rem 0;
  border-top: 1px solid rgba(243, 239, 230, 0.06);
}
.footer-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}
@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
.footer-brand {
  flex: 1 1 auto;
}
.footer-logo {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: rgba(243, 239, 230, 0.95);
  margin-bottom: 0.3rem;
}
.footer-sub {
  font-size: 0.8rem;
  opacity: 0.55;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}
.footer-nav a {
  font-size: 0.85rem;
  color: rgba(243, 239, 230, 0.65);
  transition: color 0.2s;
}
@media (hover: hover) {
  .footer-nav a:hover {
    color: rgba(243, 239, 230, 0.95);
  }
}
.footer-copy {
  font-size: 0.78rem;
  opacity: 0.4;
  width: 100%;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(243, 239, 230, 0.08);
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
  animation: waPulse 3s 2s ease-in-out infinite;
}
@media (hover: hover) {
  .wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55);
    animation-play-state: paused;
  }
}
@keyframes waPulse {
  0%,
  100% {
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  }
  50% {
    box-shadow:
      0 6px 32px rgba(37, 211, 102, 0.65),
      0 0 0 8px rgba(37, 211, 102, 0.12);
  }
}

/* ============================================================
   TILT (JS adds inline transform via mousemove)
   ============================================================ */
[data-tilt] {
  transform-style: preserve-3d;
}

/* ============================================================
   MOBILE GLOBAL ADJUSTMENTS
   ============================================================ */
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
  .contacto-form {
    padding: 1.75rem 1.25rem;
  }
  .wa-float {
    bottom: 1.25rem;
    right: 1.25rem;
  }
}

/* Tap targets mínimos 44px (WCAG) en móvil */
@media (max-width: 860px) {
  .nav-menu .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 2rem;
  }
  .faq-q {
    min-height: 52px;
  }
  .btn {
    min-height: 44px;
  }
  .lang-toggle {
    min-height: 44px;
    min-width: 44px;
  }
}
