/* ============================================================
   muy muy arte — styles.css v2
   Zine-meets-gallery aesthetic
   ============================================================ */

/* ----------------------------------------------------------
   1. Google Fonts — only DM Sans (body), others are local files
   ---------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300;1,400&display=swap');

/* ----------------------------------------------------------
   2. Local Fonts (assets/fonts/)
   ---------------------------------------------------------- */
@font-face {
  font-family: 'TAN Tangkiwood';
  src: url('../fonts/TAN-Tangkiwood-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Amsterdam Four';
  src: url('../fonts/Amsterdam.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Luxurious Script';
  src: url('../fonts/LuxuriousScript-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto Mono';
  src: url('../fonts/RobotoMono-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ----------------------------------------------------------
   3. CSS Custom Properties
   ---------------------------------------------------------- */
:root {
  /* Brand Colors */
  --cream:    #f9f4e3;
  --ink:      #393939;
  --rust:     #e42629;
  --blue:     #293794;
  --sage:     #427aa1;
  --sand:     #b8b0a0;
  --white:    #fdfaf5;
  --charcoal: #2a2a2a;

  /* Typography */
  --font-display:     'TAN Tangkiwood', Georgia, serif;
  --font-handwriting: 'Amsterdam Four', cursive;
  --font-script:      'Luxurious Script', cursive;
  --font-mono:        'Roboto Mono', monospace;
  --font-body:        'DM Sans', sans-serif;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  2rem;
  --space-xl:  4rem;
  --space-2xl: 8rem;

  /* Layout */
  --max-width:  1280px;
  --nav-height: 72px;

  /* Easing */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 200ms;
  --duration-med:  400ms;
  --duration-slow: 700ms;
}

/* ----------------------------------------------------------
   4. Reset & Base
   ---------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
}

/* Grain texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.045;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

img {
  display: block;
  max-width: 100%;
}

button {
  cursor: none;
  font-family: inherit;
  border: none;
  background: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

/* ----------------------------------------------------------
   5. Custom Cursor
   ---------------------------------------------------------- */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  background: var(--rust);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width var(--duration-fast) var(--ease-out),
              height var(--duration-fast) var(--ease-out),
              background-color var(--duration-fast) var(--ease-out);
  will-change: transform;
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 4px;
  height: 4px;
  background: var(--rust);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
  will-change: transform;
}

body:has(a:hover) .cursor,
body:has(button:hover) .cursor {
  width: 38px;
  height: 38px;
  background: var(--blue);
}

/* ----------------------------------------------------------
   6. Page Transition Overlay
   ---------------------------------------------------------- */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--blue);
  z-index: 9998;
  transform-origin: top;
  will-change: transform;
}

/* ----------------------------------------------------------
   7. Navigation
   ---------------------------------------------------------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-xl);
  transition: background var(--duration-med) var(--ease-out),
              box-shadow var(--duration-med) var(--ease-out);
}

.site-nav.scrolled {
  background: rgba(249, 244, 227, 0.94);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(41, 55, 148, 0.12);
}

.nav-logo img {
  height: 40px;
  width: auto;
  display: block;
  transition: opacity var(--duration-fast) var(--ease-out);
}

.nav-logo:hover {
  opacity: 0.75;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink);
  position: relative;
  padding-bottom: 3px;
  text-transform: capitalize;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--rust);
  transition: width var(--duration-med) var(--ease-out);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--rust);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: none;
  z-index: 901;
}

.nav-hamburger span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--duration-med) var(--ease-out),
              opacity var(--duration-fast) var(--ease-out),
              width var(--duration-med) var(--ease-out);
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--blue);
  z-index: 899;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  transform: translateY(-100%);
  transition: transform var(--duration-slow) var(--ease-out);
}

.nav-mobile-drawer.open {
  transform: translateY(0);
}

.nav-mobile-drawer a {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--white);
  letter-spacing: 0.02em;
  transition: color var(--duration-fast) var(--ease-out);
}

.nav-mobile-drawer a:hover {
  color: var(--rust);
}

/* ----------------------------------------------------------
   8. Sticker Floats
   ---------------------------------------------------------- */
.sticker {
  position: absolute;
  pointer-events: none;
  will-change: transform;
  z-index: 2;
}

.sticker img { width: 100%; height: auto; display: block; }

@keyframes float-a {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  20%       { transform: translate(-18px, -30px) rotate(20deg) scale(1.08); }
  45%       { transform: translate(12px, -10px) rotate(-8deg) scale(0.95); }
  70%       { transform: translate(16px, 22px) rotate(15deg) scale(1.04); }
}

@keyframes float-b {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  30%       { transform: translate(22px, -26px) rotate(-22deg) scale(1.09); }
  60%       { transform: translate(-14px, 12px) rotate(10deg) scale(0.93); }
  80%       { transform: translate(8px, -14px) rotate(-6deg) scale(1.02); }
}

/* Aliases used inline */
@keyframes st-a {
  0%, 100% { transform: translate(0,0) rotate(0deg) scale(1); }
  28%       { transform: translate(-14px,-24px) rotate(18deg) scale(1.07); }
  62%       { transform: translate(10px,16px) rotate(-12deg) scale(0.94); }
}
@keyframes st-b {
  0%, 100% { transform: translate(0,0) rotate(0deg) scale(1); }
  38%       { transform: translate(16px,-22px) rotate(-20deg) scale(1.08); }
  72%       { transform: translate(-12px,16px) rotate(14deg) scale(0.93); }
}

/* ----------------------------------------------------------
   9. Raspberry Float Animations
   ---------------------------------------------------------- */
.raspberry-float {
  position: absolute;
  pointer-events: none;
  will-change: transform;
  z-index: 1;
}
.raspberry-float img { width: 100%; height: auto; }

@keyframes rb-drift1 {
  0%,100% { transform: translate(0,0) rotate(0deg) scale(1); }
  25%      { transform: translate(-18px,-28px) rotate(10deg) scale(1.04); }
  60%      { transform: translate(14px, 20px) rotate(-8deg) scale(0.97); }
}
@keyframes rb-drift2 {
  0%,100% { transform: translate(0,0) rotate(0deg) scale(1); }
  35%      { transform: translate(10px,-24px) rotate(0deg) scale(1.05); }
  70%      { transform: translate(-16px, 18px) rotate(0deg) scale(0.96); }
}

/* ----------------------------------------------------------
   10. Reveal Animation
   ---------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
  will-change: transform, opacity;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 220ms; }
.reveal-delay-3 { transition-delay: 340ms; }
.reveal-delay-4 { transition-delay: 460ms; }

/* ----------------------------------------------------------
   11. Tilt Cards
   ---------------------------------------------------------- */
.tilt-card { perspective: 800px; will-change: transform; }
.tilt-card-inner {
  transition: transform 80ms linear;
  will-change: transform;
  transform-style: preserve-3d;
}

/* ----------------------------------------------------------
   12. Pill / Tag Labels
   ---------------------------------------------------------- */
.pill-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 12px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

/* ----------------------------------------------------------
   13. Buttons
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 1.5px solid currentColor;
  position: relative;
  overflow: hidden;
  transition: color var(--duration-med) var(--ease-out);
  cursor: none;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: currentColor;
  transform: translateY(101%);
  transition: transform var(--duration-med) var(--ease-out);
  z-index: 0;
}

.btn:hover::before { transform: translateY(0); }

.btn span {
  position: relative;
  z-index: 1;
  transition: color var(--duration-med) var(--ease-out);
}

.btn-dark  { color: var(--ink); }
.btn-dark:hover span  { color: var(--white); }
.btn-light { color: var(--white); border-radius: 999px; }
.btn-light:hover span { color: var(--ink); }
.btn-rust  { color: var(--rust); }
.btn-rust:hover span  { color: var(--white); }

/* Pill button variant */
.btn-pill {
  border-radius: 999px;
  background: linear-gradient(110deg, var(--rust) 0%, #c4273a 60%, #a82030 100%);
  color: var(--white);
  border: none;
  padding: 14px 36px;
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out),
              filter var(--duration-fast) var(--ease-out);
}
.btn-pill::before { display: none; }
.btn-pill:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 40px rgba(228,38,41,0.35);
  filter: brightness(1.08);
}

.btn-ghost {
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
  padding: 14px 36px;
}
.btn-ghost::before { background: var(--ink); }
.btn-ghost:hover span { color: var(--white); }

/* ----------------------------------------------------------
   14. Section Utilities
   ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section-pad  { padding: var(--space-2xl) 0; }
.section-pad-sm { padding: var(--space-xl) 0; }

.section-label {
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: var(--space-md);
  display: block;
}

/* ----------------------------------------------------------
   15. Marquee
   ---------------------------------------------------------- */
.marquee-wrapper {
  overflow: hidden;
  padding: 16px 0;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
  will-change: transform;
}

.marquee-track span {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--sand);
  padding: 0 2rem;
}

.marquee-track span.accent {
  color: var(--rust);
  font-size: 1.2rem;
}

.marquee-track .script-item {
  font-family: var(--font-script);
  font-size: 1.4rem;
  color: rgba(253,250,245,0.7);
  padding: 0 1.5rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ----------------------------------------------------------
   16. Diagonal Section Dividers
   ---------------------------------------------------------- */
.clip-diagonal-bottom {
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}

.clip-diagonal-top {
  clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
}

.clip-diagonal-both {
  clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
}

/* ----------------------------------------------------------
   17. Giant Background Text (texture)
   ---------------------------------------------------------- */
.bg-text {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  opacity: 0.055;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  white-space: nowrap;
  z-index: 0;
}

/* Outlined stroke variant — no fill, just edge */
.bg-text-stroke {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 400;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(57,57,57,0.09);
  pointer-events: none;
  user-select: none;
  line-height: 1;
  white-space: nowrap;
  z-index: 0;
}

/* ----------------------------------------------------------
   17b. Gradient text utility
   ---------------------------------------------------------- */
/* Girly script title — used on all major section headings */
.section-title-script {
  font-family: var(--font-script);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

/* Decorative tilde divider (∿) */
.deco-divider {
  display: block;
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--rust);
  opacity: 0.5;
  margin: var(--space-sm) 0;
  letter-spacing: 0.2em;
  user-select: none;
}
.gradient-text {
  background: linear-gradient(130deg, var(--rust) 0%, #c4273a 35%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-blue {
  background: linear-gradient(130deg, #6b85ff 0%, #7ecfea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ----------------------------------------------------------
   17c. Ambient blurred orbs
   ---------------------------------------------------------- */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.orb-blue { background: radial-gradient(circle, rgba(41,55,148,0.28) 0%, rgba(41,55,148,0) 70%); }
.orb-rust { background: radial-gradient(circle, rgba(228,38,41,0.22) 0%, rgba(228,38,41,0) 70%); }
.orb-sage { background: radial-gradient(circle, rgba(66,122,161,0.25) 0%, rgba(66,122,161,0) 70%); }

@keyframes orb-drift {
  0%,100% { transform: translate(0,0) scale(1); }
  40%      { transform: translate(-30px,-20px) scale(1.1); }
  70%      { transform: translate(20px,15px) scale(0.92); }
}

/* ----------------------------------------------------------
   17d. Grainy gradient section (used on CTA)
   ---------------------------------------------------------- */
.grainy-gradient {
  background: linear-gradient(135deg, var(--blue) 0%, #1e2d82 45%, var(--sage) 100%);
  position: relative;
}
.grainy-gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.1;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}

/* ----------------------------------------------------------
   18. Footer
   ---------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--sand);
  padding: var(--space-2xl) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
}

.footer-script-headline {
  font-family: var(--font-script);
  font-size: clamp(3rem, 8vw, 7rem);
  color: var(--white);
  text-align: center;
  display: block;
  margin-bottom: var(--space-lg);
  opacity: 0.9;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-xl);
  align-items: center;
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(184,176,160,0.18);
  border-bottom: 1px solid rgba(184,176,160,0.18);
  margin: 0 var(--space-xl) var(--space-lg);
}

.footer-logo img {
  height: 44px;
  width: auto;
  opacity: 0.85;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.footer-nav a {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
  opacity: 0.6;
  transition: opacity var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}

.footer-nav a:hover {
  opacity: 1;
  color: var(--white);
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-sm);
}

.footer-social-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rust);
}

.footer-social a {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--sand);
  opacity: 0.65;
  transition: opacity var(--duration-fast) var(--ease-out);
}

.footer-social a:hover { opacity: 1; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-lg);
  padding: 0 var(--space-xl);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sand);
  opacity: 0.35;
}

.footer-powered a {
  color: var(--sand);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-powered a:hover { color: var(--rust); }

/* ----------------------------------------------------------
   19. FAQ Accordion (shared)
   ---------------------------------------------------------- */
.faq-item {
  border-top: 1px solid rgba(57,57,57,0.12);
}
.faq-item:last-child { border-bottom: 1px solid rgba(57,57,57,0.12); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) 0;
  text-align: left;
  cursor: none;
  background: none;
  border: none;
  gap: var(--space-md);
}

.faq-question-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.25;
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(57,57,57,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--duration-med) var(--ease-out),
              background var(--duration-med) var(--ease-out),
              border-color var(--duration-med) var(--ease-out);
}

.faq-icon span {
  display: block;
  width: 10px;
  height: 1px;
  background: var(--ink);
  position: relative;
  transition: transform var(--duration-med) var(--ease-out);
}

.faq-icon span::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: inherit;
  transform: rotate(90deg);
  transition: transform var(--duration-med) var(--ease-out),
              opacity var(--duration-med) var(--ease-out);
}

.faq-item.open .faq-icon {
  background: var(--rust);
  border-color: var(--rust);
}

.faq-item.open .faq-icon span { background: var(--white); }
.faq-item.open .faq-icon span::after { transform: rotate(0deg); opacity: 0; }

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s var(--ease-out);
}

.faq-item.open .faq-answer { max-height: 400px; }

.faq-answer-inner {
  padding-bottom: var(--space-lg);
  font-size: 0.96rem;
  color: var(--ink);
  opacity: 0.75;
  line-height: 1.8;
}

/* ----------------------------------------------------------
   20. Form Styles (shared)
   ---------------------------------------------------------- */
.form-group {
  position: relative;
  margin-bottom: var(--space-lg);
}

.floating-label-wrap {
  position: relative;
}

.floating-label-wrap label {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
  pointer-events: none;
  transition: all var(--duration-fast) var(--ease-out);
}

.floating-label-wrap input:focus ~ label,
.floating-label-wrap input:not(:placeholder-shown) ~ label,
.floating-label-wrap textarea:focus ~ label,
.floating-label-wrap textarea:not(:placeholder-shown) ~ label,
.floating-label-wrap select:focus ~ label {
  top: 6px;
  font-size: 0.55rem;
  color: var(--rust);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: var(--white);
  border: 1.5px solid rgba(57,57,57,0.12);
  padding: 24px 16px 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  cursor: none;
  transition: border-color var(--duration-fast) var(--ease-out);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--rust);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

/* Radio & checkbox */
.radio-group, .checkbox-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: 4px;
}

.radio-label, .checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--charcoal);
  cursor: none;
  user-select: none;
}

.radio-label input, .checkbox-label input {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(57,57,57,0.2);
  flex-shrink: 0;
  position: relative;
  cursor: none;
  transition: border-color var(--duration-fast) var(--ease-out);
}

.radio-label input { border-radius: 50%; }
.checkbox-label input { border-radius: 0; }

.radio-label input:checked,
.checkbox-label input:checked {
  border-color: var(--rust);
  background: var(--rust);
}

.radio-label input:checked::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--white);
}

.checkbox-label input:checked::after {
  content: '';
  position: absolute;
  top: 2px; left: 5px;
  width: 5px; height: 9px;
  border: 1.5px solid var(--white);
  border-top: none; border-left: none;
  transform: rotate(45deg);
}

/* ----------------------------------------------------------
   21. Responsive
   ---------------------------------------------------------- */
@media (max-width: 900px) {
  :root {
    --space-xl:  2rem;
    --space-2xl: 4rem;
  }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-lg);
  }

  .footer-social { align-items: center; }
  .footer-contact { text-align: center; }
  .footer-nav { gap: var(--space-md); }
}

@media (max-width: 600px) {
  :root {
    --space-xl:  1.25rem;
    --space-2xl: 3rem;
    --nav-height: 60px;
  }

  .container { padding: 0 var(--space-lg); }

  .footer-inner { margin: 0 var(--space-md) var(--space-md); }
  .footer-bottom { padding: 0 var(--space-md); }
}

/* ----------------------------------------------------------
   22. Accessibility — skip link & keyboard focus

   The custom cursor hides the system pointer (`cursor: none`),
   so keyboard users need an unmistakable focus ring.
   ---------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -140%);
  z-index: 10000;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.85rem 1.6rem;
  border-radius: 0 0 8px 8px;
  transition: transform var(--duration-fast) var(--ease-out);
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Visible to screen readers only — table captions, extra labels. */
.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;
}

/* ----------------------------------------------------------
   23. Shared form feedback — loading, invalid, status

   Every form on the site (booking, talleres, tienda) uses these
   so an error looks and reads the same wherever it happens.
   ---------------------------------------------------------- */
@keyframes spin  { to { transform: rotate(360deg); } }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%  { transform: translateX(-6px); }
  40%  { transform: translateX(6px); }
  60%  { transform: translateX(-4px); }
  80%  { transform: translateX(4px); }
}

.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 1.5px solid rgba(253,250,245,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 8px;
  vertical-align: -2px;
}

.spinner-ink {
  border-color: rgba(57,57,57,0.25);
  border-top-color: var(--ink);
}

.is-shaking { animation: shake 0.4s var(--ease-out); }

/* Invalid field — red rule plus the message below it */
.form-input[aria-invalid="true"],
.form-textarea[aria-invalid="true"],
.form-select[aria-invalid="true"],
.notify-input[aria-invalid="true"] {
  border-color: var(--rust) !important;
}

/* Button groups (talleres / booking choice chips) can't take a border the
   same way, so they get a ring around the whole group instead. */
.choice-group[aria-invalid="true"] {
  outline: 2px solid var(--rust);
  outline-offset: 8px;
  border-radius: 4px;
}

.form-error {
  display: none;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  line-height: 1.5;
  color: var(--rust);
  margin-top: 0.55rem;
}

.form-error.show { display: flex; }

.form-error::before {
  content: '!';
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--rust);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 15px;
  text-align: center;
}

/* Whole-form banner — network failures, server rejections */
.form-status {
  display: none;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--rust);
  background: rgba(228,38,41,0.06);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: var(--space-lg);
}

.form-status.show    { display: flex; }
.form-status strong  { font-weight: 500; }
.form-status a       { color: var(--rust); text-decoration: underline; text-underline-offset: 3px; }

.form-status.is-ok {
  border-left-color: var(--sage);
  background: rgba(66,122,161,0.08);
}

.form-status.is-ok a { color: var(--sage); }

/* Buttons should not look clickable while they are working */
button[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.75;
  pointer-events: none;
}

/* ----------------------------------------------------------
   24. Cookie consent banner

   Analytics stay unloaded until someone accepts here —
   see `consent` in assets/js/main.js.
   ---------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: var(--space-md);
  right: var(--space-md);
  bottom: var(--space-md);
  z-index: 9500;
  max-width: 560px;
  margin: 0 auto;
  background: var(--charcoal);
  color: var(--white);
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(20,20,20,0.35);
  padding: 1.25rem 1.4rem;
  display: none;
  transform: translateY(140%);
  opacity: 0;
  transition: transform var(--duration-med) var(--ease-out),
              opacity var(--duration-med) var(--ease-out);
}

.cookie-banner.is-mounted { display: block; }
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }

.cookie-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 0.5rem;
}

.cookie-text {
  font-size: 0.88rem;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 1.1rem;
}

.cookie-text a {
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.85;
}

.cookie-text a:hover { opacity: 1; color: var(--cream); }

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.cookie-btn {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(253,250,245,0.35);
  color: var(--white);
  background: transparent;
  transition: background var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out);
}

.cookie-btn:hover {
  background: rgba(253,250,245,0.12);
  border-color: rgba(253,250,245,0.6);
}

.cookie-btn-accept {
  background: var(--cream);
  color: var(--charcoal);
  border-color: var(--cream);
}

.cookie-btn-accept:hover {
  background: var(--white);
  color: var(--charcoal);
}

/* ----------------------------------------------------------
   25. Sticky mobile CTA

   Phone-only bar that appears once the hero has scrolled past,
   so the main action is always one thumb-tap away.
   ---------------------------------------------------------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  background: rgba(249,244,227,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(57,57,57,0.12);
  transform: translateY(110%);
  transition: transform var(--duration-med) var(--ease-out);
}

.sticky-cta.is-visible { transform: translateY(0); }

.sticky-cta-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.sticky-cta-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
}

.sticky-cta-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sticky-cta-btn {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(110deg, var(--blue) 0%, #1e2d82 55%, var(--sage) 100%);
  box-shadow: 0 8px 24px rgba(41,55,148,0.28);
}

/* Only on phones/small tablets — desktop keeps the nav CTA in view */
@media (max-width: 900px) {
  .sticky-cta { display: flex; }

  /* Keep the footer clear of the bar */
  body.has-sticky-cta .site-footer { padding-bottom: 5.5rem; }

  /* Stack the cookie banner above it rather than on top of it */
  body.has-sticky-cta .cookie-banner { bottom: 5.25rem; }
}

/* ----------------------------------------------------------
   26. Legal / long-form pages (privacidad, terminos)
   ---------------------------------------------------------- */
.legal-hero {
  background: linear-gradient(140deg, #0e1a5c 0%, var(--blue) 45%, #2a6080 100%);
  padding: calc(var(--nav-height) + var(--space-2xl)) var(--space-xl) var(--space-2xl);
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}

.legal-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.legal-hero-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(253,250,245,0.55);
  margin-bottom: var(--space-md);
}

.legal-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  line-height: 1.05;
  color: var(--cream);
  letter-spacing: -0.02em;
}

.legal-hero-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(253,250,245,0.5);
  margin-top: var(--space-md);
}

.legal-body {
  max-width: 820px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-xl);
}

.legal-toc {
  border-left: 2px solid rgba(41,55,148,0.2);
  padding: 0.25rem 0 0.25rem 1.25rem;
  margin-bottom: var(--space-2xl);
}

.legal-toc-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.5;
  display: block;
  margin-bottom: 0.7rem;
}

.legal-toc ol {
  list-style: none;
  counter-reset: toc;
  display: grid;
  gap: 0.4rem;
}

.legal-toc li { counter-increment: toc; }

.legal-toc a {
  font-size: 0.92rem;
  opacity: 0.75;
  transition: opacity var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}

.legal-toc a::before {
  content: counter(toc, decimal-leading-zero) ' — ';
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--blue);
  opacity: 0.6;
}

.legal-toc a:hover { opacity: 1; color: var(--blue); }

.legal-section { margin-bottom: var(--space-xl); scroll-margin-top: calc(var(--nav-height) + 2rem); }

.legal-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  line-height: 1.2;
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

.legal-section h3 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.05rem;
  margin: var(--space-lg) 0 0.5rem;
}

.legal-section p,
.legal-section li {
  font-size: 1rem;
  line-height: 1.8;
  opacity: 0.85;
}

.legal-section p + p { margin-top: var(--space-md); }

.legal-section ul {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin: var(--space-md) 0;
}

.legal-section ul li {
  position: relative;
  padding-left: 1.4rem;
}

.legal-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 6px;
  background: var(--rust);
  border-radius: 50%;
}

.legal-section a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-section a:hover { color: var(--rust); }

.legal-callout {
  background: rgba(41,55,148,0.05);
  border-left: 3px solid var(--blue);
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-lg) 0;
}

.legal-callout p { opacity: 0.95; }

.legal-table-wrap {
  overflow-x: auto;
  margin: var(--space-md) 0;
  -webkit-overflow-scrolling: touch;
}

.legal-table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.legal-table th,
.legal-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(57,57,57,0.12);
  vertical-align: top;
}

.legal-table th {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
  font-weight: 400;
}

/* ----------------------------------------------------------
   27. Footer contact block
   ---------------------------------------------------------- */
.footer-contact {
  font-style: normal;
  display: grid;
  gap: 0.3rem;
  font-size: 0.85rem;
  line-height: 1.6;
  text-align: right;
  opacity: 0.75;
}

.footer-contact a:hover { opacity: 1; color: var(--cream); }

.footer-legal {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

.footer-legal a {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.55;
  transition: opacity var(--duration-fast) var(--ease-out);
}

.footer-legal a:hover { opacity: 1; }

/* ----------------------------------------------------------
   28. Responsive — finer tiers

   The layout was already fluid at 900 / 600; these cover the
   small-tablet and narrow-phone ends of the range.
   ---------------------------------------------------------- */
@media (max-width: 1100px) {
  .container { padding: 0 var(--space-lg); }
  .marquee-track span { font-size: clamp(2rem, 6vw, 3.5rem); }
}

@media (max-width: 900px) {
  .legal-body { padding: var(--space-xl) var(--space-lg); }
  .legal-hero { padding-left: var(--space-lg); padding-right: var(--space-lg); }

  /* Decorative stickers crowd small screens — thin them out */
  .sticker { opacity: 0.7; }
  .raspberry-float { display: none; }
}

@media (max-width: 600px) {
  .cookie-banner { padding: 1.1rem; }
  .cookie-actions { flex-direction: column; }
  .cookie-btn { width: 100%; text-align: center; }

  .footer-legal { gap: 0.75rem; }
  .legal-toc { padding-left: 1rem; }
}

@media (max-width: 380px) {
  :root { --space-lg: 1.25rem; }

  .sticky-cta { padding-inline: 0.75rem; }
  .sticky-cta-btn { padding: 0.75rem 1rem; font-size: 0.65rem; }
  .sticky-cta-title { font-size: 0.9rem; }
}

/* ----------------------------------------------------------
   29. Reduced motion

   The site leans hard on animation; honour the OS-level opt-out.
   ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal { opacity: 1; transform: none; }
  .cursor, .cursor-dot { display: none; }
  body { cursor: auto; }
}
