/* ============================================
   Hunveqix - Custom CSS
   Design: Cutout Layers concept
   ============================================ */


:root {
  --color-bg: #f5f3ee;
  --color-surface: #ffffff;
  --color-surface-tint: #ede9e0;
  --color-surface-dark: #1a1714;
  --color-ink: #1e1c18;
  --color-ink-muted: #5a5650;
  --color-ink-light: #8a8680;

  --color-primary: #c84b2f;
  --color-primary-dark: #a53b22;
  --color-primary-light: #f0d0c8;
  --color-secondary: #2d4a6e;
  --color-secondary-light: #d0dae8;
  --color-accent: #e8a020;
  --color-accent-light: #fdf0d0;

  --shadow-sm: 0 1px 3px rgba(30,28,24,0.08), 0 1px 2px rgba(30,28,24,0.04);
  --shadow-md: 0 4px 12px rgba(30,28,24,0.10), 0 2px 4px rgba(30,28,24,0.06);
  --shadow-lg: 0 12px 32px rgba(30,28,24,0.14), 0 4px 8px rgba(30,28,24,0.06);
  --shadow-xl: 0 24px 64px rgba(30,28,24,0.18), 0 8px 16px rgba(30,28,24,0.08);

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

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;
  --space-2xl: 10rem;

  --font-heading: 'Literata', Georgia, serif;
  --font-body: 'Figtree', system-ui, sans-serif;

  --nav-height: 72px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}


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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main { flex: 1; }

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

a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-dark); }

address { font-style: normal; }


h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--color-ink);
}

h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { font-size: 1rem; line-height: 1.7; color: var(--color-ink-muted); }


.Btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
}

.Btn--primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(200,75,47,0.25);
}
.Btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
  box-shadow: 0 6px 24px rgba(200,75,47,0.35);
  transform: translateY(-1px);
}

.Btn--ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(6px);
}
.Btn--ghost:hover {
  background: rgba(255,255,255,0.22);
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}

.Btn--ghost-dark {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-ink);
}
.Btn--ghost-dark:hover {
  background: var(--color-ink);
  color: #fff;
}

.Btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.Btn--outline-light:hover {
  background: #fff;
  color: var(--color-ink);
  border-color: #fff;
}

.Btn--large { padding: 1.1rem 2.4rem; font-size: 1.05rem; }
.Btn--full { width: 100%; justify-content: center; }


.SectionLabel {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}
.SectionLabel--light { color: rgba(255,255,255,0.7); }

.SectionHeading { color: var(--color-ink); margin-bottom: 1rem; }
.SectionHeading--light { color: #fff; }
.SectionSub { font-size: 1.05rem; max-width: 56ch; }

/* ============================================
   SITE HEADER
   ============================================ */
.SiteHeader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.3s ease,
              box-shadow 0.3s ease;
  background: transparent;
}

.SiteHeader.is-visible {
  transform: translateY(0);
}

.SiteHeader.is-scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(30,28,24,0.10);
}

.SiteHeader-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.SiteHeader-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.SiteHeader-logo img { height: 36px; width: auto; }

.SiteHeader-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.SiteHeader-navLink {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-ink);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  position: relative;
  text-decoration: none;
  transition: color var(--transition);
}

.SiteHeader-navLink::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0.75rem;
  right: 0.75rem;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 2px;
}

.SiteHeader-navLink:hover,
.SiteHeader-navLink.is-active {
  color: var(--color-primary);
}
.SiteHeader-navLink:hover::after,
.SiteHeader-navLink.is-active::after {
  transform: scaleX(1);
}

.SiteHeader-cta {
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  background: var(--color-primary);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-pill);
  margin-left: 0.5rem;
  transition: all var(--transition);
  white-space: nowrap;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.SiteHeader-cta:hover {
  background: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200,75,47,0.3);
}

.SiteHeader-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.SiteHeader-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-ink);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================
   MOBILE MENU - Full Viewport Overlay Grid
   ============================================ */
.MobileMenu {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--color-secondary);
  display: flex;
  flex-direction: column;
  padding: var(--space-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.MobileMenu.is-open {
  opacity: 1;
  pointer-events: all;
}

.MobileMenu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.MobileMenu-logo {
  height: 34px;
  width: auto;
  filter: brightness(10);
}

.MobileMenu-close {
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.MobileMenu-close:hover { background: rgba(255,255,255,0.25); }

.MobileMenu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  flex: 1;
  align-content: start;
}

.MobileMenu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.5rem 1rem;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  color: #fff;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 500;
  transition: background var(--transition), transform var(--transition);
  min-height: 90px;
  text-decoration: none;
}
.MobileMenu-item i { font-size: 1.4rem; opacity: 0.85; }
.MobileMenu-item:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  transform: scale(1.02);
}

.MobileMenu-item--cta {
  background: var(--color-primary);
  color: #fff;
}
.MobileMenu-item--cta:hover {
  background: var(--color-primary-dark);
  color: #fff;
}

.MobileMenu-item--small {
  opacity: 0.7;
  font-size: 0.8rem;
}

/* ============================================
   HERO SENTINEL
   ============================================ */
.HeroSentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
  visibility: hidden;
}

/* ============================================
   PAGE HERO (Homepage)
   ============================================ */
.PageHero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.PageHero-bgImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.PageHero-bgOverlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(29,23,20,0.85) 0%,
    rgba(45,74,110,0.55) 60%,
    rgba(29,23,20,0.30) 100%
  );
}

.PageHero-cutout {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.PageHero-cutout--circle {
  width: clamp(280px, 40vw, 580px);
  height: clamp(280px, 40vw, 580px);
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.10;
  top: -12%;
  right: -6%;
  mix-blend-mode: screen;
}

.PageHero-cutout--arch {
  width: clamp(180px, 24vw, 360px);
  height: clamp(260px, 34vw, 500px);
  background: var(--color-accent);
  opacity: 0.07;
  bottom: 0;
  left: 4%;
  border-radius: 50% 50% 0 0 / 60% 60% 0 0;
  mix-blend-mode: screen;
}

.PageHero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: calc(var(--nav-height) + 3rem) clamp(1.5rem, 6vw, 7rem) var(--space-xl);
  max-width: 900px;
}

.PageHero-tag {
  display: inline-block;
  background: rgba(232,160,32,0.18);
  border: 1px solid rgba(232,160,32,0.38);
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
}

.PageHero-heading {
  color: #fff;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 1.5rem;
}
.PageHero-heading em {
  font-style: italic;
  color: var(--color-accent);
}

.PageHero-sub {
  color: rgba(255,255,255,0.80);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.72;
  max-width: 54ch;
  margin-bottom: 2.5rem;
}

.PageHero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.PageHero-scrollIndicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.45);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  animation: scrollBounce 2.2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.45; }
  50% { transform: translateX(-50%) translateY(7px); opacity: 0.7; }
}

/* ============================================
   INTRO FLOW SECTION
   ============================================ */
.IntroFlow {
  padding: var(--space-xl) var(--space-md);
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.IntroFlow-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.IntroFlow-heading {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  max-width: 22ch;
}

.IntroFlow-body p { margin-bottom: 1rem; }
.IntroFlow-body p:last-child { margin-bottom: 0; }

.IntroFlow-visual { position: relative; }

.IntroFlow-cutoutWindow {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);
  box-shadow: var(--shadow-xl);
}

.IntroFlow-cutoutWindow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.IntroFlow-cutoutWindow:hover img { transform: scale(1.04); }

.IntroFlow-floatingCard {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.6rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  max-width: 270px;
  border-left: 4px solid var(--color-accent);
}
.IntroFlow-floatingCard i {
  color: var(--color-accent);
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.IntroFlow-floatingCard p {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-ink);
  margin: 0;
  line-height: 1.5;
}

/* ============================================
   TOPICS SECTION
   ============================================ */
.TopicsSection {
  position: relative;
  padding: calc(var(--space-xl) + 2rem) var(--space-md);
  overflow: hidden;
}

.TopicsSection::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--color-secondary) 0%, var(--color-surface-dark) 60%);
  clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
  z-index: 0;
}

.TopicsSection-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}

.TopicsSection-header {
  margin-bottom: var(--space-lg);
}
.TopicsSection-header .SectionHeading { color: #fff; }

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

.TopicCard {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.TopicCard::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.TopicCard:hover {
  background: rgba(255,255,255,0.10);
  transform: translateY(-3px);
}
.TopicCard:hover::after { transform: scaleX(1); }

.TopicCard--featured {
  grid-column: span 2;
  grid-row: 1;
  background: rgba(200,75,47,0.12);
  border-color: rgba(200,75,47,0.25);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr 1fr;
  gap: 1rem;
}

.TopicCard--accent {
  background: rgba(232,160,32,0.10);
  border-color: rgba(232,160,32,0.25);
}
.TopicCard--accent::after { background: var(--color-accent); }

.TopicCard-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255,255,255,0.10);
  line-height: 1;
}

.TopicCard--featured .TopicCard-num {
  grid-column: 1;
  grid-row: 1;
}

.TopicCard-img {
  grid-column: 2;
  grid-row: 1 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  clip-path: circle(46% at 50% 50%);
  align-self: center;
}
.TopicCard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 200px;
}

.TopicCard-title {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.TopicCard--featured .TopicCard-title {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
}

.TopicCard-body {
  color: rgba(255,255,255,0.62);
  font-size: 0.92rem;
  line-height: 1.65;
}
.TopicCard--featured .TopicCard-body {
  grid-column: 1;
  grid-row: 3;
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.ProcessSection {
  padding: var(--space-xl) var(--space-md);
  background: var(--color-bg);
}

.ProcessSection-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.ProcessSection-header {
  max-width: 640px;
  margin-bottom: var(--space-lg);
}

.ProcessSteps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.ProcessSteps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  opacity: 0.25;
  z-index: 0;
}

.ProcessStep {
  position: relative;
  z-index: 1;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ProcessStep-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 3px solid var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  transition: all var(--transition);
}
.ProcessStep:hover .ProcessStep-icon {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(200,75,47,0.3);
}

.ProcessStep-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

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

.ProcessStep-body {
  font-size: 0.88rem;
  color: var(--color-ink-muted);
  line-height: 1.62;
}

/* ============================================
   AUDIENCE SECTION
   ============================================ */
.AudienceSection {
  position: relative;
  padding: var(--space-xl) var(--space-md);
  background: var(--color-secondary);
  overflow: hidden;
}

.AudienceSection::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 40px 40px;
}

.AudienceSection-cutout {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  border: 80px solid rgba(255,255,255,0.04);
  pointer-events: none;
}

.AudienceSection-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.AudienceSection-text .SectionHeading {
  color: #fff;
  margin-bottom: 1.5rem;
}
.AudienceSection-body {
  color: rgba(255,255,255,0.68);
  margin-bottom: 2rem;
  font-size: 1.05rem;
  line-height: 1.72;
}

.AudienceSection-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.AudienceCard {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--transition);
}
.AudienceCard:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.AudienceCard--offset { margin-top: 1.5rem; }

.AudienceCard-icon {
  width: 44px;
  height: 44px;
  background: rgba(200,75,47,0.22);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.AudienceCard-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.AudienceCard-body {
  color: rgba(255,255,255,0.58);
  font-size: 0.88rem;
  line-height: 1.62;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.GallerySection {
  padding: var(--space-xl) var(--space-md);
  background: var(--color-bg);
}

.GallerySection-inner { max-width: 1280px; margin: 0 auto; }
.GallerySection-header { margin-bottom: var(--space-lg); }

.GalleryGrid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  height: 520px;
}

.GalleryItem {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}
.GalleryItem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.GalleryItem:hover img { transform: scale(1.06); }

.GalleryItem--large {
  grid-row: span 2;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 90% 100%, 0 100%);
}

.GalleryItem-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.68));
  color: rgba(255,255,255,0.9);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 2rem 1.25rem 1rem;
  transform: translateY(100%);
  transition: transform var(--transition);
}
.GalleryItem:hover .GalleryItem-caption { transform: translateY(0); }

/* ============================================
   CTA SECTION
   ============================================ */
.CtaSection {
  position: relative;
  padding: var(--space-xl) var(--space-md);
  background: var(--color-ink);
  overflow: hidden;
  text-align: center;
}

.CtaSection-cutoutCircle {
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.07;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.CtaSection-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.CtaSection-heading {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 1.2rem;
}

.CtaSection-body {
  color: rgba(255,255,255,0.68);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

.CtaSection-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ============================================
   SITE FOOTER
   ============================================ */
.SiteFooter {
  background: var(--color-surface-dark);
  padding: var(--space-lg) var(--space-md) var(--space-md);
  margin-top: auto;
}

.SiteFooter-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.SiteFooter-brand img {
  margin-bottom: 1rem;
  filter: brightness(8) saturate(0);
  opacity: 0.85;
}

.SiteFooter-tagline {
  color: rgba(255,255,255,0.42);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.SiteFooter-address {
  color: rgba(255,255,255,0.48);
  font-size: 0.88rem;
  line-height: 2.1;
}
.SiteFooter-address i {
  color: var(--color-primary);
  margin-right: 0.45rem;
  width: 14px;
  text-align: center;
}
.SiteFooter-address a {
  color: rgba(255,255,255,0.48);
  transition: color var(--transition);
}
.SiteFooter-address a:hover { color: #fff; }

.SiteFooter-nav { display: contents; }

.SiteFooter-navCol {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.SiteFooter-navTitle {
  color: rgba(255,255,255,0.65);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.SiteFooter-navCol a {
  color: rgba(255,255,255,0.42);
  font-size: 0.9rem;
  transition: color var(--transition);
  padding: 0.2rem 0;
  text-decoration: none;
}
.SiteFooter-navCol a:hover { color: rgba(255,255,255,0.85); }

.SiteFooter-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.SiteFooter-bottom p {
  color: rgba(255,255,255,0.28);
  font-size: 0.82rem;
}
.SiteFooter-bottom a {
  color: rgba(255,255,255,0.35);
  font-size: 0.82rem;
  transition: color var(--transition);
}
.SiteFooter-bottom a:hover { color: rgba(255,255,255,0.75); }

/* ============================================
   INNER HERO (inner pages)
   ============================================ */
.InnerHero {
  position: relative;
  padding: calc(var(--nav-height) + 4rem) var(--space-md) var(--space-xl);
  background: var(--color-secondary);
  overflow: hidden;
}

.InnerHero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-surface-dark) 100%);
}

.InnerHero-cutout {
  position: absolute;
  z-index: 0;
  width: clamp(280px, 45vw, 500px);
  height: clamp(280px, 45vw, 500px);
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  top: -15%;
  right: -8%;
  pointer-events: none;
}

.InnerHero-cutout--alt {
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
  background: rgba(200,75,47,0.08);
  width: 60%;
  height: 120%;
  top: -10%;
  right: -10%;
}

.InnerHero-cutout--wave {
  clip-path: ellipse(55% 45% at 50% 50%);
  background: rgba(232,160,32,0.07);
}

.InnerHero--dark::before {
  background: linear-gradient(135deg, #0d1822 0%, var(--color-secondary) 100%);
}

.InnerHero--editorial::before {
  background: linear-gradient(160deg, var(--color-ink) 0%, var(--color-secondary) 100%);
}

.InnerHero--contact::before {
  background: linear-gradient(135deg, #7a2418 0%, var(--color-secondary) 100%);
}

.InnerHero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.InnerHero-heading {
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  margin-bottom: 1rem;
}

.InnerHero-sub {
  color: rgba(255,255,255,0.70);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  max-width: 54ch;
  line-height: 1.72;
}

/* ============================================
   DIFF BLOCKS (Ce ne diferentiaza)
   ============================================ */
.DiffSection {
  padding: var(--space-xl) var(--space-md);
  background: var(--color-bg);
}
.DiffSection-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.DiffBlock {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-surface-tint);
}
.DiffBlock:last-child { border-bottom: none; }
.DiffBlock--alt .DiffBlock-visual { order: -1; }

.DiffBlock-visual { position: relative; }

.DiffBlock-cutoutShape {
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  clip-path: polygon(12% 0%, 100% 0%, 88% 100%, 0% 100%);
  box-shadow: var(--shadow-xl);
}
.DiffBlock-cutoutShape--arch {
  clip-path: ellipse(50% 50% at 50% 50%);
  border-radius: 50%;
  aspect-ratio: 1;
}
.DiffBlock-cutoutShape--diamond {
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.DiffBlock-cutoutShape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.DiffBlock-cutoutShape:hover img { transform: scale(1.05); }

.DiffBlock-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.DiffBlock-heading {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  margin-bottom: 1rem;
}

.DiffBlock-text p { margin-bottom: 1rem; }
.DiffBlock-text p:last-child { margin-bottom: 0; }

/* ============================================
   PRINCIPLES SECTION
   ============================================ */
.PrinciplesSection {
  position: relative;
  padding: calc(var(--space-xl) + 2rem) var(--space-md);
  overflow: hidden;
}

.PrinciplesSection-bg {
  position: absolute;
  inset: 0;
  background: var(--color-surface-tint);
  clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%);
  z-index: 0;
}

.PrinciplesSection-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}

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

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

.PrincipleCard {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  border-bottom: 3px solid transparent;
}
.PrincipleCard:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--color-primary);
}

.PrincipleCard--accent { border-bottom-color: var(--color-accent); }
.PrincipleCard--accent:hover { border-bottom-color: var(--color-accent); }

.PrincipleCard-icon {
  width: 48px;
  height: 48px;
  background: var(--color-primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}
.PrincipleCard--accent .PrincipleCard-icon {
  background: var(--color-accent-light);
  color: var(--color-accent);
}

.PrincipleCard-title { font-size: 1.05rem; margin-bottom: 0.75rem; }
.PrincipleCard-body { font-size: 0.9rem; line-height: 1.68; }

/* ============================================
   AGENDA (cum decurge cursul)
   ============================================ */
.AgendaSection {
  padding: var(--space-xl) var(--space-md);
  background: var(--color-bg);
}
.AgendaSection-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.AgendaDay { margin-bottom: var(--space-xl); }
.AgendaDay:last-child { margin-bottom: 0; }

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

.AgendaDay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  border-radius: 50%;
  margin-bottom: 1rem;
  box-shadow: 0 4px 16px rgba(200,75,47,0.32);
}

.AgendaDay-badge--two {
  background: var(--color-secondary);
  box-shadow: 0 4px 16px rgba(45,74,110,0.32);
}

.AgendaDay-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 0.5rem;
}
.AgendaDay-sub {
  color: var(--color-ink-muted);
  font-size: 1rem;
}

.AgendaDay-timeline {
  position: relative;
  padding-left: 2.5rem;
}
.AgendaDay-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  opacity: 0.22;
}

.AgendaItem {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-surface-tint);
  position: relative;
}
.AgendaItem::before {
  content: '';
  position: absolute;
  left: -2.9rem;
  top: 1.8rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid var(--color-bg);
  box-shadow: 0 0 0 3px rgba(200,75,47,0.18);
}
.AgendaItem:last-child { border-bottom: none; }

.AgendaItem-time {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  padding-top: 0.1rem;
  flex-shrink: 0;
}

.AgendaItem-title { font-size: 1.05rem; margin-bottom: 0.5rem; }
.AgendaItem-body {
  font-size: 0.9rem;
  color: var(--color-ink-muted);
  margin-bottom: 0.75rem;
  line-height: 1.68;
}

.AgendaItem-tag {
  display: inline-block;
  background: var(--color-surface-tint);
  color: var(--color-ink-muted);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-pill);
}

.AgendaDay--two .AgendaItem::before {
  background: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(45,74,110,0.18);
}

/* ============================================
   INCLUDED SECTION
   ============================================ */
.IncludedSection {
  position: relative;
  padding: calc(var(--space-xl) + 2rem) var(--space-md);
  overflow: hidden;
}

.IncludedSection-cutout {
  position: absolute;
  inset: 0;
  background: var(--color-secondary);
  clip-path: polygon(0 0, 100% 8%, 100% 100%, 0 100%);
  z-index: 0;
}

.IncludedSection-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}

.IncludedSection-header { margin-bottom: var(--space-lg); }
.IncludedSection-header .SectionHeading { color: #fff; }

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

.IncludedCard {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  color: #fff;
  transition: all var(--transition);
}
.IncludedCard:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.IncludedCard--featured {
  background: rgba(200,75,47,0.15);
  border-color: rgba(200,75,47,0.28);
  grid-column: span 2;
}

.IncludedCard i {
  color: var(--color-accent);
  margin-bottom: 1.2rem;
  display: block;
}
.IncludedCard h3 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
}
.IncludedCard p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.65;
}

/* ============================================
   ARTICLES (articole-utile)
   ============================================ */
.ArticlesSection {
  padding: var(--space-xl) var(--space-md);
  background: var(--color-bg);
}
.ArticlesSection-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.ArticleCard {
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 2rem;
  transition: box-shadow var(--transition), transform var(--transition);
}

.ArticleCard--hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: var(--color-surface);
  box-shadow: var(--shadow-lg);
  min-height: 480px;
}
.ArticleCard--hero:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-2px);
}

.ArticleCard-img {
  overflow: hidden;
  clip-path: polygon(0 0, 92% 0, 100% 100%, 0 100%);
}
.ArticleCard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.ArticleCard--hero:hover .ArticleCard-img img { transform: scale(1.05); }

.ArticleCard-tag {
  display: inline-block;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.ArticleCard--hero .ArticleCard-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ArticleCard-title {
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  color: var(--color-ink);
  margin-bottom: 1rem;
  line-height: 1.28;
}

.ArticleCard-excerpt {
  font-size: 0.9rem;
  color: var(--color-ink-muted);
  line-height: 1.72;
  margin-bottom: 0.75rem;
}
.ArticleCard-excerpt:last-child { margin-bottom: 0; }

.ArticlesGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.ArticleCard--medium {
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
}
.ArticleCard--medium:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.ArticleCard--medium .ArticleCard-body { padding: 2rem; }

.ArticleCard--tinted {
  background: var(--color-surface-tint);
  box-shadow: none;
}
.ArticleCard--tinted:hover { box-shadow: var(--shadow-md); }

.ArticleCard--dark {
  background: var(--color-secondary);
  box-shadow: var(--shadow-md);
}
.ArticleCard--dark:hover { box-shadow: var(--shadow-lg); }
.ArticleCard--dark .ArticleCard-tag {
  background: rgba(200,75,47,0.22);
  color: rgba(255,255,255,0.82);
}
.ArticleCard--dark .ArticleCard-title { color: #fff; }
.ArticleCard--dark .ArticleCard-excerpt { color: rgba(255,255,255,0.62); }

.ArticleCard--wide {
  background: var(--color-ink);
  box-shadow: var(--shadow-xl);
}
.ArticleCard--wide:hover { transform: translateY(-2px); }
.ArticleCard--wide .ArticleCard-body {
  padding: 3rem;
  max-width: 820px;
}
.ArticleCard--wide .ArticleCard-tag {
  background: rgba(200,75,47,0.22);
  color: rgba(255,255,255,0.82);
}
.ArticleCard--wide .ArticleCard-title {
  color: #fff;
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
}
.ArticleCard--wide .ArticleCard-excerpt { color: rgba(255,255,255,0.62); }

/* ============================================
   CONTACT PAGE
   ============================================ */
.ContactSection {
  padding: var(--space-xl) var(--space-md);
  background: var(--color-bg);
}
.ContactSection-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.ContactSection-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 0.75rem;
}
.ContactSection-intro {
  color: var(--color-ink-muted);
  margin-bottom: 2rem;
}

.ContactForm {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ContactForm-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ContactForm-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-ink);
  transition: color var(--transition);
}

.ContactForm-input,
.ContactForm-textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-ink);
  background: var(--color-surface);
  border: 2px solid var(--color-surface-tint);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  resize: vertical;
  outline: none;
  min-height: 44px;
}

.ContactForm-input:focus,
.ContactForm-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(200,75,47,0.10);
}

.ContactForm-field:has(input:focus) .ContactForm-label,
.ContactForm-field:has(textarea:focus) .ContactForm-label {
  color: var(--color-primary);
}

.ContactForm-field:has(input:invalid:not(:placeholder-shown)) .ContactForm-input,
.ContactForm-field:has(textarea:invalid:not(:placeholder-shown)) .ContactForm-textarea {
  border-color: rgba(200,75,47,0.4);
}

.ContactForm-privacy {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.ContactForm-checkLabel {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--color-ink-muted);
  line-height: 1.55;
}

.ContactForm-checkLabel input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.ContactForm-checkCustom {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid var(--color-surface-tint);
  border-radius: 4px;
  margin-top: 2px;
  transition: all var(--transition);
  background: var(--color-surface);
  flex-shrink: 0;
}

.ContactForm-checkLabel input:checked + .ContactForm-checkCustom {
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.ContactForm-checkLabel input:checked + .ContactForm-checkCustom::after {
  content: '✓';
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.ContactForm-checkLabel a { color: var(--color-primary); }
.ContactForm-checkLabel a:hover { text-decoration: underline; }

.ContactInfo { margin-bottom: var(--space-md); }
.ContactInfo-title {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.ContactInfo-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-surface-tint);
}
.ContactInfo-item:last-child { border-bottom: none; }

.ContactInfo-icon {
  width: 40px;
  height: 40px;
  background: var(--color-primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
  font-size: 0.95rem;
}

.ContactInfo-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.ContactInfo-text strong {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-ink-light);
}
.ContactInfo-text span,
.ContactInfo-text a {
  font-size: 0.95rem;
  color: var(--color-ink);
}
.ContactInfo-text a:hover { color: var(--color-primary); }

.OfficeDesc {
  background: var(--color-surface-tint);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border-left: 4px solid var(--color-secondary-light);
}
.OfficeDesc-title {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.OfficeDesc-body {
  font-size: 0.9rem;
  line-height: 1.72;
  margin-bottom: 0.75rem;
}
.OfficeDesc-body:last-child { margin-bottom: 0; }


.MapSection {
  padding: 0 var(--space-md) var(--space-xl);
  background: var(--color-bg);
}
.MapSection-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.MapSection-title {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}
.MapSection-map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-surface-tint);
}

/* ============================================
   THANKS PAGE
   ============================================ */
.ThanksPage { background: var(--color-surface-tint); }

.ThanksMain {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 4rem) var(--space-md) var(--space-xl);
  min-height: 70vh;
}

.ThanksCard {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  max-width: 600px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  border-top: 4px solid var(--color-primary);
}

.ThanksCard-icon {
  width: 80px;
  height: 80px;
  background: var(--color-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--color-primary);
}

.ThanksCard-heading {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1.2rem;
}
.ThanksCard-body {
  color: var(--color-ink-muted);
  margin-bottom: 1rem;
  line-height: 1.72;
}

.ThanksCard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.LegalHero {
  position: relative;
  padding: calc(var(--nav-height) + 3rem) var(--space-md) var(--space-lg);
  background: var(--color-surface-tint);
}

.LegalHero--terms { background: var(--color-secondary-light); }
.LegalHero--cookies { background: var(--color-accent-light); }

.LegalHero-content {
  max-width: 1100px;
  margin: 0 auto;
}
.LegalHero-heading {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  margin-bottom: 0.5rem;
}
.LegalHero-meta {
  color: var(--color-ink-muted);
  font-size: 0.9rem;
}


.LegalMain {
  padding: var(--space-lg) var(--space-md);
}
.LegalMain--privacy { background: var(--color-bg); }

.LegalTimeline {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}
.LegalTimeline::before {
  content: '';
  position: absolute;
  left: 88px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--color-primary-light) 0%, var(--color-secondary-light) 100%);
}

.LegalTimeline-item {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}
.LegalTimeline-item::before {
  content: '';
  position: absolute;
  left: 82px;
  top: 0.4rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 3px solid var(--color-bg);
  box-shadow: 0 0 0 3px var(--color-primary-light);
  z-index: 1;
}

.LegalTimeline-marker {
  text-align: right;
  padding-top: 0.2rem;
}
.LegalTimeline-date {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-ink-light);
  letter-spacing: 0.04em;
  display: block;
  line-height: 1.4;
}

.LegalTimeline-content h2 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: var(--color-secondary);
  font-family: var(--font-heading);
}
.LegalTimeline-content p {
  font-size: 0.92rem;
  margin-bottom: 0.85rem;
  line-height: 1.78;
  color: var(--color-ink-muted);
}
.LegalTimeline-content p:last-child { margin-bottom: 0; }
.LegalTimeline-content a { color: var(--color-primary); }
.LegalTimeline-content strong {
  color: var(--color-ink);
  font-weight: 600;
}


.LegalMain--terms { background: var(--color-surface); }
.LegalTermsBody {
  max-width: 820px;
  margin: 0 auto;
}

.LegalTerms-section {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--color-surface-tint);
}
.LegalTerms-section:last-child { border-bottom: none; }
.LegalTerms-section h2 {
  font-size: 1.2rem;
  color: var(--color-ink);
  margin-bottom: 1.2rem;
  padding-left: 1rem;
  border-left: 4px solid var(--color-primary);
  font-family: var(--font-heading);
}
.LegalTerms-section p {
  font-size: 0.92rem;
  margin-bottom: 0.85rem;
  line-height: 1.78;
  color: var(--color-ink-muted);
}
.LegalTerms-section p:last-child { margin-bottom: 0; }
.LegalTerms-section strong {
  color: var(--color-ink);
  font-weight: 600;
}


.LegalMain--cookies { background: var(--color-bg); }
.CookiesBody {
  max-width: 820px;
  margin: 0 auto;
}

.CookiesIntro {
  background: var(--color-accent-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
  border-left: 4px solid var(--color-accent);
}
.CookiesIntro p {
  font-size: 0.9rem;
  line-height: 1.78;
  color: var(--color-ink);
}

.CookiesBlock {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-surface-tint);
}
.CookiesBlock h2 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--color-ink);
  font-family: var(--font-heading);
}
.CookiesBlock p {
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
  line-height: 1.78;
  color: var(--color-ink-muted);
}
.CookiesBlock p:last-child { margin-bottom: 0; }
.CookiesBlock strong { color: var(--color-ink); font-weight: 600; }

.CookiesTable {
  border: 1px solid var(--color-surface-tint);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 1rem;
}
.CookiesTable-row {
  display: grid;
  grid-template-columns: 1.2fr 2.5fr 1fr;
  gap: 1rem;
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--color-surface-tint);
  color: var(--color-ink-muted);
}
.CookiesTable-row:last-child { border-bottom: none; }
.CookiesTable-row--head {
  background: var(--color-surface-tint);
  font-weight: 600;
  color: var(--color-ink);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============================================
   COOKIE CONSENT - Floating Pill/Capsule
   ============================================ */
.CookieConsent {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: calc(100vw - 2rem);
}

.CookieConsent-pill {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(26,23,20,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(255,255,255,0.82);
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.08);
  white-space: nowrap;
}

.CookieConsent-pillText { flex: 1; }

.CookieConsent-pillBtns {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.CookieConsent-pillBtns button {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  min-height: 34px;
  font-family: var(--font-body);
}

.CookieConsent-accept {
  background: var(--color-primary);
  color: #fff;
}
.CookieConsent-accept:hover {
  background: var(--color-primary-dark);
}

.CookieConsent-customize {
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.78);
  border: 1px solid rgba(255,255,255,0.15) !important;
}
.CookieConsent-customize:hover {
  background: rgba(255,255,255,0.18);
}

.CookieConsent-modal {
  display: none;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: 2rem;
  max-width: 480px;
  width: 90vw;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-surface-tint);
}

.CookieConsent.is-expanded .CookieConsent-pill { display: none; }
.CookieConsent.is-expanded .CookieConsent-modal { display: block; }

.CookieConsent-modal h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--color-ink);
  font-family: var(--font-heading);
}
.CookieConsent-modal > p {
  font-size: 0.85rem;
  color: var(--color-ink-muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.CookieCategory {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--color-surface-tint);
  gap: 1rem;
}
.CookieCategory:last-of-type { border-bottom: none; }

.CookieCategory-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--color-ink);
  margin-bottom: 0.2rem;
  font-weight: 600;
}
.CookieCategory-info span {
  font-size: 0.8rem;
  color: var(--color-ink-muted);
}

.CookieToggle {
  position: relative;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
}
.CookieToggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.CookieToggle-slider {
  position: absolute;
  inset: 0;
  background: var(--color-surface-tint);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--transition);
}
.CookieToggle-slider::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  top: 3px;
  left: 3px;
  transition: transform var(--transition);
  box-shadow: var(--shadow-sm);
}
.CookieToggle input:checked + .CookieToggle-slider {
  background: var(--color-primary);
}
.CookieToggle input:checked + .CookieToggle-slider::after {
  transform: translateX(18px);
}
.CookieToggle input:disabled + .CookieToggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}
.CookieToggle input:disabled:checked + .CookieToggle-slider {
  background: var(--color-ink-muted);
}

.CookieConsent-modalBtns {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.CookieConsent-modalBtns button {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  min-height: 44px;
  font-family: var(--font-body);
}
.CookieConsent-saveAll {
  background: var(--color-primary);
  color: #fff;
}
.CookieConsent-saveAll:hover { background: var(--color-primary-dark); }
.CookieConsent-saveSelected {
  background: var(--color-surface-tint);
  color: var(--color-ink);
}
.CookieConsent-saveSelected:hover {
  background: var(--color-surface-dark);
  color: #fff;
}

/* ============================================
   RESPONSIVE - Tablet
   ============================================ */
@media (max-width: 1100px) {
  .TopicsGrid {
    grid-template-columns: 1fr 1fr;
  }
  .TopicCard--featured {
    grid-column: span 2;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .TopicCard--featured .TopicCard-num { grid-column: 1; grid-row: 1; }
  .TopicCard--featured .TopicCard-title { grid-column: 1; grid-row: 2; }
  .TopicCard--featured .TopicCard-body { grid-column: 1; grid-row: 3; }
  .TopicCard--featured .TopicCard-img { display: none; }

  .PrinciplesGrid { grid-template-columns: 1fr 1fr; }
  .IncludedGrid { grid-template-columns: 1fr 1fr; }
  .IncludedCard--featured { grid-column: span 2; }
  .SiteFooter-inner { grid-template-columns: 1fr 1fr; }
  .SiteFooter-brand { grid-column: span 2; }
  .ProcessSteps { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .ProcessSteps::before { display: none; }
}

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

  .SiteHeader-nav { display: none; }
  .SiteHeader-hamburger { display: flex; }

  .PageHero-content {
    padding: calc(var(--nav-height) + 2rem) 1.5rem var(--space-lg);
  }

  .IntroFlow {
    grid-template-columns: 1fr;
    padding: var(--space-lg) var(--space-sm);
  }
  .IntroFlow-floatingCard {
    position: static;
    margin-top: 1.5rem;
    max-width: 100%;
  }

  .TopicsGrid { grid-template-columns: 1fr; }
  .TopicCard--featured { grid-column: span 1; }

  .AudienceSection-inner { grid-template-columns: 1fr; }
  .AudienceSection-cards { grid-template-columns: 1fr 1fr; }
  .AudienceCard--offset { margin-top: 0; }

  .GalleryGrid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
  }
  .GalleryItem { height: 260px; }
  .GalleryItem--large {
    grid-row: auto;
    clip-path: none;
    border-radius: var(--radius-lg);
  }

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

  .DiffBlock { grid-template-columns: 1fr; }
  .DiffBlock--alt .DiffBlock-visual { order: 0; }

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

  .AgendaDay-timeline { padding-left: 1.5rem; }
  .AgendaItem { grid-template-columns: 56px 1fr; gap: 1rem; }
  .AgendaItem::before { left: -2rem; }

  .IncludedGrid { grid-template-columns: 1fr; }
  .IncludedCard--featured { grid-column: span 1; }

  .ArticleCard--hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .ArticleCard-img {
    height: 240px;
    clip-path: none;
  }
  .ArticlesGrid { grid-template-columns: 1fr; }

  .ContactSection-inner { grid-template-columns: 1fr; }

  .SiteFooter-inner { grid-template-columns: 1fr; }
  .SiteFooter-brand { grid-column: span 1; }
  .SiteFooter-bottom {
    flex-direction: column;
    text-align: center;
  }

  .LegalTimeline { padding-left: 0; }
  .LegalTimeline::before { display: none; }
  .LegalTimeline-item {
    grid-template-columns: 1fr;
    padding-left: 0;
  }
  .LegalTimeline-item::before { display: none; }
  .LegalTimeline-marker { display: none; }

  .CookiesTable-row {
    grid-template-columns: 1fr 2fr;
  }
  .CookiesTable-row > span:last-child { display: none; }

  .ThanksCard { padding: 2.5rem 1.5rem; }
  .ThanksCard-actions { flex-direction: column; align-items: center; }

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

  .CookieConsent-pill {
    flex-direction: column;
    border-radius: var(--radius-xl);
    padding: 1.2rem;
    white-space: normal;
    text-align: center;
    gap: 0.75rem;
  }
  .CookieConsent-pillBtns { justify-content: center; }
}

@media (max-width: 480px) {
  .PageHero-actions { flex-direction: column; }
  .PageHero-actions .Btn { width: 100%; justify-content: center; }
  .AudienceSection-cards { grid-template-columns: 1fr; }
  .MobileMenu-grid { gap: 0.75rem; }
  .MobileMenu-item { min-height: 80px; padding: 1.25rem 0.75rem; }
  .ThanksCard-actions .Btn { width: 100%; justify-content: center; }
  .CookieConsent-modalBtns { flex-direction: column; }
}

/* ============================================
   :has() - Modern CSS parent-aware styling
   ============================================ */


.ArticleCard:has(.ArticleCard-img) {
  box-shadow: var(--shadow-lg);
}


.TopicsSection:has(.TopicCard--featured) .TopicsSection-header .SectionLabel {
  color: var(--color-accent);
}


.ContactSection-form:has(:focus) {
  background: transparent;
}


.AudienceCard:has(.AudienceCard-icon) {
  padding-bottom: 1.75rem;
}


.PrinciplesGrid:has(.PrincipleCard--accent) .PrincipleCard:not(.PrincipleCard--accent):hover {
  border-bottom-color: var(--color-secondary);
}