:root {
  /* Palette: Japanese Zen */
  --c-paper: #f4f1ea; /* Основной фон (рисовая бумага) */
  --c-ink: #1a1a1a; /* Основной текст (тушь) */
  --c-stone: #8c8c8c; /* Второстепенный текст */
  --c-moss: #4a5d4f; /* Акцентный зеленый */
  --c-seal: #bc2828; /* Красный акцент (печать) */
  --c-line: rgba(26, 26, 26, 0.15); /* Цвет разделительных линий */

  /* Typography */
  --font-serif: "Cormorant Garamond", serif;
  --font-sans: "Manrope", sans-serif;

  /* Spacing */
  --container-width: 1440px;
  --header-height: 80px;
  --spacer: 2rem;
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--c-paper);
  color: var(--c-ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.4s ease;
}

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

/* Typography Helpers */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8em 2em;
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid var(--c-ink);
}

.btn--outlined {
  background: transparent;
  color: var(--c-ink);
}

.btn--outlined:hover {
  background: var(--c-ink);
  color: var(--c-paper);
}

/* ================= HEADER ================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--c-paper);
  border-bottom: 1px solid var(--c-line);
  z-index: 1000;
}

.header__container {
  max-width: var(--container-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.header__logo-img {
  width: 32px;
  height: 32px;
}

/* Nav Desktop */
.header__nav {
  display: none;
}

@media (min-width: 992px) {
  .header__nav {
    display: block;
  }

  .header__menu {
    display: flex;
    gap: 3rem;
  }

  .header__link {
    font-size: 0.95rem;
    position: relative;
  }

  .header__link::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--c-seal);
    transition: width 0.3s ease;
  }

  .header__link:hover {
    color: var(--c-seal);
  }

  .header__link:hover::after {
    width: 100%;
  }
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header__btn {
  display: none;
}

@media (min-width: 768px) {
  .header__btn {
    display: inline-flex;
  }
}

/* Burger */
.header__burger {
  width: 30px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.header__burger-line {
  width: 100%;
  height: 2px;
  background-color: var(--c-ink);
  transition: all 0.3s ease;
}

@media (min-width: 992px) {
  .header__burger {
    display: none;
  }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--c-paper);
  padding-top: var(--header-height);
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mobile-menu.is-active {
  transform: translateY(0);
}

.mobile-menu__list {
  text-align: center;
}

.mobile-menu__link {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  padding: 0.5rem 0;
  color: var(--c-ink);
}

.mobile-menu__link--accent {
  color: var(--c-seal);
  margin-top: 1rem;
  font-family: var(--font-sans);
  font-size: 1.5rem;
  text-transform: uppercase;
}

/* Burger Animation State */
body.menu-open .header__burger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
body.menu-open .header__burger-line:nth-child(2) {
  transform: rotate(-45deg) translate(5px, -7px);
}

/* ================= FOOTER ================= */
.footer {
  border-top: 1px solid var(--c-line);
  margin-top: auto;
  background: var(--c-paper);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: var(--container-width);
  margin: 0 auto;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  }
}

.footer__col {
  padding: 3rem 2rem;
  border-bottom: 1px solid var(--c-line);
}

@media (min-width: 768px) {
  .footer__col:nth-child(odd) {
    border-right: 1px solid var(--c-line);
  }
}

@media (min-width: 1024px) {
  .footer__col {
    border-bottom: none;
    border-right: 1px solid var(--c-line);
  }
  .footer__col:last-child {
    border-right: none;
  }
}

/* Footer Content */
.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer__logo-icon {
  width: 24px;
  height: 24px;
}

.footer__tagline {
  font-size: 0.9rem;
  color: var(--c-stone);
  line-height: 1.5;
}

.footer__title {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-stone);
  margin-bottom: 1.5rem;
}

.footer__list li {
  margin-bottom: 0.75rem;
}

.footer__link {
  font-size: 0.95rem;
  position: relative;
  padding-left: 0;
  transition: padding 0.3s;
}

.footer__link:hover {
  color: var(--c-seal);
  padding-left: 5px;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  font-style: normal;
  font-size: 0.95rem;
}

.footer__contact-item i {
  width: 18px;
  height: 18px;
  color: var(--c-seal);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer__bottom {
  border-top: 1px solid var(--c-line);
  text-align: center;
  padding: 1.5rem;
  font-size: 0.8rem;
  color: var(--c-stone);
  max-width: var(--container-width);
  margin: 0 auto;
}

/* ================= HERO SECTION ================= */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--header-height);
  border-bottom: 1px solid var(--c-line);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  height: 100%; /* Fill viewport */
  max-width: var(--container-width);
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 80px 1fr 300px; /* Sidebar, Content, Visual */
    min-height: calc(100vh - var(--header-height));
  }
}

/* Columns */
.hero__col {
  padding: 2rem;
  border-bottom: 1px solid var(--c-line);
  position: relative;
}

@media (min-width: 1024px) {
  .hero__col {
    border-bottom: none;
    border-right: 1px solid var(--c-line);
  }
  .hero__col:last-child {
    border-right: none;
  }
}

/* Meta Column (Vertical Text) */
.hero__col--meta {
  display: none;
}

@media (min-width: 1024px) {
  .hero__col--meta {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .vertical-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--c-stone);
    white-space: nowrap;
  }
}

/* Content Column */
.hero__col--content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.hero__subtitle {
  font-family: var(--font-sans);
  color: var(--c-seal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.hero__title {
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.95;
  margin-bottom: 3rem;
  font-weight: 400;
  color: var(--c-ink);
}

.hero__title .highlight {
  font-style: italic;
  font-weight: 600;
}

.line-wrap {
  display: block;
  overflow: hidden; /* For animation reveal */
}

/* Footer of Hero (Desc + CTA) */
.hero__footer {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .hero__footer {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.hero__desc {
  font-size: 1.125rem;
  color: var(--c-ink);
  max-width: 400px;
}

.hero__cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.btn--primary {
  background-color: var(--c-seal);
  color: #fff;
  border-color: var(--c-seal);
  padding: 1em 2.5em;
}

.btn--primary:hover {
  background-color: var(--c-ink);
  border-color: var(--c-ink);
}

.hero__note {
  font-size: 0.75rem;
  color: var(--c-stone);
  font-style: italic;
}

/* Visual Column (Abstract Circle) */
.hero__col--visual {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0ede6; /* Slightly darker paper */
  overflow: hidden;
}

.hero__circle-anim {
  width: 200px;
  height: 200px;
  border: 1px solid var(--c-ink);
  border-radius: 50%;
  position: relative;
  animation: pulseCircle 10s infinite linear;
}

.hero__circle-anim::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: var(--c-seal);
  border-radius: 50%;
}

@keyframes pulseCircle {
  0% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
}

/* ANIMATION CLASSES (Used by JS) */
.reveal-text {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-text.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================= STRATEGY SECTION ================= */
.strategy {
  padding: 6rem 0;
  background-color: var(--c-paper);
}

.strategy__container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
.strategy__head {
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .strategy__head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.strategy__title {
  font-size: 3rem;
  line-height: 1;
  color: var(--c-ink);
}

.strategy__subtitle {
  font-family: var(--font-sans);
  color: var(--c-stone);
  max-width: 400px;
  font-size: 1rem;
}

/* List Items */
.strategy__list {
  display: flex;
  flex-direction: column;
}

.strategy__item {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--c-line);
  padding: 2rem 0;
  cursor: pointer;
  transition: background-color 0.4s ease;
  outline: none; /* Focus handled visually */
}

/* Last border */
.strategy__list {
  border-bottom: 1px solid var(--c-line);
}

@media (min-width: 768px) {
  .strategy__item {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2.5rem 0;
  }
}

/* Item Content */
.strategy__meta {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
}

.strategy__num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--c-line); /* Faded by default */
  transition:
    color 0.4s ease,
    transform 0.4s ease;
}

.strategy__name {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  transition: transform 0.4s ease;
}

.strategy__details {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 1.5rem;
  flex: 1;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .strategy__details {
    margin-top: 0;
    justify-content: flex-end;
  }
}

.strategy__desc {
  font-size: 0.95rem;
  color: var(--c-stone);
  max-width: 350px;
  opacity: 0.6;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.strategy__icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  color: var(--c-ink);
}

/* HOVER EFFECTS */
.strategy__item:hover .strategy__num,
.strategy__item:focus-visible .strategy__num {
  color: var(--c-seal); /* Red Accent */
  transform: translateX(10px);
}

.strategy__item:hover .strategy__name,
.strategy__item:focus-visible .strategy__name {
  transform: translateX(10px);
}

.strategy__item:hover .strategy__desc,
.strategy__item:focus-visible .strategy__desc {
  opacity: 1;
  color: var(--c-ink);
}

.strategy__item:hover .strategy__icon,
.strategy__item:focus-visible .strategy__icon {
  background-color: var(--c-ink);
  border-color: var(--c-ink);
  color: var(--c-paper);
  transform: rotate(-45deg); /* Arrow points up-right */
}

/* ================= GROWTH SECTION ================= */
.growth {
  background-color: var(--c-ink); /* Dark Background */
  color: var(--c-paper); /* Light Text */
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.growth__container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 992px) {
  .growth__container {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
  }
}

/* Left Column */
.growth__col--left {
  position: relative;
}

.growth__label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.growth__badge {
  background-color: var(--c-seal);
  color: #fff;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.growth__status {
  font-size: 0.85rem;
  color: var(--c-stone);
  font-family: var(--font-sans);
}

.growth__title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--c-paper);
}

.growth__title-accent {
  font-style: italic;
  color: var(--c-stone); /* Muted grey for contrast */
}

.growth__text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: rgba(244, 241, 234, 0.7);
  max-width: 450px;
}

/* Decorative Seal */
.growth__seal {
  margin-top: 4rem;
  width: 80px;
  height: 80px;
  border: 2px solid var(--c-seal);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-seal);
  font-family: serif;
  font-size: 2rem;
  opacity: 0.8;
  transform: rotate(-10deg);
}

/* Right Column (List) */
.growth__list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.growth__item {
  position: relative;
  padding-left: 2rem;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  transition: border-color 0.3s ease;
}

.growth__item:hover {
  border-left-color: var(--c-seal);
}

.growth__item::before {
  content: "";
  position: absolute;
  left: -5px; /* Half of width (10px) centered on line */
  top: 0;
  width: 9px;
  height: 9px;
  background-color: var(--c-paper);
  transition:
    background-color 0.3s ease,
    top 0.3s ease;
}

.growth__item:hover::before {
  background-color: var(--c-seal);
  top: 5px; /* Slight movement down */
}

.growth__item-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--c-paper);
}

.growth__item-desc {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: rgba(244, 241, 234, 0.6);
  line-height: 1.6;
}

/* ================= METHODOLOGY SECTION ================= */
.methodology {
  padding: 6rem 0;
  background-color: var(--c-paper);
}

.methodology__container {
  max-width: 800px; /* Narrower container for reading text */
  margin: 0 auto;
  padding: 0 2rem;
}

.methodology__header {
  text-align: center;
  margin-bottom: 4rem;
}

.methodology__label {
  display: inline-block;
  font-size: 0.75rem;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-seal);
  margin-bottom: 1rem;
  border: 1px solid var(--c-seal);
  padding: 0.2em 0.8em;
  border-radius: 20px;
}

.methodology__title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--c-ink);
}

.methodology__desc {
  color: var(--c-stone);
  font-family: var(--font-sans);
}

/* Accordion Styles */
.accordion {
  border-top: 1px solid var(--c-line);
}

.accordion__item {
  border-bottom: 1px solid var(--c-line);
  overflow: hidden;
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.3s ease;
}

.accordion__trigger:hover {
  color: var(--c-seal);
}

.accordion__num {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--c-stone);
  margin-right: 1.5rem;
  width: 30px;
}

.accordion__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  flex: 1;
  font-weight: 600;
}

.accordion__icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

/* Active State Styles */
.accordion__trigger[aria-expanded="true"] .accordion__icon {
  transform: rotate(45deg); /* Turn plus into x */
  color: var(--c-seal);
}

.accordion__trigger[aria-expanded="true"] .accordion__title {
  color: var(--c-seal);
}

.accordion__content {
  max-height: 0;
  opacity: 0;
  transition:
    max-height 0.4s cubic-bezier(0, 1, 0, 1),
    opacity 0.4s ease;
  will-change: max-height, opacity;
}

.accordion__trigger[aria-expanded="true"] + .accordion__content {
  opacity: 1;
  /* max-height is set by JS */
}

.accordion__body {
  padding: 0 0 2rem 3.5rem; /* Indent to align with title */
  color: var(--c-ink);
  font-size: 1rem;
  line-height: 1.7;
}

@media (max-width: 480px) {
  .accordion__body {
    padding-left: 0;
  }
}
/* ================= REVIEWS SECTION ================= */
.reviews {
  padding: 0; /* Full bleed layout styling */
  background-color: var(--c-paper);
  border-bottom: 1px solid var(--c-line);
}

.reviews__container {
  max-width: var(--container-width);
  margin: 0 auto;
}

.reviews__grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 992px) {
  .reviews__grid {
    grid-template-columns: 1fr 1fr 1.5fr; /* 3 columns layout */
  }
}

/* Box Styling */
.reviews__box {
  padding: 4rem 2rem;
  border-bottom: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
  position: relative;
  transition: background-color 0.3s ease;
}

@media (min-width: 992px) {
  .reviews__box {
    border-bottom: none;
    border-right: 1px solid var(--c-line);
  }
  .reviews__box:last-child {
    border-right: none;
  }
}

.reviews__box:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

/* Labels */
.reviews__label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--c-stone);
  margin-bottom: 2rem;
}

/* Numbers */
.reviews__number {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 6vw, 6rem);
  line-height: 1;
  color: var(--c-ink);
  margin-bottom: 2rem;
  font-weight: 400;
}

.reviews__desc {
  font-size: 0.95rem;
  color: var(--c-stone);
  line-height: 1.6;
}

.reviews__desc strong {
  color: var(--c-ink);
  font-weight: 600;
}

/* Quote Box Specifics */
.reviews__box--quote {
  background-color: #f0ede6; /* Slightly darker distinct background */
  justify-content: center;
}

.reviews__quote-icon {
  font-family: var(--font-serif);
  font-size: 8rem;
  color: var(--c-line);
  line-height: 0.5;
  position: absolute;
  top: 2rem;
  left: 1rem;
  pointer-events: none;
}

.reviews__blockquote {
  position: relative;
  z-index: 1;
}

.reviews__blockquote p {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  line-height: 1.3;
  color: var(--c-ink);
  margin-bottom: 2rem;
  font-style: italic;
}

.reviews__author {
  font-family: var(--font-sans);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.reviews__author cite {
  font-style: normal;
  font-weight: 600;
  color: var(--c-seal);
}

.reviews__role {
  font-size: 0.85rem;
  color: var(--c-stone);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ================= CONTACT SECTION ================= */
.contact {
  padding: 6rem 0;
  background-color: #f0ede6; /* Slightly darker than main paper color */
}

.contact__container {
  max-width: 600px; /* Focus on the form */
  margin: 0 auto;
  padding: 0 2rem;
}

.contact__header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact__title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--c-ink);
}

.contact__desc {
  color: var(--c-stone);
  font-size: 0.95rem;
}

/* Form Styles */
.contact__form {
  background: var(--c-paper);
  padding: 3rem 2rem;
  border: 1px solid var(--c-line);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
  transition: opacity 0.3s ease;
}

.form-group {
  margin-bottom: 2rem;
  position: relative;
}

.form-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-stone);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--c-line);
  padding: 0.5rem 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--c-ink);
  border-radius: 0; /* Remove default radius */
  transition: border-color 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-bottom-color: var(--c-seal);
}

.form-input::placeholder {
  color: #d1d1d1;
  font-family: var(--font-sans);
  font-size: 1rem;
}

/* Custom Checkbox */
.form-checkbox-group {
  margin-bottom: 1.5rem;
}

.custom-checkbox {
  display: flex;
  align-items: flex-start; /* Align top for long text */
  cursor: pointer;
  user-select: none;
  gap: 0.75rem;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  height: 20px;
  width: 20px;
  background-color: transparent;
  border: 1px solid var(--c-stone);
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s ease;
}

.custom-checkbox:hover input ~ .checkmark {
  border-color: var(--c-seal);
}

.custom-checkbox input:checked ~ .checkmark {
  background-color: var(--c-seal);
  border-color: var(--c-seal);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-text {
  font-size: 0.8rem;
  color: var(--c-stone);
  line-height: 1.4;
}

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

/* Captcha Box */
.captcha-box {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  padding: 1rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  max-width: 300px;
}

.captcha-checkmark {
  border-radius: 2px;
}

.captcha-icon {
  color: var(--c-stone);
  opacity: 0.5;
  width: 24px;
  height: 24px;
}

/* Submit Button */
.contact__btn {
  width: 100%;
  padding: 1.2rem;
  font-size: 0.9rem;
}

/* Success Message */
.contact__success {
  display: none; /* Hidden by JS */
  text-align: center;
  padding: 3rem 2rem;
  background: var(--c-paper);
  border: 1px solid var(--c-seal);
  animation: fadeIn 0.5s ease;
}

.contact__success-icon {
  color: var(--c-seal);
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem auto;
}

.contact__success-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 1rem;
}

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

/* Loading State for Button */
.btn.is-loading {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
  color: transparent !important;
}

.btn.is-loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* ================= COOKIE POPUP ================= */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--c-paper);
  border-top: 1px solid var(--c-line);
  padding: 1.5rem 2rem;
  z-index: 2000;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
}

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

.cookie-popup__content {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .cookie-popup__content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.cookie-popup__text {
  font-size: 0.9rem;
  color: var(--c-ink);
}

.cookie-popup__text a {
  text-decoration: underline;
  color: var(--c-seal);
}

.cookie-popup__btn {
  padding: 0.6em 1.5em;
  font-size: 0.8rem;
  white-space: nowrap;
}

/* ================= LEGAL PAGES STYLES ================= */
/* Use this structure: <section class="pages"><div class="container">...</div></section> */

.pages {
  padding: calc(var(--header-height) + 4rem) 0 4rem 0;
  min-height: 80vh;
}

.pages .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.pages h1 {
  font-family: var(--font-serif);
  font-size: 3rem;
  margin-bottom: 2rem;
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-line);
  padding-bottom: 1rem;
}

.pages h2 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--c-ink);
}

.pages p {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--c-stone); /* Dark grey for reading text */
  margin-bottom: 1.5rem;
  color: #444;
}

.pages ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: #444;
}

.pages li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.pages strong {
  color: var(--c-ink);
  font-weight: 600;
}

.pages a {
  color: var(--c-seal);
  text-decoration: underline;
}

.pages a:hover {
  text-decoration: none;
  color: var(--c-ink);
}
