/* ============================================================
   FONT FACE — coloca los archivos en design/fonts/
   Descarga Manrope en: https://fonts.google.com/specimen/Manrope
   Exporta: woff2, pesos 200 300 400 500 600 700 800
   ============================================================ */
@font-face { font-family: 'Manrope'; src: url('fonts/Manrope-ExtraLight.woff2') format('woff2'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('fonts/Manrope-Light.woff2')      format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('fonts/Manrope-Regular.woff2')    format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('fonts/Manrope-Medium.woff2')     format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('fonts/Manrope-SemiBold.woff2')   format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('fonts/Manrope-Bold.woff2')       format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('fonts/Manrope-ExtraBold.woff2')  format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --nav-h: 4rem; /* height of sticky nav — used for viewport calculations */
  --primary:                  #141143;
  --primary-container:        #292759;
  --primary-fixed:            #e3dfff;
  --primary-fixed-dim:        #c4c1fd;
  --inverse-primary:          #c4c1fd;
  --secondary:                #5c5b7f;
  --secondary-container:      #d6d3fd;
  --secondary-fixed:          #e3dfff;
  --secondary-fixed-dim:      #c6c2ec;
  --on-secondary-fixed-variant:#454366;
  --on-secondary-fixed:       #191838;
  --tertiary:                 #3b0005;
  --tertiary-container:       #62000d;
  --tertiary-fixed:           #ffdad7;
  --tertiary-fixed-dim:       #ffb3af;
  --on-tertiary-fixed:        #410006;
  --on-tertiary-fixed-variant:#8d141e;
  --on-tertiary-container:    #f76463;
  --surface:                  #fbf8ff;
  --surface-dim:              #d9d8eb;
  --surface-bright:           #fbf8ff;
  --surface-container-lowest: #ffffff;
  --surface-container-low:    #f4f2ff;
  --surface-container:        #edecff;
  --surface-container-high:   #e8e6f9;
  --surface-container-highest:#e2e1f3;
  --surface-variant:          #e2e1f3;
  --surface-tint:             #5b598e;
  --on-surface:               #1a1b27;
  --on-surface-variant:       #47464f;
  --on-background:            #1a1b27;
  --background:               #fbf8ff;
  --inverse-surface:          #2e2f3d;
  --inverse-on-surface:       #f1efff;
  --outline:                  #787680;
  --outline-variant:          #c8c5d0;
  --error:                    #ba1a1a;
  --error-container:          #ffdad6;
  --on-error:                 #ffffff;
  --on-error-container:       #93000a;
  --on-primary:               #ffffff;
  --on-primary-container:     #918fc8;
  --on-primary-fixed:         #171446;
  --on-primary-fixed-variant: #434174;
  --on-secondary:             #ffffff;
  --on-tertiary:              #ffffff;

  /* Custom design tokens */
  --surface-detail:           #D7D9C4;
  --soft-detail:              #C8C7D9;
  --wine-red:                 #8d141e;

  /* Border radius (from tailwind config) */
  --radius:    0.125rem;
  --radius-lg: 0.25rem;
  --radius-xl: 0.5rem;
  --radius-2xl:1rem;
  --radius-3xl:1.5rem;
  --radius-full:0.75rem;

  /* Transform variables */
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate:      0;
  --tw-skew-x:      0;
  --tw-skew-y:      0;
  --tw-scale-x:     1;
  --tw-scale-y:     1;

  /* Gradient variables */
  --tw-gradient-from: transparent;
  --tw-gradient-via:  transparent;
  --tw-gradient-to:   transparent;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Manrope', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
svg { display: inline-block; vertical-align: middle; }

/* ============================================================
   ICON SVG — Material Symbols replacements
   ============================================================ */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
  flex-shrink: 0;
}
.icon-lg  { width: 1.5rem; height: 1.5rem; }
.icon-xl  { width: 2rem;   height: 2rem; }
.icon-2xl { width: 6rem;   height: 6rem; }

/* ============================================================
   COMPONENT — MOSAIC BG & CAROUSEL
   ============================================================ */
.mosaic-bg {
  background-image: radial-gradient(circle at 2px 2px, #c8c5d0 1px, transparent 0);
  background-size: 40px 40px;
}

.carousel-container {
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.carousel-container::-webkit-scrollbar { display: none; }

.slide-content {
  transition: transform 0.8s cubic-bezier(0.2, 0, 0.2, 1), opacity 0.8s ease;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.flex         { display: flex; }
.inline-flex  { display: inline-flex; }
.grid         { display: grid; }
.block        { display: block; }
.inline-block { display: inline-block; }
.hidden       { display: none; }

.flex-col  { flex-direction: column; }
.flex-row  { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }

.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.items-end    { align-items: flex-end; }

.justify-center  { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end     { justify-content: flex-end; }

.self-start { align-self: flex-start; }
.mt-auto    { margin-top: auto; }

/* ============================================================
   POSITION
   ============================================================ */
.sticky   { position: sticky; }
.fixed    { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }

.top-0    { top: 0; }
.left-0   { left: 0; }
.right-0  { right: 0; }
.bottom-0 { bottom: 0; }
.inset-0  { top: 0; right: 0; bottom: 0; left: 0; }
.top-4    { top: 1rem; }
.left-4   { left: 1rem; }
.right-4  { right: 1rem; }
.top-12   { top: 3rem; }
.right-12 { right: 3rem; }

.z-0  { z-index: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

/* ============================================================
   SIZING
   ============================================================ */
.w-full  { width: 100%; }
.h-full  { height: 100%; }
.w-10    { width: 2.5rem; }
.h-10    { height: 2.5rem; }
.w-12    { width: 3rem; }
.h-12    { height: 3rem; }
.w-20    { width: 5rem; }
.h-1     { height: 0.25rem; }
.w-32    { width: 8rem; }
.w-40    { width: 10rem; }
.w-64    { width: 16rem; }
.h-64    { height: 16rem; }
.h-48    { height: 12rem; }

.w-1\/3  { width: 33.333333%; }
.w-3\/4  { width: 75%; }
.h-3\/5  { height: 60%; }

.h-\[600px\]  { height: 600px; }
.h-\[2px\]    { height: 2px; }
.min-h-\[870px\] { min-height: 870px; }

.max-w-screen-2xl { max-width: 1536px; }
.max-w-xl  { max-width: 36rem; }
.max-w-md  { max-width: 28rem; }
.max-w-sm  { max-width: 24rem; }
.max-w-2xl { max-width: 42rem; }

.min-w-\[85\%\] { min-width: 85%; }
.min-w-\[65\%\] { min-width: 65%; }
.min-w-\[45\%\] { min-width: 45%; }

/* ============================================================
   OVERFLOW & SCROLL SNAP
   ============================================================ */
.overflow-hidden   { overflow: hidden; }
.overflow-x-auto   { overflow-x: auto; }
.object-cover      { object-fit: cover; }

.snap-x.snap-mandatory { scroll-snap-type: x mandatory; }
.snap-start             { scroll-snap-align: start; }

/* ============================================================
   SPACING — PADDING
   ============================================================ */
.p-2  { padding: 0.5rem; }
.p-8  { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }

.px-3  { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-8  { padding-left: 2rem;    padding-right: 2rem; }
.px-10 { padding-left: 2.5rem;  padding-right: 2.5rem; }
.px-12 { padding-left: 3rem;    padding-right: 3rem; }

.py-1  { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-4  { padding-top: 1rem;    padding-bottom: 1rem; }
.py-20 { padding-top: 5rem;    padding-bottom: 5rem; }
.py-24 { padding-top: 6rem;    padding-bottom: 6rem; }

.pb-1  { padding-bottom: 0.25rem; }
.pb-8  { padding-bottom: 2rem; }
.pb-12 { padding-bottom: 3rem; }
.pt-8  { padding-top: 2rem; }
.pt-16 { padding-top: 4rem; }

/* ============================================================
   SPACING — MARGIN
   ============================================================ */
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-4    { margin-bottom: 1rem; }
.mb-6    { margin-bottom: 1.5rem; }
.mb-8    { margin-bottom: 2rem; }
.mb-16   { margin-bottom: 4rem; }
.mt-8    { margin-top: 2rem; }
.mt-16   { margin-top: 4rem; }

.space-x-2 > * + * { margin-left: 0.5rem; }

/* ============================================================
   SPACING — GAP
   ============================================================ */
.gap-2  { gap: 0.5rem; }
.gap-4  { gap: 1rem; }
.gap-6  { gap: 1.5rem; }
.gap-8  { gap: 2rem; }
.gap-12 { gap: 3rem; }

/* ============================================================
   GRID TEMPLATES
   ============================================================ */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ============================================================
   TYPOGRAPHY — SIZE
   ============================================================ */
.text-\[10px\] { font-size: 10px; line-height: 1rem; }
.text-xs  { font-size: 0.75rem;   line-height: 1rem; }
.text-sm  { font-size: 0.875rem;  line-height: 1.25rem; }
.text-lg  { font-size: 1.125rem;  line-height: 1.75rem; }
.text-xl  { font-size: 1.25rem;   line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem;    line-height: 2rem; }
.text-4xl { font-size: 2.25rem;   line-height: 2.5rem; }
.text-6xl { font-size: 3.75rem;   line-height: 1; }
.text-7xl { font-size: 4.5rem;    line-height: 1; }
.text-9xl { font-size: 8rem;      line-height: 1; }

/* ============================================================
   TYPOGRAPHY — WEIGHT
   ============================================================ */
.font-light     { font-weight: 300; }
.font-medium    { font-weight: 500; }
.font-semibold  { font-weight: 600; }
.font-bold      { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black     { font-weight: 900; }

/* ============================================================
   TYPOGRAPHY — FAMILY
   ============================================================ */
.font-body,
.font-headline,
.font-label,
.font-\[\'Manrope\'\] { font-family: 'Manrope', system-ui, sans-serif; }

/* ============================================================
   TYPOGRAPHY — LINE HEIGHT
   ============================================================ */
.leading-\[1\.1\]  { line-height: 1.1; }
.leading-tight     { line-height: 1.25; }
.leading-relaxed   { line-height: 1.625; }

/* ============================================================
   TYPOGRAPHY — TRACKING
   ============================================================ */
.tracking-tighter      { letter-spacing: -0.05em; }
.tracking-tight        { letter-spacing: -0.025em; }
.tracking-wider        { letter-spacing: 0.05em; }
.tracking-widest       { letter-spacing: 0.1em; }
.tracking-\[0\.2em\]  { letter-spacing: 0.2em; }

/* ============================================================
   TYPOGRAPHY — MISC
   ============================================================ */
.uppercase          { text-transform: uppercase; }
.text-center        { text-align: center; }
.underline          { text-decoration-line: underline; }
.decoration-2       { text-decoration-thickness: 2px; }
.underline-offset-4 { text-underline-offset: 4px; }
.decoration-\[\#8d141e\] { text-decoration-color: #8d141e; }

/* ============================================================
   COLORS — TEXT
   ============================================================ */
.text-white                    { color: #ffffff; }
.text-primary                  { color: var(--primary); }
.text-secondary                { color: var(--secondary); }
.text-on-surface               { color: var(--on-surface); }
.text-on-background            { color: var(--on-background); }
.text-secondary-fixed          { color: var(--secondary-fixed); }
.text-surface-container-high   { color: var(--surface-container-high); }
.text-surface-container-highest{ color: var(--surface-container-highest); }
.text-on-tertiary-fixed-variant{ color: var(--on-tertiary-fixed-variant); }
.text-\[\#8d141e\]             { color: #8d141e; }
.text-\[\#C8C7D9\]             { color: #C8C7D9; }
.text-\[\#D7D9C4\]             { color: #D7D9C4; }

/* ============================================================
   COLORS — BACKGROUND (solid)
   ============================================================ */
.bg-white                    { background-color: #ffffff; }
.bg-background               { background-color: var(--background); }
.bg-primary                  { background-color: var(--primary); }
.bg-secondary-fixed          { background-color: var(--secondary-fixed); }
.bg-surface-container-lowest { background-color: var(--surface-container-lowest); }
.bg-surface-container-low    { background-color: var(--surface-container-low); }
.bg-surface-container-high   { background-color: var(--surface-container-high); }
.bg-\[\#8d141e\]             { background-color: #8d141e; }
.bg-\[\#69678C\]             { background-color: #69678C; }
.bg-\[\#D7D9C4\]             { background-color: #D7D9C4; }
.bg-\[\#C8C7D9\]             { background-color: #C8C7D9; }
.bg-\[\#292759\]             { background-color: #292759; }

/* ============================================================
   COLORS — BACKGROUND (with opacity)
   ============================================================ */
.bg-white\/70  { background-color: rgba(255,255,255,0.70); }
.bg-white\/30  { background-color: rgba(255,255,255,0.30); }
.bg-white\/20  { background-color: rgba(255,255,255,0.20); }
.bg-white\/10  { background-color: rgba(255,255,255,0.10); }
.bg-\[\#8d141e\]\/10            { background-color: rgba(141,20,30,0.10); }
.bg-on-tertiary-fixed-variant\/10 { background-color: rgba(141,20,30,0.10); }

/* ============================================================
   GRADIENTS
   (Tailwind chains these via CSS vars; we implement the same)
   ============================================================ */
.bg-gradient-to-tr {
  background-image: linear-gradient(
    to top right,
    var(--tw-gradient-from),
    var(--tw-gradient-via, var(--tw-gradient-to)),
    var(--tw-gradient-to)
  );
}
.bg-gradient-to-t {
  background-image: linear-gradient(
    to top,
    var(--tw-gradient-from),
    var(--tw-gradient-via, var(--tw-gradient-to)),
    var(--tw-gradient-to)
  );
}
.from-primary      { --tw-gradient-from: #141143; }
.from-primary\/90  { --tw-gradient-from: rgba(20,17,67,0.90); }
.via-primary-container\/90 { --tw-gradient-via: rgba(41,39,89,0.90); }
.via-primary\/20   { --tw-gradient-via: rgba(20,17,67,0.20); }
.to-transparent    { --tw-gradient-to: transparent; }

/* ============================================================
   OPACITY
   ============================================================ */
.opacity-10  { opacity: 0.10; }
.opacity-20  { opacity: 0.20; }
.opacity-40  { opacity: 0.40; }
.opacity-70  { opacity: 0.70; }
.opacity-90  { opacity: 0.90; }
.opacity-100 { opacity: 1.00; }

/* ============================================================
   BORDER
   ============================================================ */
.border        { border-width: 1px;  border-style: solid; }
.border-b      { border-bottom-width: 1px;  border-bottom-style: solid; }
.border-b-2    { border-bottom-width: 2px;  border-bottom-style: solid; }
.border-t      { border-top-width: 1px;     border-top-style: solid; }
.border-\[20px\] { border-width: 20px; border-style: solid; }

.border-white               { border-color: #ffffff; }
.border-white\/10           { border-color: rgba(255,255,255,0.10); }
.border-white\/20           { border-color: rgba(255,255,255,0.20); }
.border-white\/30           { border-color: rgba(255,255,255,0.30); }
.border-white\/40           { border-color: rgba(255,255,255,0.40); }
.border-primary\/10         { border-color: rgba(20,17,67,0.10); }
.border-outline-variant\/30 { border-color: rgba(200,197,208,0.30); }
.border-\[\#D7D9C4\]\/30   { border-color: rgba(215,217,196,0.30); }
.border-\[\#8d141e\]        { border-color: #8d141e; }

/* ============================================================
   BORDER RADIUS  (values from tailwind config extend)
   ============================================================ */
.rounded        { border-radius: var(--radius); }
.rounded-lg     { border-radius: var(--radius-lg); }
.rounded-xl     { border-radius: var(--radius-xl); }
.rounded-2xl    { border-radius: var(--radius-2xl); }
.rounded-3xl    { border-radius: var(--radius-3xl); }
.rounded-full   { border-radius: var(--radius-full); }
.rounded-bl-\[100px\] { border-bottom-left-radius: 100px; }

/* ============================================================
   SHADOWS
   ============================================================ */
.shadow-xl  { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.10), 0 8px 10px -6px rgba(0,0,0,0.10); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.hover\:shadow-primary\/5:hover { box-shadow: 0 25px 50px -12px rgba(20,17,67,0.05); }
.hover\:shadow-xl:hover  { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.10); }
.hover\:shadow-2xl:hover { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }

/* ============================================================
   FILTERS
   ============================================================ */
.grayscale          { filter: grayscale(100%); }
.brightness-90      { filter: brightness(0.90); }
.backdrop-blur-\[20px\] { backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }

/* ============================================================
   TRANSFORM HELPERS
   (Tailwind 3 uses a combined transform via CSS vars)
   ============================================================ */
.transform,
.-skew-x-12,
.translate-x-24,
.-translate-y-4 {
  transform:
    translateX(var(--tw-translate-x))
    translateY(var(--tw-translate-y))
    rotate(var(--tw-rotate))
    skewX(var(--tw-skew-x))
    skewY(var(--tw-skew-y))
    scaleX(var(--tw-scale-x))
    scaleY(var(--tw-scale-y));
}
.-skew-x-12    { --tw-skew-x: -12deg; }
.translate-x-24 { --tw-translate-x: 6rem; }
.-translate-y-4 { --tw-translate-y: -1rem; }

/* ============================================================
   TRANSITIONS
   ============================================================ */
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.duration-300  { transition-duration: 300ms; }
.duration-500  { transition-duration: 500ms; }
.duration-700  { transition-duration: 700ms; }
.duration-1000 { transition-duration: 1000ms; }
.duration-\[2s\] { transition-duration: 2000ms; }

/* ============================================================
   HOVER STATES
   ============================================================ */
.hover\:scale-105:hover        { transform: scale(1.05); }
.hover\:scale-125:hover        { transform: scale(1.25); }
.hover\:brightness-110:hover   { filter: brightness(1.10); }
.hover\:bg-primary:hover       { background-color: var(--primary); }
.hover\:bg-white\/10:hover     { background-color: rgba(255,255,255,0.10); }
.hover\:bg-\[\#8d141e\]:hover  { background-color: #8d141e; }
.hover\:bg-\[\#c8c9b3\]:hover  { background-color: #c8c9b3; }
.hover\:text-white:hover               { color: #ffffff; }
.hover\:text-\[\#8d141e\]:hover        { color: #8d141e; }
.hover\:text-\[\#D7D9C4\]:hover        { color: #D7D9C4; }
.hover\:translate-x-1:hover            { transform: translateX(0.25rem); }
.hover\:opacity-100:hover              { opacity: 1; }
.hover\:border-white:hover             { border-color: #ffffff; }

/* ============================================================
   ACTIVE STATES
   ============================================================ */
.active\:scale-95:active { transform: scale(0.95); }

/* ============================================================
   GROUP HOVER
   ============================================================ */
.group:hover .group-hover\:scale-110   { transform: scale(1.10); }
.group:hover .group-hover\:scale-125   { transform: scale(1.25); }
.group:hover .group-hover\:grayscale-0 { filter: grayscale(0); }
.group:hover .group-hover\:-translate-y-4 { transform: translateY(-1rem); }
.group:hover .group-hover\:text-\[\#8d141e\] { color: #8d141e; }
.group:hover .group-hover\:shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

/* ============================================================
   RESPONSIVE — md (≥768px)
   ============================================================ */
@media (min-width: 768px) {
  .md\:flex        { display: flex; }
  .md\:block       { display: block; }
  .md\:hidden      { display: none; }
  .md\:flex-row    { flex-direction: row; }
  .md\:items-end   { align-items: flex-end; }
  .md\:min-w-\[65\%\] { min-width: 65%; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ============================================================
   RESPONSIVE — lg (≥1024px)
   ============================================================ */
@media (min-width: 1024px) {
  .lg\:px-12       { padding-left: 3rem; padding-right: 3rem; }
  .lg\:text-7xl    { font-size: 4.5rem; line-height: 1; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:min-w-\[45\%\] { min-width: 45%; }
}

/* ============================================================
   DARK MODE (preserves original dark: classes)
   ============================================================ */
/* ============================================================
   FULL-WIDTH SLIDER
   ============================================================ */

/* ── Container & track ── */
.fullslider-section {
  height: calc(50dvh - var(--nav-h) / 2);
  min-height: 360px;
  position: relative;
  overflow: hidden;
}

/*
  Track is 800% wide (8 slides × 100%).
  We move it via --fs-slide CSS custom property set by JS.
  translateX(-n × 12.5%) = slide n × one-viewport-width.
*/
.fs-track {
  display: flex;
  width: calc(8 * 100%);
  height: 100%;
  transform: translateX(calc(var(--fs-slide, 0) * -12.5%));
  transition: transform 0.72s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}

.fs-slide {
  width: 12.5%; /* 100% / 8 */
  height: 100%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  font-family: 'Manrope', system-ui, sans-serif;
}

/* ── Slide backgrounds ── */
.fs-dark    { background: linear-gradient(135deg, #0e0d30 0%, var(--primary-container) 100%); }
.fs-cream   { background: var(--surface-detail); }
.fs-deep    { background: linear-gradient(135deg, #08071f 0%, #1a1845 100%); }
.fs-highlight { background: linear-gradient(135deg, #0d0b20 0%, #1e060a 100%); }
.fs-course--primary { background: linear-gradient(135deg, #0e0d30 0%, #1d1b52 100%); }
.fs-course--indigo  { background: linear-gradient(135deg, #2e2c50 0%, #4a4870 100%); }
.fs-course--lavender { background: var(--soft-detail); }

/* ── Inner layouts ── */
.fs-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 max(2rem, 6vw);
  gap: 2.5rem;
}
.fs-inner--stats {
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  text-align: center;
  padding: 0 max(2rem, 6vw);
}
.fs-inner--highlight {
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  max-width: 880px;
  padding: 0 max(2rem, 6vw);
}

/* ── Labels ── */
.fs-label {
  display: inline-flex;
  align-items: center;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--wine-red);
  background: rgba(141, 20, 30, 0.14);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}
.fs-label--dark {
  color: var(--primary);
  background: rgba(20, 17, 67, 0.10);
}

/* ── Headlines ── */
.fs-headline {
  font-size: clamp(1.25rem, 2.2vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: white;
  max-width: 560px;
  margin-bottom: 0.75rem;
}
.fs-headline--dark { color: var(--primary); }
.fs-headline--lg   { font-size: clamp(1.375rem, 2.4vw, 2.5rem); }

/* ── Body text ── */
.fs-body {
  font-size: clamp(0.8125rem, 1.2vw, 0.9375rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.68);
  max-width: 480px;
}
.fs-body--dark { color: var(--secondary); }

/* ── Text block ── */
.fs-text-block { flex: 1; max-width: 640px; }
.fs-text-block--center { max-width: 100%; }
.fs-text-block--center .fs-headline {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Decorative large number ── */
.fs-deco { flex-shrink: 0; pointer-events: none; user-select: none; }
.fs-deco--bg {
  position: absolute;
  right: max(1rem, 4vw);
  top: 50%;
  transform: translateY(-50%);
}
.fs-deco-number {
  font-size: clamp(4rem, 11vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
}
.fs-cream .fs-deco-number { color: rgba(20, 17, 67, 0.055); }

/* ── Stats grid (slide 3) ── */
.fs-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}
.fs-stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  border-top: 3px solid var(--wine-red);
  text-align: left;
}
.fs-stat-number {
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: white;
  line-height: 1;
}
.fs-stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

/* ── Split slide (slide 4) ── */
.fs-split .fs-inner { padding: 0; gap: 0; }
.fs-split-left {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem max(2rem, 5vw);
  background: var(--primary);
}
.fs-split-left .fs-headline { color: white; }
.fs-split-left .fs-body     { color: rgba(255, 255, 255, 0.65); }
.fs-split-right {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2rem;
  background: var(--surface-container-low);
}

/* Pattern cards inside right panel */
.fs-pattern-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
  width: 100%;
  max-width: 420px;
}
.fp-card {
  padding: 0.65rem 1rem;
  background: white;
  border-radius: 0.625rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(20, 17, 67, 0.07);
  border-left: 3px solid var(--wine-red);
  transition: transform 0.2s, box-shadow 0.2s;
}
.fp-card:hover { transform: translateX(4px); box-shadow: 0 6px 20px rgba(20,17,67,0.12); }

/* ── Highlight slide (slide 5) ── */
.fs-highlight-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: white;
  background: var(--wine-red);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
}
.fs-highlight-client {
  font-size: clamp(0.8125rem, 1.2vw, 0.9375rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.fs-highlight-results {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.fs-result { display: flex; flex-direction: column; gap: 0.15rem; }
.fs-result span {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--wine-red);
  line-height: 1;
}
.fs-result small {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  font-style: normal;
  line-height: 1.3;
}

/* ── Course slides (6-8) ── */
.fs-course-content { max-width: 780px; width: 100%; }
.fs-course-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}
.fs-course-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}
.fs-course-badge--dark {
  color: var(--secondary);
  border-color: rgba(20, 17, 67, 0.20);
}
.fs-course-name {
  font-size: clamp(1.25rem, 2.2vw, 2.125rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: white;
  margin-bottom: 0.6rem;
}
.fs-course-name--dark { color: var(--primary); }

.fs-course-date {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--wine-red);
  background: rgba(141, 20, 30, 0.12);
  padding: 0.4rem 0.9rem;
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
}

/* ── CTA button ── */
.fs-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 0.9rem 2.25rem;
  background: var(--wine-red);
  color: white;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 0.5rem;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.fs-cta:hover {
  background: #7a1119;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(141,20,30,0.35);
}
.fs-cta--dark { background: var(--primary); }
.fs-cta--dark:hover { background: #1d1b52; box-shadow: 0 8px 24px rgba(20,17,67,0.35); }

/* ── Navigation arrows ── */
.fslider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.fslider-arrow:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.07);
}
.fslider-arrow--prev { left: 1.5rem; }
.fslider-arrow--next { right: 1.5rem; }

/* ── Slide counter ── */
.fs-counter {
  position: absolute;
  top: 1.75rem;
  right: 2rem;
  z-index: 20;
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.8125rem;
}
#fs-current-num { color: white; font-size: 1.125rem; }
.fs-counter-sep { margin: 0 0.1rem; }

/* ── Dots ── */
.fslider-dots {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 20;
}
.fslider-dot,
.fs-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.30);
  border: none;
  cursor: pointer;
  transition: background 0.25s, width 0.3s;
  padding: 0;
}
.fslider-dot.fs-active,
.fs-dot.fs-dot--active { background: white; width: 24px; }

/* ── Progress bar ── */
.fslider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 20;
}
.fslider-progress-bar {
  height: 100%;
  background: var(--wine-red);
  width: 0%;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .fs-inner { padding: 0 3rem; gap: 2.5rem; }
}
@media (max-width: 768px) {
  .fs-inner          { padding: 0 1.5rem; gap: 2rem; }
  .fs-inner--stats   { padding: 0 1.5rem; }
  .fs-inner--highlight { padding: 0 1.5rem; }
  .fs-deco           { display: none; }
  .fs-deco--bg       { display: none; }
  .fs-stats-grid     { grid-template-columns: 1fr; gap: 1rem; }
  .fs-highlight-results { gap: 1.5rem; }
  .fslider-arrow     { display: none; }
  .fs-counter        { top: 1rem; right: 1rem; }
  /* Split slide: stack vertically */
  .fs-split .fs-inner { flex-direction: column; }
  .fs-split-left,
  .fs-split-right    { flex: none; width: 100%; height: 50%; }
  .fs-split-left     { padding: 2rem 1.5rem 1rem; }
  .fs-split-right    { padding: 1rem 1.5rem 2rem; }
  .fs-pattern-grid   { grid-template-columns: repeat(3, 1fr); max-width: 100%; }
  .fp-card           { font-size: 0.75rem; padding: 0.75rem; }
}
@media (max-width: 480px) {
  .fs-stats-grid { grid-template-columns: 1fr 1fr; }
  .fs-stat:last-child { grid-column: span 2; }
  .fs-pattern-grid { grid-template-columns: 1fr 1fr; }
  .fs-highlight-results { gap: 1rem; }
}

.dark .dark\:bg-slate-950    { background-color: #020617; }
.dark .dark\:bg-slate-950\/70 { background-color: rgba(2,6,23,0.70); }
.dark .dark\:text-white      { color: #ffffff; }
.dark .dark\:text-slate-400  { color: #94a3b8; }

/* ============================================================
   MISSING UTILITIES
   ============================================================ */
.space-y-8 > * + * { margin-top: 2rem; }
.h-px               { height: 1px; }
.bg-outline-variant\/30 { background-color: rgba(200,197,208,0.30); }

/* text with opacity */
.text-primary\/60    { color: rgba(20,17,67,0.60); }
.text-white\/20      { color: rgba(255,255,255,0.20); }
.text-white\/60      { color: rgba(255,255,255,0.60); }
.text-white\/80      { color: rgba(255,255,255,0.80); }
.text-surface-container-high\/90 { color: rgba(232,230,249,0.90); }
.hover\:bg-\[\#c8c9b3\]:hover { background-color: #c8c9b3; }

/* ============================================================
   HERO MEDIA — layered image / video interaction
   ============================================================ */

/*
  Three layers share the same absolute footprint.
  Opacity is the only property animated — no layout shifts.
*/
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* isolate stacking context so layers don't bleed out */
  isolation: isolate;
}

.hero-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  /* separate transitions per layer allow asymmetric timing */
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity; /* hint GPU compositing — avoids repaint */
}

/* Layer 1 — visible by default */
#hero-start  { opacity: 1; filter: grayscale(30%); }

/* Layer 2 — video, hidden until hover */
#hero-video  { opacity: 0; }

/* Layer 3 — final frame, hidden until video ends */
#hero-end    { opacity: 0; }

/* Gradient always on top for text legibility */
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top right,
    var(--primary) 0%,
    rgba(41, 39, 89, 0.88) 45%,
    transparent 100%
  );
  pointer-events: none; /* let clicks pass through to section */
}

/* ── Interaction states (set by JS via data-state attribute) ── */

/* Playing: image fades out, video fades in */
.hero-media[data-state="playing"] #hero-start { opacity: 0; }
.hero-media[data-state="playing"] #hero-video { opacity: 1; }

/* Finished: video fades out, final frame fades in */
.hero-media[data-state="finished"] #hero-start { opacity: 0; }
.hero-media[data-state="finished"] #hero-video { opacity: 0; transition-duration: 0.3s; }
.hero-media[data-state="finished"] #hero-end   { opacity: 1; }

/* ============================================================
   HERO SECTION — exact viewport fit
   ============================================================ */
.hero-section {
  position: relative;
  height: calc(100dvh - var(--nav-h));
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Scroll-down cue — Norman: feedback signals discoverable content */
.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  color: rgba(255,255,255,0.40);
  cursor: pointer;
  animation: cue-bounce 2.4s ease-in-out infinite;
  transition: color 0.2s;
  background: none;
  border: none;
  padding: 0;
}
.scroll-cue:hover { color: rgba(255,255,255,0.75); }
.scroll-cue span {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
@keyframes cue-bounce {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) translateY(0); }
  50%       { opacity: 1;   transform: translateX(-50%) translateY(7px); }
}

/* ============================================================
   CAROUSEL SECTION — exact viewport fit
   ============================================================ */
.carousel-section {
  height: calc(100dvh - var(--nav-h));
  min-height: 520px;
  overflow: hidden;
  background: rgba(255,255,255,0.30);
  display: flex;
  flex-direction: column;
}

.carousel-header {
  flex-shrink: 0;
  padding: 2.5rem 2rem 1.5rem;
  max-width: 1536px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.carousel-track {
  flex: 1;
  min-height: 0;
  padding: 0 2rem 2rem;
  max-width: 1536px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.carousel-track .carousel-container {
  height: 100%;
}

.carousel-slide {
  height: 100%;
}

.carousel-card {
  height: 100%;
}

/* ============================================================
   NAV — mobile menu
   ============================================================ */
.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo-img {
  height: 2.25rem;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-toggle-btn {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  color: var(--primary);
  transition: background 0.2s;
  cursor: pointer;
  border: none;
  background: none;
}
.nav-toggle-btn:hover { background: rgba(20,17,67,0.06); }

.nav-cta-desktop {
  display: none;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, var(--wine-red), #6b0f17);
  color: white;
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: var(--radius-lg);
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}
.nav-cta-desktop:hover { opacity: 0.88; transform: translateY(-1px); }

.nav-mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(251,248,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.5rem 2rem 1.5rem;
  flex-direction: column;
  border-top: 1px solid rgba(215,217,196,0.30);
  box-shadow: 0 12px 32px rgba(20,17,67,0.07);
}
.nav-mobile-menu a {
  display: block;
  padding: 0.875rem 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--secondary);
  border-bottom: 1px solid rgba(200,197,208,0.20);
  transition: color 0.2s;
}
.nav-mobile-menu a:last-of-type { border-bottom: none; }
.nav-mobile-menu a:hover { color: var(--wine-red); }
.nav-mobile-menu a.nav-active { color: var(--wine-red); font-weight: 700; }
.nav-mobile-menu .nav-mobile-cta {
  display: block;
  margin-top: 1.25rem;
  padding: 0.875rem;
  text-align: center;
  background: linear-gradient(135deg, var(--wine-red), #6b0f17);
  color: white;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: var(--radius-lg);
}
.nav-mobile-menu.nav-open { display: flex; }

@media (min-width: 768px) {
  .nav-cta-desktop  { display: inline-flex; align-items: center; }
  .nav-toggle-btn   { display: none; }
}
@media (max-width: 767px) {
  .nav-toggle-btn   { display: flex; }
  .carousel-header  { padding: 1.75rem 1.25rem 1rem; }
  .carousel-track   { padding: 0 1.25rem 1.25rem; }
}
