:root {
  --navy-950: #1a2b52;
  --navy-900: #243768;
  --navy-800: #2b4178;
  --navy-700: #3a5494;
  --gold-500: #d4882e;
  --gold-400: #e8a33a;
  --orange-600: #d4782e;
  --orange-500: #e89a3a;
  --burgundy-700: #6f1727;
  --burgundy-600: #8f2334;
  --cream: #faf6ee;
  --white: #ffffff;
  --gray-50: #f8f8f6;
  --gray-100: #ece8df;
  --gray-500: #6b7280;
  --gray-800: #1f2937;
  --shadow-soft: 0 24px 70px rgba(26, 43, 82, 0.16);
  --shadow-strong: 0 34px 90px rgba(26, 43, 82, 0.38);
  --font-display: Georgia, "Times New Roman", Times, serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --header-height: 86px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-800);
  background: var(--gray-50);
  font-family: var(--font-body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.85rem 1rem;
  color: var(--navy-950);
  background: var(--gold-400);
  border-radius: 999px;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(1160px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-height);
  color: var(--white);
  background: linear-gradient(180deg, rgba(26, 43, 82, 0.92), rgba(26, 43, 82, 0.52));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  transition:
    background 240ms ease,
    box-shadow 240ms ease,
    height 240ms ease;
}

.site-header.is-scrolled {
  height: 68px;
  background: rgba(26, 43, 82, 0.96);
  box-shadow: 0 16px 60px rgba(26, 43, 82, 0.24);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
}

.brand-logo {
  height: 66px;
  width: auto;
  object-fit: contain;
  background: var(--white);
  padding: 10px 20px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transition: box-shadow 180ms ease;
}

.brand-logo:hover {
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.18);
}

.site-header.is-scrolled .brand-logo {
  height: 54px;
  padding: 6px 14px;
}

.brand-name {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.04rem, 2vw, 1.26rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.brand-line {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-toggle {
  display: inline-grid;
  gap: 5px;
  width: 46px;
  height: 46px;
  place-content: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.nav-panel {
  position: fixed;
  top: var(--header-height);
  right: 16px;
  left: 16px;
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  visibility: hidden;
  background: rgba(26, 43, 82, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  box-shadow: var(--shadow-strong);
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
}

.nav-panel.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.nav-panel a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1rem;
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.nav-panel a:hover,
.nav-panel a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.language-select {
  min-height: 38px;
  padding: 0.4rem 0.7rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  transition: background 180ms ease, border-color 180ms ease;
}

.language-select option {
  color: var(--navy-950);
  background: var(--white);
}

.language-select:hover,
.language-select:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--gold-400);
}

.footer-language-select {
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  margin-top: 0.5rem;
}

.nav-cta {
  color: var(--white) !important;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500)) !important;
  box-shadow: 0 16px 36px rgba(232, 163, 58, 0.2);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-video,
.hero-overlay,
.hero-grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  z-index: -3;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.08);
  transition: opacity 450ms ease;
}

.hero-video.is-switching {
  opacity: 0.62;
}

.hero-overlay {
  z-index: -2;
  background:
    radial-gradient(circle at 75% 25%, rgba(212, 120, 46, 0.35), transparent 34%),
    radial-gradient(circle at 18% 58%, rgba(232, 163, 58, 0.22), transparent 35%),
    linear-gradient(90deg, rgba(26, 43, 82, 0.96) 0%, rgba(26, 43, 82, 0.78) 43%, rgba(26, 43, 82, 0.42) 100%),
    linear-gradient(180deg, rgba(26, 43, 82, 0.55), rgba(26, 43, 82, 0.9));
}

.hero-grain {
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.2));
}

.hero-content {
  display: grid;
  align-content: center;
  min-height: 100svh;
  padding-block: calc(var(--header-height) + 56px) 4rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--gold-400);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.contact-section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 920px;
  font-size: clamp(3rem, 11vw, 7.4rem);
  line-height: 0.92;
  text-wrap: balance;
}

.hero-subtitle {
  max-width: 720px;
  margin: 1.45rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.9rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-align: center;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  box-shadow: 0 18px 50px rgba(232, 163, 58, 0.26);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 22px 60px rgba(232, 163, 58, 0.35);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(14px);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

.hero-trust span {
  padding: 0.48rem 0.78rem;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(2rem, 5vw, 3.6rem);
}

.section h2,
.contact-section h2 {
  color: var(--navy-950);
  font-size: clamp(2.35rem, 5vw, 4.7rem);
  line-height: 0.98;
  text-wrap: balance;
}

.section-heading p:not(.eyebrow),
.about-copy p:not(.eyebrow),
.contact-copy p {
  color: #4b5563;
  font-size: clamp(1rem, 2vw, 1.12rem);
}

.section-services {
  background:
    radial-gradient(circle at top left, rgba(232, 163, 58, 0.16), transparent 30%),
    linear-gradient(180deg, var(--cream), var(--gray-50));
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.service-card,
.feature-card,
.about-card,
.consultation-form {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(26, 43, 82, 0.08);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.service-card {
  min-height: 270px;
  padding: 1.35rem;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.service-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--gold-500), var(--burgundy-600), var(--navy-700));
  opacity: 0.75;
}

.service-card:hover {
  border-color: rgba(232, 163, 58, 0.46);
  box-shadow: 0 28px 75px rgba(26, 43, 82, 0.2);
  transform: translateY(-4px);
}

.service-card-featured {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(26, 43, 82, 0.95), rgba(36, 55, 104, 0.96)),
    var(--navy-900);
}

.service-card-featured .service-number,
.service-card-featured li {
  color: rgba(255, 255, 255, 0.78);
}

.service-number {
  color: var(--gold-500);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.service-card h3,
.feature-card h3 {
  margin: 0.75rem 0 0.85rem;
  color: inherit;
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.08;
}

.service-card ul {
  display: grid;
  gap: 0.56rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 1.1rem;
  color: #475569;
  font-size: 0.95rem;
}

.service-card li::before {
  position: absolute;
  top: 0.67em;
  left: 0;
  width: 0.38rem;
  height: 0.38rem;
  content: "";
  background: var(--gold-500);
  border-radius: 50%;
}

.about-section {
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(26, 43, 82, 0.98), rgba(36, 55, 104, 0.94)),
    var(--navy-900);
}

.about-grid,
.contact-grid {
  display: grid;
  gap: 2rem;
}

.about-copy {
  align-self: center;
}

.about-copy h2 {
  color: var(--white);
}

.about-profile {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 1.5rem 0 1.25rem;
}

.profile-photo-frame {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--gold-400), var(--orange-500), var(--gold-500));
  box-shadow:
    0 12px 40px rgba(232, 163, 58, 0.3),
    0 0 0 4px rgba(232, 163, 58, 0.12);
}

.profile-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--navy-900);
}

.profile-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.profile-name {
  margin: 0;
  color: var(--gold-400);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.profile-title {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-copy p:not(.eyebrow):not(.profile-name):not(.profile-title) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
}

.about-card {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  box-shadow: none;
}

.about-card div {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
}

.stat {
  color: var(--gold-400);
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.7rem);
  font-weight: 700;
  line-height: 1;
}

.about-card p {
  margin: 0.5rem 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.why-section {
  background:
    radial-gradient(circle at 85% 15%, rgba(232, 163, 58, 0.1), transparent 28%),
    var(--gray-50);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.feature-card {
  padding: 1.4rem;
}

.feature-card span {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--gold-400);
  background: var(--navy-900);
  border-radius: 16px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 900;
}

.feature-card p {
  margin: 0;
  color: #556070;
}

.contact-section {
  color: var(--white);
  background:
    radial-gradient(circle at 15% 20%, rgba(232, 163, 58, 0.2), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(212, 120, 46, 0.22), transparent 35%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.contact-copy {
  align-self: center;
}

.contact-copy h2,
.contact-copy p {
  color: var(--white);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-details {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.4rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
}

.contact-details a:hover,
.contact-details a:focus-visible {
  color: var(--gold-400);
}

.consultation-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.4rem);
  background: rgba(255, 255, 255, 0.97);
  border-color: rgba(255, 255, 255, 0.2);
}

.consultation-form label {
  display: grid;
  gap: 0.42rem;
  color: var(--navy-950);
  font-size: 0.85rem;
  font-weight: 900;
}

.consultation-form input,
.consultation-form select,
.consultation-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 0.95rem;
  color: var(--navy-950);
  background: var(--gray-50);
  border: 1px solid rgba(26, 43, 82, 0.12);
  border-radius: 16px;
  outline: 0;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.consultation-form textarea {
  resize: vertical;
}

.consultation-form input:focus,
.consultation-form select:focus,
.consultation-form textarea:focus {
  background: var(--white);
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(232, 163, 58, 0.18);
}

.language-field {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  margin: 0;
  padding: 1rem;
  color: var(--navy-950);
  border: 1px solid rgba(26, 43, 82, 0.1);
  border-radius: 18px;
}

.language-field legend {
  padding-inline: 0.25rem;
  font-size: 0.85rem;
  font-weight: 900;
}

.language-field label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.language-field input {
  width: auto;
  min-height: auto;
}

.form-note {
  margin: 0;
  color: #64748b;
  font-size: 0.84rem;
}

.form-note.is-success {
  color: #166534;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy-950);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding-block: 3.2rem 2rem;
}

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

.footer-brand .brand-logo {
  height: 44px;
}

.footer-text {
  max-width: 420px;
}

.site-footer h2 {
  margin: 0 0 0.85rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.18rem;
}

.site-footer a,
.site-footer button {
  display: block;
  width: max-content;
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  border: 0;
  padding: 0;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.site-footer button:hover,
.site-footer button:focus-visible {
  color: var(--gold-400);
}

.disclaimer {
  padding-block: 1.35rem 2.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.disclaimer p {
  max-width: 900px;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.86rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.is-visible {
  animation: revealUp 700ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

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

@media (min-width: 620px) {
  .shell {
    width: min(1160px, calc(100% - 48px));
  }

  .services-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .consultation-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .full {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .nav-panel {
    position: static;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0;
    visibility: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
  }

  .nav-panel a {
    min-height: 42px;
    padding-inline: 0.88rem;
    font-size: 0.82rem;
  }

  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-card-featured {
    grid-column: span 2;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
    gap: clamp(2.5rem, 6vw, 5rem);
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
  }
}

@media (min-width: 1100px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 430px) {
  .hero-actions .button {
    width: 100%;
  }

  .about-profile {
    flex-direction: column;
    text-align: center;
  }

  .profile-photo-frame {
    width: 100px;
    height: 100px;
  }

  .profile-info {
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
