/* ====================================
   Nexvorenda — Custom CSS
   Architectural Grid / Precise / Structured
   ==================================== */


:root {
  --c-primary: oklch(28% 0.06 240);
  --c-secondary: oklch(18% 0.04 240);
  --c-accent: oklch(60% 0.18 195);
  --c-surface: oklch(97% 0.008 240);
  --c-text: oklch(22% 0.03 240);
  --c-text-muted: oklch(48% 0.025 240);
  --c-border: oklch(82% 0.015 240);

  
  --c-primary-light: color-mix(in oklch, var(--c-primary), white 70%);
  --c-primary-lighter: color-mix(in oklch, var(--c-primary), white 90%);
  --c-primary-dark: color-mix(in oklch, var(--c-primary), black 20%);
  --c-accent-light: color-mix(in oklch, var(--c-accent), white 60%);
  --c-accent-dark: color-mix(in oklch, var(--c-accent), black 20%);
  --c-accent-subtle: color-mix(in oklch, var(--c-accent), white 85%);
  --c-surface-dark: color-mix(in oklch, var(--c-surface), var(--c-primary) 8%);
  --c-surface-darker: color-mix(in oklch, var(--c-surface), var(--c-primary) 20%);
  --c-border-light: color-mix(in oklch, var(--c-border), white 40%);
  --c-text-on-dark: oklch(94% 0.01 240);

  
  --shadow-xs: 0 1px 2px color-mix(in oklch, var(--c-primary), transparent 88%);
  --shadow-sm: 0 2px 6px color-mix(in oklch, var(--c-primary), transparent 84%), 0 1px 2px color-mix(in oklch, var(--c-primary), transparent 92%);
  --shadow-md: 0 4px 16px color-mix(in oklch, var(--c-primary), transparent 80%), 0 2px 4px color-mix(in oklch, var(--c-primary), transparent 88%);
  --shadow-lg: 0 8px 32px color-mix(in oklch, var(--c-primary), transparent 75%), 0 4px 8px color-mix(in oklch, var(--c-primary), transparent 86%);
  --shadow-xl: 0 16px 48px color-mix(in oklch, var(--c-primary), transparent 70%), 0 8px 16px color-mix(in oklch, var(--c-primary), transparent 82%);

  
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;

  
  --font-main: 'Inter', sans-serif;

  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 999px;

  
  --transition-fast: 150ms ease;
  --transition-base: 280ms ease;
  --transition-slow: 500ms ease;
}


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

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

body {
  font-family: var(--font-main);
  color: var(--c-text);
  background-color: var(--c-surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
address { font-style: normal; }
input, select, textarea { font: inherit; }


.s-hero__grid-bg,
.s-page-hero__grid-bg,
.c-footer__grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(color-mix(in oklch, var(--c-accent), transparent 92%) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in oklch, var(--c-accent), transparent 92%) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
}


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

.u-section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
  border: 1px solid color-mix(in oklch, var(--c-accent), transparent 60%);
  padding: 0.3em 0.9em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
  background: var(--c-accent-subtle);
}

.u-text-center { text-align: center; }
.u-hidden { display: none !important; }


.c-progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--c-accent), color-mix(in oklch, var(--c-accent), var(--c-primary) 40%));
  z-index: 9999;
  transition: width 80ms linear;
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
}


.c-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  transition: background var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  background: transparent;
  perspective: 800px;
}

.c-header.is-scrolled {
  background: color-mix(in oklch, var(--c-surface), transparent 8%);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid color-mix(in oklch, var(--c-border), transparent 40%);
}

.c-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  position: relative;
  z-index: 2;
}

.c-header__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--c-primary);
  transition: opacity var(--transition-fast);
}
.c-header__logo:hover { opacity: 0.75; }
.c-header__logo-img { width: 32px; height: 32px; }
.c-header__logo-text { letter-spacing: -0.02em; }

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

.c-nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-md);
  color: var(--c-text-muted);
  transition: color var(--transition-fast), background var(--transition-fast);
  position: relative;
}
.c-nav__link:hover,
.c-nav__link.is-active {
  color: var(--c-primary);
  background: var(--c-primary-lighter);
}
.c-nav__link.is-active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%; transform: translateX(-50%);
  width: 16px; height: 2px;
  background: var(--c-accent);
  border-radius: var(--radius-full);
}


.c-header__flip-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--c-primary-lighter);
  transition: background var(--transition-fast);
  z-index: 10;
}
.c-header__flip-btn:hover { background: var(--c-primary-light); }
.c-header__flip-btn-bar {
  display: block;
  width: 22px; height: 2px;
  background: var(--c-primary);
  border-radius: var(--radius-full);
  transition: transform var(--transition-base), opacity var(--transition-fast);
}


.c-header__flip-menu {
  position: fixed;
  inset: 0;
  z-index: 800;
  transform-origin: top center;
  transform: rotateX(-90deg);
  opacity: 0;
  pointer-events: none;
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1), opacity 300ms ease;
  background: color-mix(in oklch, var(--c-primary), transparent 2%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.c-header__flip-menu.is-active {
  transform: rotateX(0deg);
  opacity: 1;
  height: fit-content;
  pointer-events: all;
}
.c-header__flip-menu-inner {
  text-align: center;
  padding: var(--space-xl);
  width: 100%;
}
.c-header__flip-close {
  position: absolute;
  top: var(--space-md); right: var(--space-md);
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  background: color-mix(in oklch, white, transparent 80%);
  color: white;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition-fast);
}
.c-header__flip-close:hover { background: color-mix(in oklch, white, transparent 70%); }
.c-header__flip-list { display: flex; flex-direction: column; gap: var(--space-sm); }
.c-header__flip-link {
  font-size: clamp(1.4rem, 5vw, 2rem);
  font-weight: 700;
  color: var(--c-text-on-dark);
  opacity: 0.7;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}
.c-header__flip-link:hover,
.c-header__flip-link.is-active { opacity: 1; transform: translateX(8px); }
.c-header__flip-link.is-active { color: var(--c-accent); }


.c-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  transition: all var(--transition-base);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.c-btn--primary {
  background: var(--c-accent);
  color: white;
  border-color: var(--c-accent);
  box-shadow: 0 2px 12px color-mix(in oklch, var(--c-accent), transparent 60%);
}
.c-btn--primary:hover {
  background: var(--c-accent-dark);
  border-color: var(--c-accent-dark);
  box-shadow: 0 4px 20px color-mix(in oklch, var(--c-accent), transparent 45%);
  transform: translateY(-1px);
}

.c-btn--ghost {
  background: transparent;
  color: var(--c-primary);
  border-color: color-mix(in oklch, var(--c-primary), transparent 60%);
}
.c-btn--ghost:hover {
  background: var(--c-primary-lighter);
  border-color: var(--c-primary);
}

.c-btn--light {
  background: white;
  color: var(--c-primary);
  border-color: white;
}
.c-btn--light:hover {
  background: var(--c-primary-lighter);
  border-color: var(--c-primary-lighter);
  transform: translateY(-1px);
}

.c-btn--ghost-light {
  background: transparent;
  color: white;
  border-color: color-mix(in oklch, white, transparent 50%);
}
.c-btn--ghost-light:hover {
  background: color-mix(in oklch, white, transparent 85%);
  border-color: white;
}

.c-btn--full { width: 100%; justify-content: center; }


.c-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--c-accent);
  transition: gap var(--transition-fast), color var(--transition-fast);
}
.c-link:hover { gap: 0.7rem; color: var(--c-accent-dark); }


.s-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: color-mix(in oklch, var(--c-primary), var(--c-surface) 12%);
}

.s-hero__split {
  display: flex;
  width: 100%;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.s-hero__visual {
  flex: 0 0 48%;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.s-hero__visual-frame {
  position: relative;
  width: 100%;
  height: 100%;
}

.s-hero__visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6) saturate(0.8);
}

.s-hero__visual-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: var(--space-lg);
  background: linear-gradient(to top, color-mix(in oklch, var(--c-primary), transparent 10%) 0%, transparent 60%);
}

.s-hero__formula-card {
  background: color-mix(in oklch, var(--c-surface), transparent 5%);
  backdrop-filter: blur(12px);
  border: 1px solid color-mix(in oklch, var(--c-accent), transparent 50%);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-lg);
}

.s-hero__formula-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: 0.4rem;
}

.s-hero__formula-code {
  display: block;
  font-family: 'Courier New', monospace;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}

.s-hero__formula-sub {
  font-size: 0.75rem;
  color: var(--c-text-muted);
}

.s-hero__content {
  flex: 0 0 52%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10rem var(--space-xl) var(--space-xl) var(--space-xl);
  color: var(--c-text-on-dark);
}

.s-hero__tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent-light);
  margin-bottom: var(--space-md);
}

.s-hero__title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--c-text-on-dark);
  margin-bottom: var(--space-md);
}

.s-hero__title-accent {
  color: var(--c-accent);
}

.s-hero__lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: color-mix(in oklch, var(--c-text-on-dark), transparent 20%);
  max-width: 480px;
  margin-bottom: var(--space-lg);
}

.s-hero__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.s-hero__grid-coords {
  display: flex;
  gap: var(--space-lg);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in oklch, var(--c-text-on-dark), transparent 50%);
  border-top: 1px solid color-mix(in oklch, var(--c-text-on-dark), transparent 80%);
  padding-top: var(--space-md);
}


.s-problem {
  padding: var(--space-3xl) 0;
  background: var(--c-surface);
}

.s-problem__intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-2xl);
}

.s-problem__title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--c-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.s-problem__lead {
  color: var(--c-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.s-problem__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
}

.c-problem-card {
  background: var(--c-surface-dark);
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
}

.c-problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-accent), color-mix(in oklch, var(--c-accent), transparent 70%));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.c-problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.c-problem-card__icon {
  width: 48px; height: 48px;
  background: var(--c-accent-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
}

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

.c-problem-card__text {
  font-size: 0.875rem;
  color: var(--c-text-muted);
  line-height: 1.65;
}


.u-gradient-fade {
  height: 100px;
  background: linear-gradient(to bottom, var(--c-surface), var(--c-surface-darker));
  pointer-events: none;
}


.s-solutions {
  padding: var(--space-2xl) 0 var(--space-3xl);
  background: var(--c-surface-darker);
}

.s-solutions__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.s-solutions__title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--c-primary);
}

.s-solutions__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.c-solution-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.c-solution-item--reverse { direction: rtl; }
.c-solution-item--reverse > * { direction: ltr; }

.c-solution-item__visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}

.c-solution-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.c-solution-item__visual:hover .c-solution-item__img { transform: scale(1.04); }

.c-solution-item__num {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--c-accent);
  margin-bottom: 0.5rem;
}

.c-solution-item__title {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 800;
  color: var(--c-primary);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
  line-height: 1.25;
}

.c-solution-item__text {
  color: var(--c-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
  font-size: 0.95rem;
}


.s-benefits {
  padding: var(--space-3xl) 0;
  background: var(--c-surface);
}

.s-benefits__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.s-benefits__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--c-primary);
}

.s-benefits__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
}

.c-benefit-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  box-shadow: var(--shadow-xs);
}

.c-benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-accent-light);
}

.c-benefit-card__icon-wrap {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--c-accent-subtle), color-mix(in oklch, var(--c-accent), white 75%));
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-accent);
  font-size: 1.3rem;
  margin: 0 auto var(--space-md);
  box-shadow: 0 2px 8px color-mix(in oklch, var(--c-accent), transparent 75%);
}

.c-benefit-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 0.5rem;
}

.c-benefit-card__text {
  font-size: 0.875rem;
  color: var(--c-text-muted);
  line-height: 1.65;
}


.s-featured-guide {
  padding: var(--space-3xl) 0;
  background: var(--c-surface-dark);
}

.s-featured-guide__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  background: color-mix(in oklch, var(--c-primary), var(--c-surface) 5%);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.s-featured-guide__inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-accent), color-mix(in oklch, var(--c-accent), var(--c-primary) 50%));
}

.s-featured-guide__content { color: var(--c-text-on-dark); }

.s-featured-guide__title {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  color: var(--c-text-on-dark);
  line-height: 1.25;
}

.s-featured-guide__text {
  color: color-mix(in oklch, var(--c-text-on-dark), transparent 20%);
  line-height: 1.7;
  margin-bottom: var(--space-md);
  font-size: 0.95rem;
}

.s-featured-guide__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: var(--space-lg);
}

.s-featured-guide__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: color-mix(in oklch, var(--c-text-on-dark), transparent 15%);
}

.s-featured-guide__list li .fa-check {
  color: var(--c-accent);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.s-featured-guide__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}

.s-featured-guide__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s-featured-guide__badge {
  position: absolute;
  bottom: var(--space-sm);
  right: var(--space-sm);
  background: var(--c-accent);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: var(--shadow-md);
}


.s-topics {
  padding: var(--space-3xl) 0;
  background: var(--c-surface);
}

.s-topics__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

.s-topics__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--c-primary);
  margin-bottom: var(--space-sm);
}

.s-topics__lead {
  color: var(--c-text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.s-topics__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.c-topic-card {
  display: flex;
  flex-direction: column;
  background: var(--c-surface-dark);
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  cursor: pointer;
}

.c-topic-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-accent-light);
}

.c-topic-card__icon {
  width: 44px; height: 44px;
  background: var(--c-accent-subtle);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-accent);
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
}

.c-topic-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 0.5rem;
}

.c-topic-card__text {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: var(--space-md);
}

.c-topic-card__arrow {
  color: var(--c-accent);
  font-size: 0.9rem;
  transition: transform var(--transition-fast);
  align-self: flex-start;
}
.c-topic-card:hover .c-topic-card__arrow { transform: translateX(4px); }


.s-cta-banner {
  position: relative;
  padding: var(--space-3xl) 0;
  background: color-mix(in oklch, var(--c-primary), var(--c-secondary) 30%);
  overflow: hidden;
}

.s-cta-banner__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(color-mix(in oklch, var(--c-accent), transparent 88%) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in oklch, var(--c-accent), transparent 88%) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.s-cta-banner__inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.s-cta-banner__title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--c-text-on-dark);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.s-cta-banner__text {
  color: color-mix(in oklch, var(--c-text-on-dark), transparent 20%);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.s-cta-banner__actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}


.c-sidebar-cta {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.c-sidebar-cta__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  background: var(--c-accent);
  color: white;
  padding: 0.85rem 0.7rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  font-size: 1.1rem;
}

.c-sidebar-cta__btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.c-sidebar-cta__label {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  writing-mode: vertical-lr;
  text-orientation: mixed;
  transform: rotate(180deg);
  display: none;
}


.c-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 64px;
  background: color-mix(in oklch, var(--c-surface), transparent 5%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--c-border-light);
  z-index: 700;
  flex-direction: row;
  align-items: stretch;
}

.c-bottom-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--c-text-muted);
  transition: color var(--transition-fast);
  padding: 0.5rem;
  min-height: 44px;
}

.c-bottom-nav__item i { font-size: 1.1rem; }
.c-bottom-nav__item.is-active { color: var(--c-accent); }


.c-footer {
  position: relative;
  background: var(--c-secondary);
  color: var(--c-text-on-dark);
  overflow: hidden;
}

.c-footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-xl);
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid color-mix(in oklch, var(--c-text-on-dark), transparent 85%);
  position: relative;
  z-index: 1;
}

.c-footer__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--c-text-on-dark);
  margin-bottom: var(--space-sm);
}
.c-footer__logo-img { width: 28px; height: 28px; }

.c-footer__tagline {
  font-size: 0.85rem;
  color: color-mix(in oklch, var(--c-text-on-dark), transparent 35%);
  line-height: 1.65;
  max-width: 280px;
}

.c-footer__nav-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in oklch, var(--c-text-on-dark), transparent 40%);
  margin-bottom: var(--space-md);
}

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

.c-footer__nav-list a {
  font-size: 0.875rem;
  color: color-mix(in oklch, var(--c-text-on-dark), transparent 25%);
  transition: color var(--transition-fast);
}
.c-footer__nav-list a:hover { color: var(--c-text-on-dark); }

.c-footer__address {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.c-footer__address p {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: color-mix(in oklch, var(--c-text-on-dark), transparent 25%);
  line-height: 1.5;
}
.c-footer__address i { color: var(--c-accent); margin-top: 0.1rem; flex-shrink: 0; }
.c-footer__address a { transition: color var(--transition-fast); }
.c-footer__address a:hover { color: var(--c-text-on-dark); }

.c-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  position: relative;
  z-index: 1;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.c-footer__copy {
  font-size: 0.8rem;
  color: color-mix(in oklch, var(--c-text-on-dark), transparent 45%);
}

.c-footer__legal-note {
  font-size: 0.8rem;
  color: color-mix(in oklch, var(--c-text-on-dark), transparent 45%);
}

.c-footer__legal-note a {
  color: color-mix(in oklch, var(--c-text-on-dark), transparent 35%);
  transition: color var(--transition-fast);
}
.c-footer__legal-note a:hover { color: var(--c-text-on-dark); }


.s-page-hero {
  position: relative;
  padding: calc(68px + var(--space-2xl)) 0 var(--space-2xl);
  background: color-mix(in oklch, var(--c-primary), var(--c-secondary) 40%);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
}

.s-page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.s-page-hero__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--c-text-on-dark);
  margin-bottom: var(--space-md);
  line-height: 1.1;
}

.s-page-hero__lead {
  font-size: 1.1rem;
  color: color-mix(in oklch, var(--c-text-on-dark), transparent 20%);
  line-height: 1.7;
  max-width: 560px;
}


.s-about-story {
  padding: var(--space-3xl) 0;
  background: var(--c-surface);
}

.s-about-story__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.s-about-story__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.s-about-story__title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--c-primary);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.s-about-story__content p {
  color: var(--c-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-md);
  font-size: 0.95rem;
}


.s-about-mission {
  padding: var(--space-3xl) 0;
  background: var(--c-surface-darker);
}

.s-about-mission__quote-block {
  background: color-mix(in oklch, var(--c-primary), var(--c-surface) 8%);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  margin-bottom: var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.s-about-mission__quote {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 600;
  color: var(--c-text-on-dark);
  line-height: 1.6;
  font-style: italic;
  text-align: center;
  quotes: none;
}

.s-about-mission__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
}

.c-mission-item {
  padding: var(--space-lg);
  background: var(--c-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border-light);
  box-shadow: var(--shadow-xs);
}

.c-mission-item__num {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--c-accent);
  margin-bottom: 0.5rem;
}

.c-mission-item__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 0.6rem;
}

.c-mission-item__text {
  font-size: 0.875rem;
  color: var(--c-text-muted);
  line-height: 1.65;
}


.s-about-context {
  padding: var(--space-3xl) 0;
  background: var(--c-surface);
}

.s-about-context__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.s-about-context__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--c-primary);
  letter-spacing: -0.02em;
}

.s-about-context__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.c-context-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.c-context-block--reverse { direction: rtl; }
.c-context-block--reverse > * { direction: ltr; }

.c-context-block__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.c-context-block__text h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: var(--space-sm);
}

.c-context-block__text p {
  color: var(--c-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
}


.s-about-who {
  padding: var(--space-3xl) 0;
  background: var(--c-surface-darker);
}

.s-about-who__inner { text-align: center; }

.s-about-who__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--c-primary);
  margin-bottom: var(--space-2xl);
  letter-spacing: -0.02em;
}

.s-about-who__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
}

.c-who-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: left;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  box-shadow: var(--shadow-xs);
}

.c-who-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.c-who-card__icon {
  width: 44px; height: 44px;
  background: var(--c-accent-subtle);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-accent);
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

.c-who-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 0.5rem;
}

.c-who-card p {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  line-height: 1.65;
}


.s-guide-index {
  padding: var(--space-3xl) 0;
  background: var(--c-surface);
}

.s-guide-index__intro {
  margin-bottom: var(--space-2xl);
}

.s-guide-index__title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--c-primary);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.s-guide-index__text {
  color: var(--c-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 640px;
}

.s-guide-index__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.c-guide-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base);
}

.c-guide-card:hover { box-shadow: var(--shadow-md); }

.c-guide-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-lg);
  background: var(--c-surface-dark);
  border-bottom: 1px solid var(--c-border-light);
}

.c-guide-card__level {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25em 0.75em;
  border-radius: var(--radius-full);
}

.c-guide-card__level--basic {
  background: color-mix(in oklch, var(--c-accent), white 75%);
  color: var(--c-accent-dark);
}

.c-guide-card__level--intermediate {
  background: color-mix(in oklch, oklch(65% 0.2 40), white 70%);
  color: oklch(35% 0.15 40);
}

.c-guide-card__read-time {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.c-guide-card__body {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 0;
}

.c-guide-card__visual {
  overflow: hidden;
  aspect-ratio: 4/3;
}

.c-guide-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.c-guide-card:hover .c-guide-card__img { transform: scale(1.04); }

.c-guide-card__content {
  padding: var(--space-lg);
}

.c-guide-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
}

.c-guide-card__desc {
  font-size: 0.875rem;
  color: var(--c-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.c-guide-card__steps-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--c-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.c-guide-card__steps-list {
  list-style: decimal;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: var(--space-md);
}

.c-guide-card__steps-list li {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  line-height: 1.5;
}

.c-guide-card__download {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--c-accent);
  font-weight: 600;
  padding: 0.6rem 0.9rem;
  background: var(--c-accent-subtle);
  border-radius: var(--radius-md);
}

.c-guide-card__download i { font-size: 1rem; }


.s-guide-note {
  padding: var(--space-xl) 0 var(--space-3xl);
  background: var(--c-surface);
}

.s-guide-note__inner {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  background: color-mix(in oklch, var(--c-primary), var(--c-surface) 6%);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  color: var(--c-text-on-dark);
}

.s-guide-note__icon {
  font-size: 1.5rem;
  color: var(--c-accent);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.s-guide-note__text h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--c-text-on-dark);
}

.s-guide-note__text p {
  font-size: 0.875rem;
  color: color-mix(in oklch, var(--c-text-on-dark), transparent 20%);
  line-height: 1.65;
}


.s-formula-main {
  padding: var(--space-3xl) 0;
  background: var(--c-surface);
}

.c-formula-block {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--space-xl);
  box-shadow: var(--shadow-sm);
}

.c-formula-block__header {
  padding: var(--space-md) var(--space-xl);
  background: var(--c-primary);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.c-formula-block__num {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-accent);
  background: color-mix(in oklch, var(--c-accent), transparent 85%);
  padding: 0.2em 0.7em;
  border-radius: var(--radius-full);
}

.c-formula-block__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-text-on-dark);
}

.c-formula-block__body {
  padding: var(--space-xl);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
}

.c-formula-block__equation {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.c-formula-display {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: 'Courier New', monospace;
  padding: var(--space-lg);
  background: var(--c-surface-dark);
  border-radius: var(--radius-lg);
  border: 2px solid var(--c-border);
}

.c-formula-display__result {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--c-primary);
}

.c-formula-display__eq {
  font-size: 1.8rem;
  color: var(--c-text-muted);
}

.c-formula-display__expr {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-accent);
}

.c-formula-legend {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.c-formula-legend__item {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-size: 0.85rem;
}

.c-formula-legend__var {
  font-family: 'Courier New', monospace;
  font-weight: 700;
  color: var(--c-accent);
  min-width: 60px;
  font-size: 0.9rem;
}

.c-formula-legend__def { color: var(--c-text-muted); }

.c-formula-block__explanation h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: var(--space-sm);
}

.c-formula-block__explanation p {
  font-size: 0.9rem;
  color: var(--c-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.c-formula-example {
  background: var(--c-accent-subtle);
  border-left: 3px solid var(--c-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}

.c-formula-example__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent-dark);
  margin-bottom: 0.4rem;
}

.c-formula-example p {
  font-size: 0.875rem;
  color: var(--c-primary);
  line-height: 1.65;
  margin-bottom: 0 !important;
}

.c-formula-block__calc {
  background: var(--c-surface-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  border: 1px solid var(--c-border-light);
}

.c-formula-block__calc-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: var(--space-sm);
}

.c-formula-block__calc-fields {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.c-formula-block__calc-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-text-muted);
  margin-bottom: 0.3rem;
}

.c-formula-block__calc-result {
  margin-top: var(--space-sm);
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-accent-dark);
  background: var(--c-accent-subtle);
  display: none;
}

.c-formula-block__calc-result.is-visible { display: block; }

.s-formula-context {
  margin-top: var(--space-xl);
}

.s-formula-context__inner {
  background: var(--c-surface-dark);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  border: 1px solid var(--c-border-light);
}

.s-formula-context__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: var(--space-sm);
}

.s-formula-context__inner p {
  color: var(--c-text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}


.s-contact-main {
  padding: var(--space-3xl) 0;
  background: var(--c-surface);
}

.s-contact-main__split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.s-contact-main__form-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}


.c-contact-form { display: flex; flex-direction: column; gap: var(--space-md); }

.c-form-group { display: flex; flex-direction: column; gap: 0.35rem; }

.c-form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-text);
}

.c-form-input,
.c-form-select,
.c-form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-md);
  background: var(--c-surface);
  color: var(--c-text);
  font-size: 0.9rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  min-height: 44px;
}

.c-form-input:focus,
.c-form-select:focus,
.c-form-textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--c-accent), transparent 80%);
}

.c-form-textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.c-form-select { cursor: pointer; }

.c-form-group--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 0;
}

.c-form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--c-text-muted);
  line-height: 1.5;
}

.c-form-checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}

.c-form-checkbox-custom {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border: 2px solid var(--c-border);
  border-radius: var(--radius-sm);
  background: var(--c-surface);
  transition: all var(--transition-fast);
  position: relative;
  margin-top: 1px;
}

.c-form-checkbox-label input:checked ~ .c-form-checkbox-custom {
  background: var(--c-accent);
  border-color: var(--c-accent);
}

.c-form-checkbox-label input:checked ~ .c-form-checkbox-custom::after {
  content: '';
  position: absolute;
  top: 3px; left: 5px;
  width: 6px; height: 10px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.c-form-checkbox-label a {
  color: var(--c-accent);
  text-decoration: underline;
}

.c-form-error {
  padding: var(--space-sm);
  background: color-mix(in oklch, oklch(50% 0.2 25), white 80%);
  border: 1px solid color-mix(in oklch, oklch(50% 0.2 25), white 50%);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: oklch(30% 0.15 25);
  display: none;
}

.c-form-error.is-visible { display: block; }


.c-contact-info-card,
.c-availability-card {
  background: var(--c-surface-dark);
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-xs);
}

.c-contact-info-card__title,
.c-availability-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.c-availability-card__title i { color: var(--c-accent); }

.c-contact-info-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.c-contact-info-card__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.c-contact-info-card__list i {
  width: 36px; height: 36px;
  background: var(--c-accent-subtle);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-accent);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.c-contact-info-card__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: 0.2rem;
}

.c-contact-info-card__list a,
.c-contact-info-card__list address {
  font-size: 0.875rem;
  color: var(--c-text);
  transition: color var(--transition-fast);
}
.c-contact-info-card__list a:hover { color: var(--c-accent); }

.c-availability-card__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.c-availability-card__table td {
  padding: 0.5rem 0;
  color: var(--c-text-muted);
  border-bottom: 1px solid var(--c-border-light);
}

.c-availability-card__table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--c-primary);
}

.c-availability-card__note {
  margin-top: var(--space-sm);
  font-size: 0.8rem;
  color: var(--c-text-muted);
  line-height: 1.6;
}


.s-contact-map {
  padding: 0 0 var(--space-3xl);
  background: var(--c-surface);
}

.s-contact-map__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: var(--space-md);
}

.s-contact-map__frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-border);
}


.s-thanks-main {
  min-height: calc(100vh -68px);
  display: flex;
  align-items: center;
  padding: calc(68px + var(--space-2xl)) 0 var(--space-2xl);
  background: var(--c-surface);
}

.s-thanks-main__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.c-thanks-quote-card {
  background: color-mix(in oklch, var(--c-primary), var(--c-secondary) 30%);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
  position: relative;
  box-shadow: var(--shadow-lg);
}

.c-thanks-quote-card__icon {
  font-size: 2rem;
  color: var(--c-accent);
  margin-bottom: var(--space-md);
  opacity: 0.7;
}

.c-thanks-quote-card__quote {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  font-weight: 600;
  color: var(--c-text-on-dark);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: var(--space-md);
  quotes: none;
}

.c-thanks-quote-card__cite {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
}

.c-thanks-body__icon {
  font-size: 3rem;
  color: var(--c-accent);
  margin-bottom: var(--space-md);
}

.c-thanks-body__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--c-primary);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.c-thanks-body__text {
  color: var(--c-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}


.s-legal-main {
  padding: calc(68px + var(--space-xl)) 0 var(--space-3xl);
  background: var(--c-surface);
  min-height: 100vh;
}

.s-legal-main__header {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 2px solid var(--c-border);
}

.s-legal-main__title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--c-primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.s-legal-main__meta {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  font-weight: 600;
}

.s-legal-main__intro {
  margin-bottom: var(--space-xl);
  padding: var(--space-md) var(--space-lg);
  background: var(--c-surface-dark);
  border-left: 4px solid var(--c-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.s-legal-main__intro p {
  font-size: 0.95rem;
  color: var(--c-text-muted);
  line-height: 1.7;
}

.c-legal-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--transition-base);
}

.c-legal-card:hover { box-shadow: var(--shadow-sm); }

.c-legal-card h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: var(--space-md);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--c-border-light);
}

.c-legal-card p {
  font-size: 0.9rem;
  color: var(--c-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-sm);
}

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

.c-legal-card strong { color: var(--c-text); font-weight: 600; }


.c-legal-card--alt {
  background: var(--c-surface-dark);
  border-color: var(--c-border-light);
}

.c-legal-card--alt h2 {
  color: var(--c-primary);
  border-bottom-color: color-mix(in oklch, var(--c-border), transparent 30%);
}


.c-legal-card--cookie {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  position: relative;
  overflow: hidden;
}

.c-legal-card--cookie::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--c-accent);
}

.c-legal-card__icon-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--c-border-light);
}

.c-legal-card__icon-header i {
  color: var(--c-accent);
  font-size: 1.1rem;
}

.c-legal-card__icon-header h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-primary);
  margin: 0;
  padding: 0;
  border: none;
}

.c-legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-top: var(--space-sm);
}

.c-legal-table th {
  background: var(--c-surface-dark);
  padding: 0.6rem 0.8rem;
  text-align: left;
  font-weight: 700;
  color: var(--c-primary);
  border-bottom: 2px solid var(--c-border);
}

.c-legal-table td {
  padding: 0.6rem 0.8rem;
  color: var(--c-text-muted);
  border-bottom: 1px solid var(--c-border-light);
  vertical-align: top;
}

.c-legal-table tr:last-child td { border-bottom: none; }


.c-cookie-icon {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 800;
  width: 48px;
  height: 48px;
  background: var(--c-primary);
  color: var(--c-text-on-dark);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.c-cookie-icon:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.c-cookie-icon__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 14px;
  height: 14px;
  background: var(--c-accent);
  border-radius: var(--radius-full);
  border: 2px solid var(--c-surface);
  display: none;
}

.c-cookie-icon__badge.is-visible { display: block; }

.c-cookie-panel {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 799;
  width: 340px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--transition-base), opacity var(--transition-base);
  overflow: hidden;
}

.c-cookie-panel.is-open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

.c-cookie-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-md) var(--space-sm);
  border-bottom: 1px solid var(--c-border-light);
}

.c-cookie-panel__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.c-cookie-panel__title i { color: var(--c-accent); }

.c-cookie-panel__close {
  width: 28px; height: 28px;
  border-radius: var(--radius-full);
  background: var(--c-surface-dark);
  color: var(--c-text-muted);
  font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.c-cookie-panel__close:hover {
  background: var(--c-border);
  color: var(--c-primary);
}

.c-cookie-panel__body { padding: var(--space-md); }

.c-cookie-panel__intro {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.c-cookie-panel__toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--c-border-light);
}

.c-cookie-panel__toggle-row:last-child { border-bottom: none; }

.c-cookie-panel__toggle-info { flex: 1; }

.c-cookie-panel__toggle-name {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-text);
}

.c-cookie-panel__toggle-desc {
  display: block;
  font-size: 0.75rem;
  color: var(--c-text-muted);
  line-height: 1.4;
}

.c-cookie-panel__toggle-always {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: 0.04em;
}

.c-cookie-panel__switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
  margin-left: var(--space-sm);
}

.c-cookie-panel__switch input {
  opacity: 0;
  width: 0; height: 0;
  position: absolute;
}

.c-cookie-panel__slider {
  position: absolute;
  inset: 0;
  background: var(--c-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.c-cookie-panel__slider::before {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  left: 3px; top: 3px;
  background: white;
  border-radius: var(--radius-full);
  transition: transform var(--transition-fast);
  box-shadow: var(--shadow-xs);
}

.c-cookie-panel__switch input:checked + .c-cookie-panel__slider {
  background: var(--c-accent);
}

.c-cookie-panel__switch input:checked + .c-cookie-panel__slider::before {
  transform: translateX(18px);
}

.c-cookie-panel__footer {
  display: flex;
  gap: 0.5rem;
  padding: var(--space-sm) var(--space-md) var(--space-md);
  border-top: 1px solid var(--c-border-light);
}

.c-cookie-panel__btn-reject,
.c-cookie-panel__btn-save {
  flex: 1;
  padding: 0.6rem 0.5rem;
  font-size: 0.8rem;
  border-radius: var(--radius-md);
}



@media (max-width: 1024px) {
  .s-hero__visual { flex: 0 0 42%; }
  .s-hero__content { flex: 0 0 58%; padding-left: var(--space-lg); }

  .c-formula-block__body {
    grid-template-columns: 1fr;
  }

  .c-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .c-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  
  .c-nav { display: none; }
  .c-header__flip-btn { display: flex; }
  .c-bottom-nav { display: flex; }

  
  .c-sidebar-cta { display: none; }

  
  .s-hero__split {
    flex-direction: column;
    min-height: auto;
  }

  .s-hero__visual {
    flex: none;
    position: relative;
    height: 50vw;
    min-height: 220px;
    width: 100%;
  }

  .s-hero__content {
    flex: none;
    width: 100%;
    padding: var(--space-xl) var(--space-md) var(--space-2xl);
    padding-top: var(--space-lg);
  }

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

  .s-hero__actions .c-btn { width: 100%; justify-content: center; }

  
  .c-solution-item,
  .c-solution-item--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .c-solution-item__visual { aspect-ratio: 16/9; }

  
  .s-featured-guide__inner {
    grid-template-columns: 1fr;
    padding: var(--space-lg);
  }

  
  .s-about-story__split,
  .c-context-block,
  .c-context-block--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  
  .c-guide-card__body {
    grid-template-columns: 1fr;
  }

  .c-guide-card__visual {
    aspect-ratio: 16/9;
  }

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

  
  .c-footer__top {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  
  .c-cookie-panel {
    width: calc(100vw - 3rem);
    right: 1.5rem;
  }

  
  body { padding-bottom: 64px; }

  
  .s-page-hero {
    padding-top: calc(68px + var(--space-lg));
  }

  
  .c-formula-display {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .u-container { padding-inline: var(--space-sm); }

  .s-problem__grid,
  .s-benefits__cards,
  .s-topics__grid,
  .s-about-who__grid,
  .s-about-mission__grid {
    grid-template-columns: 1fr;
  }

  .c-formula-display__result,
  .c-formula-display__eq { font-size: 1.3rem; }
  .c-formula-display__expr { font-size: 1.1rem; }

  .c-cookie-panel { width: calc(100vw - 2rem); right: 1rem; }
  .c-cookie-icon { bottom: calc(64px + 1rem); right: 1rem; }

  .s-cta-banner__actions { flex-direction: column; align-items: center; }
  .s-cta-banner__actions .c-btn { width: 100%; justify-content: center; }
}

@media (min-width: 769px) {
  .c-sidebar-cta { display: flex; }
}

@media (min-width: 1025px) {
  .c-sidebar-cta__label { display: block; }
}