/* ============================================================
   NOLNUKE — Financial Education Workshop
   Style System: Cutout Layers Design Concept
   ============================================================ */

/* --- Custom Properties --- */
:root {
  /* Colors */
  --clr-bg:          #0d0f1a;
  --clr-bg-alt:      #13162a;
  --clr-surface:     #1a1e35;
  --clr-surface-2:   #222740;
  --clr-primary:     #2e5fff;
  --clr-primary-lt:  #5a82ff;
  --clr-accent:      #f0c040;
  --clr-accent-lt:   #f7d96b;
  --clr-teal:        #00c9a7;
  --clr-teal-lt:     #4ddec6;
  --clr-text:        #e8eaf2;
  --clr-text-muted:  #9aa0be;
  --clr-text-dim:    #5c6280;
  --clr-border:      rgba(255,255,255,0.08);
  --clr-border-lt:   rgba(255,255,255,0.14);
  --clr-white:       #f4f6ff;

  /* Shadows — consistent top-left light source */
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.35), 0 1px 3px rgba(0,0,0,0.25);
  --shadow-md:   0 6px 24px rgba(0,0,0,0.45), 0 2px 8px rgba(0,0,0,0.3);
  --shadow-lg:   0 16px 48px rgba(0,0,0,0.55), 0 4px 16px rgba(0,0,0,0.35);
  --shadow-xl:   0 28px 72px rgba(0,0,0,0.65), 0 8px 24px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 32px rgba(46,95,255,0.25), 0 0 8px rgba(46,95,255,0.15);
  --shadow-accent-glow: 0 0 24px rgba(240,192,64,0.3);

  /* Spacing scale */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* Border radius scale */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-xl:   32px;
  --r-2xl:  48px;
  --r-full: 9999px;

  /* Typography */
  --font-head: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Transitions */
  --t-fast: 150ms ease;
  --t-base: 250ms ease;
  --t-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --max-w: 1200px;
  --nav-h: 72px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-base);
}

ul, ol { list-style: none; }

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

button { cursor: pointer; border: none; background: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  color: var(--clr-white);
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

@media (min-width: 768px) {
  .container { padding-inline: var(--sp-8); }
}
@media (min-width: 1200px) {
  .container { padding-inline: var(--sp-12); }
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--t-slow), box-shadow var(--t-slow);
}

.site-header.scrolled {
  background: rgba(13,15,26,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--clr-border), var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

@media (min-width: 768px) { .nav-inner { padding-inline: var(--sp-8); } }
@media (min-width: 1200px) { .nav-inner { padding-inline: var(--sp-12); } }

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}

.nav-logo img,
.nav-logo svg {
  height: 36px;
  width: auto;
}

.nav-logo-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--clr-white);
  letter-spacing: -0.02em;
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--sp-8);
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  transition: color var(--t-base);
  position: relative;
  padding-block: var(--sp-2);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-accent);
  border-radius: var(--r-full);
  transition: width var(--t-slow);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--clr-white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border-lt);
  border-radius: var(--r-full);
  padding: 4px 6px;
}

.lang-btn {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--clr-text-muted);
  padding: 4px 10px;
  border-radius: var(--r-full);
  transition: background var(--t-base), color var(--t-base);
}

.lang-btn:hover { color: var(--clr-white); }

.lang-btn.active {
  background: var(--clr-primary);
  color: var(--clr-white);
  box-shadow: var(--shadow-glow);
}

.lang-divider {
  color: var(--clr-text-dim);
  font-size: 0.75rem;
  line-height: 1;
}

/* Hamburger */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: var(--sp-2);
  border-radius: var(--r-md);
  transition: background var(--t-base);
}

@media (min-width: 900px) { .nav-hamburger { display: none; } }

.nav-hamburger:hover { background: var(--clr-surface); }

.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--clr-text);
  border-radius: var(--r-full);
  transition: transform var(--t-slow), opacity var(--t-base), width var(--t-slow);
  transform-origin: center;
}

.nav-hamburger span:nth-child(2) { width: 70%; }

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu Panel */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 800;
  display: flex;
  flex-direction: column;
  background: rgba(13,15,26,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding-top: var(--nav-h);
  transform: translateX(100%);
  transition: transform var(--t-slow);
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu-inner {
  padding: var(--sp-8) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  flex: 1;
}

.mobile-menu a {
  display: block;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-text-muted);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--clr-border);
  transition: color var(--t-base), padding-left var(--t-slow);
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--clr-white);
  padding-left: var(--sp-4);
}

.mobile-menu .lang-switcher {
  margin-top: var(--sp-8);
  align-self: flex-start;
}

/* Bottom Tab Bar — Mobile */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 850;
  background: rgba(19,22,42,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--clr-border-lt);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.5);
}

@media (max-width: 899px) { .bottom-nav { display: flex; } }

.bottom-nav-items {
  display: flex;
  width: 100%;
}

.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 4px;
  min-height: 60px;
  color: var(--clr-text-dim);
  transition: color var(--t-base);
  text-decoration: none;
}

.bottom-nav-item i {
  font-size: 1.2rem;
  transition: transform var(--t-spring);
}

.bottom-nav-item span {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
  color: var(--clr-accent);
}

.bottom-nav-item.active i {
  transform: scale(1.15);
}

/* Body padding for bottom nav on mobile */
@media (max-width: 899px) {
  body { padding-bottom: 60px; }
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--clr-bg);
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.18;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(46,95,255,0.18) 0%, transparent 70%),
    linear-gradient(180deg, rgba(13,15,26,0.3) 0%, rgba(13,15,26,0.7) 60%, var(--clr-bg) 100%);
}

/* Cutout shape overlay */
.hero-cutout {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-cutout::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 200px;
  background: var(--clr-bg);
  clip-path: ellipse(60% 100% at 50% 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: var(--sp-32) var(--sp-6) var(--sp-20);
  max-width: 900px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-accent);
  background: rgba(240,192,64,0.1);
  border: 1px solid rgba(240,192,64,0.25);
  border-radius: var(--r-full);
  padding: var(--sp-2) var(--sp-5);
  margin-bottom: var(--sp-8);
}

.hero-eyebrow i { font-size: 0.75rem; }

.hero-title {
  font-size: clamp(3.5rem, 12vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--clr-white);
  margin-bottom: var(--sp-8);
}

.hero-title .accent-word {
  color: var(--clr-accent);
  position: relative;
  display: inline-block;
}

.hero-title .accent-word::after {
  content: '';
  position: absolute;
  bottom: 0.05em;
  left: 0;
  right: 0;
  height: 0.06em;
  background: var(--clr-accent);
  border-radius: var(--r-full);
  opacity: 0.5;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--clr-text-muted);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: var(--sp-12);
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--r-full);
  transition: transform var(--t-spring), box-shadow var(--t-slow), background var(--t-base), color var(--t-base), border-color var(--t-base);
  min-height: 52px;
  letter-spacing: 0.01em;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--clr-primary);
  color: var(--clr-white);
  box-shadow: var(--shadow-glow), var(--shadow-md);
}

.btn-primary:hover {
  background: var(--clr-primary-lt);
  box-shadow: 0 0 40px rgba(46,95,255,0.4), var(--shadow-lg);
}

.btn-ghost {
  background: transparent;
  color: var(--clr-white);
  border: 1.5px solid var(--clr-border-lt);
}

.btn-ghost:hover {
  background: var(--clr-surface);
  border-color: var(--clr-primary-lt);
  color: var(--clr-primary-lt);
}

.btn-accent {
  background: var(--clr-accent);
  color: var(--clr-bg);
  box-shadow: var(--shadow-accent-glow), var(--shadow-md);
}

.btn-accent:hover {
  background: var(--clr-accent-lt);
  box-shadow: 0 0 40px rgba(240,192,64,0.45), var(--shadow-lg);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: var(--clr-text-dim);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}

.hero-scroll i { font-size: 1rem; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   SECTION — INTRO STRIP (cutout layer)
   ============================================================ */

.intro-strip {
  position: relative;
  background: var(--clr-accent);
  padding: var(--sp-16) var(--sp-6);
  clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
  padding-bottom: calc(var(--sp-16) + 60px);
  overflow: hidden;
}

.intro-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../images/workshop-participants.jpg") center/cover no-repeat;
  opacity: 0.08;
}

.intro-strip-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}

.intro-strip h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--clr-bg);
  margin-bottom: var(--sp-5);
  letter-spacing: -0.03em;
}

.intro-strip p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(13,15,26,0.75);
  line-height: 1.7;
}

/* ============================================================
   SECTION LABELS
   ============================================================ */

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-primary-lt);
  margin-bottom: var(--sp-5);
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-primary);
  border-radius: var(--r-full);
}

.section-label.accent { color: var(--clr-accent); }
.section-label.accent::before { background: var(--clr-accent); }

.section-label.teal { color: var(--clr-teal); }
.section-label.teal::before { background: var(--clr-teal); }

/* Section heading */
.section-heading {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--clr-white);
  margin-bottom: var(--sp-5);
  line-height: 1.15;
}

.section-heading em {
  font-style: normal;
  color: var(--clr-accent);
}

.section-intro {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: var(--sp-12);
}

/* ============================================================
   ACCORDION SERVICES
   ============================================================ */

.services-section {
  position: relative;
  padding: var(--sp-24) 0;
  background: var(--clr-bg-alt);
  overflow: hidden;
}

/* Cutout window revealing bg below */
.services-section::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: min(600px, 90vw);
  height: 160px;
  background: var(--clr-bg);
  border-radius: 50%;
  z-index: 0;
}

.services-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: min(500px, 80vw);
  height: 160px;
  background: var(--clr-bg);
  border-radius: 50%;
  z-index: 0;
}

.services-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}

@media (min-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-6) var(--sp-8);
    align-items: start;
  }
}

.services-intro {
  margin-bottom: var(--sp-12);
}

/* Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.accordion-item {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.accordion-item.open {
  border-color: var(--clr-primary);
  box-shadow: var(--shadow-glow), var(--shadow-md);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  text-align: left;
  background: none;
  cursor: pointer;
  transition: background var(--t-base);
}

.accordion-trigger:hover { background: rgba(255,255,255,0.03); }

.accordion-icon-wrap {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: var(--clr-surface-2);
  font-size: 1.1rem;
  color: var(--clr-primary-lt);
  transition: background var(--t-base), color var(--t-base), transform var(--t-spring);
}

.accordion-item.open .accordion-icon-wrap {
  background: var(--clr-primary);
  color: var(--clr-white);
  transform: scale(1.05);
}

.accordion-title {
  flex: 1;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-white);
}

.accordion-chevron {
  flex-shrink: 0;
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  transition: transform var(--t-slow), color var(--t-base);
}

.accordion-item.open .accordion-chevron {
  transform: rotate(180deg);
  color: var(--clr-primary-lt);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow);
}

.accordion-body-inner {
  padding: 0 var(--sp-6) var(--sp-6);
  padding-left: calc(var(--sp-6) + 44px + var(--sp-4));
}

.accordion-body-inner p {
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
}

/* Services image column */
.services-image-col {
  display: none;
}

@media (min-width: 900px) {
  .services-image-col {
    display: block;
    position: sticky;
    top: calc(var(--nav-h) + var(--sp-8));
  }
}

.services-image-stack {
  position: relative;
  height: 480px;
}

.services-img-main {
  position: absolute;
  top: 0;
  left: 0;
  right: 40px;
  bottom: 40px;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.services-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-img-accent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--clr-bg-alt);
}

.services-img-accent img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */

.how-section {
  position: relative;
  padding: var(--sp-24) 0;
  background: var(--clr-bg);
  overflow: hidden;
}

/* Large circular cutout revealing accent color layer */
.how-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -200px;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(46,95,255,0.06);
  pointer-events: none;
}

.how-section::after {
  content: '';
  position: absolute;
  top: 20%;
  right: -150px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(240,192,64,0.05);
  pointer-events: none;
}

.how-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .how-steps { grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
}

.how-step {
  position: relative;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  overflow: hidden;
  transition: transform var(--t-spring), border-color var(--t-base), box-shadow var(--t-slow);
}

.how-step:hover {
  transform: translateY(-6px);
  border-color: var(--clr-primary);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

/* Cutout circle in step card */
.how-step::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(46,95,255,0.08);
  transition: background var(--t-base);
}

.how-step:nth-child(2)::before { background: rgba(240,192,64,0.08); }
.how-step:nth-child(3)::before { background: rgba(0,201,167,0.08); }

.how-step:hover::before { opacity: 1.5; }

.step-number {
  font-family: var(--font-head);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--clr-border);
  margin-bottom: var(--sp-4);
  letter-spacing: -0.05em;
  transition: color var(--t-base);
}

.how-step:hover .step-number { color: rgba(46,95,255,0.2); }
.how-step:nth-child(2):hover .step-number { color: rgba(240,192,64,0.2); }
.how-step:nth-child(3):hover .step-number { color: rgba(0,201,167,0.2); }

.step-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--clr-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--clr-primary-lt);
  margin-bottom: var(--sp-5);
  transition: background var(--t-base), color var(--t-base);
}

.how-step:nth-child(2) .step-icon { color: var(--clr-accent); }
.how-step:nth-child(3) .step-icon { color: var(--clr-teal); }

.how-step:hover .step-icon {
  background: var(--clr-primary);
  color: var(--clr-white);
}

.how-step:nth-child(2):hover .step-icon {
  background: var(--clr-accent);
  color: var(--clr-bg);
}

.how-step:nth-child(3):hover .step-icon {
  background: var(--clr-teal);
  color: var(--clr-bg);
}

.step-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: var(--sp-3);
}

.step-desc {
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
}

/* ============================================================
   FEATURE BLOCK (Cutout image reveal)
   ============================================================ */

.feature-block {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--clr-surface);
}

.feature-block-bg {
  position: absolute;
  inset: 0;
}

.feature-block-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
}

.feature-block-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--clr-surface) 40%, transparent 100%);
}

/* Cutout circle revealing image */
.feature-block-cutout {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  width: clamp(280px, 40vw, 520px);
  height: clamp(280px, 40vw, 520px);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 0 8px var(--clr-border-lt), 0 0 0 16px rgba(46,95,255,0.1);
  z-index: 2;
  display: none;
}

@media (min-width: 900px) { .feature-block-cutout { display: block; } }

.feature-block-cutout img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-block-content {
  position: relative;
  z-index: 3;
  max-width: 600px;
  padding: var(--sp-20) 0;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
}

.feature-list-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
  background: rgba(46,95,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--clr-primary-lt);
  margin-top: 2px;
}

.feature-list-text strong {
  display: block;
  font-weight: 600;
  color: var(--clr-white);
  margin-bottom: 2px;
  font-size: 0.95rem;
}

.feature-list-text span {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

/* ============================================================
   CAROUSEL / SPLIDE
   ============================================================ */

.carousel-section {
  position: relative;
  padding: var(--sp-24) 0;
  background: var(--clr-bg-alt);
  overflow: hidden;
}

.carousel-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: var(--clr-bg);
  clip-path: ellipse(55% 100% at 50% 0%);
}

.splide__slide {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  transition: border-color var(--t-base), box-shadow var(--t-slow);
}

.splide__slide:hover {
  border-color: var(--clr-primary);
  box-shadow: var(--shadow-glow);
}

.slide-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--clr-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--clr-accent);
  margin-bottom: var(--sp-5);
}

.slide-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: var(--sp-3);
}

.slide-text {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
}

.splide__pagination__page {
  background: var(--clr-text-dim);
  transition: background var(--t-base), transform var(--t-base);
}

.splide__pagination__page.is-active {
  background: var(--clr-primary);
  transform: scale(1.3);
}

.splide__arrow {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border-lt);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: background var(--t-base), border-color var(--t-base);
}

.splide__arrow:hover {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
}

.splide__arrow svg { fill: var(--clr-text); }
.splide__arrow:hover svg { fill: var(--clr-white); }

/* ============================================================
   CTA BAND
   ============================================================ */

.cta-band {
  position: relative;
  padding: var(--sp-24) 0;
  background: var(--clr-primary);
  overflow: hidden;
  clip-path: polygon(0 8%, 100% 0%, 100% 92%, 0% 100%);
  margin-block: -40px;
  padding-block: calc(var(--sp-24) + 40px);
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(0,0,0,0.15) 0%, transparent 50%);
}

.cta-band-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
}

.cta-band h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--clr-white);
  margin-bottom: var(--sp-5);
  letter-spacing: -0.03em;
}

.cta-band p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--sp-10);
  line-height: 1.7;
}

.cta-band .btn-ghost {
  border-color: rgba(255,255,255,0.5);
  color: var(--clr-white);
}

.cta-band .btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--clr-white);
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--clr-bg);
  border-top: 1px solid var(--clr-border);
  padding-top: var(--sp-16);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  padding-bottom: var(--sp-12);
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  margin-top: var(--sp-4);
  max-width: 280px;
}

.footer-col-title {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text-dim);
  margin-bottom: var(--sp-5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  transition: color var(--t-base), padding-left var(--t-slow);
}

.footer-links a:hover {
  color: var(--clr-white);
  padding-left: var(--sp-2);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.footer-contact-item i {
  color: var(--clr-primary-lt);
  font-size: 0.9rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-item span {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.5;
}

.footer-contact-item a {
  color: var(--clr-text-muted);
  transition: color var(--t-base);
}

.footer-contact-item a:hover { color: var(--clr-primary-lt); }

.footer-bottom {
  border-top: 1px solid var(--clr-border);
  padding: var(--sp-6) 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
  justify-content: space-between;
}

.footer-bottom-copy {
  font-size: 0.82rem;
  color: var(--clr-text-dim);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
}

.footer-legal-links a {
  font-size: 0.82rem;
  color: var(--clr-text-dim);
  transition: color var(--t-base);
}

.footer-legal-links a:hover { color: var(--clr-text-muted); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */

.page-hero {
  position: relative;
  padding-top: calc(var(--nav-h) + var(--sp-16));
  padding-bottom: var(--sp-16);
  background: var(--clr-bg-alt);
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--clr-bg);
  clip-path: ellipse(60% 100% at 50% 100%);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.06;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.page-hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-5);
}

.page-hero-content p {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  line-height: 1.75;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

.about-section {
  padding: var(--sp-20) 0;
  background: var(--clr-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: center;
}

@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}

.about-image-frame {
  position: relative;
}

.about-image-main {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image-main img {
  width: 100%;
  height: clamp(300px, 50vw, 480px);
  object-fit: cover;
}

/* Cutout badge */
.about-badge {
  position: absolute;
  bottom: -var(--sp-6);
  right: -var(--sp-4);
  background: var(--clr-accent);
  border-radius: var(--r-lg);
  padding: var(--sp-5) var(--sp-6);
  box-shadow: var(--shadow-lg), var(--shadow-accent-glow);
  text-align: center;
  min-width: 120px;
}

@media (min-width: 480px) {
  .about-badge {
    bottom: -24px;
    right: -24px;
  }
}

.about-badge-number {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--clr-bg);
  line-height: 1;
}

.about-badge-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(13,15,26,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.about-text p {
  font-size: 1rem;
  color: var(--clr-text-muted);
  line-height: 1.8;
  margin-bottom: var(--sp-5);
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}

.value-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  transition: border-color var(--t-base), transform var(--t-spring);
}

.value-card:hover {
  border-color: var(--clr-primary);
  transform: translateY(-3px);
}

.value-card i {
  font-size: 1.3rem;
  color: var(--clr-accent);
  margin-bottom: var(--sp-3);
}

.value-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: var(--sp-2);
}

.value-card p {
  font-size: 0.82rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Team */
.team-section {
  padding: var(--sp-20) 0;
  background: var(--clr-bg-alt);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-6);
  margin-top: var(--sp-12);
}

.team-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform var(--t-spring), box-shadow var(--t-slow), border-color var(--t-base);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--clr-primary);
}

.team-card-image {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.team-card:hover .team-card-image img { transform: scale(1.05); }

/* Cutout circle at bottom of image */
.team-card-image::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: var(--clr-surface);
  border-radius: 50%;
}

.team-card-body {
  padding: var(--sp-5) var(--sp-6) var(--sp-6);
  text-align: center;
}

.team-card-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: var(--sp-1);
}

.team-card-role {
  font-size: 0.82rem;
  color: var(--clr-primary-lt);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-4);
}

.team-card-bio {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  line-height: 1.65;
}

/* ============================================================
   CONCEPTOS BASICOS PAGE
   ============================================================ */

.concepts-section {
  padding: var(--sp-20) 0;
  background: var(--clr-bg);
}

.concepts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  margin-top: var(--sp-12);
}

@media (min-width: 768px) {
  .concepts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
  .concepts-grid { grid-template-columns: repeat(3, 1fr); }
}

.concept-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  position: relative;
  overflow: hidden;
  transition: transform var(--t-spring), border-color var(--t-base), box-shadow var(--t-slow);
}

.concept-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(46,95,255,0.06);
  transition: background var(--t-base);
}

.concept-card:nth-child(2)::before { background: rgba(240,192,64,0.06); }
.concept-card:nth-child(3)::before { background: rgba(0,201,167,0.06); }
.concept-card:nth-child(4)::before { background: rgba(240,192,64,0.06); }
.concept-card:nth-child(5)::before { background: rgba(0,201,167,0.06); }
.concept-card:nth-child(6)::before { background: rgba(46,95,255,0.06); }

.concept-card:hover {
  transform: translateY(-5px);
  border-color: var(--clr-primary);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.concept-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-lg);
  background: var(--clr-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--clr-primary-lt);
  margin-bottom: var(--sp-6);
  transition: background var(--t-base), color var(--t-base);
}

.concept-card:nth-child(2) .concept-card-icon { color: var(--clr-accent); }
.concept-card:nth-child(3) .concept-card-icon { color: var(--clr-teal); }
.concept-card:nth-child(4) .concept-card-icon { color: var(--clr-accent); }
.concept-card:nth-child(5) .concept-card-icon { color: var(--clr-teal); }

.concept-card:hover .concept-card-icon {
  background: var(--clr-primary);
  color: var(--clr-white);
}

.concept-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: var(--sp-3);
}

.concept-card-text {
  font-size: 0.92rem;
  color: var(--clr-text-muted);
  line-height: 1.75;
}

/* Concepts image block */
.concepts-image-block {
  position: relative;
  padding: var(--sp-20) 0;
  background: var(--clr-bg-alt);
  overflow: hidden;
}

.concepts-image-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--clr-bg);
  clip-path: ellipse(55% 100% at 50% 0%);
}

.concepts-image-block::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--clr-bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.concepts-image-wrap {
  position: relative;
  z-index: 1;
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  max-height: 480px;
}

.concepts-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 480px;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-section {
  padding: var(--sp-20) 0;
  background: var(--clr-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
}

@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.4fr; }
}

.contact-info-col h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: var(--sp-6);
  color: var(--clr-white);
}

.contact-info-col p {
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  line-height: 1.75;
  margin-bottom: var(--sp-8);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-5);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  transition: border-color var(--t-base);
}

.contact-detail-item:hover { border-color: var(--clr-primary); }

.contact-detail-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--clr-surface-2);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--clr-primary-lt);
}

.contact-detail-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-text-dim);
  margin-bottom: 3px;
}

.contact-detail-value {
  font-size: 0.95rem;
  color: var(--clr-text);
  font-weight: 500;
}

.contact-detail-value a {
  color: var(--clr-text);
  transition: color var(--t-base);
}

.contact-detail-value a:hover { color: var(--clr-primary-lt); }

/* Contact Form */
.contact-form-wrap {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-2xl);
  padding: var(--sp-10);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: var(--sp-6);
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-2);
  letter-spacing: 0.04em;
}

.form-control {
  width: 100%;
  background: var(--clr-bg-alt);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--r-md);
  padding: 14px 16px;
  color: var(--clr-white);
  font-size: 0.95rem;
  transition: border-color var(--t-base), box-shadow var(--t-base), background var(--t-base);
  min-height: 52px;
}

.form-control::placeholder { color: var(--clr-text-dim); }

.form-control:focus {
  outline: none;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(46,95,255,0.15);
  background: var(--clr-bg);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

/* intl-tel-input override */
.iti, #phone { width: 100%; }
.iti__flag-container { z-index: 10; }
.iti__selected-flag { background: transparent !important; }
.iti__country-list {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border-lt);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
}
.iti__country.iti__highlight,
.iti__country:hover { background: var(--clr-surface-2); }
.iti__country-name, .iti__dial-code { color: var(--clr-text); }

/* Checkbox */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  cursor: pointer;
}

.form-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid var(--clr-border-lt);
  border-radius: var(--r-sm);
  background: var(--clr-bg-alt);
  cursor: pointer;
  transition: border-color var(--t-base), background var(--t-base);
  margin-top: 2px;
  position: relative;
}

.form-check input[type="checkbox"]:checked {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
}

.form-check input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 6px;
  width: 5px;
  height: 9px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.form-check-label {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  line-height: 1.5;
}

.form-check-label a {
  color: var(--clr-primary-lt);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Map */
.map-section {
  padding: var(--sp-16) 0 var(--sp-20);
  background: var(--clr-bg);
}

.map-wrap {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--clr-border);
  height: 400px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: invert(90%) hue-rotate(180deg);
}

/* ============================================================
   THANKS PAGE
   ============================================================ */

.thanks-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-bg);
  padding: var(--sp-20) var(--sp-6);
}

.thanks-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-2xl);
  padding: var(--sp-16) var(--sp-12);
  text-align: center;
  max-width: 560px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.thanks-card::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(46,95,255,0.08);
}

.thanks-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0,201,167,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--clr-teal);
  margin: 0 auto var(--sp-8);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 32px rgba(0,201,167,0.2);
}

.thanks-card h1 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  margin-bottom: var(--sp-5);
  position: relative;
  z-index: 1;
}

.thanks-card p {
  font-size: 1rem;
  color: var(--clr-text-muted);
  line-height: 1.75;
  margin-bottom: var(--sp-10);
  position: relative;
  z-index: 1;
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */

.legal-section {
  padding: var(--sp-20) 0 var(--sp-24);
  background: var(--clr-bg);
}

.legal-content {
  max-width: 760px;
}

.legal-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-top: var(--sp-10);
  margin-bottom: var(--sp-4);
}

.legal-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--clr-white);
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-3);
}

.legal-content p {
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  line-height: 1.8;
  margin-bottom: var(--sp-5);
}

.legal-content ul {
  list-style: disc;
  padding-left: var(--sp-6);
  margin-bottom: var(--sp-5);
}

.legal-content ul li {
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  line-height: 1.75;
  margin-bottom: var(--sp-2);
}

.legal-date {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--clr-text-dim);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-full);
  padding: var(--sp-2) var(--sp-5);
  margin-bottom: var(--sp-10);
}

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(19,22,42,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--clr-border-lt);
  padding: var(--sp-6) var(--sp-6);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.5);
  transform: translateY(100%);
  transition: transform var(--t-slow);
}

@media (max-width: 899px) {
  .cookie-banner { bottom: 60px; }
}

.cookie-banner.visible { transform: translateY(0); }

.cookie-banner-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
  align-items: center;
  justify-content: space-between;
}

.cookie-text {
  flex: 1;
  min-width: 260px;
}

.cookie-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: var(--sp-2);
}

.cookie-text p {
  font-size: 0.82rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

.cookie-text a {
  color: var(--clr-primary-lt);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
}

.cookie-btn {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--r-full);
  cursor: pointer;
  transition: background var(--t-base), color var(--t-base), transform var(--t-spring), border-color var(--t-base);
  min-height: 44px;
  border: 1.5px solid transparent;
}

.cookie-btn:hover { transform: translateY(-1px); }

.cookie-btn-accept {
  background: var(--clr-primary);
  color: var(--clr-white);
  border-color: var(--clr-primary);
}

.cookie-btn-accept:hover { background: var(--clr-primary-lt); }

.cookie-btn-reject {
  background: transparent;
  color: var(--clr-text-muted);
  border-color: var(--clr-border-lt);
}

.cookie-btn-reject:hover {
  color: var(--clr-white);
  border-color: var(--clr-text-muted);
}

.cookie-btn-customize {
  background: transparent;
  color: var(--clr-primary-lt);
  border-color: var(--clr-primary);
}

.cookie-btn-customize:hover {
  background: rgba(46,95,255,0.1);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base);
}

.cookie-modal-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.cookie-modal {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border-lt);
  border-radius: var(--r-2xl);
  padding: var(--sp-10);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
}

.cookie-modal h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: var(--sp-6);
  color: var(--clr-white);
}

.cookie-category {
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  margin-bottom: var(--sp-4);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sp-4);
}

.cookie-category-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: var(--sp-2);
}

.cookie-category-info p {
  font-size: 0.82rem;
  color: var(--clr-text-muted);
  line-height: 1.55;
}

/* Toggle switch */
.toggle-switch {
  position: relative;
  flex-shrink: 0;
  width: 48px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--clr-surface-2);
  border-radius: var(--r-full);
  cursor: pointer;
  transition: background var(--t-base);
  border: 1px solid var(--clr-border-lt);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--clr-text-dim);
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform var(--t-base), background var(--t-base);
}

.toggle-switch input:checked + .toggle-slider { background: var(--clr-primary); }
.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(22px);
  background: var(--clr-white);
}

.toggle-switch input:disabled + .toggle-slider { opacity: 0.5; cursor: not-allowed; }

.cookie-modal-actions {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-8);
  flex-wrap: wrap;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================================
   UTILITY
   ============================================================ */

.text-center { text-align: center; }
.text-accent { color: var(--clr-accent); }
.text-primary { color: var(--clr-primary-lt); }
.text-teal { color: var(--clr-teal); }
.text-muted { color: var(--clr-text-muted); }

.mt-auto { margin-top: auto; }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-8 { margin-bottom: var(--sp-8); }

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

/* Divider */
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
  border-radius: var(--r-full);
  margin-bottom: var(--sp-8);
}

/* Tag */
.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--r-full);
  background: var(--clr-surface-2);
  color: var(--clr-text-muted);
  border: 1px solid var(--clr-border);
}

.tag.primary {
  background: rgba(46,95,255,0.12);
  color: var(--clr-primary-lt);
  border-color: rgba(46,95,255,0.25);
}

.tag.accent {
  background: rgba(240,192,64,0.12);
  color: var(--clr-accent);
  border-color: rgba(240,192,64,0.25);
}

/* Info notice */
.info-notice {
  background: rgba(46,95,255,0.08);
  border: 1px solid rgba(46,95,255,0.2);
  border-radius: var(--r-lg);
  padding: var(--sp-5) var(--sp-6);
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  margin-top: var(--sp-8);
}

.info-notice i {
  color: var(--clr-primary-lt);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.info-notice p {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   RESPONSIVE — MOBILE SPECIFIC
   ============================================================ */

@media (max-width: 480px) {
  .hero-cta-group { flex-direction: column; align-items: center; }
  .hero-cta-group .btn { width: 100%; max-width: 320px; justify-content: center; }
  .about-values { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: var(--sp-6); }
  .thanks-card { padding: var(--sp-10) var(--sp-6); }
  .cookie-modal { padding: var(--sp-6); }
  .cookie-modal-actions { flex-direction: column; }
  .cookie-modal-actions .cookie-btn { width: 100%; text-align: center; }
}

@media (max-width: 767px) {
  .intro-strip { clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0 90%); }
  .cta-band { clip-path: polygon(0 4%, 100% 0%, 100% 96%, 0% 100%); }
}