/* =============================================================
   GLOBO SUR — styles.css
   Archetype: Editorial Light Cream — adaptado a marca propia
   ============================================================= */

/* =============================================================
   1. TOKENS
   ============================================================= */
:root {
  /* Palette */
  --bg:           #faf6f0;   /* blanco roto / crema cálida */
  --bg-2:         #f2ead8;   /* champagne */
  --bg-dark:      #1a1714;   /* negro profundo */
  --bg-dark-2:    #2a2420;
  --cream:        #fdfaf5;
  --sand:         #e8dac5;   /* arena */
  --ink:          #1a1714;   /* texto principal */
  --ink-soft:     #3a2e28;
  --ink-mute:     #7a6555;
  --gold:         #c49a5b;   /* dorado */
  --gold-light:   #d4af7a;
  --gold-pale:    #ede0c4;
  --pastel-rose:  #f5e4df;
  --pastel-sage:  #dde8d8;
  --line:         rgba(26,23,20,0.12);
  --line-gold:    rgba(196,154,91,0.25);

  /* Typography */
  --serif:        'Cormorant Garamond', Georgia, serif;
  --sans:         'Manrope', system-ui, sans-serif;
  --mono:         'Space Mono', 'Courier New', monospace;

  /* Easings */
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in:      cubic-bezier(0.7, 0, 0.84, 0);
  --ease-bounce:  cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Spacing */
  --gutter:       clamp(1.25rem, 4vw, 3rem);
  --section-gap:  clamp(5rem, 10vw, 9rem);
  --radius-card:  16px;
  --radius-sm:    8px;

  /* Nav height */
  --nav-h:        72px;

  /* Transition */
  --t:            0.4s var(--ease-out);
  --t-fast:       0.2s var(--ease-soft);
}

/* =============================================================
   2. RESET & BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; object-fit: cover; }
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 {
  font-family: var(--serif);
  text-wrap: balance;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
h1 em, h2 em, h3 em { font-style: italic; color: var(--gold); }
::selection { background: var(--gold); color: var(--bg-dark); }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* =============================================================
   3. UTILITIES
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .5rem 1rem; background: var(--ink); color: var(--bg);
  z-index: 9999; border-radius: var(--radius-sm); font-weight: 500;
  font-size: .875rem;
}
.skip-link:focus { top: 1rem; }

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

.section-number {
  font-family: var(--mono);
  font-size: clamp(5rem, 12vw, 10rem);
  font-weight: 700;
  color: var(--line);
  line-height: 1;
  position: absolute;
  top: 0; right: var(--gutter);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}
.section-number--light { color: rgba(255,255,255,0.06); }

.section-kicker {
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-kicker--light { color: var(--gold-light); }

.section-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.section-title--light { color: var(--cream); }

.section-head {
  max-width: 600px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 2rem;
  font-family: var(--sans);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: 100px;
  transition: var(--t);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--gold);
  color: var(--bg-dark);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(196,154,91,0.4);
}
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-2px);
}

/* =============================================================
   4. ORGANIC BLOBS (balloon-inspired background shapes)
   ============================================================= */
.blob {
  position: absolute;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  filter: blur(80px);
}
.blob-filosofia {
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, var(--gold-pale) 0%, transparent 70%);
  top: -100px; right: -150px;
  animation: blobDrift 18s ease-in-out infinite;
}
.blob-servicios {
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(255,255,255,0.08) 0%, transparent 70%);
  bottom: -200px; left: -100px;
  animation: blobDrift 22s ease-in-out infinite reverse;
}
.blob-proceso {
  width: 400px; height: 400px;
  background: radial-gradient(ellipse, rgba(196,154,91,0.15) 0%, transparent 70%);
  top: 50%; right: -100px;
  animation: blobDrift 16s ease-in-out infinite;
}
@keyframes blobDrift {
  0%, 100% { transform: translate(0,0) scale(1); border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; }
  33%       { transform: translate(-30px,40px) scale(1.05); border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%; }
  66%       { transform: translate(20px,-25px) scale(0.97); border-radius: 55% 45% 60% 40% / 45% 55% 45% 55%; }
}

/* Grain texture overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9990;
  opacity: 0.018;
  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-size: 200px 200px;
}

/* =============================================================
   5. REVEAL ANIMATION
   ============================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
/* Safety: split+reveal elements stay visible (gotcha A.4.5) */
[data-reveal][data-split] { opacity: 1; transform: none; }

/* Stagger children */
[data-reveal] > *:nth-child(1) { transition-delay: 0.05s; }
[data-reveal] > *:nth-child(2) { transition-delay: 0.12s; }
[data-reveal] > *:nth-child(3) { transition-delay: 0.19s; }
[data-reveal] > *:nth-child(4) { transition-delay: 0.26s; }
[data-reveal] > *:nth-child(5) { transition-delay: 0.33s; }

/* =============================================================
   6. CUSTOM CURSOR
   ============================================================= */
.cursor {
  pointer-events: none;
  position: fixed;
  top: 0; left: 0;
  z-index: 9995;
  opacity: 0;
  transition: opacity .3s var(--ease-out);
}
.cursor.is-ready { opacity: 1; }
.cursor-dot {
  position: fixed;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
  top: 0; left: 0;
  transition: transform .1s;
  will-change: transform;
}
.cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  transition: transform .12s var(--ease-soft), width .3s, height .3s, border-color .3s;
  will-change: transform;
}
.cursor.is-hover .cursor-ring {
  width: 56px; height: 56px;
  border-color: var(--gold-light);
  background: rgba(196,154,91,0.08);
}
.cursor.is-click .cursor-dot { transform: translate(-50%,-50%) scale(0.5); }
@media (hover: none) { .cursor { display: none; } }

/* =============================================================
   7. SPLASH
   ============================================================= */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .6s var(--ease-in), clip-path .6s var(--ease-in);
  /* Safety CSS: auto-hide at 4.5s if JS fails */
  animation: splashSafety .01s 4.5s forwards;
}
@keyframes splashSafety {
  to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
}
.splash.is-out {
  opacity: 0;
  pointer-events: none;
  clip-path: inset(0 0 100% 0);
}
.splash-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.splash-sphere {
  width: 120px; height: 120px;
  color: var(--gold);
  animation: sphereDraw 1.8s var(--ease-out) forwards;
}
.sphere-base   { stroke-dasharray: 452; stroke-dashoffset: 452; animation: drawLine 1.4s 0.1s var(--ease-out) forwards; }
.sphere-h1     { stroke-dasharray: 260; stroke-dashoffset: 260; animation: drawLine 1.2s 0.4s var(--ease-out) forwards; }
.sphere-h2     { stroke-dasharray: 402; stroke-dashoffset: 402; animation: drawLine 1.3s 0.6s var(--ease-out) forwards; }
.sphere-v1     { stroke-dasharray: 290; stroke-dashoffset: 290; animation: drawLine 1.2s 0.5s var(--ease-out) forwards; }
.sphere-string { stroke-dasharray: 50;  stroke-dashoffset: 50;  animation: drawLine 0.8s 1.2s var(--ease-out) forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.splash-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  animation: fadeUp .6s .8s var(--ease-out) both;
}
.splash-name {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--cream);
}
.splash-tagline {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}
.splash-progress {
  width: 120px;
  height: 1px;
  background: rgba(255,255,255,0.12);
  border-radius: 2px;
  overflow: hidden;
  animation: fadeUp .4s 1s var(--ease-out) both;
}
.splash-bar {
  height: 100%;
  background: var(--gold);
  width: 0%;
  animation: progressFill 1.6s .6s var(--ease-soft) forwards;
}
@keyframes progressFill { to { width: 100%; } }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* =============================================================
   8. NAVIGATION
   ============================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  transition: background var(--t), box-shadow var(--t);
}
.nav.is-scrolled {
  background: rgba(250,246,240,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: .03em;
  color: var(--cream);
  transition: color var(--t);
}
.nav.is-scrolled .nav-logo { color: var(--ink); }
.nav-logo-img {
  width: 34px; height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1.5px rgba(196,154,91,0.4);
  transition: box-shadow var(--t);
}
.nav-logo:hover .nav-logo-img { box-shadow: 0 0 0 2px var(--gold); }
.nav-logo-sphere {
  width: 28px; height: 28px;
  flex-shrink: 0;
  transition: color var(--t);
}
.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color var(--t);
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width var(--t);
}
.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: rgba(255,255,255,1); }
.nav.is-scrolled .nav-link { color: var(--ink-mute); }
.nav.is-scrolled .nav-link:hover { color: var(--ink); }
.nav-cta {
  padding: .5rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 100px;
  font-size: .8rem;
  color: rgba(255,255,255,0.9) !important;
  transition: background var(--t), border-color var(--t), color var(--t) !important;
}
.nav.is-scrolled .nav-cta {
  border-color: var(--gold);
  color: var(--gold) !important;
}
.nav-cta:hover {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: var(--bg-dark) !important;
}
.nav-cta::after { display: none; }
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  z-index: 10;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
  transition: var(--t);
}
.nav.is-scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle.is-open span:first-child { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:last-child  { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 850;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: opacity var(--t), transform var(--t);
}
.nav-mobile.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.nav-mobile-link {
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 400;
  letter-spacing: .02em;
  color: var(--ink);
  transition: color var(--t);
}
.nav-mobile-link:hover { color: var(--gold); }
.nav-mobile-cta {
  margin-top: 1rem;
  padding: .875rem 2rem;
  background: var(--gold);
  color: var(--bg-dark) !important;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
}

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

/* =============================================================
   9. HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform-origin: center;
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(26,23,20,0.72) 0%,
    rgba(26,23,20,0.48) 50%,
    rgba(26,23,20,0.65) 100%
  );
}
.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-top: calc(var(--nav-h) + 4rem);
  padding-bottom: 6rem;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp .7s 2.8s var(--ease-out) forwards;
}
.hero-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  animation: pulse 2s 3s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.7); }
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 300;
  line-height: .98;
  letter-spacing: -0.02em;
  color: var(--cream);
  max-width: 16ch;
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fadeUp .9s 3.0s var(--ease-out) forwards;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
}
.hero-sub {
  font-size: clamp(.9rem, 2vw, 1.1rem);
  font-weight: 300;
  color: rgba(253,250,245,0.8);
  max-width: 52ch;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp .7s 3.2s var(--ease-out) forwards;
}
.br-desktop { display: none; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  animation: fadeUp .7s 3.4s var(--ease-out) forwards;
}
.hero-meta {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(253,250,245,0.55);
  white-space: nowrap;
  opacity: 0;
  animation: fadeUp .5s 3.6s var(--ease-out) forwards;
}
.hero-meta-sep { color: var(--gold); opacity: .6; }
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  right: var(--gutter);
  z-index: 2;
  color: rgba(253,250,245,0.45);
  width: 30px;
  animation: scrollBounce 2s 4s ease-in-out infinite, fadeUp .5s 3.5s var(--ease-out) both;
}
.hero-scroll svg { width: 100%; }
.scroll-wheel { animation: wheelDrop 2s 4s ease-in-out infinite; }
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}
@keyframes wheelDrop {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(10px); opacity: .3; }
}
@media (min-width: 960px) { .br-desktop { display: block; } }

/* =============================================================
   10. MARQUEE
   ============================================================= */
.marquee-wrap {
  overflow: clip;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: .875rem;
  background: var(--bg-2);
}
.marquee-track {
  display: flex;
  width: max-content;
}
.marquee-inner {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding-inline: .875rem;
  font-family: var(--serif);
  font-size: clamp(.875rem, 2vw, 1.125rem);
  font-style: italic;
  color: var(--ink-soft);
  letter-spacing: .01em;
  white-space: nowrap;
  animation: marqueeScroll 28s linear infinite;
}
.marquee-dot {
  color: var(--gold);
  font-style: normal;
  font-size: .7rem;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-wrap:hover .marquee-inner { animation-play-state: paused; }

/* =============================================================
   11. FILOSOFIA
   ============================================================= */
.section-filosofia {
  padding-block: var(--section-gap);
  position: relative;
  overflow: clip;
}
.filosofia-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
  position: relative;
  z-index: 1;
}
.filosofia-img-col { position: relative; }
.filosofia-img-wrap {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 600px;
}
.filosofia-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.filosofia-img-wrap:hover .filosofia-img { transform: scale(1.04); }
.filosofia-img-badge {
  position: absolute;
  bottom: 1.5rem; right: 1.5rem;
  background: var(--gold);
  color: var(--bg-dark);
  border-radius: 100px;
  padding: .6rem 1.2rem;
  display: flex;
  align-items: baseline;
  gap: .25rem;
  font-family: var(--mono);
}
.badge-num {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}
.badge-txt {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.filosofia-content { position: relative; z-index: 1; }
.filosofia-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.filosofia-body {
  font-size: 1rem;
  color: var(--ink-mute);
  line-height: 1.8;
  max-width: 52ch;
  margin-bottom: 1.25rem;
}
.filosofia-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.filosofia-stats li {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.stat-num {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
}
.stat-plus, .stat-eur {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--gold);
}
.stat-label {
  font-family: var(--mono);
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink-mute);
  margin-top: .25rem;
}
.stat-label-single {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
}
.stat-desc {
  font-family: var(--mono);
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink-mute);
}
@media (min-width: 960px) {
  .filosofia-grid { grid-template-columns: 1fr 1.1fr; }
}

/* =============================================================
   12. PROYECTOS
   ============================================================= */
.section-proyectos {
  padding-block: var(--section-gap);
  position: relative;
}
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2.5rem;
}
.filter-tab {
  padding: .45rem 1.1rem;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .03em;
  color: var(--ink-mute);
  border: 1px solid var(--line);
  background: transparent;
  transition: var(--t);
  cursor: pointer;
}
.filter-tab:hover { border-color: var(--gold); color: var(--gold); }
.filter-tab.is-active {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.proyectos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 280px;
  gap: 1rem;
}
.proyecto-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: opacity .4s, transform .4s var(--ease-out);
}
.proyecto-card--large { grid-row: span 2; }
.proyecto-card.is-hidden { opacity: 0; pointer-events: none; transform: scale(0.97); }
.proyecto-img-wrap {
  position: relative;
  width: 100%; height: 100%;
}
.proyecto-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.proyecto-card:hover .proyecto-img-wrap img { transform: scale(1.07); }
.proyecto-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,23,20,0.85) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .4s var(--ease-out);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}
.proyecto-card:hover .proyecto-overlay { opacity: 1; }
.proyecto-cta {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: .4rem .9rem;
  border-radius: 100px;
}
.proyecto-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(to top, rgba(26,23,20,0.8) 0%, transparent 100%);
}
.proyecto-etiqueta {
  display: block;
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .4rem;
}
.proyecto-titulo {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.2;
}
.section-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}
@media (min-width: 720px) {
  .proyectos-grid { grid-template-columns: 1fr 1fr 1fr; grid-auto-rows: 320px; }
}

/* =============================================================
   13. SERVICIOS
   ============================================================= */
.section-servicios {
  padding-block: var(--section-gap);
  background: var(--bg-dark);
  position: relative;
  overflow: clip;
}
.section-servicios .section-number { color: rgba(255,255,255,0.04); }
.servicios-grid {
  display: grid;
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.servicio-card {
  display: grid;
  gap: 0;
  background: var(--bg-dark-2);
  transition: background var(--t);
  overflow: hidden;
}
.servicio-card:hover { background: #2e2722; }
.servicio-img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.servicio-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.9);
  transition: transform 1s var(--ease-out), filter .4s;
}
.servicio-card:hover .servicio-img-wrap img {
  transform: scale(1.05);
  filter: saturate(1.05) brightness(1);
}
.servicio-body {
  padding: 1.75rem;
}
.servicio-body h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: .75rem;
  line-height: 1.15;
}
.servicio-body p {
  font-size: .9rem;
  color: rgba(253,250,245,0.6);
  line-height: 1.7;
  margin-bottom: 1.1rem;
}
.servicio-body ul {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.servicio-body li {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.servicio-body li::before {
  content: "";
  display: inline-block;
  width: 16px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
@media (min-width: 720px) {
  .servicios-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1280px) {
  .servicios-grid { grid-template-columns: 1fr 1fr 1fr; }
}

/* =============================================================
   14. ESPACIOS
   ============================================================= */
.section-espacios {
  padding-block: var(--section-gap);
  position: relative;
}
.espacios-intro { max-width: 700px; margin-bottom: 3rem; }
.espacios-body {
  font-size: 1rem;
  color: var(--ink-mute);
  line-height: 1.8;
  max-width: 52ch;
  margin-top: -1rem;
  margin-bottom: 2.5rem;
}
.espacios-layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
.espacios-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.espacio-card {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--cream);
  transition: var(--t);
}
.espacio-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(196,154,91,0.15);
  transform: translateY(-3px);
}
.espacio-icono { font-size: 1.6rem; }
.espacio-nombre {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.25;
}
.espacios-map {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(26,23,20,0.12);
  border: 1px solid var(--line);
}
.espacios-map iframe { display: block; }
.espacios-photo {
  margin-bottom: 3rem;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(26,23,20,0.1);
}
.espacios-photo img {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
  display: block;
}
@media (min-width: 960px) {
  .espacios-layout { grid-template-columns: 1fr 1.4fr; }
  .espacios-cards { grid-template-columns: 1fr 1fr; }
}

/* =============================================================
   15. PROCESO
   ============================================================= */
.section-proceso {
  padding-block: var(--section-gap);
  background: var(--bg-dark);
  position: relative;
  overflow: clip;
}
.proceso-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  margin-inline: auto;
  counter-reset: step;
  position: relative;
  z-index: 1;
}
.proceso-step {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1.5rem;
  position: relative;
  padding-bottom: 2.5rem;
}
.proceso-step:last-child { padding-bottom: 0; }
.paso-num {
  font-family: var(--mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  opacity: .3;
  line-height: 1;
  padding-top: .15rem;
  transition: opacity var(--t);
}
.proceso-step.is-active .paso-num { opacity: 1; }
.paso-content {
  padding-bottom: .5rem;
}
.paso-titulo {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: .5rem;
  line-height: 1.2;
}
.paso-desc {
  font-size: .9rem;
  color: rgba(253,250,245,0.55);
  line-height: 1.75;
  max-width: 48ch;
}
.paso-connector {
  position: absolute;
  left: 33px;
  top: 2.2rem;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold) 0%, rgba(196,154,91,0.15) 100%);
  opacity: .25;
}
.proceso-photo {
  margin-top: 4rem;
  border-radius: var(--radius-card);
  overflow: hidden;
  max-width: 720px;
  margin-inline: auto;
  box-shadow: 0 12px 50px rgba(0,0,0,0.35);
}
.proceso-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  opacity: .9;
}

/* =============================================================
   16. CONTACTO / FORMULARIO
   ============================================================= */
.section-contacto {
  padding-block: var(--section-gap);
  position: relative;
}
.contacto-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contacto-desc {
  font-size: 1rem;
  color: var(--ink-mute);
  line-height: 1.75;
  max-width: 44ch;
  margin-bottom: 2rem;
}
.contacto-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.contacto-details li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .9rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.contacto-details svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: .1rem; fill: var(--gold); }
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .875rem 1.75rem;
  background: #25D366;
  color: white;
  border-radius: 100px;
  font-size: .875rem;
  font-weight: 600;
  transition: var(--t);
}
.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37,211,102,0.4);
}
.btn-whatsapp svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Form */
.contacto-form-wrap {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.contacto-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row {
  display: grid;
  gap: 1.25rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.form-group label {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 400;
}
.form-group label span { color: var(--gold); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: .75rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: .9rem;
  transition: border-color var(--t), box-shadow var(--t);
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196,154,91,0.15);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5' stroke='%237a6555' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 20px;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .85rem;
  color: var(--ink-mute);
  line-height: 1.5;
}
.form-check input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: .15rem;
  accent-color: var(--gold);
  cursor: pointer;
}
.form-check a { color: var(--gold); text-decoration: underline; }
.btn-form {
  width: 100%;
  justify-content: center;
  padding: 1rem 1.75rem;
  font-size: .9rem;
}
.btn-form svg { width: 18px; height: 18px; flex-shrink: 0; }
@media (min-width: 720px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .contacto-grid { grid-template-columns: 1fr 1.1fr; }
}

/* =============================================================
   17. RESEÑAS
   ============================================================= */
.section-resenas {
  padding-block: var(--section-gap);
  background: var(--bg-2);
  position: relative;
}
.resenas-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.resenas-rating-num {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
}
.resenas-stars {
  font-size: 1.5rem;
  color: #F5A623;
  letter-spacing: .1rem;
}
.resenas-count {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.resenas-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  color: var(--ink);
  text-align: center;
  line-height: 1.1;
  margin-bottom: .5rem;
}
.resenas-sub {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--ink-mute);
  text-align: center;
  margin-bottom: 3rem;
}
.resenas-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.resena-card {
  background: white;
  border-radius: var(--radius-card);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 2px 12px rgba(26,23,20,0.06);
  transition: box-shadow var(--t), transform var(--t);
}
.resena-card:hover {
  box-shadow: 0 8px 30px rgba(26,23,20,0.12);
  transform: translateY(-3px);
}
.resena-stars {
  font-size: .9rem;
  color: #F5A623;
  letter-spacing: .08rem;
}
.resena-texto {
  font-family: var(--sans);
  font-size: .875rem;
  line-height: 1.7;
  color: var(--ink-soft);
  font-style: normal;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.resena-footer {
  display: flex;
  align-items: center;
  gap: .875rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  margin-top: auto;
}
.resena-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  flex-shrink: 0;
}
.resena-meta {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.resena-nombre {
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink);
  display: block;
}
.resena-tiempo {
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--ink-mute);
  display: block;
}
.resenas-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
}
.btn-google-reviews {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .75rem 1.5rem;
  background: white;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: .875rem;
  font-weight: 500;
  transition: var(--t);
  box-shadow: 0 2px 8px rgba(26,23,20,0.08);
}
.btn-google-reviews:hover {
  box-shadow: 0 4px 20px rgba(26,23,20,0.15);
  transform: translateY(-2px);
}
.google-icon { width: 18px; height: 18px; }
.btn-write-review {
  display: inline-flex;
  align-items: center;
  padding: .75rem 1.5rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: 100px;
  font-size: .875rem;
  font-weight: 600;
  transition: var(--t);
}
.btn-write-review:hover {
  background: var(--gold);
  color: var(--bg-dark);
  transform: translateY(-2px);
}
@media (min-width: 720px) {
  .resenas-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .resenas-grid { grid-template-columns: 1fr 1fr 1fr; }
}

/* =============================================================
   18. FOOTER
   ============================================================= */
.footer {
  background: var(--bg-dark);
  color: var(--cream);
  padding-top: clamp(4rem, 8vw, 7rem);
  position: relative;
  overflow: clip;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(196,154,91,0.4));
}
.footer-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.footer-logo-wrap { opacity: .7; }
.footer-sphere { width: 56px; height: 56px; color: var(--gold); }
.footer-name {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1;
  letter-spacing: -.02em;
}
.footer-tagline {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(253,250,245,0.55);
  line-height: 1.5;
  max-width: 28ch;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
}
.footer-col-title {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 400;
}
.footer-list {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.footer-list a {
  font-size: .9rem;
  color: rgba(253,250,245,0.55);
  transition: color var(--t);
}
.footer-list a:hover { color: var(--cream); }
.footer-cta-btn {
  display: inline-flex;
  margin-top: 1.5rem;
  padding: .65rem 1.25rem;
  border: 1px solid rgba(196,154,91,0.4);
  border-radius: 100px;
  font-size: .8rem;
  color: var(--gold);
  transition: var(--t);
}
.footer-cta-btn:hover {
  background: var(--gold);
  color: var(--bg-dark);
  border-color: var(--gold);
}
.footer-bottom {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-block: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.footer-legal {
  font-family: var(--mono);
  font-size: .7rem;
  color: rgba(253,250,245,0.35);
  letter-spacing: .05em;
}
.footer-legal a { color: rgba(253,250,245,0.45); transition: color var(--t); }
.footer-legal a:hover { color: var(--gold); }
.footer-credit {
  font-family: var(--mono);
  font-size: .65rem;
  color: rgba(253,250,245,0.25);
  letter-spacing: .05em;
}
.footer-credit a { color: var(--gold); opacity: .7; transition: opacity var(--t); }
.footer-credit a:hover { opacity: 1; }

.back-to-top {
  position: absolute;
  bottom: 2rem; right: var(--gutter);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(196,154,91,0.15);
  border: 1px solid rgba(196,154,91,0.3);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--t);
}
.back-to-top svg { width: 18px; height: 18px; }
.back-to-top:hover {
  background: var(--gold);
  color: var(--bg-dark);
  border-color: var(--gold);
  transform: translateY(-4px);
}

@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 2fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* =============================================================
   19. COOKIE BANNER
   ============================================================= */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 2rem));
  z-index: 9800;
  width: calc(100% - 2 * var(--gutter));
  max-width: 680px;
  background: var(--bg-dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.5rem;
  transition: transform .5s var(--ease-out), opacity .5s;
  opacity: 0;
}
.cookie-banner.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.cookie-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.cookie-text {
  font-size: .8125rem;
  color: rgba(253,250,245,0.7);
  line-height: 1.6;
  flex: 1 1 300px;
}
.cookie-text a { color: var(--gold); text-decoration: underline; }
.cookie-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.cookie-btn {
  padding: .55rem 1.25rem;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  transition: var(--t);
}
.cookie-accept {
  background: var(--gold);
  color: var(--bg-dark);
}
.cookie-accept:hover { background: var(--gold-light); }
.cookie-link {
  font-size: .8rem;
  color: rgba(253,250,245,0.5);
  text-decoration: underline;
  transition: color var(--t);
}
.cookie-link:hover { color: rgba(253,250,245,0.9); }

/* =============================================================
   20. REDUCED MOTION (only truly intrusive effects)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .blob { animation: none; }
  .marquee-inner { animation: none; }
  .hero-dot { animation: none; }
  .scroll-wheel { animation: none; }
  .hero-scroll { animation: none; }
  .splash-bar { animation: none; width: 100%; }
  .sphere-base, .sphere-h1, .sphere-h2, .sphere-v1, .sphere-string {
    animation: none;
    stroke-dashoffset: 0;
  }
  /* Do NOT disable: hover transitions, data-reveal fades, cursor */
}

/* =============================================================
   21. RESPONSIVE GLOBAL
   ============================================================= */
@media (min-width: 540px) {
  .espacios-cards { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 720px) {
  .proyectos-grid { grid-auto-rows: 300px; }
  .resenas-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .filosofia-grid { grid-template-columns: 1fr 1.1fr; }
  .contacto-grid { grid-template-columns: 1fr 1.1fr; }
}
@media (min-width: 1280px) {
  :root { --gutter: 3.5rem; }
  .proyectos-grid { grid-template-columns: 1fr 1fr 1fr; grid-auto-rows: 340px; }
}

/* =============================================================
   22. LIGHTBOX
   ============================================================= */
.lb {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(10,8,6,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .32s;
}
.lb.is-open {
  opacity: 1;
  pointer-events: all;
}
.lb-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: min(92vw, 1300px);
  max-height: 90vh;
}
.lb-img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: 6px;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7);
  transform: scale(0.93);
  transition: transform .32s var(--ease-out);
}
.lb.is-open .lb-img { transform: scale(1); }
.lb-close,
.lb-prev,
.lb-next {
  position: fixed;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  border-radius: 50%;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
  z-index: 9010;
}
.lb-close:hover,
.lb-prev:hover,
.lb-next:hover { background: rgba(255,255,255,0.18); transform: scale(1.08); }
.lb-close { top: 1.25rem; right: 1.25rem; }
.lb-prev { left: 1.25rem; top: 50%; translate: 0 -50%; }
.lb-next { right: 1.25rem; top: 50%; translate: 0 -50%; }
.lb-close svg,
.lb-prev svg,
.lb-next svg { width: 20px; height: 20px; pointer-events: none; }
/* zoom cursor on all lightbox-able images */
[data-lightbox] { cursor: zoom-in; }
