/* ===== Variables ===== */
:root {
  --navy: #0c1829;
  --navy-dark: #060e18;
  --navy-mid: #132238;
  --gold: #c9a961;
  --gold-hover: #d4b872;
  --white: #ffffff;
  --text-dark: #2a2a2a;
  --text-muted: #5a5a5a;
  --overlay: rgba(6, 14, 24, 0.75);
  --font-sans: 'Montserrat', sans-serif;
  --font-serif: 'Libre Baskerville', Georgia, serif;
  --container: 1200px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.icon {
  flex-shrink: 0;
}

.icon--sm {
  width: 14px;
  height: 14px;
}

/* ===== Top Bar ===== */
.top-bar {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 100;
}

.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 36px;
  gap: 16px;
}

.top-bar__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.top-bar__item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar__address-short {
  display: none;
}

.top-bar__social {
  display: flex;
  gap: 14px;
}

.top-bar__social a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

.top-bar__social a:hover {
  color: var(--gold);
}

/* ===== Site Header ===== */
.site-header {
  position: fixed;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 200;
  transition: background var(--transition), top var(--transition), box-shadow var(--transition);
}

.site-header--scrolled {
  top: 0;
  background: rgba(6, 14, 24, 0.97);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.site-header--scrolled .nav {
  padding-top: 14px;
  padding-bottom: 14px;
}

/* ===== Navigation ===== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
  position: relative;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo__icon {
  width: 36px;
  height: 36px;
}

.logo__text {
  font-size: clamp(0.85rem, 2.5vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
}

.nav__menu {
  display: flex;
  gap: 28px;
}

.nav__link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
  transition: color var(--transition);
  position: relative;
}

.nav__link:hover,
.nav__link--active {
  color: var(--gold);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav__toggle--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle--open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__toggle--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: -4%;
  background: url('../back2.jpg') center / cover no-repeat;
  animation: heroBgKenBurns 22s ease-in-out infinite alternate;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      105deg,
      rgba(6, 14, 24, 0.94) 0%,
      rgba(6, 14, 24, 0.72) 42%,
      rgba(6, 14, 24, 0.45) 68%,
      rgba(6, 14, 24, 0.25) 100%
    ),
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(201, 169, 97, 0.08) 0%, transparent 55%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 24px 160px;
  max-width: 680px;
}

.hero__eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(12px);
  animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 0;
}

.hero__title-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  opacity: 0;
  transform: translateY(110%);
  filter: blur(6px);
  animation: heroTitleReveal 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.35s + var(--line) * 0.14s);
}

.hero__title-line--accent {
  background: linear-gradient(120deg, #e8d5a8 0%, var(--gold) 45%, #a8893f 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation:
    heroTitleReveal 1s cubic-bezier(0.22, 1, 0.36, 1) forwards,
    heroGoldShimmer 6s ease-in-out 1.4s infinite;
  animation-delay: calc(0.35s + var(--line) * 0.14s), 1.4s;
}

.hero__rule {
  display: block;
  width: 72px;
  height: 3px;
  margin: 20px 0 22px;
  background: linear-gradient(90deg, var(--gold), rgba(201, 169, 97, 0.2));
  transform-origin: left center;
  transform: scaleX(0);
  animation: heroRuleDraw 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.75s forwards;
}

.hero__rotator {
  position: relative;
  min-height: 5.2em;
  margin-bottom: 28px;
  max-width: 520px;
  perspective: 900px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.95s forwards;
}

.hero__caption {
  position: absolute;
  inset: 0;
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
  transform-origin: left center;
  backface-visibility: hidden;
  opacity: 0;
  transform: rotateX(88deg) translateY(12px);
  filter: blur(4px);
  pointer-events: none;
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.55s ease;
}

.hero__caption.is-active {
  position: relative;
  opacity: 1;
  transform: rotateX(0) translateY(0);
  filter: blur(0);
  pointer-events: auto;
}

.hero__caption.is-exit {
  opacity: 0;
  transform: rotateX(-72deg) translateY(-8px);
  filter: blur(6px);
}

.hero__caption.is-enter {
  opacity: 0;
  transform: rotateX(88deg) translateY(12px);
  filter: blur(4px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
}

.hero__cta {
  padding: 12px 26px;
  font-size: 0.7rem;
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1.15s forwards;
}

.hero__link {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(201, 169, 97, 0.45);
  padding-bottom: 3px;
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1.25s forwards;
  transition: color var(--transition), border-color var(--transition);
}

.hero__link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.hero__dots {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  opacity: 0;
  animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.35s forwards;
}

.hero__dot {
  width: 28px;
  height: 3px;
  padding: 0;
  border: none;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background 0.4s ease, transform 0.35s ease, width 0.35s ease;
}

.hero__dot:hover,
.hero__dot:focus-visible {
  background: rgba(201, 169, 97, 0.55);
  outline: none;
}

.hero__dot.is-active {
  width: 40px;
  background: var(--gold);
  transform: scaleY(1.2);
}

.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  animation: heroFadeUp 1s ease 1.6s forwards;
  transition: color var(--transition);
}

.hero__scroll:hover {
  color: var(--gold);
}

.hero__scroll-icon {
  display: block;
  width: 22px;
  height: 36px;
  border: 2px solid currentColor;
  border-radius: 12px;
  position: relative;
}

.hero__scroll-icon::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: currentColor;
  border-radius: 2px;
  animation: heroScrollPulse 2s ease-in-out infinite;
}

@keyframes heroScrollPulse {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.35; transform: translateY(10px); }
}

@keyframes heroBgKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

@keyframes heroTitleReveal {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroRuleDraw {
  to { transform: scaleX(1); }
}

@keyframes heroGoldShimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg {
    animation: none;
    inset: 0;
  }

  .hero__eyebrow,
  .hero__title-line,
  .hero__rule,
  .hero__rotator,
  .hero__cta,
  .hero__link,
  .hero__dots,
  .hero__scroll {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
  }

  .hero__title-line--accent {
    color: var(--gold);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
  }

  .hero__rule {
    transform: scaleX(1);
  }

  .hero__caption {
    position: static;
    transition: none;
    filter: none;
    transform: none;
  }

  .hero__caption:not(.is-active) {
    display: none;
  }

  .hero__scroll-icon::after {
    animation: none;
  }
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.btn--gold {
  background: var(--gold);
  color: var(--white);
  align-self: flex-start;
}

.btn--gold:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-1px);
}

.btn--full {
  width: 100%;
  text-align: center;
}

/* ===== Section utilities ===== */
.section-head {
  margin-bottom: 48px;
}

.section-head--center {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-head__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  display: block;
}

.section-head__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-top: 12px;
}

/* ===== Stats ===== */
.stats {
  background: var(--navy);
  position: relative;
  z-index: 5;
  margin-top: -60px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 20px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stats__item:last-child {
  border-right: none;
}

.stats__icon {
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
}

.stats__number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.stats__label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ===== About ===== */
.about {
  position: relative;
  background: var(--white);
  padding: 100px 0 80px;
  overflow: hidden;
}

.about__watermark {
  position: absolute;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  height: 320px;
  color: rgba(12, 24, 41, 0.04);
  pointer-events: none;
}

.about__watermark svg {
  width: 100%;
  height: 100%;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 28px;
}

.section-title--dark {
  color: var(--navy);
}

.section-title--light {
  color: var(--white);
  text-align: center;
}

.about__text p {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 18px;
}

.about__signature {
  margin-top: 32px;
}

.about__name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.about__role {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.about__sign {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2rem;
  color: var(--navy);
  opacity: 0.7;
}

.about__media {
  display: flex;
  justify-content: center;
}

.about__photo-wrap {
  position: relative;
  max-width: 400px;
}

.about__photo {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5.2;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.about__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition), background var(--transition);
}

.about__play svg {
  width: 28px;
  height: 28px;
  color: var(--navy);
  margin-left: 4px;
}

.about__play:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--white);
}

.about__badge {
  position: absolute;
  bottom: 24px;
  left: -20px;
  background: var(--navy);
  color: var(--white);
  padding: 16px 20px;
  min-width: 100px;
  text-align: center;
}

.about__badge-num {
  display: block;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
}

.about__badge-text {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.3;
  margin-top: 4px;
}

/* ===== Team ===== */
.team {
  position: relative;
  padding: 100px 0 80px;
  background:
    url('https://images.unsplash.com/photo-1505663056979-36195f7e2343?w=1920&q=80') center / cover no-repeat;
}

.team__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 14, 24, 0.88) 0%,
    rgba(12, 24, 41, 0.92) 100%
  );
}

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

.team__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.team__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  display: block;
}

.team__intro {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
  margin-top: 16px;
}

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

.team__grid--three {
  grid-template-columns: repeat(3, 1fr);
  max-width: 960px;
  margin: 0 auto;
}

.team-card {
  position: relative;
  overflow: hidden;
}

.team-card__img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: brightness(0.95);
  transition: transform 0.4s ease;
}

.team-card:hover .team-card__img {
  transform: scale(1.03);
}

.team-card__name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.team-card__role {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.02em;
}

/* ===== Services ===== */
.services {
  padding: 100px 0;
  background: #f8f9fb;
}

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

.service-card {
  background: var(--white);
  padding: 36px 28px;
  border: 1px solid rgba(12, 24, 41, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(12, 24, 41, 0.1);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  color: var(--gold);
  margin-bottom: 20px;
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
}

.service-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-card__link {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color var(--transition);
}

.service-card__link:hover {
  color: var(--navy);
}

/* ===== Why Choose Us ===== */
.why {
  position: relative;
  padding: 100px 0;
  background:
    url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?w=1920&q=80') center / cover no-repeat;
}

.why__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 14, 24, 0.95) 0%, rgba(12, 24, 41, 0.85) 55%, rgba(12, 24, 41, 0.6) 100%);
}

.why__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why__text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 28px;
}

.why__list {
  margin-bottom: 32px;
}

.why__list li {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.85);
}

.why__check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why__list strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.why__list span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.why__image img {
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

/* ===== Testimonials ===== */
.testimonials {
  padding: 100px 0;
  background: var(--white);
}

.testimonials__slider {
  max-width: 720px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonials__track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial {
  flex: 0 0 100%;
  text-align: center;
  padding: 0 20px;
}

.testimonial__stars {
  color: var(--gold);
  font-size: 1.25rem;
  letter-spacing: 4px;
  margin-bottom: 24px;
}

.testimonial__quote {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.85;
  margin-bottom: 32px;
}

.testimonial__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.testimonial__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(201, 169, 97, 0.45);
  background: var(--navy);
}

.testimonial__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.testimonial__author cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
}

.testimonial__author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 36px;
}

.testimonials__prev,
.testimonials__next {
  width: 44px;
  height: 44px;
  border: 2px solid var(--navy);
  background: transparent;
  color: var(--navy);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.testimonials__prev:hover,
.testimonials__next:hover {
  background: var(--navy);
  color: var(--white);
}

.testimonials__dots {
  display: flex;
  gap: 10px;
}

.testimonials__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(12, 24, 41, 0.2);
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}

.testimonials__dot--active {
  background: var(--gold);
  transform: scale(1.2);
}

/* ===== CTA Banner ===== */
.cta-banner {
  position: relative;
  padding: 80px 0;
  text-align: center;
  background:
    url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=1920&q=80') center / cover no-repeat;
}

.cta-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 14, 24, 0.88);
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 520px;
  margin: 0 auto 28px;
  font-size: 0.95rem;
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ===== Contact ===== */
.contact {
  padding: 100px 0;
  background: #f8f9fb;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact__info > p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
  line-height: 1.7;
}

.contact__details {
  margin-bottom: 28px;
}

.contact__details li {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}

.contact__details svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact__details strong {
  display: block;
  font-size: 0.85rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.contact__details span,
.contact__details a {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact__details a:hover {
  color: var(--gold);
}

.contact__map {
  border: 1px solid rgba(12, 24, 41, 0.1);
  overflow: hidden;
}

.contact-form {
  background: var(--white);
  padding: 40px 36px;
  box-shadow: 0 12px 40px rgba(12, 24, 41, 0.08);
}

.contact-form h3 {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 24px;
  font-weight: 700;
}

.contact-form label {
  display: block;
  margin-bottom: 18px;
}

.contact-form label span {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  border: 1px solid rgba(12, 24, 41, 0.15);
  background: #fafbfc;
  color: var(--text-dark);
  transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

/* ===== Footer ===== */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.75);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 72px 24px 48px;
}

.footer__brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 20px 0;
  max-width: 280px;
}

.logo--footer .logo__text {
  color: var(--white);
}

.footer__social {
  display: flex;
  gap: 14px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  transition: background var(--transition), color var(--transition);
}

.footer__social a:hover {
  background: var(--gold);
  color: var(--navy);
}

.footer__social svg {
  width: 16px;
  height: 16px;
}

.footer__col h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer__col ul li {
  margin-bottom: 10px;
}

.footer__col a {
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer__col a:hover {
  color: var(--gold);
}

.footer__col > p {
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.footer__newsletter {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__newsletter input {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.88rem;
}

.footer__newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.footer__newsletter .btn {
  padding: 12px 20px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
}

.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a:hover {
  color: var(--gold);
}

a.top-bar__item:hover {
  color: var(--gold);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 4px;
}

.skip-link:focus {
  top: 16px;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 12px;
  font-size: 0.85rem;
  color: #1a6b3c;
}

.form-status--error {
  color: #b42318;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.video-modal[hidden] {
  display: none;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 14, 24, 0.88);
}

.video-modal__dialog {
  position: relative;
  width: min(900px, 100%);
  background: var(--navy-dark);
  border-radius: 6px;
  padding: 48px 24px 24px;
  z-index: 1;
}

.video-modal__close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 10px;
}

.video-modal__close:hover {
  color: var(--gold);
}

.video-modal__iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 4px;
}

.video-modal__placeholder {
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  line-height: 1.7;
  padding: 24px 12px;
}

.video-modal__placeholder a {
  color: var(--gold);
  text-decoration: underline;
}

/* ===== Legal & utility pages ===== */
.legal-page {
  padding: 140px 0 80px;
  min-height: 60vh;
}

.legal-page h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--navy);
  margin-bottom: 8px;
}

.legal-page__updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.legal-page h2 {
  font-size: 1.15rem;
  color: var(--navy);
  margin: 28px 0 12px;
}

.legal-page p,
.legal-page li {
  color: var(--text-muted);
  margin-bottom: 12px;
  max-width: 720px;
}

.legal-page ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-page a {
  color: var(--navy);
  text-decoration: underline;
}

.legal-page a:hover {
  color: var(--gold);
}

.legal-header {
  background: var(--navy-dark);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 50;
}

.legal-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.legal-header .logo__text {
  font-size: 0.75rem;
}

.thanks-page {
  padding: 160px 0 100px;
  text-align: center;
}

.thanks-page h1 {
  font-family: var(--font-serif);
  color: var(--navy);
  margin-bottom: 16px;
}

.thanks-page p {
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 28px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats__item:nth-child(2) {
    border-right: none;
  }

  .stats__item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .stats__item:nth-child(3),
  .stats__item:nth-child(4) {
    border-bottom: none;
  }

  .about__grid {
    gap: 40px;
  }

  .team__grid,
  .team__grid--three {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: none;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why__image {
    order: -1;
  }

  .why__image img {
    margin: 0 auto;
  }

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

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }

  .top-bar {
    font-size: 0.65rem;
  }

  .top-bar__inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    padding: 8px 0;
    min-height: auto;
  }

  .top-bar__contact {
    flex: 1 1 100%;
    justify-content: center;
    gap: 12px 20px;
  }

  .top-bar__address-full {
    display: none;
  }

  .top-bar__address-short {
    display: inline;
  }

  .top-bar__social {
    gap: 18px;
  }

  .top-bar__social a {
    padding: 8px;
    margin: -8px;
  }

  .site-header {
    top: 0;
  }

  .site-header--scrolled {
    background: rgba(6, 14, 24, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  }

  .nav {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .logo__icon {
    width: 32px;
    height: 32px;
  }

  .logo__text {
    font-size: 0.72rem;
    letter-spacing: 0.05em;
  }

  .nav__toggle {
    display: flex;
    z-index: 220;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    margin: -8px -8px -8px 0;
  }

  .nav__menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 210;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: max(88px, calc(72px + env(safe-area-inset-top))) 28px max(32px, env(safe-area-inset-bottom));
    background: rgba(6, 14, 24, 0.98);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav__menu--open {
    display: flex;
  }

  .nav__menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav__menu li:last-child {
    border-bottom: none;
  }

  .nav__link {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 18px 8px;
    text-align: center;
    min-height: 52px;
    line-height: 1.2;
  }

  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    padding-top: 76px;
    align-items: flex-end;
  }

  .hero__overlay {
    background:
      linear-gradient(
        180deg,
        rgba(6, 14, 24, 0.55) 0%,
        rgba(6, 14, 24, 0.88) 45%,
        rgba(6, 14, 24, 0.96) 100%
      );
  }

  .hero__bg {
    inset: 0;
    background-position: 65% center;
  }

  .hero__content {
    padding: 24px max(20px, env(safe-area-inset-left)) 100px;
    max-width: none;
    width: 100%;
  }

  .hero__eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    margin-bottom: 12px;
  }

  .hero__title {
    font-size: clamp(1.65rem, 8vw, 2.25rem);
    letter-spacing: 0.04em;
  }

  .hero__rule {
    width: 56px;
    margin: 16px 0 18px;
  }

  .hero__rotator {
    min-height: 7.5em;
    margin-bottom: 22px;
    perspective: none;
  }

  .hero__caption {
    font-size: 0.9rem;
    line-height: 1.65;
    transform: translateY(14px);
    filter: blur(0);
  }

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

  .hero__caption.is-exit {
    transform: translateY(-10px);
    filter: blur(0);
  }

  .hero__caption.is-enter {
    transform: translateY(14px);
    filter: blur(0);
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .hero__cta {
    width: auto;
    padding: 12px 22px;
    min-height: 0;
  }

  .hero__link {
    align-self: center;
    font-size: 0.68rem;
    padding-bottom: 4px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .hero__dots {
    margin-top: 20px;
    gap: 8px;
    flex-wrap: wrap;
  }

  .hero__dot {
    width: auto;
    height: auto;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
  }

  .hero__dot.is-active {
    width: auto;
    background: transparent;
    transform: none;
  }

  .hero__dot::after {
    content: '';
    display: block;
    width: 28px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.4s ease, width 0.35s ease;
  }

  .hero__dot.is-active::after {
    width: 40px;
    background: var(--gold);
  }

  .hero__dot:hover::after,
  .hero__dot:focus-visible::after {
    background: rgba(201, 169, 97, 0.55);
  }

  .hero__scroll {
    display: none;
  }

  .stats {
    margin-top: -32px;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
  }

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

  .stats__item {
    padding: 28px 16px;
  }

  .stats__item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }

  .stats__number {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.65rem;
    margin-bottom: 20px;
  }

  .about,
  .services,
  .testimonials,
  .contact,
  .team {
    padding: 64px 0 56px;
  }

  .about__watermark {
    width: 200px;
    height: 200px;
    left: -60px;
    opacity: 0.6;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about__media {
    order: -1;
  }

  .about__photo-wrap {
    max-width: 360px;
    margin: 0 auto;
  }

  .about__badge {
    left: 0;
  }

  .team__grid,
  .team__grid--three {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 0 auto;
    gap: 24px;
  }

  .services__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    padding: 28px 22px;
  }

  .why {
    padding: 64px 0;
  }

  .why__grid {
    gap: 28px;
  }

  .testimonials {
    padding: 64px 0 56px;
  }

  .testimonial {
    padding: 0 4px;
  }

  .testimonial__quote {
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 24px;
  }

  .testimonials__prev,
  .testimonials__next {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
  }

  .testimonials__dot {
    width: 12px;
    height: 12px;
    padding: 16px;
    margin: -16px;
    background-clip: content-box;
  }

  .cta-banner {
    padding: 56px 0;
  }

  .cta-banner__actions {
    flex-direction: column;
    align-items: stretch;
    padding: 0 8px;
  }

  .cta-banner__actions .btn {
    width: 100%;
    text-align: center;
    min-height: 48px;
    padding: 16px 24px;
  }

  .contact-form {
    padding: 28px 22px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 16px;
    padding: 14px 16px;
    min-height: 48px;
  }

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

  .contact__map iframe {
    height: 220px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 56px max(20px, env(safe-area-inset-left)) 40px;
  }

  .footer__bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }

  .footer__newsletter {
    flex-direction: column;
  }

  .footer__newsletter input {
    font-size: 16px;
    min-height: 48px;
  }

  .footer__newsletter button {
    min-height: 48px;
  }
}

@media (max-width: 480px) {
  .top-bar__inner {
    padding: 6px 0;
  }

  .top-bar__contact {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .top-bar__address {
    display: none;
  }

  .logo__text {
    font-size: 0.62rem;
    max-width: 52vw;
    line-height: 1.25;
  }

  .hero__content {
    padding-bottom: 88px;
  }

  .hero__rotator {
    min-height: 8.2em;
  }

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

  .stats__item,
  .stats__item:nth-child(odd) {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .stats__item:last-child {
    border-bottom: none;
  }

  .stats__item {
    padding: 24px 20px;
  }

  .stats__number {
    font-size: 1.85rem;
  }

  .about__play {
    width: 56px;
    height: 56px;
  }

  .testimonial__author {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .contact__details li {
    align-items: flex-start;
  }

}
