/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  /* Brand palette — derived from logo steel blue */
  --brand:        #7B96B4;
  --brand-light:  #A8C0D6;
  --brand-lighter:#D0E0EE;
  --brand-dark:   #5A7A97;
  --brand-deeper: #3D5F7A;

  /* Background */
  --bg:           #F0F5FA;
  --bg-2:         #E4EDF6;
  --bg-dark:      #1C2B3A;
  --bg-darker:    #14202E;

  /* Text */
  --ink:          #1C2B3A;
  --ink-soft:     #3D5068;
  --ink-mute:     #6E879F;
  --ink-light:    #F0F5FA;

  /* Glass */
  --glass:        rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.85);
  --glass-shadow: rgba(123, 150, 180, 0.18);

  /* Accent */
  --gold:         #C9A96E;

  /* Lines */
  --line:         rgba(28, 43, 58, 0.10);
  --line-light:   rgba(240, 245, 250, 0.18);

  /* Layout */
  --container:    1200px;
  --gutter:       clamp(1.25rem, 5vw, 3.5rem);
  --nav-h:        72px;
  --radius-sm:    12px;
  --radius:       20px;
  --radius-lg:    32px;

  /* Type */
  --serif:        "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:         "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  /* Easing */
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family:              var(--sans);
  font-size:                16px;
  line-height:              1.65;
  color:                    var(--ink);
  background-color:         var(--bg);
  -webkit-font-smoothing:   antialiased;
  -moz-osx-font-smoothing:  grayscale;
  text-rendering:           optimizeLegibility;
  overflow-x:               clip;
  overscroll-behavior-y:    none;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.025em; }

::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -120px; left: 1rem;
  padding: .6rem 1.2rem;
  background: var(--brand); color: #fff;
  border-radius: 8px; font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

.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;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* =============================================================
   4. Typography
   ============================================================= */
.section-eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.75rem;
}
.section-eyebrow--light { color: var(--brand-light); }

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.section-title em { font-style: italic; color: var(--brand); }
.section-title--light { color: #fff; }
.section-title--light em { color: var(--brand-light); }

.section-sub {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 52ch;
  line-height: 1.7;
}
.section-sub--light { color: rgba(240, 245, 250, 0.80); }

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

/* =============================================================
   5. Components
   ============================================================= */

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 100px;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out), background 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 18px rgba(123, 150, 180, 0.40);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(123, 150, 180, 0.50);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(28, 43, 58, 0.22);
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(123, 150, 180, 0.10);
  border-color: var(--brand);
  color: var(--brand-dark);
  transform: translateY(-1px);
}

/* --- Glass card --- */
.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px var(--glass-shadow), 0 1px 0 rgba(255,255,255,0.9) inset;
}
@supports (backdrop-filter: blur(20px)) {
  .glass-card {
    background: rgba(255, 255, 255, 0.50);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
  }
}

/* --- Custom cursor (desktop only) --- */
@media (hover: none), (pointer: coarse) {
  .cursor { display: none !important; }
}
.cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.cursor.is-ready { opacity: 1; }
.cursor-dot {
  position: absolute;
  width: 6px; height: 6px;
  background: var(--brand);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, background 0.2s;
}
.cursor-ring {
  position: absolute;
  width: 32px; height: 32px;
  border: 1.5px solid var(--brand);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.18s var(--ease-soft), width 0.2s, height 0.2s, border-color 0.2s;
  opacity: 0.5;
}
.cursor.is-hovering .cursor-ring {
  width: 48px; height: 48px;
  opacity: 0.35;
  border-color: var(--brand-dark);
}

/* =============================================================
   6. Sections
   ============================================================= */

.section {
  padding-block: clamp(4rem, 10vw, 7rem);
}

/* --- NAV --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.35s var(--ease-soft), box-shadow 0.35s;
}
.nav.is-scrolled {
  background: rgba(240, 245, 250, 0.88);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 1px 0 var(--line), 0 4px 24px rgba(123,150,180,0.10);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 32px; height: 32px;
  color: var(--brand);
  flex-shrink: 0;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.nav-logo-luxury {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  font-style: italic;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}
.nav-logo-sub {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  line-height: 1;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
@media (min-width: 960px) { .nav-links { display: flex; } }

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0.85rem; right: 0.85rem;
  height: 1.5px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
  border-radius: 2px;
}
.nav-link:hover { color: var(--brand-dark); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-cta {
  margin-left: auto;
  flex-shrink: 0;
  display: none;
}
@media (min-width: 720px) { .nav-cta { display: inline-flex; } }
@media (min-width: 960px) { .nav-cta { margin-left: 1rem; } }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
  cursor: pointer;
}
@media (min-width: 960px) { .nav-toggle { display: none; } }
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.22s var(--ease-out), opacity 0.15s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(240, 245, 250, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 1rem var(--gutter) 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  box-shadow: 0 8px 32px rgba(28,43,58,0.10);
}
.nav-mobile[hidden] { display: none; }
.nav-mobile-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.15s;
}
.nav-mobile-link:hover { color: var(--brand); }
.nav-mobile-cta {
  margin-top: 0.75rem;
  font-weight: 700;
  color: var(--brand-dark);
  border: none;
}

/* --- HERO --- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
  background: linear-gradient(160deg, #EDF3FA 0%, #F5F8FC 40%, #E8F0F8 100%);
}

.hero-mesh {
  position: absolute;
  inset: -20%;
  z-index: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(123, 150, 180, 0.85) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(168, 192, 216, 0.70) 0%, transparent 50%),
    radial-gradient(ellipse at 55% 5%,  rgba(200, 220, 240, 0.60) 0%, transparent 45%),
    radial-gradient(ellipse at 90% 25%, rgba(123, 150, 180, 0.50) 0%, transparent 40%),
    radial-gradient(ellipse at 5%  80%, rgba(90, 122, 151, 0.45) 0%, transparent 45%),
    radial-gradient(ellipse at 65% 55%, rgba(200, 220, 245, 0.40) 0%, transparent 40%);
  filter: blur(55px) saturate(130%);
  animation: meshDrift 22s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes meshDrift {
  from { transform: scale(1) rotate(0deg) translate(0, 0); }
  to   { transform: scale(1.18) rotate(20deg) translate(2%, 3%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-mesh { animation: none; }
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
  pointer-events: none;
  mix-blend-mode: multiply;
}

/* Sparkles (4-point stars matching logo) */
.hero-sparkles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.sparkle {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s, 18px);
  height: var(--s, 18px);
  animation: sparklePulse var(--dur, 3s) ease-in-out var(--delay, 0s) infinite;
}
.sparkle::before,
.sparkle::after {
  content: '';
  position: absolute;
  background: var(--brand);
  border-radius: 3px;
}
.sparkle::before {
  top: 50%; left: 0; right: 0;
  height: 2px;
  transform: translateY(-50%);
}
.sparkle::after {
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  transform: translateX(-50%);
}
@keyframes sparklePulse {
  0%   { opacity: 0;    transform: scale(0.2) rotate(0deg);  }
  45%  { opacity: 0.45; transform: scale(1)   rotate(45deg); }
  100% { opacity: 0;    transform: scale(0.2) rotate(90deg); }
}

.hero-content {
  position: relative;
  z-index: 3;
  padding-block: clamp(2rem, 6vw, 5rem);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
@media (max-width: 959px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-eyebrow,
  .hero-trust { justify-content: center; }
  .hero-sub    { margin-inline: auto; }
}

/* Columna izquierda */
.hero-text {
  display: flex;
  flex-direction: column;
}
@media (min-width: 960px) {
  .hero-text .hero-title { font-size: clamp(2.4rem, 4.5vw, 4.2rem); }
}

/* Enlace "Ver servicios" */
.hero-explore {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-dark);
  margin-top: 1.75rem;
  transition: gap 0.2s var(--ease-out), color 0.2s;
  width: fit-content;
}
.hero-explore:hover { gap: 0.7rem; color: var(--brand-deeper); }

/* Columna derecha: formulario */
.hero-form-wrap { width: 100%; }

.hero-form-card {
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.hero-form-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-dark);
}

.hero-form-title {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* Campos del formulario */
.hero-form { display: flex; flex-direction: column; gap: 0.55rem; }

.hf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.hf-group { display: flex; flex-direction: column; }
.hf-group input,
.hf-group select,
.hf-group textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid rgba(123, 150, 180, 0.25);
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 0.875rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.hf-group input::placeholder,
.hf-group textarea::placeholder { color: var(--ink-mute); }
.hf-group input:focus,
.hf-group select:focus,
.hf-group textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(123, 150, 180, 0.18);
}
.hf-group select {
  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='%236E879F' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.2rem;
  cursor: pointer;
}
.hf-group textarea { resize: none; }

.hf-submit {
  width: 100%;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-size: 0.9rem;
  position: relative;
  margin-top: 0.1rem;
}
.hf-note {
  font-size: 0.72rem;
  color: var(--ink-mute);
  text-align: center;
}

/* Estados envío formulario héroe */
.hero-form.is-sending .btn-submit-text    { opacity: 0; }
.hero-form.is-sending .btn-submit-sending { opacity: 1; }
.hero-form.is-done    .btn-submit-text    { opacity: 0; }
.hero-form.is-done    .btn-submit-done    { opacity: 1; }
.hero-form.is-done    .hf-submit          { background: #22c55e; pointer-events: none; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin-bottom: 1.25rem;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  animation: dotPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; }
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1.5rem;
  line-height: 1.0;
  letter-spacing: -0.03em;
}
.hero-title em {
  font-style: italic;
  color: var(--brand);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--ink-soft);
  max-width: 50ch;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--ink-mute);
}
.hero-trust svg { color: var(--gold); flex-shrink: 0; }

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.hero-scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--brand) 0%, transparent 100%);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-line { animation: none; }
}
.hero-scroll-text {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* --- TRUST BAND --- */
.trust {
  background: var(--bg-dark);
  padding-block: 2.8rem;
  border-top: 1px solid rgba(201,169,110,0.20);
  border-bottom: 1px solid rgba(201,169,110,0.12);
  position: relative;
  overflow: hidden;
}
.trust::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,169,110,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  position: relative;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  flex: 1;
  min-width: 120px;
}
.trust-icon {
  font-size: 1.4rem;
  margin-bottom: 0.15rem;
  opacity: 0.85;
}
.trust-num {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.03em;
}
.trust-label {
  font-size: 0.80rem;
  font-weight: 500;
  color: rgba(240, 245, 250, 0.60);
  text-align: center;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.trust-sep {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(201,169,110,0.25), transparent);
  flex-shrink: 0;
}
@media (max-width: 719px) {
  .trust-sep { display: none; }
  .trust-item { min-width: calc(50% - 1rem); }
}

/* --- SERVICES --- */
.services { background: var(--bg); }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 720px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  will-change: transform;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(123, 150, 180, 0.25), 0 1px 0 rgba(255,255,255,0.9) inset;
}

.service-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--brand-lighter), var(--bg-2));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  flex-shrink: 0;
}
.service-icon svg {
  width: 100%; height: 100%;
  color: var(--brand-dark);
}

.service-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.65;
  flex: 1;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.service-features li {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--brand-dark);
  background: rgba(123, 150, 180, 0.12);
  border: 1px solid rgba(123, 150, 180, 0.20);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-dark);
  margin-top: 0.5rem;
  transition: gap 0.2s var(--ease-out), color 0.2s;
  width: fit-content;
}
.service-cta::before {
  content: '';
  position: absolute;
  inset: 0;
}
.service-card { position: relative; }
.service-cta:hover { gap: 0.7rem; color: var(--brand-deeper); }

/* --- PROCESS --- */
.process { background: var(--bg-2); }

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 720px) {
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    align-items: start;
  }
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  padding: 2rem;
}
@media (min-width: 720px) {
  .process-step { padding: 2.5rem 2rem; }
}

.step-num {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--brand-lighter);
  line-height: 1;
  letter-spacing: -0.04em;
  transition: color 0.3s;
}
.process-step:hover .step-num { color: var(--brand-light); }

.step-content { flex: 1; }

.step-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.step-desc {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* Arrow connector between steps on desktop */
.step-connector {
  display: none;
}
@media (min-width: 720px) {
  .step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 2.8rem;
    right: -20px;
    width: 40px;
    height: 24px;
    z-index: 2;
    color: var(--brand-light);
    font-size: 1.1rem;
    opacity: 0.6;
  }
  .step-connector::before {
    content: '';
    position: absolute;
    top: 50%; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(to right, var(--brand-light), transparent);
    transform: translateY(-50%);
  }
  .step-connector::after {
    content: '›';
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--brand-light);
    line-height: 1;
  }
}

/* --- WHY US --- */
.why-us { background: var(--bg); }

.why-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 960px) {
  .why-inner { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

.why-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-width: 480px;
  margin-inline: auto;
}
@media (min-width: 960px) { .why-image { margin-inline: 0; max-width: none; } }

.why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-soft);
}
.why-image:hover img { transform: scale(1.04); }

.why-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  border-radius: var(--radius-sm);
}
.why-badge-icon {
  font-size: 1.4rem;
  color: var(--gold);
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 2rem;
}

.why-feature {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}
.why-feature-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--brand-lighter), rgba(255,255,255,0.6));
  border: 1px solid rgba(123, 150, 180, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  flex-shrink: 0;
}
.why-feature-icon svg {
  width: 100%; height: 100%;
  color: var(--brand-dark);
}

.why-feature-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.3rem;
  letter-spacing: -0.02em;
}

.why-feature-desc {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* --- GALLERY --- */
.gallery { background: var(--bg-2); }

/* Before / After badges */
.ba-badge {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 100px;
  z-index: 2;
  pointer-events: none;
}
.ba-badge--before {
  background: rgba(20,20,20,0.70);
  color: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
}
.ba-badge--after {
  background: rgba(34,197,94,0.90);
  color: #fff;
  backdrop-filter: blur(6px);
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 180px 150px 150px;
  gap: 0.75rem;
}

.gallery-item--large {
  grid-column: 1 / -1;
}

@media (min-width: 720px) {
  .gallery-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-template-rows: 220px 220px;
    grid-template-areas:
      "large b1 b2"
      "large k3 k4";
    gap: 1rem;
  }
  .gallery-item--large {
    grid-area: large;
    grid-column: auto;
  }
}
@media (min-width: 1024px) {
  .gallery-grid { grid-template-rows: 250px 250px; }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-dark);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-soft);
}
.gallery-item:not(.gallery-item--large) { aspect-ratio: 4/3; }
@media (min-width: 720px) { .gallery-item:not(.gallery-item--large) { aspect-ratio: auto; } }
.gallery-item:hover img { filter: brightness(1.04) saturate(1.08); }

.gallery-caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: auto;
  padding: 0.45rem 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: 100px;
  white-space: nowrap;
}

/* --- TESTIMONIALS --- */
.testimonials { background: var(--bg); }

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 720px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.testimonial-stars {
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.testimonial-quote {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.65;
  flex: 1;
}
.testimonial-quote::before { content: '"'; }
.testimonial-quote::after  { content: '"'; }

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}
.testimonial-location {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-mute);
}

/* --- CONTACT --- */
.contact {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
/* Título del formulario alineado a la izquierda en escritorio */
@media (min-width: 960px) {
  .contact-left .section-header { text-align: left; }
  .contact-left .section-sub    { max-width: 100%; }
}

.contact-mesh {
  position: absolute;
  inset: -10%;
  z-index: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(90, 122, 151, 0.5) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 30%, rgba(123, 150, 180, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(61, 95, 122, 0.4) 0%, transparent 50%);
  filter: blur(60px);
  pointer-events: none;
}

.contact .container { position: relative; z-index: 1; }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 960px) {
  .contact-inner { grid-template-columns: 380px 1fr; gap: 5rem; align-items: start; }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: rgba(240, 245, 250, 0.75);
  padding: 0.25rem 0;
  transition: color 0.2s;
}
.contact-link:not(.contact-link--static):hover { color: var(--brand-light); }
.contact-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.contact-link--static { cursor: default; }

.contact-form {
  padding: clamp(1.75rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 540px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.form-group label span { color: var(--brand); margin-left: 2px; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(255,255,255,0.90);
  border: 1.5px solid rgba(123, 150, 180, 0.25);
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--ink-mute); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(123, 150, 180, 0.20);
}
.form-group select {
  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='%236E879F' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-group textarea { resize: vertical; min-height: 120px; }

.btn-submit {
  position: relative;
  width: 100%;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 0.95rem;
}
.btn-submit-sending,
.btn-submit-done { position: absolute; opacity: 0; transition: opacity 0.2s; }

.contact-form.is-sending .btn-submit-text { opacity: 0; }
.contact-form.is-sending .btn-submit-sending { opacity: 1; }
.contact-form.is-done .btn-submit-text { opacity: 0; }
.contact-form.is-done .btn-submit-done { opacity: 1; }
.contact-form.is-done .btn-submit { background: #22c55e; pointer-events: none; }

.form-note {
  font-size: 0.75rem;
  color: var(--ink-mute);
  text-align: center;
}

/* --- FOOTER --- */
.footer {
  background: var(--bg-darker);
  padding-top: 4rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(240,245,250,0.08);
}
@media (min-width: 720px) {
  .footer-inner { grid-template-columns: 1.5fr 1fr 1fr; }
}

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

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: fit-content;
}
.footer-logo-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 600;
  color: var(--brand-light);
  line-height: 1;
  letter-spacing: -0.02em;
}
.footer-logo-sub {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240,245,250,0.35);
}

.footer-tagline {
  font-size: 0.88rem;
  color: rgba(240,245,250,0.40);
  line-height: 1.6;
}

.footer-nav,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-nav-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240,245,250,0.35);
  margin-bottom: 0.5rem;
}
.footer-nav a,
.footer-contact a,
.footer-contact span {
  font-size: 0.88rem;
  color: rgba(240,245,250,0.55);
  transition: color 0.15s;
}
.footer-nav a:hover,
.footer-contact a:hover { color: var(--brand-light); }

.footer-bottom {
  padding-block: 1.25rem;
  background: rgba(0,0,0,0.2);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-copy { font-size: 0.78rem; color: rgba(240,245,250,0.25); }
.footer-credits { font-size: 0.75rem; color: rgba(240,245,250,0.20); }
.footer-credits a { transition: color 0.15s; }
.footer-credits a:hover { color: var(--brand-light); }

/* =============================================================
   7. Reveal animations
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* DEFENSIVE: elements with data-split never get stuck invisible */
.reveal[data-split] {
  opacity: 1;
  transform: none;
}

/* Stagger delays for sibling reveals */
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }

/* =============================================================
   8. Responsive (remaining overrides)
   ============================================================= */
@media (max-width: 539px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .trust-inner { justify-content: center; }
}

@media (min-width: 540px) {
  .nav-logo-icon { width: 36px; height: 36px; }
  .nav-logo-luxury { font-size: 1.35rem; }
}

/* =============================================================
   9. Reduced-motion (only intrusive effects)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  /* Mesh drift and sparkles are decorative motion — disable */
  .hero-mesh { animation: none; }
  .sparkle   { animation: none; opacity: 0.25; }
  .eyebrow-dot { animation: none; }
  .hero-scroll-line { animation: none; }

  /* DO NOT disable: transitions, hover effects, reveals, count-up */
}

/* =============================================================
   10. Language toggle
   ============================================================= */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(123, 150, 180, 0.10);
  border: 1px solid rgba(123, 150, 180, 0.22);
  border-radius: 100px;
  padding: 3px;
  flex-shrink: 0;
}
@media (min-width: 960px) {
  .lang-toggle { margin-left: 0.5rem; }
}

.lang-btn {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  padding: 0.28rem 0.65rem;
  border-radius: 100px;
  cursor: pointer;
  border: none;
  background: transparent;
  transition: color 0.15s, background 0.2s;
  line-height: 1;
}
.lang-btn:hover { color: var(--brand-dark); }
.lang-btn.is-active {
  background: var(--brand);
  color: #fff;
}

/* =============================================================
   11. WhatsApp floating button
   ============================================================= */
.whatsapp-btn {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s;
  flex-shrink: 0;
}
.whatsapp-btn:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}
.whatsapp-btn svg { width: 28px; height: 28px; }
