@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --c-bg: #F5F4F0;
  --c-dark: #2E2E2E;
  --c-accent: #6B7C8F;
  --c-support: #D6D3CD;
  --c-white: #FFFFFF;
  --c-error: #9B3535;
  --c-success: #2D5A3D;
  --c-border: #C8C5BE;

  --ff: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.5rem;
  --fs-xl: 2rem;
  --fs-2xl: 2.75rem;
  --fs-3xl: 3.75rem;

  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --lh-tight: 1.2;
  --lh-snug: 1.4;
  --lh-base: 1.65;
  --lh-relaxed: 1.9;

  --shadow-sm: 0 1px 3px rgba(46, 46, 46, 0.07);
  --shadow-md: 0 4px 12px rgba(46, 46, 46, 0.09);
  --shadow-lg: 0 8px 28px rgba(46, 46, 46, 0.11);

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --r-xl: 24px;

  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 2rem;
  --sp-lg: 4rem;
  --sp-xl: 7rem;

  --max-w: 1200px;
  --h-header: 72px;

  --tr-fast: 150ms ease;
  --tr-base: 280ms ease;
  --tr-slow: 450ms ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--ff);
  background-color: var(--c-bg);
  color: var(--c-dark);
  line-height: var(--lh-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  width: 100%;
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--tr-base), opacity var(--tr-base);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--ff);
  border: none;
  background: none;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--h-header);
  background-color: var(--c-dark);
  border-bottom: 1px solid rgba(245, 244, 240, 0.08);
  box-shadow: var(--shadow-md);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
}

.logo {
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  color: var(--c-bg);
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo:hover {
  opacity: 0.85;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}

.main-nav a {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: rgba(245, 244, 240, 0.75);
  letter-spacing: 0.01em;
  padding: var(--sp-xs) 0;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--c-accent);
  transition: width var(--tr-base);
}

.main-nav a:hover {
  color: var(--c-bg);
}

.main-nav a:hover::after {
  width: 100%;
}

.main-nav a.is-active {
  color: var(--c-bg);
}

.main-nav a.is-active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  color: var(--c-bg);
  font-size: var(--fs-md);
  padding: var(--sp-xs);
  border-radius: var(--r-sm);
  transition: opacity var(--tr-fast);
}

.menu-toggle:hover {
  opacity: 0.75;
}

.section {
  padding: var(--sp-xl) 0;
}

.section--hero {
  padding: calc(var(--sp-xl) * 1.5) 0 var(--sp-xl);
  background-image: linear-gradient(rgba(46, 46, 46, 0.62), rgba(46, 46, 46, 0.62)), url("../images/bg-image-1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--c-bg);
}

.section--work {
  background-color: var(--c-dark);
  color: var(--c-bg);
}

.section--break {
  background-color: var(--c-bg);
  color: var(--c-dark);
}

.section--support {
  background-color: var(--c-support);
  color: var(--c-dark);
}

.section--accent-bg {
  background-color: var(--c-accent);
  color: var(--c-white);
}

.section--white {
  background-color: var(--c-white);
  color: var(--c-dark);
}

.section-label {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--sp-sm);
}

.section--work .section-label {
  color: var(--c-support);
  opacity: 0.7;
}

.section-title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-md);
}

.section--work .section-title {
  letter-spacing: -0.04em;
}

.section--break .section-title {
  letter-spacing: -0.02em;
}

.section-title--hero {
  font-size: var(--fs-3xl);
  letter-spacing: -0.04em;
}

.section-subtitle {
  font-size: var(--fs-lg);
  font-weight: var(--fw-light);
  line-height: var(--lh-relaxed);
  max-width: 640px;
  color: var(--c-accent);
  margin-bottom: var(--sp-md);
}

.section--work .section-subtitle {
  color: rgba(245, 244, 240, 0.6);
}

.body-text {
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
  max-width: 640px;
  margin-bottom: var(--sp-sm);
}

.body-text--dense {
  line-height: var(--lh-snug);
  font-weight: var(--fw-medium);
  letter-spacing: -0.01em;
}

.section--work .body-text {
  color: rgba(245, 244, 240, 0.8);
}

.hero-content {
  max-width: 760px;
}

.hero-content .section-label {
  color: var(--c-accent);
}

.hero-content .body-text {
  font-size: var(--fs-lg);
  line-height: var(--lh-relaxed);
}

.section--hero .hero-content .section-label {
  color: rgba(245, 244, 240, 0.85);
}

.section--hero .hero-content .body-text {
  color: rgba(245, 244, 240, 0.92);
}

.section--hero .btn--outline {
  color: var(--c-bg);
  border-color: rgba(245, 244, 240, 0.6);
}

.section--hero .btn--outline:hover {
  background-color: rgba(245, 244, 240, 0.14);
  border-color: var(--c-bg);
  color: var(--c-bg);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  flex-wrap: wrap;
  margin-top: var(--sp-md);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.01em;
  padding: 0.75rem 1.75rem;
  border-radius: var(--r-md);
  transition: background-color var(--tr-base), color var(--tr-base), box-shadow var(--tr-base), transform var(--tr-fast);
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background-color: var(--c-accent);
  color: var(--c-white);
  border-color: var(--c-accent);
}

.btn--primary:hover {
  background-color: #5a6b7d;
  border-color: #5a6b7d;
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background-color: transparent;
  color: var(--c-dark);
  border-color: var(--c-border);
}

.btn--outline:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}

.btn--outline-light {
  background-color: transparent;
  color: var(--c-bg);
  border-color: rgba(245, 244, 240, 0.35);
}

.btn--outline-light:hover {
  border-color: var(--c-bg);
  background-color: rgba(245, 244, 240, 0.08);
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--fs-xs);
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  align-items: center;
}

.section-grid--reverse {
  direction: rtl;
}

.section-grid--reverse > * {
  direction: ltr;
}

.section-grid--dense {
  gap: var(--sp-md);
}

.section-figure {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.section-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.divider-line {
  width: 48px;
  height: 2px;
  background-color: var(--c-accent);
  margin-bottom: var(--sp-md);
}

.section--work .divider-line {
  background-color: var(--c-accent);
  opacity: 0.7;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
  margin-top: var(--sp-lg);
}

.metric-card {
  padding: var(--sp-md);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  background: var(--c-white);
  transition: box-shadow var(--tr-base), transform var(--tr-base);
}

.metric-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.metric-card--dark {
  background: rgba(245, 244, 240, 0.05);
  border-color: rgba(245, 244, 240, 0.1);
}

.metric-card--dark:hover {
  background: rgba(245, 244, 240, 0.08);
}

.metric-number {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  letter-spacing: -0.04em;
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: var(--sp-xs);
}

.metric-label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: inherit;
  opacity: 0.75;
}

.alternating-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.alt-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 240px;
}

.alt-item__work {
  background-color: var(--c-dark);
  color: var(--c-bg);
  padding: var(--sp-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.alt-item__break {
  background-color: var(--c-bg);
  color: var(--c-dark);
  padding: var(--sp-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.alt-item__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: var(--sp-xs);
}

.alt-item__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.02em;
  line-height: var(--lh-snug);
  margin-bottom: var(--sp-sm);
}

.alt-item__work .alt-item__title {
  letter-spacing: -0.03em;
}

.alt-item__text {
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  opacity: 0.8;
}

.alt-item__work .alt-item__text {
  line-height: var(--lh-snug);
  font-weight: var(--fw-medium);
}

.nav-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
  margin-top: var(--sp-lg);
}

.nav-card {
  display: block;
  padding: var(--sp-lg);
  border-radius: var(--r-xl);
  border: 1px solid var(--c-border);
  background: var(--c-white);
  transition: box-shadow var(--tr-base), transform var(--tr-base), border-color var(--tr-base);
  text-decoration: none;
  color: var(--c-dark);
}

.nav-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--c-accent);
}

.nav-card__icon {
  font-size: var(--fs-xl);
  color: var(--c-accent);
  margin-bottom: var(--sp-sm);
}

.nav-card__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-xs);
}

.nav-card__text {
  font-size: var(--fs-base);
  color: var(--c-accent);
  line-height: var(--lh-base);
}

.nav-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--c-accent);
  margin-top: var(--sp-sm);
  transition: gap var(--tr-base);
}

.nav-card:hover .nav-card__arrow {
  gap: var(--sp-sm);
}

.disclaimer-section {
  background-color: var(--c-support);
  border-top: 1px solid var(--c-border);
}

.disclaimer-box {
  padding: var(--sp-md);
  border-left: 3px solid var(--c-accent);
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}

.disclaimer-box p {
  font-size: var(--fs-sm);
  line-height: var(--lh-base);
  color: var(--c-dark);
  opacity: 0.8;
}

.page-intro {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.page-intro .section-title {
  margin-bottom: var(--sp-sm);
}

.page-intro .body-text {
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
  margin-top: var(--sp-lg);
}

.feature-item {
  padding: var(--sp-md);
  border-radius: var(--r-lg);
  border: 1px solid rgba(245, 244, 240, 0.08);
  transition: background-color var(--tr-base);
}

.feature-item:hover {
  background-color: rgba(245, 244, 240, 0.04);
}

.feature-item__icon {
  font-size: var(--fs-lg);
  color: var(--c-accent);
  margin-bottom: var(--sp-sm);
  opacity: 0.8;
}

.feature-item__title {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-xs);
  color: var(--c-bg);
}

.feature-item__text {
  font-size: var(--fs-sm);
  color: rgba(245, 244, 240, 0.65);
  line-height: var(--lh-base);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  align-items: start;
}

.break-type-cards {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.break-type-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: var(--sp-md);
  padding: var(--sp-md);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  background: var(--c-white);
  transition: box-shadow var(--tr-base), border-color var(--tr-base);
}

.break-type-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--c-accent);
}

.break-type-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background-color: var(--c-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-lg);
  color: var(--c-accent);
  flex-shrink: 0;
}

.break-type-card__title {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-xs);
}

.break-type-card__desc {
  font-size: var(--fs-sm);
  color: var(--c-accent);
  line-height: var(--lh-base);
  margin-bottom: var(--sp-xs);
}

.break-type-card__detail {
  font-size: var(--fs-sm);
  color: var(--c-dark);
  line-height: var(--lh-relaxed);
  opacity: 0.75;
}

.method-blocks {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.method-block {
  padding: var(--sp-md) var(--sp-lg);
  border-left: 3px solid var(--c-accent);
  background: rgba(245, 244, 240, 0.04);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}

.method-block__number {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--sp-xs);
  opacity: 0.7;
}

.method-block__title {
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-xs);
  color: var(--c-bg);
}

.method-block__text {
  font-size: var(--fs-sm);
  color: rgba(245, 244, 240, 0.7);
  line-height: var(--lh-base);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--sp-xl);
  align-items: start;
}

.contact-info h2 {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  letter-spacing: -0.03em;
  line-height: var(--lh-tight);
  margin-bottom: var(--sp-sm);
}

.contact-info p {
  font-size: var(--fs-base);
  color: var(--c-accent);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-md);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  font-size: var(--fs-sm);
}

.contact-detail i {
  color: var(--c-accent);
  width: 18px;
  margin-top: 3px;
  flex-shrink: 0;
}

.contact-form-wrap {
  background: var(--c-white);
  border-radius: var(--r-xl);
  padding: var(--sp-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--sp-md);
}

.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  margin-bottom: var(--sp-xs);
  color: var(--c-dark);
}

.form-label span {
  color: var(--c-error);
  margin-left: 2px;
}

.form-input,
.form-textarea {
  width: 100%;
  font-family: var(--ff);
  font-size: var(--fs-base);
  color: var(--c-dark);
  background-color: var(--c-bg);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 0.75rem 1rem;
  transition: border-color var(--tr-base), box-shadow var(--tr-base);
  outline: none;
  appearance: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(107, 124, 143, 0.15);
}

.form-input[aria-invalid="true"],
.form-textarea[aria-invalid="true"] {
  border-color: var(--c-error);
}

.form-input[aria-invalid="true"]:focus,
.form-textarea[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(155, 53, 53, 0.12);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.field-error {
  display: none;
  font-size: var(--fs-xs);
  color: var(--c-error);
  margin-top: var(--sp-xs);
}

.checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
}

.checkbox-wrap input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--c-accent);
  cursor: pointer;
}

.checkbox-label {
  font-size: var(--fs-sm);
  line-height: var(--lh-base);
  color: var(--c-dark);
}

.checkbox-label a {
  color: var(--c-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: var(--sp-sm);
  font-size: var(--fs-base);
  padding: 1rem 2rem;
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
  overflow-wrap: break-word;
  word-break: break-word;
}

.policy-content h1 {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-sm);
}

.policy-content h2 {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.02em;
  margin-top: var(--sp-lg);
  margin-bottom: var(--sp-sm);
  padding-top: var(--sp-md);
  border-top: 1px solid var(--c-support);
}

.policy-content h3 {
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  margin-top: var(--sp-md);
  margin-bottom: var(--sp-xs);
}

.policy-content p {
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-sm);
  color: var(--c-dark);
  opacity: 0.85;
}

.policy-content ul,
.policy-content ol {
  list-style: disc;
  padding-left: var(--sp-md);
  margin-bottom: var(--sp-sm);
}

.policy-content ol {
  list-style: decimal;
}

.policy-content li {
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-xs);
  opacity: 0.85;
}

.policy-content a {
  color: var(--c-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.policy-meta {
  font-size: var(--fs-sm);
  color: var(--c-accent);
  margin-bottom: var(--sp-lg);
  padding-bottom: var(--sp-md);
  border-bottom: 1px solid var(--c-support);
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--sp-md);
  font-size: var(--fs-sm);
}

.policy-table th,
.policy-table td {
  padding: 0.75rem var(--sp-sm);
  border: 1px solid var(--c-support);
  text-align: left;
  line-height: var(--lh-base);
}

.policy-table th {
  background-color: var(--c-support);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.thank-you-page {
  min-height: calc(100vh - var(--h-header));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.thank-you-content {
  max-width: 560px;
  padding: var(--sp-lg);
}

.thank-you-icon {
  font-size: 3.5rem;
  color: var(--c-accent);
  margin-bottom: var(--sp-md);
}

.thank-you-content h1 {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-sm);
}

.thank-you-content p {
  font-size: var(--fs-md);
  color: var(--c-accent);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-md);
}

.site-footer {
  background-color: var(--c-dark);
  color: rgba(245, 244, 240, 0.7);
  padding: var(--sp-lg) 0 var(--sp-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--sp-lg);
  padding-bottom: var(--sp-lg);
  border-bottom: 1px solid rgba(245, 244, 240, 0.1);
  margin-bottom: var(--sp-md);
}

.footer-brand {
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  color: var(--c-bg);
  margin-bottom: var(--sp-sm);
  letter-spacing: -0.01em;
}

.footer-desc {
  font-size: var(--fs-sm);
  line-height: var(--lh-base);
  margin-bottom: var(--sp-md);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
}

.footer-contact a {
  font-size: var(--fs-sm);
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  transition: color var(--tr-base);
}

.footer-contact a:hover {
  color: var(--c-bg);
}

.footer-contact a i {
  width: 16px;
  color: var(--c-accent);
  flex-shrink: 0;
}

.footer-col-title {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 244, 240, 0.4);
  margin-bottom: var(--sp-sm);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
}

.footer-links a {
  font-size: var(--fs-sm);
  transition: color var(--tr-base);
}

.footer-links a:hover {
  color: var(--c-bg);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-sm);
}

.footer-copy {
  font-size: var(--fs-xs);
  opacity: 0.5;
}

.footer-legal {
  display: flex;
  gap: var(--sp-md);
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: var(--fs-xs);
  opacity: 0.5;
  transition: opacity var(--tr-base);
}

.footer-legal a:hover {
  opacity: 0.9;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--c-dark);
  color: var(--c-bg);
  box-shadow: 0 -4px 24px rgba(46, 46, 46, 0.25);
  padding: var(--sp-md) 0;
}

.cookie-banner__inner {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-md);
  flex-wrap: wrap;
}

.cookie-banner__text {
  flex: 1;
  min-width: 260px;
}

.cookie-banner__text p {
  font-size: var(--fs-sm);
  line-height: var(--lh-base);
  color: rgba(245, 244, 240, 0.8);
}

.cookie-banner__text a {
  color: var(--c-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  flex-wrap: wrap;
  flex-shrink: 0;
}

.cookie-settings-panel {
  display: none;
  margin-top: var(--sp-md);
  padding-top: var(--sp-md);
  border-top: 1px solid rgba(245, 244, 240, 0.1);
}

.cookie-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-sm) 0;
  border-bottom: 1px solid rgba(245, 244, 240, 0.07);
  gap: var(--sp-md);
}

.cookie-toggle-info strong {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-bg);
  margin-bottom: 2px;
}

.cookie-toggle-info p {
  font-size: var(--fs-xs);
  color: rgba(245, 244, 240, 0.55);
  line-height: var(--lh-base);
}

.toggle {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  cursor: pointer;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.toggle-track {
  display: block;
  width: 44px;
  height: 24px;
  background: rgba(245, 244, 240, 0.2);
  border-radius: 12px;
  position: relative;
  transition: background var(--tr-base);
}

.toggle-track::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--c-white);
  top: 3px;
  left: 3px;
  transition: transform var(--tr-base);
}

.toggle input:checked + .toggle-track {
  background: var(--c-accent);
}

.toggle input:checked + .toggle-track::after {
  transform: translateX(20px);
}

.toggle input:disabled + .toggle-track {
  background: var(--c-accent);
  opacity: 0.7;
  cursor: not-allowed;
}

.toggle input:disabled + .toggle-track::after {
  transform: translateX(20px);
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--tr-slow), transform var(--tr-slow);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1024px) {
  :root {
    --fs-3xl: 3rem;
    --fs-2xl: 2.25rem;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout {
    grid-template-columns: 1fr 1.4fr;
    gap: var(--sp-lg);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --fs-3xl: 2.25rem;
    --fs-2xl: 1.875rem;
    --fs-xl: 1.625rem;
    --sp-xl: 4rem;
    --sp-lg: 2.5rem;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--h-header);
    left: 0;
    right: 0;
    background: var(--c-dark);
    padding: var(--sp-sm) 0;
    border-top: 1px solid rgba(245, 244, 240, 0.08);
    box-shadow: var(--shadow-lg);
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .main-nav a {
    display: block;
    padding: 0.875rem var(--sp-md);
  }

  .main-nav a::after {
    display: none;
  }

  .section-grid,
  .two-col,
  .nav-cards,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .section-grid--reverse {
    direction: ltr;
  }

  .alt-item {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-md);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__actions .btn {
    flex: 1;
    justify-content: center;
    text-align: center;
  }

  .policy-table {
    font-size: var(--fs-xs);
  }

  .policy-table th,
  .policy-table td {
    padding: 0.5rem;
  }

  .hero-content .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-content .section-title {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.625rem;
  }

  .btn {
    padding: 0.7rem 1.25rem;
  }

  .contact-form-wrap {
    padding: var(--sp-md);
  }

  .alt-item__work {
    padding: var(--sp-sm);
  }

  .logo {
    font-size: var(--fs-base);
  }
}
