/* Xenolith — clean rebuild from Wix export */
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;600&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --color-bg-dark: #141414;
  --color-header: #000000;
  --color-bg-medium: #575757;
  --color-bg-light: #fafafa;
  --color-text: #ffffff;
  --color-text-muted: #ababab;
  --color-accent: #917151;
  --color-accent-dark: #614f37;
  --color-brown-text: #30271b;
  --color-line: rgba(171, 171, 171, 0.4);
  --color-red: #c0392b;
  --site-width: 980px;
  --page-width: 1180px;
  --section-space: clamp(80px, 10vw, 128px);
  --radius-lg: 16px;
  --radius-md: 10px;
  --header-height: 76px;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
  --font-nav: 'Barlow', 'din-next-w01-light', sans-serif;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal {
    opacity: 0;
    transform: translateY(36px);
    transition:
      opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0s),
      transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0s);
  }

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

  .scroll-reveal--left {
    transform: translateX(-40px);
  }

  .scroll-reveal--left.is-visible {
    transform: translateX(0);
  }

  .scroll-reveal--right {
    transform: translateX(40px);
  }

  .scroll-reveal--right.is-visible {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1;
    transform: none;
  }
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg-dark);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; transition: color 0.25s ease; }
a:hover { color: var(--color-accent); }

.container {
  width: min(100% - 32px, var(--site-width));
  margin-inline: auto;
}

.container-wide {
  width: min(100% - clamp(32px, 6vw, 80px), var(--page-width));
  margin-inline: auto;
}

main {
  margin: 0;
  padding: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: var(--color-header);
  border-bottom: none;
}

.page-home .site-header--overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(4px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: none;
  min-height: var(--header-height);
  gap: 24px;
  padding: 0 clamp(16px, 3vw, 40px);
  margin: 0;
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.main-nav {
  margin-left: auto;
}

.main-nav > ul {
  justify-content: flex-end;
}

.logo img {
  height: 50px;
  width: auto;
}

.site-header a:hover {
  color: inherit;
}

.site-header .main-nav > ul > li > a:hover {
  color: var(--color-text);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--color-text);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav > ul > li > a,
.main-nav .submenu-toggle {
  display: block;
  padding: 10px 16px;
  font-family: var(--font-nav);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--color-text-muted);
}

.main-nav > ul > li > a:hover {
  color: var(--color-text);
}

.main-nav > ul > li > a.active {
  color: var(--color-text);
}

.has-submenu { position: relative; }

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #1a1a1a;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  list-style: none;
  margin: 0;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.has-submenu:hover .submenu,
.has-submenu.open .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu a {
  display: block;
  padding: 10px 20px;
  font-family: var(--font-nav);
  font-size: 15px;
  font-weight: 300;
  color: var(--color-text-muted);
}

.submenu a:hover { color: var(--color-text); background: rgba(255,255,255,0.04); }

/* Hero — home with video background */
.hero--video {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.25) 45%,
    rgba(0, 0, 0, 0.5) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, 820px);
  padding: calc(var(--header-height) + 32px) 16px 48px;
}

.hero--video h1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 11vw, 5.5rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  margin: 0 0 24px;
  line-height: 1.08;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05em;
}

.hero-title-main { color: #fff; }

.hero-title-accent {
  color: var(--color-red);
  font-weight: 700;
}

.hero--video .tagline {
  font-family: var(--font-heading);
  font-size: clamp(0.8rem, 2.4vw, 1.05rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 auto 40px;
  max-width: 560px;
  line-height: 1.75;
}

.hero-cta {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 6px;
  transition: opacity 0.25s ease;
}

.hero-cta:hover {
  color: #fff;
  opacity: 0.75;
}

.hero-scroll-hint {
  display: block;
  width: 1px;
  height: 48px;
  margin: 28px auto 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.8), transparent);
  position: relative;
}

.hero-scroll-hint::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--color-accent);
  background: transparent;
  color: var(--color-accent);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn:hover {
  background: var(--color-accent);
  color: #fff;
}

.btn-light {
  border-color: var(--color-brown-text);
  color: var(--color-brown-text);
}

.btn-light:hover {
  background: var(--color-brown-text);
  color: #fff;
}

.btn-filled {
  background: var(--color-accent);
  color: #fff;
}

.btn-filled:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
}

/* Video section */
.video-section {
  background: var(--color-bg-light);
  padding: 0 16px 64px;
}

.video-section h2 {
  text-align: center;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--color-brown-text);
  margin: 0 0 24px;
}

.video-wrapper {
  position: relative;
  max-width: var(--site-width);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.25);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.video-play-btn:hover { background: rgba(0,0,0,0.4); }

.video-play-btn svg {
  width: 64px;
  height: 64px;
  fill: rgba(255,255,255,0.9);
}

.video-wrapper.playing .video-play-btn { display: none; }

/* Cards grid — home */
.cards-section {
  padding: 0;
  margin: 0;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.card-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 570 / 600;
  min-height: 280px;
}

.card-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-item:hover img { transform: scale(1.04); }

.card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(45, 45, 45, 0.45);
  text-align: center;
  padding: 24px;
  transition: background 0.3s ease;
}

.card-item:hover .card-overlay { background: rgba(45, 45, 45, 0.6); }

.card-overlay h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
}

.card-overlay .explore {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.card-item:hover .explore {
  opacity: 1;
  transform: translateY(0);
}

/* Page hero — inner pages (legacy legal pages) */
.page-hero {
  background: var(--color-bg-light);
  color: var(--color-brown-text);
  text-align: center;
  padding: 64px 16px 48px;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  margin: 0;
}

.page-hero p {
  max-width: 600px;
  margin: 16px auto 0;
  color: var(--color-accent-dark);
}

/* Modern page banner */
.page-banner {
  position: relative;
  min-height: clamp(420px, 62vh, 560px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}

.page-banner__media {
  position: absolute;
  inset: 0;
}

.page-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.55) 45%,
    rgba(0, 0, 0, 0.75) 100%
  );
}

.page-banner__content {
  position: relative;
  z-index: 2;
  padding: calc(var(--header-height) + 48px) 0 clamp(56px, 8vw, 88px);
  max-width: 720px;
}

.page-banner__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 20px;
}

.page-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 20px;
  letter-spacing: 0.02em;
}

.page-banner__lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  max-width: 560px;
}

.page-banner__lead a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-banner__lead a:hover { color: var(--color-accent); }

.page-anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.page-anchor-nav a {
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.page-anchor-nav a:hover {
  background: rgba(145, 113, 81, 0.35);
  border-color: var(--color-accent);
  color: #fff;
}

.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 16px;
}

.section-eyebrow--light { color: var(--color-accent-dark); }

/* Split sections — About & Services */
.split-section {
  padding: var(--section-space) 0;
}

.split-section--alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
}

.split-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.split-section__grid--reverse .split-section__content { order: 2; }
.split-section__grid--reverse .split-section__figure { order: 1; }

.split-section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 20px;
}

.split-section__lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 24px;
}

.split-section__body p {
  color: var(--color-text-muted);
  margin: 0 0 18px;
  line-height: 1.85;
  font-size: 16px;
}

.split-section__figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.split-section__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.split-section__figure--offset {
  transform: translateY(24px);
}

.split-section__grid--reverse .split-section__figure img {
  aspect-ratio: 16 / 10;
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  list-style: none;
  padding: 28px 0 0;
  margin: 12px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-row li {
  min-width: 100px;
}

.stat-row strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.stat-row span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.split-section__cta { margin-top: 36px; }

/* Why Us — feature cards */
.features-section {
  padding: var(--section-space) 0 0;
  background: var(--color-bg-light);
  color: var(--color-brown-text);
}

.features-section__intro {
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.features-section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 16px;
}

.features-section__lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-accent-dark);
  margin: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: clamp(28px, 4vw, 40px);
  box-shadow: 0 8px 32px rgba(48, 39, 27, 0.08);
  border: 1px solid rgba(48, 39, 27, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(48, 39, 27, 0.12);
}

.feature-card__num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-red);
  margin-bottom: 16px;
  line-height: 1;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.4;
  margin: 0 0 14px;
}

.feature-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-accent-dark);
}

.features-section__visual {
  margin: clamp(48px, 8vw, 80px) 0 0;
  height: clamp(220px, 32vw, 360px);
  overflow: hidden;
}

.features-section__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

/* Service tiles */
.service-tiles {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 16px;
}

.service-tiles li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.service-tiles li:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(145, 113, 81, 0.4);
}

.service-tiles__icon {
  flex-shrink: 0;
  color: var(--color-red);
  font-size: 10px;
  margin-top: 6px;
}

.service-tiles strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 6px;
}

.service-tiles p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* CTA band */
.cta-band {
  padding: clamp(56px, 8vw, 88px) 0;
  background: linear-gradient(90deg, rgba(192, 57, 43, 0.15) 0%, rgba(145, 113, 81, 0.12) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-band h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  margin: 0 0 8px;
}

.cta-band p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 16px;
}

.cta-band .btn-light {
  border-color: #fff;
  color: #fff;
}

.cta-band .btn-light:hover {
  background: #fff;
  color: var(--color-brown-text);
}

/* Legacy accordion (unused but kept for JS compatibility) */
.accordion { max-width: 800px; margin: 0 auto; }
.accordion-item { border-bottom: 1px solid rgba(48, 39, 27, 0.15); }
.accordion-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-brown-text);
  text-align: left;
}
.accordion-btn::after { content: '+'; font-size: 1.25rem; }
.accordion-item.open .accordion-btn::after { transform: rotate(45deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.accordion-item.open .accordion-panel { max-height: 200px; }

/* Pricing */
.pricing-section {
  padding: clamp(64px, 8vw, 96px) 0;
}

.pricing-section > .container-wide > h1,
.pricing-section--full > .container > h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  text-align: center;
  margin: 0 0 clamp(40px, 5vw, 56px);
  font-weight: 400;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
  width: 100%;
}

.pricing-section--full .pricing-grid {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: clamp(32px, 3vw, 40px) clamp(20px, 2.5vw, 28px) clamp(28px, 3vw, 36px);
  text-align: center;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.pricing-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(145, 113, 81, 0.35);
}

.pricing-section--full .pricing-card {
  border-right: 1px solid rgba(255,255,255,0.08);
  border-radius: 0;
}

.pricing-section--full .pricing-card:last-child {
  border-right: none;
}

.pricing-card h2 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 24px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-card .price {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  line-height: 1.2;
  margin: 0 0 8px;
}

.pricing-card .duration {
  font-size: 13px;
  color: var(--color-text-muted);
  margin: 0 0 24px;
}

.pricing-card .btn-buy {
  width: 100%;
  margin-bottom: 28px;
  cursor: pointer;
  font-family: var(--font-body);
}

/* Buy modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

body.modal-open {
  overflow: hidden;
}

.modal-dialog {
  position: relative;
  width: min(100%, 520px);
  background: #fff;
  color: #30271b;
  padding: 56px 48px 48px;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #30271b;
  cursor: pointer;
  padding: 4px 8px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.modal-close:hover {
  opacity: 1;
  color: #30271b;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 400;
  line-height: 1.35;
  margin: 0 0 20px;
  color: #30271b;
}

.modal-text {
  font-family: var(--font-heading);
  font-size: 15px;
  line-height: 1.6;
  color: #614f37;
  margin: 0 0 32px;
}

.btn-modal-confirm {
  display: inline-block;
  min-width: 140px;
  padding: 14px 40px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  border: none;
  background: #30271b;
  color: #fff;
  cursor: pointer;
  transition: background 0.25s ease;
}

.btn-modal-confirm:hover {
  background: #000;
  color: #fff;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  flex: 1;
}

.pricing-card li {
  font-size: 13px;
  color: var(--color-text-muted);
  padding: 8px 0;
  border-top: 1px solid var(--color-line);
  line-height: 1.5;
}

/* Contact */
.contact-section { padding: var(--section-space) 0; }

.contact-section--modern {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
}

.info-bar {
  position: relative;
  z-index: 3;
  margin-top: -40px;
  padding-bottom: 8px;
}

.info-bar__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.info-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 32px;
  background: rgba(20, 20, 20, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  transition: border-color 0.25s ease, transform 0.25s ease;
  text-decoration: none;
  color: inherit;
}

a.info-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  color: inherit;
}

.info-card--static { cursor: default; }

.info-card__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.info-card__value {
  font-size: 15px;
  line-height: 1.5;
  color: #fff;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
}

.contact-form-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  margin: 0 0 12px;
}

.contact-form-header p {
  color: var(--color-text-muted);
  margin: 0 0 32px;
  font-size: 16px;
  line-height: 1.7;
}

.contact-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--color-text-muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(171, 171, 171, 0.55);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.08);
}

.contact-form textarea { min-height: 160px; resize: vertical; }

.contact-form--modern .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-form--modern .form-field { margin-bottom: 20px; }
.contact-form--modern .form-row .form-field { margin-bottom: 0; }

.form-note {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.form-success {
  display: none;
  padding: 16px;
  background: rgba(145, 113, 81, 0.2);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  text-align: center;
}

.form-success.visible { display: block; }

.form-success-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.form-success-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.form-success-dialog {
  width: min(100%, 440px);
  padding: clamp(36px, 6vw, 48px);
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  transform: translateY(12px);
  transition: transform 0.3s ease;
}

.form-success-overlay.is-open .form-success-dialog {
  transform: translateY(0);
}

.form-success-dialog__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(145, 113, 81, 0.25);
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  font-size: 1.5rem;
  line-height: 52px;
  font-weight: 700;
}

.form-success-dialog h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0 0 12px;
}

.form-success-dialog p {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0 0 28px;
  font-size: 15px;
}

/* Section pagination — About page */
.section-pagination {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 12px clamp(16px, 3vw, 32px);
  background: rgba(0, 0, 0, 0.88);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.page-about main {
  padding-bottom: 88px;
}

.section-pagination__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2vw, 20px);
  max-width: var(--page-width);
  margin: 0 auto;
}

.section-pagination__track {
  display: flex;
  align-items: stretch;
  gap: 8px;
  flex: 1;
  justify-content: center;
  max-width: 640px;
}

.section-pagination__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  min-width: 0;
}

.section-pagination__item:hover {
  color: #fff;
  border-color: rgba(145, 113, 81, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.section-pagination__item.is-active {
  color: #fff;
  background: rgba(145, 113, 81, 0.28);
  border-color: var(--color-accent);
}

.section-pagination__num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-accent);
}

.section-pagination__item.is-active .section-pagination__num {
  color: #fff;
}

.section-pagination__text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.section-pagination__arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.section-pagination__arrow:hover:not(:disabled) {
  background: rgba(145, 113, 81, 0.35);
  border-color: var(--color-accent);
}

.section-pagination__arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Form validation */
.field-error {
  display: block;
  min-height: 0;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
  color: #e74c3c;
}

.field-error:not(:empty) {
  min-height: 17px;
}

.contact-form input.is-invalid,
.contact-form textarea.is-invalid {
  border-color: #e74c3c;
  background: rgba(231, 76, 60, 0.08);
}

.contact-form input.is-valid,
.contact-form textarea.is-valid {
  border-color: rgba(145, 113, 81, 0.65);
}

.contact-aside__figure {
  margin: 0 0 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.4);
}

.contact-aside__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.contact-aside__panel {
  padding: clamp(28px, 4vw, 36px);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
}

.contact-aside__panel h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 400;
  margin: 0 0 20px;
}

.contact-steps {
  margin: 0 0 24px;
  padding-left: 20px;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.contact-steps li { margin-bottom: 8px; }

.contact-aside__note {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0 0 24px;
  line-height: 1.65;
}

.contact-aside__note a { color: var(--color-accent); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info p { color: var(--color-text-muted); margin: 0 0 12px; }
.contact-info a { color: var(--color-accent); }
.contact-image img { width: 100%; border-radius: var(--radius-md); }

/* Legal pages */
.legal-section {
  padding: calc(var(--header-height) + 48px) 0 var(--section-space);
  background: var(--color-bg-dark);
  color: var(--color-text);
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin: 0 0 32px;
  font-weight: 400;
  color: var(--color-text);
  letter-spacing: 0.04em;
}

.legal-content h2 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 32px 0 12px;
  color: var(--color-text);
}

.legal-content p,
.legal-content li {
  font-size: 15px;
  line-height: 1.85;
  color: var(--color-text-muted);
  margin: 0 0 16px;
}

.legal-content ul {
  padding-left: 20px;
  margin: 0 0 16px;
}

.legal-content a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:hover {
  color: #fff;
}

/* Footer */
.site-footer {
  background: var(--color-bg-dark);
  padding: 48px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 16px;
  font-weight: 600;
  color: var(--color-text);
}

.footer-col p,
.footer-col a {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0 0 8px;
  display: block;
}

.footer-line {
  height: 1px;
  background: var(--color-line);
  margin: 12px 0;
}

.footer-links a {
  display: inline;
  text-decoration: underline;
  margin-right: 16px;
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-muted);
  padding-top: 24px;
  border-top: 1px solid var(--color-line);
}

/* Mobile nav overlay */
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }

  .pricing-section--full .pricing-card:nth-child(2n) {
    border-right: none;
  }

  .pricing-section--full .pricing-card:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .split-section__grid,
  .split-section__grid--reverse { grid-template-columns: 1fr; }
  .split-section__grid--reverse .split-section__content,
  .split-section__grid--reverse .split-section__figure { order: unset; }
  .split-section__figure--offset { transform: none; }
  .info-bar__grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .page-home .site-header--overlay {
    backdrop-filter: none;
  }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 112;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    margin-left: 0;
    background: var(--color-bg-dark);
    padding: 24px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    overflow-y: auto;
    z-index: 110;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav.open { transform: translateX(0); }

  body.nav-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 105;
  }

  body.nav-open .site-header {
    z-index: 112;
  }

  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .main-nav > ul > li > a,
  .main-nav .submenu-toggle {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 18px;
  }

  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
    display: none !important;
  }

  .has-submenu.open .submenu { display: none !important; }

  .submenu a { padding: 10px 0; border: none; }

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

  .card-item { aspect-ratio: 4 / 3; min-height: 240px; }

  .card-overlay .explore { opacity: 1; transform: none; }

  .hero--video .tagline {
    letter-spacing: 0.14em;
    font-size: clamp(0.75rem, 3.5vw, 0.95rem);
  }

  .hero--video h1 {
    letter-spacing: 0.07em;
    font-size: clamp(2.75rem, 14vw, 4rem);
  }

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

  .pricing-section--full .pricing-card {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .pricing-section--full .pricing-card:last-child {
    border-bottom: none;
  }

  .modal-dialog {
    padding: 48px 28px 36px;
  }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }

  body.nav-open { overflow: hidden; }

  .contact-form--modern .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-banner__content { max-width: 100%; }

  .section-pagination__text { font-size: 10px; }

  .section-pagination__arrow { width: 36px; height: 36px; }

  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 480px) {
  .hero--video h1 {
    letter-spacing: 0.05em;
    font-size: clamp(2.5rem, 13vw, 3.25rem);
  }
}

