/* ===== D.VIRTU DECORACIÓN — ESTILOS REDISEÑADOS ===== */
/* Estética: editorial mediterráneo oscuro — terracota + oro sobre negro cálido */

:root {
  --bg:           #0A0806;
  --bg-warm:      #141009;
  --bg-mid:       #1C160F;
  --bg-light:     #F8EDD5;
  --bg-cream:     #FDF7EB;

  --text:         #F8EDD5;
  --text-dark:    #1F1810;
  --text-muted:   rgba(248, 237, 213, 0.5);
  --text-muted-d: #6B5E4A;

  --terra:        #D94F2B;
  --terra-l:      #F07050;
  --terra-dim:    rgba(217, 79, 43, 0.15);
  --gold:         #EDB830;
  --gold-l:       #F5D060;
  --gold-dim:     rgba(237, 184, 48, 0.12);

  --border:       rgba(248, 237, 213, 0.08);
  --border-d:     rgba(31, 24, 16, 0.12);
  --white:        #FFFFFF;

  --brand-purple: #8C2090;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Bricolage Grotesque', system-ui, sans-serif;

  --max-w:  1160px;
  --nav-h:  72px;
  --radius: 2px;
  --ease:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ── Cursor personalizado ── */
body { cursor: none; }
*, *::before, *::after { cursor: none !important; }
a, button, [role="button"], input, textarea, select, label { cursor: none !important; }

.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--terra);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.12s var(--ease), background 0.2s, width 0.2s, height 0.2s;
  will-change: transform, left, top;
}
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 32px; height: 32px;
  border: 1.5px solid rgba(217, 79, 43, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s, transform 0.08s linear;
  will-change: transform, left, top;
}
.cursor-dot.is-hovering { width: 12px; height: 12px; background: var(--gold); }
.cursor-ring.is-hovering { width: 44px; height: 44px; border-color: rgba(237, 184, 48, 0.5); }

/* ── Tipografía ── */
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
em { font-style: italic; color: var(--terra); }
.section-title em { color: var(--terra); }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2.5rem);
}
.section {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}
.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 4rem;
}
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.section-eyebrow::before, .section-eyebrow::after {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
}

/* ── Botones ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.06);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover::before { opacity: 1; }
.btn--primary {
  background: var(--terra);
  color: var(--white);
  border: 2px solid var(--terra);
}
.btn--primary:hover {
  background: var(--terra-l);
  border-color: var(--terra-l);
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(217, 79, 43, 0.45);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(248, 237, 213, 0.25);
}
.btn--ghost:hover {
  border-color: rgba(248, 237, 213, 0.6);
  background: rgba(248, 237, 213, 0.05);
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent;
  color: var(--terra);
  border: 1.5px solid rgba(217, 79, 43, 0.4);
}
.btn--outline:hover {
  background: var(--terra);
  border-color: var(--terra);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(217, 79, 43, 0.35);
}
.btn--full { width: 100%; justify-content: center; }
.btn svg { width: 18px; height: 18px; }

/* ══════════════════════════════════
   NAVEGACIÓN
══════════════════════════════════ */
.nav-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s;
}
.nav-header.scrolled {
  background: rgba(10, 8, 6, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0,0,0,0.3);
}
.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2.5rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  transition: opacity 0.2s, transform 0.25s var(--ease);
}
.nav-logo:hover { opacity: 0.9; transform: scale(0.96); }
.logo-box {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--brand-purple);
  padding: 0.3rem 0.7rem 0.35rem;
  border-radius: 3px;
  line-height: 1;
  gap: 2px;
  transition: box-shadow 0.25s;
  box-shadow: 0 2px 12px rgba(140, 32, 144, 0.3);
}
.logo-box:hover { box-shadow: 0 4px 20px rgba(140, 32, 144, 0.5); }
.logo-main {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
}
.logo-sub {
  font-family: var(--font-body);
  font-size: 0.5rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.75);
  text-transform: lowercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-link {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--terra);
  transition: width 0.3s var(--ease);
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }
.nav-link--cta {
  background: var(--terra);
  color: var(--white);
  padding: 0.45rem 1.3rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(217, 79, 43, 0.25);
}
.nav-link--cta::after { display: none; }
.nav-link--cta:hover {
  background: var(--terra-l);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(217, 79, 43, 0.4);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ══════════════════════════════════
   HERO
══════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
  display: block;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      var(--bg) 0%,
      var(--bg) 36%,
      rgba(10, 8, 6, 0.9) 50%,
      rgba(10, 8, 6, 0.3) 70%,
      rgba(10, 8, 6, 0.08) 100%
    );
}

/* Textura de ruido superpuesta */
.hero-bg-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  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)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.35;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Línea decorativa vertical */
.hero::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: clamp(1.25rem, 8vw, 5rem);
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--terra) 30%, var(--gold) 60%, transparent);
  opacity: 0.2;
  z-index: 2;
  animation: fadeIn 2s var(--ease) 1s forwards;
  opacity: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: calc(var(--nav-h) + 5rem) clamp(1.25rem, 8vw, 5rem) 4rem;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.2s forwards;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 9vw, 8rem);
  font-weight: 900;
  color: var(--text);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.4s forwards;
}
.hero-title em {
  color: var(--terra);
  font-style: italic;
}

/* Número decorativo de fondo */
.hero-title::before {
  content: attr(data-year);
  position: absolute;
  right: clamp(2rem, 8vw, 8rem);
  top: 50%;
  transform: translateY(-60%);
  font-family: var(--font-display);
  font-size: clamp(12rem, 22vw, 20rem);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(248, 237, 213, 0.03);
  letter-spacing: -0.05em;
  line-height: 1;
  pointer-events: none;
  z-index: 1;
  user-select: none;
}

.hero-text {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 420px;
  margin-bottom: 2.75rem;
  line-height: 1.85;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.6s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.8s forwards;
}

.hero-stats {
  position: absolute;
  bottom: 3.5rem;
  left: clamp(1.25rem, 8vw, 5rem);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  opacity: 0;
  animation: fadeIn 1.2s var(--ease) 1.1s forwards;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--terra);
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero-stat-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--border), transparent);
}

.hero-scroll {
  position: absolute;
  bottom: 3.5rem;
  right: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
  opacity: 0;
  animation: fadeIn 1.2s var(--ease) 1.4s forwards;
}
.hero-scroll span {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-rl;
}
.hero-scroll-line {
  width: 1px;
  height: 64px;
  background: linear-gradient(to bottom, var(--terra), transparent);
  animation: scrollLine 2.4s var(--ease) infinite 1.6s;
}

/* Marquee decorativo en la parte inferior del hero */
.hero-marquee {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 36px;
  background: var(--terra);
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 3;
  opacity: 0;
  animation: fadeIn 1s var(--ease) 1.6s forwards;
}
.hero-marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  animation: marqueeScroll 20s linear infinite;
  white-space: nowrap;
}
.hero-marquee-track span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  padding: 0 2.5rem;
}
.hero-marquee-track span.sep {
  color: rgba(255,255,255,0.4);
  padding: 0;
  font-size: 0.5rem;
  letter-spacing: 0;
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════
   INSTAGRAM
══════════════════════════════════ */
.instagram-section {
  background: var(--bg-warm);
  position: relative;
}
.instagram-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--terra), var(--gold), var(--terra), transparent);
  opacity: 0.3;
}
.instagram-section .section-title { color: var(--text); }
.instagram-section .section-eyebrow { color: var(--gold); }

.instagram-handle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--terra-l);
  font-weight: 600;
  font-size: 0.875rem;
  margin-top: 0.875rem;
  transition: opacity 0.2s, gap 0.2s;
}
.instagram-handle:hover { opacity: 0.75; gap: 0.75rem; }
.instagram-handle svg { width: 18px; height: 18px; }

.instagram-setup-notice {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(237, 184, 48, 0.06);
  border: 1px solid rgba(237, 184, 48, 0.18);
  border-radius: var(--radius);
  padding: 0.875rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.82rem;
  color: var(--gold-l);
}
.instagram-setup-notice svg { width: 18px; height: 18px; flex-shrink: 0; }
.instagram-setup-notice code {
  font-family: monospace;
  background: rgba(255,255,255,0.08);
  padding: 0.1em 0.4em;
  border-radius: 3px;
}
.instagram-setup-notice.hidden { display: none; }

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-bottom: 3rem;
  /* Bordes exteriores */
  outline: 3px solid rgba(248, 237, 213, 0.04);
  outline-offset: 3px;
}
.instagram-post {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.instagram-post.visible { opacity: 1; transform: scale(1); }
.instagram-post:nth-child(1) { transition-delay: 0s; }
.instagram-post:nth-child(2) { transition-delay: 0.07s; }
.instagram-post:nth-child(3) { transition-delay: 0.14s; }
.instagram-post:nth-child(4) { transition-delay: 0.21s; }
.instagram-post:nth-child(5) { transition-delay: 0.28s; }
.instagram-post:nth-child(6) { transition-delay: 0.35s; }
.instagram-post:nth-child(7) { transition-delay: 0.42s; }
.instagram-post:nth-child(8) { transition-delay: 0.49s; }
.instagram-post:nth-child(9) { transition-delay: 0.56s; }

/* Post central destacado */
.instagram-post:nth-child(5) .instagram-post-overlay {
  background: rgba(140, 32, 144, 0.7);
}

.instagram-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.4s;
}
.instagram-post:hover img { transform: scale(1.1); filter: brightness(0.85); }

.instagram-post-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 6, 0.72);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  padding: 1.25rem;
  backdrop-filter: blur(2px);
}
.instagram-post:hover .instagram-post-overlay { opacity: 1; }
.instagram-post-overlay svg { width: 28px; height: 28px; color: var(--white); }
.instagram-post-caption {
  color: rgba(255,255,255,0.9);
  font-size: 0.7rem;
  text-align: center;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: 0.04em;
}

behold-widget {
  display: block;
  width: 100%;
  margin-bottom: 3rem;
  --behold-grid-gap: 3px;
  --behold-border-radius: 0;
}

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

/* ══════════════════════════════════
   NOSOTROS
══════════════════════════════════ */
.nosotros {
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

/* Ornamento geométrico de fondo */
.nosotros::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 55%;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 50% 50%, transparent 40%, rgba(217, 79, 43, 0.04) 40.5%, rgba(217, 79, 43, 0.04) 41%, transparent 41.5%),
    radial-gradient(circle at 50% 50%, transparent 60%, rgba(217, 79, 43, 0.03) 60.5%, rgba(217, 79, 43, 0.03) 61%, transparent 61.5%),
    radial-gradient(circle at 50% 50%, transparent 78%, rgba(237, 184, 48, 0.025) 78.5%, rgba(237, 184, 48, 0.025) 79%, transparent 79.5%);
  pointer-events: none;
}

.nosotros .section-eyebrow { color: var(--terra); }
.nosotros .section-title { color: var(--text-dark); }

.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}

.nosotros-images {
  position: relative;
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}
.nosotros-img--main {
  grid-column: 1;
  grid-row: 1 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 20px 20px 0 rgba(217, 79, 43, 0.08), 40px 40px 0 rgba(237, 184, 48, 0.04);
}
.nosotros-img--main img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}
.nosotros-img--main:hover img { transform: scale(1.04); }

.nosotros-img--accent {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.nosotros-img--accent img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}
.nosotros-img--accent:hover img { transform: scale(1.05); }

.nosotros-badge {
  position: absolute;
  bottom: -1.25rem;
  right: -1.25rem;
  background: var(--terra);
  color: var(--white);
  padding: 1.1rem 1.4rem;
  border-radius: var(--radius);
  text-align: center;
  min-width: 96px;
  box-shadow: 0 8px 24px rgba(217, 79, 43, 0.4);
}
.nosotros-badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}
.nosotros-badge-text {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.4rem;
  opacity: 0.85;
  max-width: 75px;
  line-height: 1.3;
}

/* Elemento decorativo: línea con número de fila */
.nosotros-img--main::before {
  content: 'I';
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.35);
  z-index: 2;
  text-transform: uppercase;
}

.nosotros-img {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.nosotros-img.visible { opacity: 1; transform: translateY(0); }
.nosotros-img--accent { transition-delay: 0.18s; }

.nosotros-text { position: relative; }
.nosotros-text .section-eyebrow { margin-bottom: 1rem; }
.nosotros-text .section-title { margin-bottom: 1.75rem; }
.nosotros-body {
  color: var(--text-muted-d);
  line-height: 1.9;
  margin-bottom: 1.1rem;
  font-size: 0.975rem;
  font-weight: 300;
}

/* Cita decorativa */
.nosotros-quote {
  margin: 2rem 0;
  padding: 1.25rem 1.75rem;
  border-left: 2px solid var(--terra);
  background: rgba(217, 79, 43, 0.04);
}
.nosotros-quote p {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-muted-d);
  line-height: 1.6;
}

/* ══════════════════════════════════
   SERVICIOS
══════════════════════════════════ */
.servicios {
  background: var(--bg-mid);
  position: relative;
  overflow: hidden;
}
.servicios::after {
  content: 'SERVICIOS';
  position: absolute;
  bottom: -0.5rem;
  right: -0.5rem;
  font-family: var(--font-display);
  font-size: clamp(6rem, 14vw, 12rem);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(248, 237, 213, 0.025);
  letter-spacing: -0.04em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.servicios-header {
  max-width: 520px;
  margin-bottom: 3.5rem;
}
.servicios .section-title { color: var(--text); }
.servicios .section-eyebrow { color: var(--gold); }

.servicios-list {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}
.servicio-item {
  display: grid;
  grid-template-columns: 110px 1fr 44px;
  gap: 2rem;
  padding: 2.75rem 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
  cursor: default;
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), background 0.35s, padding 0.35s;
}
.servicio-item:first-child { border-top: 1px solid var(--border); }
.servicio-item.visible { opacity: 1; transform: translateX(0); }
.servicio-item:nth-child(2) { transition-delay: 0.1s; }
.servicio-item:nth-child(3) { transition-delay: 0.2s; }
.servicio-item:nth-child(4) { transition-delay: 0.3s; }
.servicio-item:hover {
  background: rgba(217, 79, 43, 0.03);
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.servicio-item:hover .servicio-num { opacity: 0.5; color: var(--gold); }
.servicio-item:hover .servicio-arrow { opacity: 1; transform: translateX(6px); color: var(--terra); }

.servicio-num {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--terra);
  line-height: 1;
  opacity: 0.15;
  transition: opacity 0.35s, color 0.35s;
  letter-spacing: -0.05em;
  padding-left: 1rem;
}
.servicio-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.65rem;
  letter-spacing: -0.015em;
}
.servicio-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
  font-weight: 300;
  max-width: 500px;
}
.servicio-arrow {
  width: 24px; height: 24px;
  color: var(--text-muted);
  opacity: 0.25;
  transition: opacity 0.35s, transform 0.35s, color 0.35s;
  flex-shrink: 0;
  justify-self: end;
}

/* ══════════════════════════════════
   CONTACTO
══════════════════════════════════ */
.contacto {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.contacto::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}
/* Círculo decorativo */
.contacto::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -15%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 79, 43, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.contacto .section-eyebrow { color: var(--gold); }
.contacto .section-title { color: var(--text); }

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
  position: relative;
  z-index: 1;
}
.contacto-text {
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.85;
  margin: 1.5rem 0 2.75rem;
  font-weight: 300;
}
.contacto-datos {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contacto-datos li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}
.contacto-datos li:last-child { border-bottom: none; }
.contacto-datos li svg { width: 18px; height: 18px; color: var(--terra); flex-shrink: 0; }
.contacto-datos li a { color: var(--terra-l); transition: opacity 0.2s; }
.contacto-datos li a:hover { opacity: 0.75; }
.contacto-telefonos {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.contacto-telefonos a { color: var(--terra-l); transition: opacity 0.2s; }
.contacto-telefonos a:hover { opacity: 0.75; }
.contacto-address {
  font-style: normal;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.9rem;
}

.contacto-form-wrapper {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3rem);
  position: relative;
  box-shadow:
    inset 0 1px 0 rgba(248, 237, 213, 0.06),
    0 24px 60px rgba(0, 0, 0, 0.3);
}
/* Línea de acento superior */
.contacto-form-wrapper::before {
  content: '';
  position: absolute;
  top: 0; left: 2rem; right: 2rem;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--terra), transparent);
  border-radius: 0 0 2px 2px;
}

.contacto-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(248, 237, 213, 0.03);
  border: 1px solid rgba(248, 237, 213, 0.1);
  border-radius: var(--radius);
  padding: 0.875rem 1.1rem;
  width: 100%;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.4;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(217, 79, 43, 0.5);
  background: rgba(248, 237, 213, 0.05);
  box-shadow: 0 0 0 3px rgba(217, 79, 43, 0.1);
}

.form-error {
  background: rgba(217, 79, 43, 0.08);
  border: 1px solid rgba(217, 79, 43, 0.25);
  color: var(--terra-l);
  padding: 0.875rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  line-height: 1.5;
}
.form-error a { color: var(--terra-l); text-decoration: underline; }

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3.5rem 2rem;
  gap: 1.1rem;
  color: #6fcf97;
}
.form-success svg { color: #6fcf97; }
.form-success-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #6fcf97;
}
.form-success-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
.footer {
  background: var(--bg-warm);
  color: var(--text-muted);
  padding: 5rem 0 2.5rem;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
/* Degradado de fondo del footer */
.footer::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(10, 8, 6, 0.6), transparent);
  pointer-events: none;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}
.nav-logo--footer .logo-box { background: var(--brand-purple); }
.footer-tagline {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--text-muted);
  font-weight: 300;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-nav-title {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248, 237, 213, 0.2);
  margin-bottom: 1.25rem;
}
.footer-nav a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s, padding-left 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-nav a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--terra);
  transition: width 0.2s;
  flex-shrink: 0;
}
.footer-nav a:hover { color: var(--text); }
.footer-nav a:hover::before { width: 12px; }

.footer-social-title {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248, 237, 213, 0.2);
  margin-bottom: 1.25rem;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color 0.2s;
}
.social-link svg { width: 20px; height: 20px; }
.social-link:hover { color: var(--terra-l); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: rgba(248, 237, 213, 0.18);
  position: relative;
  z-index: 1;
}
.footer-legal {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-legal a {
  color: rgba(248, 237, 213, 0.25);
  font-size: 0.75rem;
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--text-muted); }
.footer-legal span { color: rgba(248, 237, 213, 0.12); font-size: 0.65rem; }

/* ══════════════════════════════════
   PÁGINAS LEGALES
══════════════════════════════════ */
.legal-hero {
  background: var(--bg-warm);
  padding: calc(var(--nav-h) + 3.5rem) 0 3.5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.legal-hero::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--terra), transparent);
  opacity: 0.3;
}
.legal-hero .section-eyebrow { color: var(--gold); }
.legal-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--text);
  margin-top: 0.6rem;
  letter-spacing: -0.025em;
}
.legal-hero .legal-updated {
  margin-top: 0.875rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0.06em;
}

.legal-content {
  background: var(--bg);
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}
.legal-body {
  max-width: 760px;
}
.legal-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-weight: 700;
  color: var(--text);
  margin: 3rem 0 1rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  letter-spacing: -0.015em;
}
.legal-body h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.legal-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.9;
  font-weight: 300;
  margin-bottom: 1rem;
}
.legal-body ul {
  list-style: none;
  margin: 0.5rem 0 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.legal-body ul li {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 300;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.8;
}
.legal-body ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--terra);
  font-size: 0.75rem;
  top: 0.2em;
}
.legal-body a {
  color: var(--terra-l);
  transition: opacity 0.2s;
}
.legal-body a:hover { opacity: 0.75; }
.legal-body strong {
  color: var(--text);
  font-weight: 600;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0 1.75rem;
  font-size: 0.85rem;
}
.legal-table th {
  background: var(--bg-mid);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.875rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.legal-table td {
  padding: 0.875rem 1rem;
  color: var(--text-muted);
  font-weight: 300;
  border-bottom: 1px solid rgba(248, 237, 213, 0.04);
  line-height: 1.65;
  vertical-align: top;
}
.legal-table tr:last-child td { border-bottom: none; }

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3rem;
  transition: color 0.2s, gap 0.2s;
  padding: 0.5rem 0;
}
.legal-back svg { width: 16px; height: 16px; }
.legal-back:hover { color: var(--terra-l); gap: 0.875rem; }

/* ══════════════════════════════════
   ANIMACIONES
══════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@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; }
}

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 1024px) {
  .servicio-item { grid-template-columns: 90px 1fr 36px; }
  .servicio-num { font-size: 3.5rem; padding-left: 0; }
}

@media (max-width: 900px) {
  .nosotros-grid { grid-template-columns: 1fr; }
  .nosotros-images { order: -1; max-width: 520px; }
  .contacto-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
  *, *::before, *::after { cursor: auto !important; }
  a, button, [role="button"], input, textarea, select, label { cursor: pointer !important; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(10, 8, 6, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem 2rem 2.5rem;
    gap: 0.25rem;
    border-top: 1px solid var(--border);
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  }
  .nav-links.open { display: flex; }
  .nav-link {
    font-size: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
  }
  .nav-link--cta { margin-top: 0.75rem; border: none; text-align: center; }
  .nav-toggle { display: flex; }
  .nav-header { background: rgba(10, 8, 6, 0.96); backdrop-filter: blur(20px); }

  .hero-content { padding-left: 1.25rem; padding-right: 1.25rem; }
  .hero-scroll { display: none; }
  .hero::before { display: none; }
  .hero-stats { left: 1.25rem; gap: 1.5rem; bottom: 3rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .servicio-item { grid-template-columns: 64px 1fr; }
  .servicio-arrow { display: none; }
  .servicio-num { font-size: 2.75rem; }

  .instagram-grid { grid-template-columns: repeat(2, 1fr); gap: 2px; }
  .instagram-grid .instagram-post:nth-child(n+7) { display: none; }

  .nosotros-images { grid-template-columns: 1fr; }
  .nosotros-img--accent { display: none; }
  .nosotros-img--main img { height: 320px; }

  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .section-eyebrow::before, .section-eyebrow::after { display: none; }
}

/* ── Soporte prefers-reduced-motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero-title, .hero-eyebrow, .hero-text, .hero-actions,
  .hero-stats, .hero-scroll, .hero-marquee { opacity: 1 !important; }
  .hero::before { opacity: 0.2 !important; }
}
