/* ===================================================
   TALEX VIA HUB - MAIN STYLESHEET
   Design Concept: Ink & Paper | BEM Naming
   =================================================== */


:root {
  --ink: #1a1612;
  --paper: #f5f0e8;
  --paper-dark: #ede7d9;
  --accent: #8b6914;

  --accent-light: color-mix(in oklch, #8b6914, white 60%);
  --accent-muted: color-mix(in oklch, #8b6914, white 40%);
  --accent-deep: color-mix(in oklch, #8b6914, black 20%);
  --ink-soft: color-mix(in oklch, #1a1612, white 30%);
  --ink-faint: color-mix(in oklch, #1a1612, white 60%);
  --ink-whisper: color-mix(in oklch, #1a1612, white 82%);
  --paper-warm: color-mix(in oklch, #f5f0e8, #8b6914 8%);
  --paper-mid: color-mix(in oklch, #f5f0e8, #1a1612 6%);

  --shadow-sm: 0 1px 3px color-mix(in oklch, var(--ink), transparent 88%),
               0 1px 2px color-mix(in oklch, var(--ink), transparent 94%);
  --shadow-md: 0 4px 12px color-mix(in oklch, var(--ink), transparent 82%),
               0 2px 6px color-mix(in oklch, var(--ink), transparent 90%);
  --shadow-lg: 0 10px 32px color-mix(in oklch, var(--ink), transparent 78%),
               0 4px 12px color-mix(in oklch, var(--ink), transparent 88%);
  --shadow-accent: 0 6px 24px color-mix(in oklch, var(--accent), transparent 55%),
                   0 2px 8px color-mix(in oklch, var(--accent), transparent 70%);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;
}


*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Albert Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  transition: color 0.25s ease;
}

a:hover {
  color: var(--accent-deep);
}

ul {
  list-style: none;
}


body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}


.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}


.section {
  padding: var(--space-xl) 0;
}

.section--dark {
  background: var(--ink);
  color: color-mix(in oklch, var(--paper), transparent 5%);
}

.section--paper {
  background: var(--paper-warm);
}


.section__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section__label--light {
  color: var(--accent-light);
}

.section__title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.section__title--light {
  color: var(--paper);
}

/* ===================================================
   COOKIE BAR
   =================================================== */

.cookie-bar {
  background: var(--ink);
  color: var(--paper);
  padding: 0.65rem var(--space-md);
  position: fixed;
  z-index: 1100;
  border-bottom: 2px solid var(--accent);
  width: 100%;
  bottom: 0;
}

.cookie-bar--hidden {
  display: none;
}

.cookie-bar__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-bar__text {
  font-size: 0.8rem;
  color: color-mix(in oklch, var(--paper), transparent 15%);
  flex: 1;
  min-width: 200px;
}

.cookie-bar__link {
  color: var(--accent-light);
  text-decoration: underline;
}

.cookie-bar__actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.cookie-bar__btn {
  padding: 0.4rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1.5px solid transparent;
  font-family: 'Albert Sans', sans-serif;
}

.cookie-bar__btn--accept {
  background: var(--accent);
  color: var(--paper);
  border-color: var(--accent);
}

.cookie-bar__btn--accept:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  transform: translateY(-1px);
}

.cookie-bar__btn--reject {
  background: transparent;
  color: var(--paper);
  border-color: color-mix(in oklch, var(--paper), transparent 50%);
}

.cookie-bar__btn--reject:hover {
  border-color: var(--paper);
  background: color-mix(in oklch, var(--paper), transparent 90%);
}

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

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--paper);
  border-bottom: 1px solid var(--ink-whisper);
  transition: box-shadow 0.3s ease;
}

.nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-img {
  height: 36px;
  width: auto;
}

.nav__logo-text {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.nav__menu {
  display: flex;
  align-items: center;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__item {
  position: relative;
}

.nav__link {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.25s ease;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0;
}

.nav__link:hover,
.nav__link--active {
  color: var(--accent);
}

.nav__dropdown-icon {
  font-size: 0.65rem;
  transition: transform 0.25s ease;
}

.nav__item--dropdown:hover .nav__dropdown-icon {
  transform: rotate(180deg);
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--paper);
  border: 1px solid var(--ink-whisper);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: all 0.25s ease;
  overflow: hidden;
}

.nav__item--dropdown:hover .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown-link {
  display: block;
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid var(--ink-whisper);
}

.nav__dropdown li:last-child .nav__dropdown-link {
  border-bottom: none;
}

.nav__dropdown-link:hover {
  color: var(--accent);
  background: var(--paper-warm);
  padding-left: 1.5rem;
}

.nav__cta {
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.nav__cta:hover {
  background: var(--accent);
  color: var(--paper);
  transform: translateY(-1px);
  box-shadow: var(--shadow-accent);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* ===================================================
   MOBILE MENU (Fullscreen Overlay)
   =================================================== */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}

.mobile-menu--open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--paper);
  font-size: 1.8rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.mobile-menu__close:hover {
  transform: rotate(90deg);
}

.mobile-menu__nav {
  text-align: center;
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.mobile-menu__link {
  display: block;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 800;
  color: var(--paper);
  text-decoration: none;
  letter-spacing: -0.02em;
  padding: 0.4rem 1rem;
  transition: all 0.2s ease;
  opacity: 0.9;
}

.mobile-menu__link:hover {
  opacity: 1;
  color: var(--paper);
  transform: translateX(8px);
}

.mobile-menu__cta {
  display: inline-block;
  background: var(--paper);
  color: var(--accent);
  padding: 0.85rem 2.5rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.mobile-menu__cta:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}

/* ===================================================
   BUTTONS
   =================================================== */

.btn--primary {
  background: var(--ink);
  color: var(--paper);
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-block;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  border: none;
  font-family: 'Albert Sans', sans-serif;
}

.btn--primary:hover {
  background: var(--accent);
  color: var(--paper);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.btn--secondary {
  background: transparent;
  color: var(--ink);
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-block;
  border: 1.5px solid color-mix(in oklch, var(--ink), white 55%);
  transition: all 0.25s ease;
  cursor: pointer;
  font-family: 'Albert Sans', sans-serif;
}

.btn--secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px color-mix(in oklch, var(--accent), transparent 75%);
}

.btn--large {
  padding: 1.1rem 2.5rem;
  font-size: 1.05rem;
}

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

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px var(--space-md) var(--space-xl);
  background: var(--paper);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: var(--paper-warm);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__badge-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--paper-dark);
  color: var(--ink-soft);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--ink-whisper);
}

.hero__badge--accent {
  background: color-mix(in oklch, var(--accent), white 85%);
  color: var(--accent-deep);
  border-color: var(--accent-light);
}

.hero__title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hero__title-em {
  font-style: italic;
  color: var(--accent);
}

.hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--ink-soft);
  margin-top: 1.5rem;
  line-height: 1.75;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__image-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.hero__img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg),
              0 0 0 1px var(--ink-whisper);
}

.hero__float {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--ink-whisper);
  border-radius: var(--radius-md);
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-md);
  animation: float 4s ease-in-out infinite;
}

.hero__float i {
  color: var(--accent);
}

.hero__float--1 {
  top: 10%;
  left: -12%;
  animation-delay: 0s;
}

.hero__float--2 {
  top: 40%;
  right: -10%;
  animation-delay: 1.5s;
}

.hero__float--3 {
  bottom: 12%;
  left: -8%;
  animation-delay: 0.8s;
}

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

/* ===================================================
   INTRO SECTION
   =================================================== */

.intro__inner {
  display: flex;
  flex-direction: column;
}

.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.intro__body {
  color: var(--ink-soft);
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.intro__body:last-child { margin-bottom: 0; }

.intro__image-frame {
  position: relative;
}

.intro__img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.intro__image-frame::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  right: 12px;
  bottom: 12px;
  border: 2px solid var(--accent-light);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.intro__stat-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--ink);
  color: var(--paper);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: var(--shadow-lg);
  min-width: 220px;
}

.intro__stat-icon {
  font-size: 1.5rem;
  color: var(--accent-light);
}

.intro__stat-label {
  font-weight: 700;
  font-size: 0.9rem;
}

.intro__stat-desc {
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin-top: 0.1rem;
}

/* ===================================================
   TOPICS GRID
   =================================================== */

.topics__inner {
  display: flex;
  flex-direction: column;
}

.topics__header {
  margin-bottom: var(--space-lg);
}

.topics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 1.5rem;
}

.topic-card {
  background: color-mix(in oklch, var(--paper), var(--ink) 38%);
  border: 1px solid color-mix(in oklch, var(--paper), transparent 80%);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.topic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transition: transform 0.3s ease;
  transform-origin: bottom;
}

.topic-card:hover {
  transform: translateY(-4px);
  background: color-mix(in oklch, var(--paper), var(--ink) 62%);
  box-shadow: 0 8px 32px color-mix(in oklch, var(--accent), transparent 80%),
              0 2px 8px color-mix(in oklch, var(--ink), transparent 90%);
}

.topic-card:hover::before {
  transform: scaleY(1);
}

.topic-card--wide {
  grid-column: span 2;
}

.topic-card__icon {
  font-size: 1.6rem;
  color: var(--accent-light);
  margin-bottom: 1rem;
}

.topic-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 0.75rem;
}

.topic-card__body {
  font-size: 0.9rem;
  color: color-mix(in oklch, var(--paper), transparent 25%);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.topic-card__link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-light);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.topic-card__link:hover {
  color: var(--paper);
  gap: 0.65rem;
}

/* ===================================================
   METHOD SECTION
   =================================================== */

.method__header {
  margin-bottom: var(--space-lg);
  max-width: 600px;
}

.method__steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.method__step {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--paper-warm);
  border-radius: var(--radius-md);
  border: 1px solid var(--ink-whisper);
  transition: all 0.3s ease;
}

.method__step:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.method__step-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
  flex-shrink: 0;
  letter-spacing: -0.04em;
}

.method__step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.method__step-body {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ===================================================
   GALLERY SECTION
   =================================================== */

.gallery__header {
  margin-bottom: var(--space-md);
}

.gallery__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 1rem;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.gallery__item--large {
  grid-row: span 2;
}

.gallery__item--medium {
  grid-column: span 2;
}

.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery__item:hover .gallery__img {
  transform: scale(1.05);
}

.gallery__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, color-mix(in oklch, var(--ink), transparent 20%));
  color: var(--paper);
  padding: 1.5rem 1rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
}

/* ===================================================
   MODULE SWIPER
   =================================================== */

.modules-swiper__header {
  margin-bottom: var(--space-md);
}

.moduleSwiper {
  padding-bottom: 3rem !important;
}

.module-slide {
  background: var(--paper-warm);
  border: 1px solid var(--ink-whisper);
  border-radius: var(--radius-md);
  padding: 2rem;
  height: auto;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.module-slide::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.module-slide:hover::after {
  transform: scaleX(1);
}

.module-slide:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.module-slide__num {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.module-slide__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.module-slide__body {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.module-slide__tag {
  display: inline-block;
  background: color-mix(in oklch, var(--accent), white 80%);
  color: var(--accent-deep);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--accent) !important;
}

.swiper-pagination-bullet-active {
  background: var(--accent) !important;
}

/* ===================================================
   ABOUT PREVIEW
   =================================================== */

.about-preview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-preview__frame {
  position: relative;
}

.about-preview__img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-preview__frame::after {
  content: '';
  position: absolute;
  bottom: -12px;
  right: -12px;
  top: 12px;
  left: 12px;
  border: 2px solid var(--accent-light);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-preview__body {
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1.02rem;
}

/* ===================================================
   CTA SECTION
   =================================================== */

.cta-section__content {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
  position: relative;
}

.cta-section__content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--paper-warm);
  border-radius: var(--radius-xl);
  border: 1px solid var(--ink-whisper);
  z-index: -1;
}

.cta-section__title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 1rem;
}

.cta-section__body {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 2rem;
}

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

.page-hero {
  padding-top: 140px;
  padding-bottom: var(--space-lg);
  background: var(--paper);
  border-bottom: 1px solid var(--ink-whisper);
}

.page-hero__content {
  max-width: 760px;
}

.page-hero__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.page-hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 600px;
}

.page-hero__anchor-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.page-hero__anchor {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: var(--paper-warm);
  border: 1px solid var(--ink-whisper);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: all 0.25s ease;
}

.page-hero__anchor:hover {
  background: var(--accent);
  color: var(--paper);
  border-color: var(--accent);
}

/* ===================================================
   VISION / VALUES (cosa-ci-guida)
   =================================================== */

.vision__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.vision__frame {
  position: relative;
}

.vision__img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.vision__body {
  color: var(--ink-soft);
  line-height: 1.8;
  font-size: 1.02rem;
  margin-bottom: 1rem;
}

.values__header {
  margin-bottom: var(--space-lg);
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: color-mix(in oklch, var(--paper), var(--ink) 8%);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid color-mix(in oklch, var(--paper), transparent 80%);
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  background: color-mix(in oklch, var(--paper), var(--ink) 12%);
  box-shadow: 0 8px 24px color-mix(in oklch, var(--accent), transparent 70%);
}

.value-card__icon {
  font-size: 1.5rem;
  color: var(--accent-light);
  margin-bottom: 1rem;
}

.value-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 0.6rem;
}

.value-card__body {
  font-size: 0.88rem;
  color: color-mix(in oklch, var(--paper), transparent 25%);
  line-height: 1.7;
}

.approach__header {
  margin-bottom: var(--space-lg);
}

.approach__content {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.approach__block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.approach__block--reverse {
  direction: rtl;
}

.approach__block--reverse > * {
  direction: ltr;
}

.approach__img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.approach__block-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.85rem;
}

.approach__block-body {
  color: var(--ink-soft);
  line-height: 1.8;
  font-size: 1rem;
}

.team-note__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 2rem;
  align-items: start;
}

.team-note__text p {
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.team-note__contact-card {
  background: var(--paper-dark);
  border: 1px solid var(--ink-whisper);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.team-note__contact-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.team-note__contact-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.team-note__contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.team-note__contact-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--ink);
}

.team-note__contact-list i {
  color: var(--accent);
  width: 16px;
}

/* ===================================================
   WORK AREAS (il-nostro-lavoro)
   =================================================== */

.work-area__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.work-area__grid--reverse {
  direction: rtl;
}

.work-area__grid--reverse > * {
  direction: ltr;
}

.work-area__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: color-mix(in oklch, var(--accent), white 85%);
  color: var(--accent-deep);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.work-area__tag--light {
  background: color-mix(in oklch, var(--accent-light), transparent 20%);
  color: var(--paper);
}

.work-area__title {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
}

.work-area__title--light {
  color: var(--paper);
}

.work-area__body {
  color: var(--ink-soft);
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.work-area__body--light {
  color: color-mix(in oklch, var(--paper), transparent 20%);
}

.work-area__points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.work-area__point {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--ink);
  font-weight: 500;
}

.work-area__point i {
  color: var(--accent);
  font-size: 0.8rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.work-area__point--light {
  color: color-mix(in oklch, var(--paper), transparent 15%);
}

.work-area__point--light i {
  color: var(--accent-light);
}

.work-area__img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s ease;
}

.work-area__image:hover .work-area__img {
  transform: scale(1.02);
}

/* ===================================================
   CURRICULUM (moduli-corso)
   =================================================== */

.curriculum__inner {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.curriculum__area {
  border: 1px solid var(--ink-whisper);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.curriculum__area-header {
  background: var(--paper-warm);
  padding: 2.5rem 3rem;
  border-bottom: 1px solid var(--ink-whisper);
}

.curriculum__area-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--paper);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.curriculum__area-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.curriculum__area-desc {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.curriculum__modules {
  display: flex;
  flex-direction: column;
}

.curriculum__module {
  padding: 2rem 3rem;
  border-bottom: 1px solid var(--ink-whisper);
  transition: background 0.25s ease;
}

.curriculum__module:last-child {
  border-bottom: none;
}

.curriculum__module:hover {
  background: var(--paper-warm);
}

.curriculum__module-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.curriculum__module-num {
  background: var(--ink);
  color: var(--paper);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.curriculum__module-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  flex: 1;
  line-height: 1.3;
}

.curriculum__module-duration {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--ink-faint);
  flex-shrink: 0;
}

.curriculum__module-body {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.curriculum__module-topics {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.curriculum__topic {
  display: inline-block;
  background: color-mix(in oklch, var(--accent), white 85%);
  color: var(--accent-deep);
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.course-info__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.course-info__item {
  text-align: center;
  padding: 2rem;
}

.course-info__icon {
  font-size: 2rem;
  color: var(--accent-light);
  margin-bottom: 1rem;
}

.course-info__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 0.6rem;
}

.course-info__body {
  font-size: 0.9rem;
  color: color-mix(in oklch, var(--paper), transparent 30%);
  line-height: 1.7;
}

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

.contact-methods__header {
  margin-bottom: var(--space-md);
}

.contact-methods__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.contact-method-card {
  background: var(--paper-warm);
  border: 1px solid var(--ink-whisper);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all 0.3s ease;
}

.contact-method-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--accent-light);
}

.contact-method-card--featured {
  background: var(--ink);
  color: var(--
paper);
  border-color: var(--ink);
}

.contact-method-card--featured .contact-method-card__title {
  color: var(--paper);
}

.contact-method-card--featured .contact-method-card__when {
  color: color-mix(in oklch, var(--paper), transparent 20%);
}

.contact-method-card--featured .contact-method-card__detail {
  color: color-mix(in oklch, var(--paper), transparent 35%);
}

.contact-method-card--featured .contact-method-card__action {
  color: var(--accent-light);
}

.contact-method-card__icon {
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.contact-method-card--featured .contact-method-card__icon {
  color: var(--accent-light);
}

.contact-method-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.contact-method-card__when {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 0.6rem;
}

.contact-method-card__detail {
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin-bottom: 1.25rem;
}

.contact-method-card__action {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-method-card__action:hover {
  color: var(--accent-deep);
}

.contact-form-section__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.contact-form-section__body {
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.02rem;
}

.contact-form-section__info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-form-section__info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.contact-form-section__info-item i {
  color: var(--accent);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.contact-form-section__info-item a {
  color: var(--accent);
}

.contact-form {
  background: var(--paper);
  border: 1px solid var(--ink-whisper);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.contact-form__progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.contact-form__step-indicator {
  display: flex;
  align-items: center;
  gap: 0;
}

.contact-form__step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink-whisper);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.contact-form__step-dot--active {
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--accent), transparent 75%);
}

.contact-form__step-line {
  width: 60px;
  height: 2px;
  background: var(--ink-whisper);
  margin: 0 0.25rem;
}

.contact-form__step-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}

.contact-form__step {
  display: none;
  flex-direction: column;
  gap: 1.25rem;
  animation: stepIn 0.3s ease;
}

.contact-form__step--active {
  display: flex;
}

@keyframes stepIn {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-form__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.contact-form__input,
.contact-form__textarea {
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--ink-whisper);
  border-radius: var(--radius-sm);
  background: var(--paper-warm);
  color: var(--ink);
  font-family: 'Albert Sans', sans-serif;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  width: 100%;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--paper);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--accent), transparent 80%);
}

.contact-form__textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-form__field--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-form__checkbox {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  accent-color: var(--accent);
  cursor: pointer;
}

.contact-form__checkbox-label {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.6;
  cursor: pointer;
}

.contact-form__checkbox-label a {
  color: var(--accent);
}

.contact-form__actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.contact-form__next {
  align-self: flex-start;
}

.contact-map__frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--ink-whisper);
}

.contact-map__frame iframe {
  display: block;
}

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

.legal-page {
  padding-top: 120px;
  padding-bottom: var(--space-xl);
  min-height: 70vh;
}

.legal-page__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.legal-page__header {
  padding: var(--space-lg) 0 var(--space-md);
  border-bottom: 1px solid var(--ink-whisper);
  margin-bottom: var(--space-lg);
}

.legal-page__title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.legal-page__meta {
  font-size: 0.88rem;
  color: var(--ink-faint);
  line-height: 1.7;
}

.legal-page__body {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.legal-qa {
  border-left: 3px solid var(--accent-light);
  padding-left: 1.75rem;
}

.legal-qa__question {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.legal-qa__answer {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.legal-qa__answer p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.8;
}

.legal-qa__answer ul {
  list-style: disc;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-qa__answer li {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-qa__answer a {
  color: var(--accent);
}

.legal-section {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--ink-whisper);
}

.legal-section:last-child {
  border-bottom: none;
}

.legal-section__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent-light);
  display: inline-block;
}

.legal-section p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0.85rem;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 0.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.legal-section li {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-section a {
  color: var(--accent);
}

.cookie-intro {
  background: var(--paper-warm);
  border: 1px solid var(--ink-whisper);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  margin-bottom: 1rem;
}

.cookie-intro p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.75;
}

.cookie-table-wrap {
  margin: 1.5rem 0;
}

.cookie-table-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.cookie-table th {
  background: var(--paper-dark);
  color: var(--ink);
  font-weight: 700;
  padding: 0.65rem 1rem;
  text-align: left;
  border: 1px solid var(--ink-whisper);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cookie-table td {
  padding: 0.65rem 1rem;
  border: 1px solid var(--ink-whisper);
  color: var(--ink-soft);
  vertical-align: top;
  line-height: 1.5;
}

.cookie-table tr:hover td {
  background: var(--paper-warm);
}

.cookie-table code {
  background: var(--paper-dark);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  font-size: 0.82rem;
  color: var(--accent-deep);
  font-family: monospace;
}

.cookie-reset-box {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--paper-warm);
  border: 1px solid var(--ink-whisper);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-reset-box p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0 !important;
}

.cookie-reset-btn {
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Albert Sans', sans-serif;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.cookie-reset-btn:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

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

.thanks-page {
  background: var(--accent);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.thanks-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) var(--space-md);
}

.thanks-content {
  text-align: center;
  max-width: 600px;
  padding: var(--space-xl) var(--space-md);
}

.thanks-icon {
  font-size: 4rem;
  color: var(--paper);
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.thanks-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--paper);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.thanks-body {
  font-size: 1.1rem;
  color: color-mix(in oklch, var(--paper), transparent 15%);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.thanks-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: transparent;
  color: var(--paper);
  border: 2px solid var(--paper);
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.thanks-btn:hover {
  background: var(--paper);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px color-mix(in oklch, var(--ink), transparent 75%);
}

.thanks-footer {
  background: color-mix(in oklch, var(--accent), black 20%);
  padding: 1.25rem var(--space-md);
}

.thanks-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.thanks-footer__copy {
  font-size: 0.8rem;
  color: color-mix(in oklch, var(--paper), transparent 35%);
}

.thanks-footer__links {
  display: flex;
  gap: 1.5rem;
}

.thanks-footer__links a {
  font-size: 0.8rem;
  color: color-mix(in oklch, var(--paper), transparent 25%);
  text-decoration: none;
  transition: color 0.2s ease;
}

.thanks-footer__links a:hover {
  color: var(--paper);
}

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

.footer {
  background: var(--ink);
  color: var(--paper);
  padding: var(--space-xl) 0 0;
  margin-top: auto;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: var(--space-lg);
}

.footer__logo {
  height: 36px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(10);
}

.footer__tagline {
  font-size: 0.88rem;
  color: color-mix(in oklch, var(--paper), transparent 35%);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  max-width: 280px;
}

.footer__address {
  font-size: 0.85rem;
  color: color-mix(in oklch, var(--paper), transparent 40%);
  font-style: normal;
  line-height: 1.7;
}

.footer__col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.25rem;
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__nav-link {
  font-size: 0.88rem;
  color: color-mix(in oklch, var(--paper), transparent 30%);
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer__nav-link:hover {
  color: var(--paper);
  transform: translateX(4px);
}

.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: color-mix(in oklch, var(--paper), transparent 30%);
}

.footer__contact-list i {
  color: var(--accent-light);
  width: 14px;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer__contact-list a {
  color: color-mix(in oklch, var(--paper), transparent 30%);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__contact-list a:hover {
  color: var(--paper);
}

.footer__legal-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.footer__legal-list li {
  font-size: 0.8rem;
  color: color-mix(in oklch, var(--paper), transparent 50%);
}

.footer__links-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__legal-link {
  font-size: 0.85rem;
  color: color-mix(in oklch, var(--paper), transparent 30%);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__legal-link:hover {
  color: var(--accent-light);
}

.footer__bottom {
  border-top: 1px solid color-mix(in oklch, var(--paper), transparent 85%);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer__copy {
  font-size: 0.8rem;
  color: color-mix(in oklch, var(--paper), transparent 50%);
}

.footer__gdpr {
  font-size: 0.78rem;
  color: color-mix(in oklch, var(--paper), transparent 60%);
}

/* ===================================================
   RESPONSIVE - TABLET (max 1024px)
   =================================================== */

@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero::after {
    display: none;
  }

  .hero__subtitle {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
  }

  .hero__image-wrap {
    max-width: 460px;
    margin: 0 auto;
  }

  .hero__float--1 { left: 0; }
  .hero__float--3 { left: 0; }

  .intro__grid,
  .vision__grid,
  .about-preview__grid,
  .work-area__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .work-area__grid--reverse {
    direction: ltr;
  }

  .topics__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .topic-card--wide {
    grid-column: span 2;
  }

  .values__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .method__steps {
    grid-template-columns: 1fr;
  }

  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .gallery__item--large {
    grid-column: span 2;
    grid-row: span 1;
    height: 300px;
  }

  .gallery__item--medium {
    grid-column: span 2;
    height: 240px;
  }

  .gallery__item {
    height: 220px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .contact-form-section__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-methods__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .team-note__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .approach__block {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .approach__block--reverse {
    direction: ltr;
  }

  .course-info__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .curriculum__area-header {
    padding: 2rem;
  }

  .curriculum__module {
    padding: 1.5rem 2rem;
  }
}

/* ===================================================
   RESPONSIVE - MOBILE (max 768px)
   =================================================== */

@media (max-width: 768px) {
  :root {
    --space-xl: 4rem;
    --space-lg: 2.5rem;
  }

  .nav__menu {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__cta {
    display: none;
  }

  .hero {
    padding: 100px var(--space-sm) var(--space-lg);
    min-height: auto;
  }

  .hero__img {
    height: 300px;
  }

  .hero__float {
    display: none;
  }

  .section {
    padding: var(--space-lg) 0;
  }

  .topics__grid {
    grid-template-columns: 1fr;
  }

  .topic-card--wide {
    grid-column: span 1;
  }

  .topic-card--tall {
    grid-row: span 1;
  }

  .values__grid {
    grid-template-columns: 1fr;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
  }

  .gallery__item--large,
  .gallery__item--medium,
  .gallery__item {
    grid-column: span 1;
    grid-row: span 1;
    height: 220px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .intro__stat-card {
    position: static;
    margin-top: 1rem;
    border-radius: var(--radius-md);
  }

  .intro__image-frame::before {
    display: none;
  }

  .about-preview__frame::after {
    display: none;
  }

  .work-area__points {
    grid-template-columns: 1fr;
  }

  .contact-methods__grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 1.75rem 1.25rem;
  }

  .contact-form__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-form__actions .btn--secondary,
  .contact-form__actions .btn--primary {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .page-hero__anchor-row {
    gap: 0.5rem;
  }

  .curriculum__module-header {
    flex-direction: column;
    gap: 0.75rem;
  }

  .curriculum__area-header {
    padding: 1.5rem;
  }

  .curriculum__module {
    padding: 1.25rem 1.5rem;
  }

  .cookie-bar__inner {
    flex-direction: column;
    gap: 0.75rem;
  }

  .cookie-bar__actions {
    width: 100%;
    justify-content: flex-end;
  }

  .cookie-reset-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-section__content {
    padding: var(--space-md);
  }

  .thanks-content {
    padding: var(--space-md) var(--space-sm);
  }

  .legal-page {
    padding-top: 100px;
  }

  .legal-qa {
    padding-left: 1rem;
  }

  .cookie-table {
    font-size: 0.78rem;
    display: block;
    overflow-x: auto;
  }

  .contact-map__frame iframe {
    height: 300px;
  }

  .thanks-footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .nav__inner {
    padding: 0 1rem;
  }

  .hero__badge-row {
    justify-content: center;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .hero__actions .btn--primary,
  .hero__actions .btn--secondary {
    width: 100%;
    text-align: center;
  }

  .method__step {
    flex-direction: column;
    gap: 0.75rem;
  }

  .method__step-num {
    font-size: 1.8rem;
  }

  .module-slide {
    padding: 1.5rem;
  }

  .footer__grid {
    gap: 1.5rem;
  }

  .page-hero__anchor-row {
    flex-direction: column;
    align-items: flex-start;
  }
}