/* =========================================
   KALENMORX DIGITAL - MAIN STYLESHEET
   Chromatic Blur Design System
   ========================================= */


:root {
  --color-bg: #f7f4ee;
  --color-bg-dark: #1a1a18;
  --color-bg-tinted: #f0ece2;
  --color-text: #2c2a22;
  --color-text-light: #f0ece2;
  --color-text-muted: #6b6456;
  --color-primary: #b5821a;
  --color-primary-dark: #8c6212;
  --color-primary-light: #d4a843;
  --color-secondary: #3d6b3e;
  --color-secondary-light: #5a9e5b;
  --color-accent: #c95c1a;
  --color-dark-surface: #242420;
  --color-border: rgba(44,42,34,0.12);
  --color-border-light: rgba(240,236,226,0.15);

  --shadow-sm: 0 1px 3px rgba(44,42,34,0.08), 0 1px 2px rgba(44,42,34,0.06);
  --shadow-md: 0 4px 12px rgba(44,42,34,0.10), 0 2px 6px rgba(44,42,34,0.06);
  --shadow-lg: 0 10px 30px rgba(44,42,34,0.14), 0 4px 12px rgba(44,42,34,0.08);
  --shadow-xl: 0 20px 50px rgba(44,42,34,0.18), 0 8px 20px rgba(44,42,34,0.10);
  --shadow-gold: 0 4px 20px rgba(181,130,26,0.25), 0 2px 6px rgba(181,130,26,0.10);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 999px;

  --space-xs: clamp(0.5rem, 1vw, 0.75rem);
  --space-sm: clamp(0.75rem, 1.5vw, 1rem);
  --space-md: clamp(1rem, 2vw, 1.5rem);
  --space-lg: clamp(1.5rem, 3vw, 2.5rem);
  --space-xl: clamp(2.5rem, 5vw, 4rem);
  --space-2xl: clamp(4rem, 8vw, 7rem);

  --nav-height: 72px;
  --transition: 0.3s ease;
  --transition-slow: 0.6s ease;
}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }


h1, h2, h3, h4 { font-family: 'Lora', serif; line-height: 1.25; color: var(--color-text); }
h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 600; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 600; }
h4 { font-size: clamp(1rem, 1.4vw, 1.2rem); font-weight: 600; }
p { margin-bottom: 1em; color: var(--color-text-muted); }
p:last-child { margin-bottom: 0; }

.heading--section { margin-bottom: var(--space-md); }
.heading--light, .heading--light * { color: var(--color-text-light); }


.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.container--narrow { max-width: 860px; }


.label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  font-family: 'Inter', sans-serif;
}
.label--light { color: var(--color-primary-light); }


.section { position: relative; padding: var(--space-2xl) 0; overflow: hidden; }
.section--dark { background: var(--color-bg-dark); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--color-text-light); }
.section--dark p { color: rgba(240,236,226,0.7); }
.section--tinted { background: var(--color-bg-tinted); }

/* =========================================
   CHROMATIC BLUR BLOBS
   ========================================= */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.55;
  z-index: 0;
}
.blob--gold { width: 500px; height: 500px; background: radial-gradient(circle, #d4a843 0%, #b5821a 60%, transparent 100%); top: -100px; right: -100px; }
.blob--green { width: 400px; height: 400px; background: radial-gradient(circle, #5a9e5b 0%, #3d6b3e 60%, transparent 100%); bottom: -80px; left: -80px; }
.blob--amber { width: 350px; height: 350px; background: radial-gradient(circle, #e8a44a 0%, #c95c1a 60%, transparent 100%); top: 40%; right: 20%; }
.blob--soft-green { width: 600px; height: 600px; background: radial-gradient(circle, rgba(90,158,91,0.4) 0%, transparent 70%); top: -200px; left: 50%; }
.blob--amber-soft { width: 450px; height: 450px; background: radial-gradient(circle, rgba(212,168,67,0.35) 0%, transparent 70%); bottom: 0; right: -150px; }
.blob--green-soft { width: 350px; height: 350px; background: radial-gradient(circle, rgba(61,107,62,0.3) 0%, transparent 70%); top: 50px; left: -100px; }
.blob--dark-gold { width: 500px; height: 500px; background: radial-gradient(circle, rgba(181,130,26,0.35) 0%, transparent 70%); top: -50px; right: -50px; }
.blob--dark-olive { width: 400px; height: 400px; background: radial-gradient(circle, rgba(61,107,62,0.3) 0%, transparent 70%); bottom: 0; left: 100px; }
.blob--soft-gold { width: 500px; height: 500px; background: radial-gradient(circle, rgba(212,168,67,0.25) 0%, transparent 70%); top: -100px; left: 50%; }
.blob--cta-gold { width: 600px; height: 600px; background: radial-gradient(circle, rgba(181,130,26,0.4) 0%, transparent 70%); top: -100px; left: -100px; }
.blob--cta-green { width: 400px; height: 400px; background: radial-gradient(circle, rgba(61,107,62,0.3) 0%, transparent 70%); bottom: -50px; right: 0; }


.section > .container,
.section > .hero__container,
.hero__image-wrap,
.modules__header,
.horizontal-scroll-wrapper { position: relative; z-index: 1; }

/* =========================================
   NAVIGATION
   ========================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-height);
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.nav--scrolled {
  background: rgba(247,244,238,0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.nav.nav--dark-bg { background: rgba(26,26,24,0.92); backdrop-filter: blur(12px); }

.nav__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav__logo-img { width: 36px; height: 36px; }
.nav__logo-text {
  font-family: 'Lora', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  transition: color var(--transition);
}
.nav__logo-accent { color: var(--color-primary); }
.nav--light-text .nav__logo-text { color: var(--color-text-light); }
.nav--light-text .nav__link { color: rgba(240,236,226,0.88); }
.nav--light-text .nav__link:hover { color: var(--color-primary-light); }

.nav__links {
  display: none;
  gap: var(--space-lg);
  align-items: center;
}
@media (min-width: 900px) { .nav__links { display: flex; } }

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--color-primary);
  transition: width var(--transition);
  border-radius: var(--radius-full);
}
.nav__link:hover::after,
.nav__link--active::after { width: 100%; }
.nav__link:hover { color: var(--color-primary); }
.nav__link--active { color: var(--color-primary); }

.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.nav__hamburger:hover { background: rgba(181,130,26,0.1); }
.nav__hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: background var(--transition), transform var(--transition);
}
.nav--light-text .nav__hamburger span { background: var(--color-text-light); }
@media (min-width: 900px) { .nav__hamburger { display: none; } }

/* =========================================
   MOBILE MENU - SLIDE FROM LEFT
   ========================================= */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 950;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s 0.4s;
}
.mobile-menu.is-open {
  pointer-events: all;
  visibility: visible;
  transition: visibility 0s;
}
.mobile-menu__panel {
  position: absolute;
  top: 0; left: 0;
  width: 80%;
  height: 100%;
  background: #1e1c16;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 30px rgba(0,0,0,0.35);
  z-index: 2;
}
.mobile-menu.is-open .mobile-menu__panel { transform: translateX(0); }
.mobile-menu__overlay {
  position: absolute;
  top: 0; left: 80%; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}
.mobile-menu.is-open .mobile-menu__overlay { opacity: 1; }
.mobile-menu__close {
  align-self: flex-end;
  color: var(--color-text-light);
  font-size: 1.4rem;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-lg);
  transition: background var(--transition);
}
.mobile-menu__close:hover { background: rgba(255,255,255,0.1); }
.mobile-menu__links { display: flex; flex-direction: column; gap: var(--space-sm); }
.mobile-menu__links li {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.3s ease calc(var(--i) * 0.07s + 0.15s),
              transform 0.3s ease calc(var(--i) * 0.07s + 0.15s);
}
.mobile-menu.is-open .mobile-menu__links li {
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu__links a {
  display: block;
  font-size: 1.2rem;
  font-family: 'Lora', serif;
  font-weight: 600;
  color: var(--color-text-light);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(240,236,226,0.1);
  transition: color var(--transition), padding-left var(--transition);
}
.mobile-menu__links a:hover { color: var(--color-primary-light); padding-left: 8px; }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
  min-height: 44px;
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-gold);
}
.btn--primary:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 6px 24px rgba(181,130,26,0.4), 0 2px 8px rgba(181,130,26,0.15);
  transform: translateY(-2px);
  color: #fff;
}
.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn--light {
  color: var(--color-text-light);
  border-color: rgba(240,236,226,0.5);
}
.btn--light:hover { background: rgba(240,236,226,0.15); color: var(--color-text-light); }
.btn--block { width: 100%; justify-content: center; }

/* =========================================
   HERO
   ========================================= */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--nav-height) + var(--space-xl));
  padding-bottom: var(--space-xl);
  background: var(--color-bg-dark);
}
.hero__blobs { position: absolute; inset: 0; overflow: hidden; }
.hero__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  position: relative;
  z-index: 2;
}
@media (min-width: 900px) {
  .hero__container {
    grid-template-columns: 60% 1fr;
    align-items: end;
  }
}
.hero__tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: var(--space-sm);
  background: rgba(181,130,26,0.15);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(181,130,26,0.3);
}
.hero__heading {
  color: var(--color-text-light);
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  line-height: 1.15;
  animation: heroFadeUp 0.8s ease both;
}
.hero__right {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  animation: heroFadeUp 0.8s ease 0.2s both;
}
.hero__desc { color: rgba(240,236,226,0.75); font-size: 1.05rem; margin: 0; }
.hero__ctas { display: flex; flex-direction: column; gap: var(--space-sm); }
@media (min-width: 600px) { .hero__ctas { flex-direction: row; } }

.hero__image-wrap {
  position: relative;
  z-index: 1;
  margin-top: var(--space-xl);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  animation: heroFadeUp 0.8s ease 0.4s both;
}
.hero__image {
  width: 100%;
  height: clamp(280px, 40vw, 500px);
  object-fit: cover;
}
.hero__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,24,0.6) 0%, rgba(181,130,26,0.15) 100%);
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   INTRO
   ========================================= */
.intro__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}
@media (min-width: 900px) {
  .intro__grid { grid-template-columns: 1fr 1fr; }
}
.intro__content p { margin-bottom: var(--space-md); }
.intro__content .btn { margin-top: var(--space-sm); }

/* =========================================
   CARDS
   ========================================= */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card--image { position: relative; }
.card__img { width: 100%; height: 320px; object-fit: cover; display: block; }
.card__badge {
  position: absolute;
  bottom: var(--space-sm);
  left: var(--space-sm);
  background: rgba(26,26,24,0.85);
  color: var(--color-primary-light);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: 6px;
}


.card--module {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(240,236,226,0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  min-width: 280px;
  max-width: 320px;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25), 0 1px 4px rgba(0,0,0,0.15);
  backdrop-filter: blur(10px);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card--module:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35), 0 4px 12px rgba(181,130,26,0.2);
  border-color: rgba(181,130,26,0.35);
}
.card__icon-wrap {
  width: 52px; height: 52px;
  background: rgba(181,130,26,0.15);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--color-primary-light);
  font-size: 1.4rem;
  border: 1px solid rgba(181,130,26,0.25);
}
.card__num {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-primary-light);
  margin-bottom: var(--space-xs);
  font-family: 'Inter', sans-serif;
}
.card__title {
  color: var(--color-text-light);
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
}
.card__text { color: rgba(240,236,226,0.7); font-size: 0.92rem; margin: 0; }


.card--team {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card--team:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.card__photo-wrap { overflow: hidden; height: 240px; }
.card__photo { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card--team:hover .card__photo { transform: scale(1.05); }
.card__info { padding: var(--space-md); }
.card__name { font-size: 1.1rem; margin-bottom: 4px; }
.card__role {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
}
.card__bio { font-size: 0.9rem; color: var(--color-text-muted); margin: 0; }


.card--cert {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--color-border);
}
.card--cert:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__cert-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-gold);
}
.card__cert-title { font-size: 1rem; margin-bottom: var(--space-sm); }
.card__cert-desc { font-size: 0.88rem; color: var(--color-text-muted); margin: 0; }


.card--info {
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, #2a2820 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(181,130,26,0.2);
  position: sticky;
  top: calc(var(--nav-height) + var(--space-md));
}
.card__info-title {
  color: var(--color-text-light);
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(240,236,226,0.15);
}
.info-list { display: flex; flex-direction: column; gap: var(--space-sm); margin-bottom: var(--space-lg); }
.info-list li { display: flex; gap: var(--space-sm); align-items: flex-start; }
.info-list li i { color: var(--color-primary-light); margin-top: 3px; flex-shrink: 0; }
.info-list li span { color: rgba(240,236,226,0.8); font-size: 0.9rem; }
.info-list li strong { color: var(--color-text-light); }

.card--profile {
  background: var(--color-bg-tinted);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  margin-top: var(--space-md);
  box-shadow: var(--shadow-sm);
}
.card--profile h4 { margin-bottom: var(--space-sm); }
.card--profile p { margin: 0; font-size: 0.92rem; }


.card--timeline {
  background: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-md);
  border-left: 3px solid var(--color-primary);
  transition: box-shadow var(--transition);
}
.card--timeline:hover { box-shadow: var(--shadow-lg); }
.timeline__year {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  font-family: 'Inter', sans-serif;
}
.card--timeline h4 { margin-bottom: var(--space-xs); }
.card--timeline p { font-size: 0.9rem; margin: 0; }


.card--value {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card--value:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__icon { font-size: 1.8rem; color: var(--color-primary); margin-bottom: var(--space-sm); display: block; }
.card--value h3 { margin-bottom: var(--space-sm); }
.card--value p { font-size: 0.92rem; margin: 0; }


.card--diff {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card--diff:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__diff-icon {
  width: 52px; height: 52px;
  background: rgba(181,130,26,0.1);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary);
  font-size: 1.3rem;
  margin-bottom: var(--space-md);
  border: 1px solid rgba(181,130,26,0.2);
  transition: background var(--transition);
}
.card--diff:hover .card__diff-icon { background: rgba(181,130,26,0.18); }
.card--diff h3 { margin-bottom: var(--space-sm); }
.card--diff p { font-size: 0.92rem; margin: 0; }


.card--type {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card--type:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.card__type-img { width: 100%; height: 220px; object-fit: cover; }
.card__type-content { padding: var(--space-md); }
.card__type-content h4 { margin-bottom: var(--space-xs); }
.card__type-content p { font-size: 0.9rem; margin: 0; }


.card--news {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  display: flex;
  gap: var(--space-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card--news:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__news-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 52px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  color: #fff;
  text-align: center;
}
.date-day { font-size: 1.4rem; font-weight: 700; font-family: 'Lora', serif; line-height: 1; }
.date-month { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.date-year { font-size: 0.68rem; opacity: 0.8; }
.card__news-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.card__news-content h4 { margin-bottom: var(--space-xs); font-size: 1rem; }
.card__news-content p { font-size: 0.88rem; margin-bottom: var(--space-sm); }
.link-arrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition), color var(--transition);
}
.link-arrow:hover { gap: 10px; color: var(--color-primary-dark); }


.card--float {
  box-shadow: var(--shadow-xl);
  transform: rotate(-2deg);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card--float:hover { transform: rotate(0deg) translateY(-6px); box-shadow: 0 24px 60px rgba(44,42,34,0.2); }
.card--small .card__img { height: 200px; }
.card--small { transform: rotate(2deg); margin-top: -60px; margin-left: auto; max-width: 200px; }

/* =========================================
   WAVE DIVIDER
   ========================================= */
.wave-divider {
  position: relative;
  z-index: 2;
  margin-bottom: -2px;
  line-height: 0;
  background: var(--color-bg);
}
.wave-divider svg { width: 100%; display: block; }

/* =========================================
   MODULES / HORIZONTAL SCROLL
   ========================================= */
.modules { padding-bottom: var(--space-xl); }
.modules__header { padding: 0 var(--space-md) var(--space-xl); max-width: 1200px; margin: 0 auto; }
.modules__subtitle { color: rgba(240,236,226,0.65); max-width: 520px; margin: 0; }

.horizontal-scroll-wrapper {
  position: relative;
  overflow: hidden;
}
.horizontal-scroll {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  padding: var(--space-md) var(--space-md) var(--space-lg);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(181,130,26,0.4) transparent;
}
.horizontal-scroll::-webkit-scrollbar { height: 4px; }
.horizontal-scroll::-webkit-scrollbar-track { background: transparent; }
.horizontal-scroll::-webkit-scrollbar-thumb { background: rgba(181,130,26,0.4); border-radius: 2px; }
.horizontal-scroll > * { scroll-snap-align: start; }

.scroll-hint {
  text-align: center;
  color: rgba(240,236,226,0.45);
  font-size: 0.82rem;
  padding-bottom: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
@media (min-width: 900px) {
  .horizontal-scroll {
    padding-left: calc((100vw - 1200px) / 2 + var(--space-md));
  }
}

/* =========================================
   EXPERIENCE
   ========================================= */
.experience__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}
@media (min-width: 900px) {
  .experience__grid { grid-template-columns: 1fr 1fr; }
}
.experience__features { display: flex; flex-direction: column; gap: var(--space-md); margin-top: var(--space-lg); }
.feature {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}
.feature__icon {
  width: 44px; height: 44px;
  background: rgba(181,130,26,0.1);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 1px solid rgba(181,130,26,0.18);
}
.feature div { display: flex; flex-direction: column; gap: 2px; }
.feature strong { color: var(--color-text); font-size: 0.95rem; }
.feature span { color: var(--color-text-muted); font-size: 0.88rem; }
.experience__images { position: relative; min-height: 400px; display: flex; flex-direction: column; gap: var(--space-md); }

/* =========================================
   TEAM
   ========================================= */
.team__subtitle { color: var(--color-text-muted); max-width: 560px; margin-bottom: var(--space-xl); }
.team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-lg);
}

/* =========================================
   CERTS
   ========================================= */
.certs__subtitle { color: var(--color-text-muted); max-width: 600px; margin-bottom: var(--space-xl); }
.certs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-md);
}

/* =========================================
   GALLERY
   ========================================= */
.gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
@media (min-width: 700px) {
  .gallery__grid {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 300px;
  }
  .gallery__item--wide { grid-column: 1; grid-row: 1; }
}
.gallery__item { overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.gallery__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery__item:hover .gallery__img { transform: scale(1.05); }

/* =========================================
   CTA BAND
   ========================================= */
.cta-band { text-align: center; }
.cta-band__blobs { position: absolute; inset: 0; overflow: hidden; }
.cta-band__content { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta-band__heading { color: var(--color-text-light); margin-bottom: var(--space-md); }
.cta-band__text { color: rgba(240,236,226,0.7); margin-bottom: var(--space-lg); }
.cta-band__actions { display: flex; gap: var(--space-sm); justify-content: center; flex-wrap: wrap; }

/* =========================================
   PAGE HERO
   ========================================= */
.page-hero {
  background: var(--color-bg-dark);
  padding-top: calc(var(--nav-height) + var(--space-2xl));
  padding-bottom: var(--space-2xl);
  min-height: 45vh;
  display: flex;
  align-items: flex-end;
}
.page-hero__blobs { position: absolute; inset: 0; overflow: hidden; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero__heading {
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
  animation: heroFadeUp 0.7s ease both;
}
.page-hero__heading--sm { font-size: clamp(1.8rem, 4vw, 3rem); }
.page-hero__desc { color: rgba(240,236,226,0.7); max-width: 560px; animation: heroFadeUp 0.7s ease 0.15s both; }

/* =========================================
   STORY
   ========================================= */
.story__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}
@media (min-width: 900px) {
  .story__grid { grid-template-columns: 1fr 1fr; }
}
.story__blobs { position: absolute; inset: 0; overflow: hidden; }
.story__content { position: relative; z-index: 1; }
.story__content p { margin-bottom: var(--space-md); }
.story__visual { position: relative; z-index: 1; }

/* =========================================
   VALUES GRID
   ========================================= */
.values__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

/* =========================================
   TIMELINE
   ========================================= */
.timeline__track {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  position: relative;
  padding-left: var(--space-xl);
}
.timeline__track::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary), transparent);
}
.timeline__item { position: relative; }
.timeline__dot {
  position: absolute;
  left: calc(-1 * var(--space-xl) + 4px);
  top: var(--space-md);
  width: 16px; height: 16px;
  background: var(--color-primary);
  border-radius: 50%;
  border: 3px solid var(--color-bg);
  box-shadow: 0 0 0 2px var(--color-primary);
}
@media (min-width: 700px) {
  .timeline__track { flex-direction: row; flex-wrap: wrap; padding-left: 0; }
  .timeline__track::before { display: none; }
  .timeline__item { flex: 1 1 200px; }
  .timeline__dot { display: none; }
}

/* =========================================
   PROGRAM - ACCORDION
   ========================================= */
.program__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}
@media (min-width: 900px) {
  .program__grid { grid-template-columns: 1fr 340px; align-items: start; }
}

.accordion { display: flex; flex-direction: column; gap: var(--space-sm); margin-top: var(--space-xl); }
.accordion__item {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.accordion__item:hover { box-shadow: var(--shadow-md); }
.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  text-align: left;
  background: none;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: var(--color-text);
  transition: background var(--transition);
}
.accordion__trigger:hover { background: rgba(181,130,26,0.04); }
.accordion__num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  min-width: 60px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.accordion__title { flex: 1; font-weight: 600; }
.accordion__icon {
  color: var(--color-primary);
  transition: transform var(--transition);
  font-size: 0.85rem;
}
.accordion__item--open .accordion__icon { transform: rotate(180deg); }
.accordion__content {
  display: none;
  padding: 0 var(--space-md) var(--space-md);
  border-top: 1px solid var(--color-border);
}
.accordion__item--open .accordion__content { display: block; }
.accordion__content p { margin-bottom: var(--space-sm); color: var(--color-text-muted); font-size: 0.92rem; }
.accordion__content ul { padding-left: var(--space-md); display: flex; flex-direction: column; gap: 6px; }
.accordion__content ul li { color: var(--color-text-muted); font-size: 0.9rem; list-style: disc; }

/* =========================================
   WORKSHOP SPECIFIC
   ========================================= */
.workshop-intro__blobs { position: absolute; inset: 0; overflow: hidden; }
.diff__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
.types__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

/* =========================================
   CONTACT
   ========================================= */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}
@media (min-width: 900px) {
  .contact__grid { grid-template-columns: 1fr 1fr; }
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 600px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--space-md); }
.form-label { font-size: 0.88rem; font-weight: 600; color: var(--color-text); }
.required { color: var(--color-accent); }
.form-input, .form-textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--color-text);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  min-height: 44px;
}
.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(181,130,26,0.12);
}
.form-textarea { resize: vertical; min-height: 140px; }
.form-group--check { flex-direction: row; align-items: flex-start; }
.form-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 0.9rem; color: var(--color-text-muted); }
.form-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--color-primary); flex-shrink: 0; }
.form-check a { color: var(--color-primary); text-decoration: underline; }
.form-error { color: var(--color-accent); font-size: 0.88rem; min-height: 1.2em; margin-bottom: var(--space-sm); }

.contact-info-list { display: flex; flex-direction: column; gap: var(--space-lg); margin-bottom: var(--space-xl); }
.contact-info-list li { display: flex; gap: var(--space-md); align-items: flex-start; }
.contact-info-icon {
  width: 48px; height: 48px;
  background: rgba(181,130,26,0.1);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 1px solid rgba(181,130,26,0.18);
}
.contact-info-list strong { display: block; font-size: 0.88rem; color: var(--color-text-muted); font-weight: 600; margin-bottom: 2px; }
.contact-info-list span, .contact-info-list a { color: var(--color-text); font-size: 0.95rem; }
.contact-info-list a:hover { color: var(--color-primary); }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }

.news__grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
@media (min-width: 700px) {
  .news__grid { flex-direction: row; }
  .card--news { flex: 1; flex-direction: column; }
  .card__news-date { flex-direction: row; align-items: center; min-width: auto; border-radius: var(--radius-sm); padding: 6px 10px; }
}

/* =========================================
   THANKS PAGE
   ========================================= */
.thanks {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + var(--space-xl));
  background: var(--color-bg);
}
.thanks__blobs { position: absolute; inset: 0; overflow: hidden; }
.thanks__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
  text-align: center;
}
@media (min-width: 700px) {
  .thanks__content { flex-direction: row; text-align: left; }
}
.thanks__heading { color: var(--color-text); margin-bottom: var(--space-md); }
.thanks__desc { color: var(--color-text-muted); margin-bottom: var(--space-lg); }
.thanks__desc a { color: var(--color-primary); text-decoration: underline; }
.thanks__actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; }


.envelope-wrap { perspective: 600px; }
.envelope {
  width: 120px;
  height: 90px;
  position: relative;
  animation: envelopeBounce 0.8s ease 0.3s both;
}
@keyframes envelopeBounce {
  0% { transform: scale(0.5) translateY(30px); opacity: 0; }
  60% { transform: scale(1.08) translateY(-8px); opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.envelope__body {
  width: 120px; height: 80px;
  background: linear-gradient(135deg, #f0ece2 0%, #e5dece 100%);
  border-radius: var(--radius-sm);
  border: 2px solid var(--color-border);
  position: absolute;
  bottom: 0;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.envelope__flap {
  width: 0; height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-top: 44px solid var(--color-primary);
  position: absolute;
  top: 0;
  transform-origin: top center;
  animation: flapOpen 0.7s ease 0.9s both;
  z-index: 2;
}
@keyframes flapOpen {
  0% { transform: rotateX(0deg); }
  100% { transform: rotateX(-180deg); }
}
.envelope__letter {
  width: 80px;
  height: 60px;
  background: #fff;
  border-radius: 4px;
  margin: 10px auto 0;
  position: absolute;
  left: 50%; transform: translateX(-50%);
  animation: letterSlide 0.6s ease 1.5s both;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
@keyframes letterSlide {
  0% { transform: translateX(-50%) translateY(20px); opacity: 0; }
  100% { transform: translateX(-50%) translateY(-30px); opacity: 1; }
}
.envelope__letter-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 10px;
}
.envelope__letter-lines span {
  display: block;
  height: 3px;
  background: var(--color-border);
  border-radius: 2px;
}
.envelope__letter-lines span:nth-child(2) { width: 70%; }
.envelope__letter-lines span:nth-child(3) { width: 55%; }

/* =========================================
   LEGAL PAGES
   ========================================= */
.legal-hero {
  background: var(--color-bg-dark);
  padding-top: calc(var(--nav-height) + var(--space-2xl));
  padding-bottom: var(--space-xl);
}
.legal-meta { color: rgba(240,236,226,0.5); font-size: 0.85rem; margin-top: var(--space-sm); }

.legal-accordion { display: flex; flex-direction: column; gap: var(--space-sm); }
.legal-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.legal-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md);
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
  transition: background var(--transition);
}
.legal-trigger:hover { background: rgba(181,130,26,0.04); }
.legal-trigger i { color: var(--color-primary); transition: transform var(--transition); font-size: 0.85rem; }
.legal-item--open .legal-trigger i { transform: rotate(180deg); }
.legal-body {
  display: none;
  padding: 0 var(--space-md) var(--space-md);
  border-top: 1px solid var(--color-border);
}
.legal-item--open .legal-body { display: block; }
.legal-body p { font-size: 0.92rem; color: var(--color-text-muted); margin-bottom: var(--space-sm); }
.legal-body ul { padding-left: var(--space-md); display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--space-sm); }
.legal-body ul li { font-size: 0.9rem; color: var(--color-text-muted); list-style: disc; }
.legal-body a { color: var(--color-primary); text-decoration: underline; }


.aviso-section { margin-bottom: var(--space-xl); padding-bottom: var(--space-xl); border-bottom: 1px solid var(--color-border); }
.aviso-section:last-child { border-bottom: none; }
.aviso-section h2 { font-size: 1.2rem; margin-bottom: var(--space-md); color: var(--color-primary); font-family: 'Inter', sans-serif; font-weight: 700; }
.aviso-section p { font-size: 0.92rem; color: var(--color-text-muted); margin-bottom: var(--space-sm); }
.aviso-section ul { padding-left: var(--space-md); display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--space-sm); }
.aviso-section ul li { font-size: 0.9rem; color: var(--color-text-muted); list-style: disc; }
.aviso-section a { color: var(--color-primary); text-decoration: underline; }
.aviso-table { width: 100%; border-collapse: collapse; margin: var(--space-md) 0; font-size: 0.9rem; }
.aviso-table th, .aviso-table td { padding: 10px 14px; border: 1px solid var(--color-border); text-align: left; }
.aviso-table th { background: var(--color-bg-tinted); font-weight: 700; color: var(--color-text); width: 35%; }
.aviso-table td { color: var(--color-text-muted); }


.cookies-table { width: 100%; border-collapse: collapse; margin: var(--space-md) 0; font-size: 0.85rem; overflow-x: auto; display: block; }
.cookies-table th, .cookies-table td { padding: 8px 12px; border: 1px solid var(--color-border); text-align: left; white-space: nowrap; }
.cookies-table th { background: var(--color-bg-tinted); font-weight: 700; color: var(--color-text); }
.cookies-table td { color: var(--color-text-muted); }

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: #12120f;
  color: rgba(240,236,226,0.7);
  position: relative;
}
.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-md) var(--space-xl);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}
@media (min-width: 600px) {
  .footer__container { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .footer__container { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}
.footer__col--brand {}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-md);
  text-decoration: none;
}
.footer__logo-img { width: 32px; height: 32px; filter: brightness(0) invert(1) opacity(0.8); }
.footer__logo span { font-family: 'Lora', serif; font-size: 1.1rem; color: rgba(240,236,226,0.8); }
.footer__logo strong { color: var(--color-primary-light); }
.footer__tagline { font-size: 0.88rem; color: rgba(240,236,226,0.5); line-height: 1.6; }
.footer__col-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: var(--space-md);
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: 0.9rem;
  color: rgba(240,236,226,0.6);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--color-primary-light); }
.footer__contact { display: flex; flex-direction: column; gap: var(--space-sm); }
.footer__contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: rgba(240,236,226,0.6); }
.footer__contact li i { color: var(--color-primary-light); margin-top: 3px; flex-shrink: 0; }
.footer__contact a { color: rgba(240,236,226,0.6); transition: color var(--transition); }
.footer__contact a:hover { color: var(--color-primary-light); }
.footer__bottom {
  border-top: 1px solid rgba(240,236,226,0.08);
  text-align: center;
  padding: var(--space-md);
}
.footer__bottom p { font-size: 0.82rem; color: rgba(240,236,226,0.35); margin: 0; }


.back-to-top {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  width: 48px; height: 48px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-gold);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
  z-index: 800;
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--color-primary-dark); transform: translateY(-3px); }

/* =========================================
   COOKIE CONSENT
   ========================================= */
.cookie-link-wrap {
  position: fixed;
  bottom: var(--space-md);
  left: var(--space-md);
  z-index: 700;
}
.cookie-link {
  background: rgba(26,26,24,0.88);
  color: rgba(240,236,226,0.7);
  border: 1px solid rgba(240,236,226,0.15);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.78rem;
  font-family: 'Inter', sans-serif;
  display: flex; align-items: center; gap: 6px;
  backdrop-filter: blur(8px);
  transition: all var(--transition);
  cursor: pointer;
}
.cookie-link:hover { color: var(--color-primary-light); border-color: rgba(181,130,26,0.4); }
.cookie-link.pulse { animation: cookiePulse 2s ease 3; }
@keyframes cookiePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(181,130,26,0); }
  50% { box-shadow: 0 0 0 8px rgba(181,130,26,0.25); }
}

.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.cookie-modal-overlay.is-open { opacity: 1; pointer-events: all; }
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition);
}
.cookie-modal-overlay.is-open .cookie-modal { transform: translateY(0); }
.cookie-modal__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-bg-tinted);
  color: var(--color-text);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.cookie-modal__close:hover { background: var(--color-border); }
.cookie-modal__title {
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
  display: flex; align-items: center; gap: 8px;
  color: var(--color-text);
}
.cookie-modal__title i { color: var(--color-primary); }
.cookie-modal__intro { font-size: 0.9rem; color: var(--color-text-muted); margin-bottom: var(--space-lg); }
.cookie-modal__options { display: flex; flex-direction: column; gap: var(--space-md); margin-bottom: var(--space-lg); }
.cookie-option { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); }
.cookie-option__info { display: flex; flex-direction: column; gap: 2px; }
.cookie-option__info strong { font-size: 0.92rem; color: var(--color-text); }
.cookie-option__info span { font-size: 0.82rem; color: var(--color-text-muted); }
.cookie-modal__actions { display: flex; gap: var(--space-sm); justify-content: flex-end; flex-wrap: wrap; }


.toggle { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle__slider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 24px;
  cursor: pointer;
  transition: background var(--transition);
}
.toggle__slider::before {
  content: '';
  position: absolute;
  height: 18px; width: 18px;
  left: 3px; bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--transition);
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
.toggle input:checked + .toggle__slider { background: var(--color-primary); }
.toggle input:checked + .toggle__slider::before { transform: translateX(20px); }
.toggle--disabled { opacity: 0.6; cursor: not-allowed; }
.toggle--disabled .toggle__slider { cursor: not-allowed; background: var(--color-secondary); }

/* =========================================
   SCROLL REVEAL
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   RESPONSIVE UTILITIES
   ========================================= */
@media (max-width: 600px) {
  .card--news { flex-direction: column; }
  .card__news-date { flex-direction: row; align-items: center; width: fit-content; border-radius: var(--radius-sm); padding: 6px 12px; }
  .experience__images { min-height: auto; }
  .card--small { max-width: 100%; transform: none; margin: 0; }
  .card--float { transform: none; }
  .hero__image { height:
220px; }
}

@media (max-width: 400px) {
  :root { --space-md: 0.9rem; }
  .btn { padding: 0.65rem 1.25rem; font-size: 0.85rem; }
}