:root {
  --blue-900: #0f2d52;
  --blue-700: #1e4d8c;
  --blue-500: #2d6cb5;
  --gold-500: #c9a227;
  --gold-300: #e8c96a;
  --cream-100: #faf7f2;
  --cream-200: #f0e9dc;
  --white: #ffffff;
  --gray-600: #5a6472;
  --gray-800: #2a3340;
  --shadow-sm: 0 4px 20px rgba(15, 45, 82, 0.08);
  --shadow-md: 0 12px 40px rgba(15, 45, 82, 0.12);
  --radius: 16px;
  --radius-lg: 24px;
  --header-h: 80px;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--cream-100);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--blue-700);
  color: var(--white);
  border-radius: 8px;
  font-weight: 600;
}

.skip-link:focus { top: 1rem; }

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 45, 82, 0.06);
  transition: box-shadow var(--transition);
}

.header.scrolled { box-shadow: var(--shadow-sm); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.nav { display: flex; align-items: center; gap: 2rem; }

.nav__links { display: flex; gap: 1.75rem; }

.nav__links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-800);
  position: relative;
  transition: color var(--transition);
}

.nav__links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-500);
  transition: width var(--transition);
}

.nav__links a:hover,
.nav__links a.active { color: var(--blue-700); }

.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn--primary {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(30, 77, 140, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 77, 140, 0.35);
}

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

.btn--outline:hover {
  background: var(--blue-700);
  color: var(--white);
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  color: var(--blue-900);
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.3);
}

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

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue-900);
  transition: var(--transition);
}

.hero {
  padding: calc(var(--header-h) + 3rem) 0 5rem;
  background: linear-gradient(160deg, var(--cream-100) 0%, var(--cream-200) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.12), transparent 70%);
  border-radius: 50%;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(30, 77, 140, 0.08);
  color: var(--blue-700);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 1.15;
  color: var(--blue-900);
  margin-bottom: 1.25rem;
}

.hero h1 span { color: var(--gold-500); }

.hero__text {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero__image img { width: 100%; }

.section { padding: 5rem 0; }
.section--alt { background: var(--white); }

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section__label {
  display: inline-block;
  color: var(--gold-500);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--blue-900);
  margin-bottom: 1rem;
}

.section__subtitle {
  color: var(--gray-600);
  font-size: 1.05rem;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

.design-switch {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 2000;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: var(--blue-900);
  color: var(--white);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.design-switch__dot {
  width: 8px;
  height: 8px;
  background: var(--gold-500);
  border-radius: 50%;
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__image { order: -1; max-width: 500px; margin: 0 auto; }
}

@media (max-width: 768px) {
  :root { --header-h: 68px; }

  body { padding-bottom: 4.5rem; }

  .container { width: min(1200px, calc(100% - 1.25rem)); }

  .menu-toggle { display: flex; }

  .logo img {
    height: 40px;
    max-width: min(180px, 42vw);
    object-fit: contain;
    object-position: left center;
  }

  .nav { gap: 0.5rem; }

  .nav__links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.25rem 1.5rem 1.5rem;
    gap: 0;
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .nav__links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav__links li { padding: 0.75rem 0; border-bottom: 1px solid var(--cream-200); }
  .nav__links li:last-child { border-bottom: none; }
  .nav__links a { font-size: 1rem; display: block; }
  .nav .btn--primary { display: none; }
  .section { padding: 3rem 0; }

  .hero {
    padding: calc(var(--header-h) + 1.5rem) 0 3rem;
  }

  .hero__grid { gap: 1.5rem; }

  .hero h1 {
    font-size: clamp(1.75rem, 7vw, 2.35rem);
    line-height: 1.2;
  }

  .hero__text {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero__badge {
    font-size: 0.75rem;
    margin-bottom: 1rem;
  }

  .hero__actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero__actions .btn {
    width: 100%;
    padding: 0.8rem 1.25rem;
  }

  .hero__image {
    max-width: 100%;
    border-radius: var(--radius);
  }

  .hero__image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center top;
  }

  .section__header { margin-bottom: 2rem; }

  .section__title {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
  }

  .section__subtitle {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .btn {
    font-size: 0.9rem;
  }

  .design-switch {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    justify-content: center;
    font-size: 0.75rem;
    padding: 0.55rem 0.9rem;
  }
}

@media (max-width: 480px) {
  .logo img {
    height: 36px;
    max-width: 130px;
  }

  .hero h1 { font-size: 1.65rem; }
}
