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

:root {
  --bg: #0d0b0b;
  --cream: #f4f1ee;
  --red: #df4e4e;
  --text-soft: #cfc8c2;
  --text-mut: #a89f99;
  --ink: #0d0b0b;
  --ink-soft: #4a4340;
  --ink-mut: #6d6560;
  --card-tint: #e8e2dd;
  --placeholder-bg: #e2ddd8;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--cream);
  font-family: Karla, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: "Bodoni Moda", Georgia, serif;
  font-weight: 500;
  line-height: 1.05;
}

p { margin: 0; }

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--cream); }

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

::selection { background: var(--red); color: #fff; }

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

.mono { font-family: 'IBM Plex Mono', monospace; }

.page { max-width: 100%; background: var(--bg); }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 92px) 20px;
}

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
}
.btn-wa:hover { background: var(--cream); color: var(--ink); }

.btn-wa--nav { padding: 11px 20px; font-size: 15px; gap: 9px; }
.btn-wa--lg { padding: 16px 26px; font-size: 17px; }
.btn-wa--md { padding: 15px 24px; font-size: 16px; }
.btn-wa--sm { padding: 13px 22px; font-size: 15px; margin-top: 20px; }

.btn-wa--dark-bg { background: var(--ink); }

.btn-wa--darken-hover:hover { background: var(--ink); color: #fff; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(244, 241, 238, 0.3);
  color: var(--cream);
  padding: 15px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
}
.btn-outline:hover { border-color: var(--red); color: var(--red); }

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

.wa-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.wa-fab:hover { background: var(--ink); }

.topbar {
  background: var(--red);
  color: #fff8f6;
  padding: 9px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.topbar__sep { opacity: 0.5; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 11, 11, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(244, 241, 238, 0.12);
}

.breadcrumb-bar { background: var(--bg); border-bottom: 1px solid rgba(244, 241, 238, 0.08); }
.breadcrumbs {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--text-mut);
}
.breadcrumbs a { color: var(--text-mut); }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs__current { color: var(--cream); }
.breadcrumbs__sep { opacity: 0.5; }

.see-more { color: var(--red); font-weight: 600; }
.see-more:hover { text-decoration: underline; }

.nav {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px 20px;
  position: relative;
}

.nav__brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--cream);
  margin-right: auto;
}
.nav__logo { height: 34px; width: auto; display: block; }

.nav__menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}

.nav__link {
  color: var(--cream);
  font-size: 15px;
  font-weight: 500;
}
.nav__link:hover { color: var(--red); }
.nav__link[aria-current="page"] { color: var(--red); }

.nav__dropdown { position: relative; }

.nav__dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
}
.nav__caret { font-size: 11px; transition: transform 0.2s ease; }
.nav__dropdown.is-open .nav__caret { transform: rotate(180deg); }

.nav__dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  z-index: 60;
}
.nav__dropdown-inner {
  background: rgba(13, 11, 11, 0.98);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(244, 241, 238, 0.14);
  border-radius: 8px;
  padding: 8px;
  min-width: 168px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav__dropdown-link {
  display: block;
  color: var(--cream);
  font-size: 15px;
  font-weight: 500;
  padding: 9px 12px;
  border-radius: 5px;
}
.nav__dropdown-link:hover { color: var(--red); background: rgba(244, 241, 238, 0.06); }
.nav__dropdown-link[aria-current="page"] { color: var(--red); }

@media (min-width: 769px) {
  .nav__dropdown:hover .nav__dropdown-panel,
  .nav__dropdown:focus-within .nav__dropdown-panel,
  .nav__dropdown.is-open .nav__dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 5px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.nav__toggle-bar {
  display: block;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav__toggle.is-active .nav__toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-active .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav__toggle.is-active .nav__toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: rgba(13, 11, 11, 0.98);
    backdrop-filter: blur(10px);
    padding: 10px 20px 20px;
    border-bottom: 1px solid rgba(244, 241, 238, 0.12);
  }
  .nav__menu.is-open { display: flex; }
  .nav__link { width: 100%; padding: 10px 0; }
  .nav__menu .btn-wa--nav { margin-top: 6px; }

  .nav__dropdown { width: 100%; }
  .nav__dropdown-trigger { width: 100%; justify-content: space-between; padding: 10px 0; color: var(--cream); font-size: 15px; font-weight: 500; }
  .nav__dropdown-panel {
    position: static;
    padding-top: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .nav__dropdown.is-open .nav__dropdown-panel { display: block; }
  .nav__dropdown-inner {
    background: none;
    border: 0;
    padding: 0 0 6px 16px;
    min-width: 0;
  }
  .nav__dropdown-link { padding: 8px 0; font-size: 14px; }

  .gallery__item { grid-column: span 1; }
}

.hero {
  position: relative;
  border-bottom: 1px solid rgba(244, 241, 238, 0.12);
}
.hero__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 84px) 20px clamp(40px, 5vw, 72px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(244, 241, 238, 0.25);
  border-radius: 999px;
  padding: 7px 14px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e8e2dd;
  margin-bottom: 22px;
}
.badge__stars { color: var(--red); }

.hero__title { font-size: clamp(42px, 6.6vw, 86px); letter-spacing: -0.02em; }
.hero__title em { color: var(--red); font-style: italic; }

.hero__lead {
  margin-top: 22px;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.65;
  color: var(--text-soft);
  max-width: 52ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
  align-items: center;
}

.hero__notes {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 36px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--text-mut);
}

.hero__media { display: grid; gap: 12px; min-width: 0; }

.hero__photo {
  aspect-ratio: 4 / 3.2;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(244, 241, 238, 0.14);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

.hero__stats {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
}

.stat-card {
  border-radius: 6px;
  padding: 20px;
  min-width: 0;
  background: var(--cream);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.stat-card__rating { display: flex; align-items: baseline; gap: 10px; }
.stat-card__rating-num {
  font-family: 'Bodoni Moda', Georgia, serif;
  font-size: clamp(38px, 4.5vw, 56px);
  line-height: 1;
}
.stat-card__rating-of {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--ink-soft);
  line-height: 1.4;
}
.stat-card__review { display: flex; flex-direction: column; gap: 8px; }
.stat-card__stars { color: var(--red); font-size: 13px; letter-spacing: 0.14em; }
.stat-card__quote {
  font-family: 'Bodoni Moda', Georgia, serif;
  font-size: 15px;
  line-height: 1.35;
  margin: 0;
  animation: altoqueSlideUp 0.55s ease both;
}
.stat-card__source {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--ink-mut);
}

.stat-card--accent {
  aspect-ratio: 1 / 1;
  min-width: 0;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.stat-card--accent .stat-card__number {
  font-family: 'Bodoni Moda', Georgia, serif;
  font-size: clamp(44px, 7vw, 80px);
  line-height: 1;
  font-weight: 500;
}
.stat-card--accent .stat-card__label {
  font-size: clamp(15px, 1.6vw, 21px);
  line-height: 1.4;
  font-weight: 600;
}

.section--light { background: var(--cream); color: var(--ink); }
.section--dark { background: var(--bg); }
.section--red { background: var(--red); color: #fff; }

.why__intro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(20px, 3vw, 48px);
  margin-top: 18px;
  align-items: start;
}
.why__title { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -0.01em; }
.why__desc { font-size: 16px; line-height: 1.7; color: var(--ink-soft); max-width: 48ch; }

.rich-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 62ch;
}
.rich-list li::marker { color: var(--red); }
.rich-list strong { color: var(--ink); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.card {
  border-radius: 8px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 230px;
}
.card--white { background: #fff; }
.card--white .card__index { color: var(--red); }
.card--white .card__title { color: var(--ink); }
.card--white .card__text { color: var(--ink-soft); }
.card--red { background: var(--red); color: #fff; }
.card--red .card__text { opacity: 0.92; }
.card--dark { background: var(--bg); color: var(--cream); }
.card--dark .card__index { color: var(--red); }
.card--dark .card__text { color: var(--text-soft); }
.card__index { font-family: 'Bodoni Moda', Georgia, serif; font-size: 30px; }
.card__title { font-size: 22px; }
.card__text { font-size: 15px; line-height: 1.65; }

.teacher__grid {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 92px) 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
.teacher__photo-wrap { display: grid; gap: 12px; }
.teacher__photo {
  aspect-ratio: 3 / 3.4;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(244, 241, 238, 0.14);
}
.teacher__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }

.teacher__name { font-size: clamp(30px, 3.8vw, 50px); margin-top: 16px; }
.teacher__name em { font-style: italic; color: var(--red); }

.teacher__bio {
  display: grid;
  gap: 16px;
  margin-top: 22px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-soft);
  max-width: 58ch;
}

.teacher__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin-top: 30px;
}
.stat-block { border-top: 1px solid rgba(244, 241, 238, 0.2); padding-top: 12px; }
.stat-block__number { font-family: 'Bodoni Moda', Georgia, serif; font-size: 32px; color: var(--cream); }
.stat-block__label { font-size: 13px; color: var(--text-mut); margin-top: 4px; }

.pricing__title { font-size: clamp(30px, 3.8vw, 50px); margin-top: 16px; max-width: 24ch; }
.pricing__lead { margin-top: 18px; font-size: 16px; line-height: 1.7; color: var(--ink-soft); max-width: 60ch; }

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 40px;
  align-items: stretch;
}

.price-card {
  background: var(--red);
  color: #fff;
  border-radius: 8px;
  padding: clamp(26px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.price-card__tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}
.price-card__amount {
  font-family: 'Bodoni Moda', Georgia, serif;
  font-size: clamp(56px, 7vw, 88px);
  line-height: 0.95;
}
.price-card__amount span {
  font-size: 18px;
  font-family: Karla, sans-serif;
  opacity: 0.9;
}
.price-card__desc { font-size: 17px; line-height: 1.6; font-weight: 600; }
.price-card__list {
  margin: 0;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.9;
  opacity: 0.95;
}
.price-card__cta { margin-top: auto; align-self: flex-start; }

.plan-list { display: grid; gap: 16px; align-content: stretch; }
.plan-card {
  background: #fff;
  border-radius: 8px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-card__title { font-size: 22px; }
.plan-card__text { font-size: 15px; line-height: 1.65; color: var(--ink-soft); }

.plan-card--bordered {
  border: 1px solid rgba(13, 11, 11, 0.18);
  border-radius: 8px;
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: transparent;
}
.plan-card--bordered .plan-card__title { font-size: 19px; }

.cta-banner {
  margin-top: 40px;
  background: var(--bg);
  color: var(--cream);
  border-radius: 8px;
  padding: clamp(24px, 3vw, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: center;
}
.cta-banner__title { font-size: clamp(22px, 2.4vw, 30px); }
.cta-banner__text { font-size: 15px; line-height: 1.7; color: var(--text-soft); margin-top: 10px; max-width: 46ch; }
.cta-banner__cta { justify-self: start; }

.method__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.method__title { font-size: clamp(30px, 3.8vw, 50px); margin-top: 16px; }
.method__desc { margin-top: 18px; font-size: 16px; line-height: 1.75; color: var(--text-soft); max-width: 46ch; }

.method__steps { display: grid; gap: 2px; }
.method__step {
  border-top: 1px solid rgba(244, 241, 238, 0.18);
  padding: 22px 0;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
}
.method__step--last { border-bottom: 1px solid rgba(244, 241, 238, 0.18); }
.method__step-index { font-family: 'Bodoni Moda', Georgia, serif; font-size: 26px; color: var(--red); }
.method__step-title { font-size: 21px; }
.method__step-text { font-size: 15px; line-height: 1.7; color: var(--text-mut); margin-top: 8px; }

.testimonials__title { font-size: clamp(30px, 3.8vw, 50px); margin-top: 16px; max-width: 28ch; }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 38px;
}
.testimonial {
  margin: 0;
  background: rgba(13, 11, 11, 0.22);
  border-radius: 8px;
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.testimonial__stars { font-size: 15px; letter-spacing: 0.15em; }
.testimonial__quote {
  margin: 0;
  font-family: 'Bodoni Moda', Georgia, serif;
  font-size: clamp(21px, 2.2vw, 26px);
  line-height: 1.35;
}
.testimonial__author { margin-top: auto; font-size: 14px; }
.testimonial__author span { opacity: 0.8; }

.gallery__title { font-size: clamp(30px, 3.8vw, 50px); margin-top: 16px; max-width: 26ch; }

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.gallery__item { grid-column: span 2; }
.gallery__item--portrait,
.gallery__item--square { grid-column: span 1; }

.gallery__media {
  min-width: 0;
  border-radius: 6px;
  overflow: hidden;
  background-color: var(--placeholder-bg);
}
.gallery__media > img,
.gallery__media > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery__media--16-9 { aspect-ratio: 16 / 9; }
.gallery__media--3-4 { aspect-ratio: 3 / 4; }
.gallery__media--1-1 { aspect-ratio: 1 / 1; }

.gallery__placeholder {
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(135deg, rgba(13, 11, 11, 0.09) 0 8px, transparent 8px 16px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-direction: column;
}
.gallery__placeholder--corner {
  align-items: flex-end;
  justify-content: flex-start;
  flex-direction: row;
  padding: 14px;
}

.gallery__play {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.gallery__label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--ink-soft);
}
.gallery__label--sm { font-size: 11px; }

.location__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.location__title { font-size: clamp(30px, 3.8vw, 50px); margin-top: 16px; }
.location__desc { margin-top: 18px; font-size: 16px; line-height: 1.75; color: var(--text-soft); max-width: 46ch; }

.location__details { display: grid; gap: 14px; margin-top: 28px; font-size: 15px; color: var(--cream); }
.location__detail { border-top: 1px solid rgba(244, 241, 238, 0.18); padding-top: 12px; }
.location__detail span { color: var(--text-mut); }

.location__hours {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  margin-top: 8px;
  color: var(--text-mut);
  font-size: 14px;
}

.location__map {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(244, 241, 238, 0.18);
  min-height: 380px;
  display: grid;
}
.location__map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  filter: grayscale(0.35) contrast(1.05);
}

.faq__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.faq__title { font-size: clamp(30px, 3.8vw, 50px); margin-top: 16px; }
.faq__desc { margin-top: 16px; font-size: 16px; line-height: 1.7; color: var(--ink-soft); max-width: 40ch; }
.faq__cta { margin-top: 24px; }

.faq__list { display: grid; gap: 12px; }
.faq__item { background: #fff; border-radius: 8px; padding: 20px 22px; }
.faq__question { cursor: pointer; font-family: 'Bodoni Moda', Georgia, serif; font-size: 20px; }
.faq__answer { margin-top: 12px; font-size: 15px; line-height: 1.7; color: var(--ink-soft); }

.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.contact__title { font-size: clamp(30px, 3.8vw, 50px); margin-top: 16px; }
.contact__desc { margin-top: 18px; font-size: 16px; line-height: 1.75; color: var(--text-soft); max-width: 44ch; }
.contact__cta { margin-top: 26px; }
.contact__note {
  margin-top: 18px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--text-mut);
}

.contact__card {
  background: #161212;
  border: 1px solid rgba(244, 241, 238, 0.16);
  border-radius: 8px;
  padding: clamp(24px, 3vw, 34px);
  display: grid;
  gap: 18px;
}
.contact__field { display: grid; gap: 6px; }
.contact__field + .contact__field { border-top: 1px solid rgba(244, 241, 238, 0.16); padding-top: 18px; }
.contact__field-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mut);
}
.contact__field-value--lg { font-family: 'Bodoni Moda', Georgia, serif; font-size: clamp(26px, 3vw, 34px); color: var(--cream); }
.contact__field-value { font-size: 17px; color: var(--cream); }
.contact__field-text { font-size: 16px; color: var(--text-soft); line-height: 1.6; }

.contact-form {
  margin-top: 32px;
  max-width: 640px;
  display: grid;
  gap: 18px;
}
.contact-form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.contact-form__field { display: grid; gap: 8px; }
.contact-form__field label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mut);
}
.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  font: inherit;
  font-size: 15px;
  color: var(--cream);
  background: rgba(244, 241, 238, 0.06);
  border: 1px solid rgba(244, 241, 238, 0.22);
  border-radius: 6px;
  padding: 12px 14px;
  width: 100%;
}
.contact-form__field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-mut) 50%), linear-gradient(135deg, var(--text-mut) 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 15px) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.contact-form__field select option { color: var(--ink); }
.contact-form__field textarea { resize: vertical; min-height: 110px; }
.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder { color: var(--text-mut); }
.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus { outline: none; border-color: var(--red); background: rgba(244, 241, 238, 0.1); }
.contact-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-form__submit { border: 0; cursor: pointer; justify-self: start; font: inherit; }
.contact-form__submit:disabled { opacity: 0.6; cursor: default; }
.contact-form__status { font-size: 14px; min-height: 20px; margin: 0; }
.contact-form__status--ok { color: #8fd19e; }
.contact-form__status--error { color: var(--red); }

.section--light .contact-form__field label { color: var(--ink-mut); }
.section--light .contact-form__field input,
.section--light .contact-form__field select,
.section--light .contact-form__field textarea {
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(13, 11, 11, 0.18);
}
.section--light .contact-form__field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-mut) 50%), linear-gradient(135deg, var(--ink-mut) 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 15px) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.section--light .contact-form__field input::placeholder,
.section--light .contact-form__field textarea::placeholder { color: var(--ink-mut); }
.section--light .contact-form__field input:focus,
.section--light .contact-form__field select:focus,
.section--light .contact-form__field textarea:focus { background: #fff; border-color: var(--red); }
.section--light .contact-form__status--ok { color: #1f8a4c; }
.section--light .contact-form__status--error { color: var(--red); }

.section-inset-left { padding-left: clamp(24px, 3vw, 40px); }

.site-footer { background: var(--cream); color: var(--ink); border-top: 6px solid var(--red); }

.footer__grid {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(40px, 5vw, 72px) 20px clamp(24px, 3vw, 36px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.footer__brand-row { display: flex; align-items: baseline; gap: 8px; }
.footer__logo { height: 42px; width: auto; display: block; }
.footer__tagline { font-size: 15px; line-height: 1.7; color: var(--ink-soft); margin-top: 12px; max-width: 30ch; }

.footer__col-title {
  font-family: Karla, sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}
.footer__col-list { display: grid; gap: 8px; margin-top: 14px; font-size: 15px; color: var(--ink-soft); }
.footer__col-list a { color: var(--ink); }

.footer__bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 20px 28px;
  border-top: 1px solid rgba(13, 11, 11, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--ink-mut);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.footer__legal a { color: var(--ink-mut); }
.footer__legal-btn {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: var(--ink-mut);
  cursor: pointer;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: rgba(13, 11, 11, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(244, 241, 238, 0.14);
  padding: 20px;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.35);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
}
.cookie-banner__text {
  flex: 1 1 320px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
  max-width: 64ch;
}
.cookie-banner__text a { color: var(--red); }
.cookie-banner__text a:hover { color: var(--cream); }
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--cream);
  border-radius: 999px;
  padding: 11px 22px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.cookie-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.cookie-btn--ghost {
  background: none;
  border: 1px solid rgba(244, 241, 238, 0.3);
  color: var(--cream);
  font-weight: 500;
}
.cookie-btn--ghost:hover { background: none; border-color: var(--red); color: var(--red); }

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.cookie-modal[hidden] { display: none; }
.cookie-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 11, 11, 0.72);
}
.cookie-modal__panel {
  position: relative;
  background: var(--bg);
  color: var(--cream);
  border: 1px solid rgba(244, 241, 238, 0.14);
  border-radius: 12px;
  padding: clamp(24px, 3vw, 34px);
  width: 100%;
  max-width: 480px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.cookie-modal__title { margin: 0; font-size: clamp(24px, 3vw, 28px); }
.cookie-modal__desc {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-soft);
}
.cookie-modal__desc a { color: var(--red); }
.cookie-modal__desc a:hover { color: var(--cream); }

.cookie-modal__category {
  border-top: 1px solid rgba(244, 241, 238, 0.14);
  padding: 18px 0;
}
.cookie-modal__category:first-of-type { border-top: 0; }
.cookie-modal__category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cookie-modal__category-name {
  font-family: 'Bodoni Moda', Georgia, serif;
  font-size: 17px;
}
.cookie-modal__category-text {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-mut);
}
.cookie-modal__actions {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
}

.cookie-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
}
.cookie-toggle input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.cookie-toggle__track {
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: rgba(244, 241, 238, 0.2);
  position: relative;
  transition: background 0.2s ease;
}
.cookie-toggle__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--cream);
  transition: transform 0.2s ease;
}
.cookie-toggle input:checked + .cookie-toggle__track { background: var(--red); }
.cookie-toggle input:checked + .cookie-toggle__track .cookie-toggle__thumb { transform: translateX(18px); }
.cookie-toggle input:disabled + .cookie-toggle__track { opacity: 0.5; cursor: not-allowed; }
.cookie-toggle--locked { cursor: default; }

@media (max-width: 640px) {
  .cookie-banner__actions { width: 100%; }
  .cookie-btn { flex: 1 1 auto; }
}
