:root {
  --navy: #071426;
  --navy-mid: #0c2340;
  --navy-soft: #143156;
  --gold: #c9a227;
  --gold-light: #e0c36a;
  --gold-dark: #9a7a12;
  --ink: #1a2332;
  --muted: #5c6b7a;
  --line: #e6eaf0;
  --paper: #f6f4ee;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(7, 20, 38, 0.12);
  --radius: 16px;
  --header-h: 88px;
  --max: 1180px;
  --font: "Manrope", system-ui, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  padding-bottom: 96px;
}

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

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

ul {
  list-style: none;
}

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

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 14px;
  z-index: 10000;
}

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

/* Preloader */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(circle at 30% 20%, #12345a, var(--navy) 55%);
  display: grid;
  place-items: center;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

#preloader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  text-align: center;
}

.preloader-ring {
  width: 92px;
  height: 92px;
  margin: 0 auto 22px;
  border-radius: 50%;
  border: 3px solid rgba(201, 162, 39, 0.18);
  border-top-color: var(--gold);
  border-right-color: var(--gold-light);
  animation: spin 0.9s linear infinite;
  position: relative;
}

.preloader-ring::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-bottom-color: var(--gold-light);
  animation: spin 1.4s linear infinite reverse;
}

.preloader-inner h2 {
  font-family: var(--serif);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: clamp(1.15rem, 4vw, 1.6rem);
  padding: 0 16px;
}

.preloader-inner p {
  color: var(--gold-light);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-top: 8px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Topbar */
.topbar {
  background: var(--navy);
  color: #d7deea;
  font-size: 0.82rem;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 42px;
}

.topbar a {
  color: var(--gold-light);
  font-weight: 700;
}

.top-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: flex-end;
}

.top-links a {
  color: var(--gold-light);
  font-weight: 700;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(7, 20, 38, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 12px 20px;
}

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

.logo-text {
  min-width: 0;
}

.logo-text strong {
  display: block;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  color: var(--navy);
  overflow-wrap: anywhere;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--navy-mid), var(--navy));
  color: var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  border: 1px solid var(--gold);
}

.logo-text span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy-mid);
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}

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

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.header-phone small {
  color: var(--muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.header-phone a {
  font-weight: 800;
  color: var(--navy);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  transition: 0.25s ease;
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(201, 162, 39, 0.28);
}

.btn-gold:hover {
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--gold);
  color: var(--gold-light);
  background: transparent;
}

.btn-outline-dark {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline-dark:hover,
.btn-white:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(86vh, 780px);
  background:
    linear-gradient(90deg, rgba(7, 20, 38, 0.88) 0%, rgba(7, 20, 38, 0.55) 58%, rgba(7, 20, 38, 0.25) 100%),
    url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
  color: var(--white);
  display: grid;
  align-items: center;
}

.hero-content {
  padding: 72px 0 90px;
  max-width: 720px;
}

.eyebrow {
  display: inline-block;
  color: var(--gold-light);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 14px;
}

h1,
.h1 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.hero p.lead {
  margin: 18px 0 28px;
  color: #dbe4f0;
  font-size: 1.05rem;
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #c9d4e3;
  max-width: 52ch;
  font-size: 0.95rem;
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-head {
  margin-bottom: 42px;
}

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

h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  line-height: 1.15;
  color: var(--navy);
}

.muted {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.about-photo {
  position: relative;
}

.about-photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 22px;
}

.about-badge {
  position: absolute;
  left: -18px;
  bottom: 36px;
  background: var(--navy);
  color: var(--white);
  padding: 22px 22px 18px;
  border-radius: 16px;
  border-left: 4px solid var(--gold);
  max-width: 230px;
}

.about-badge strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--gold-light);
}

.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin: 22px 0 28px;
}

.check-grid li {
  position: relative;
  padding-left: 26px;
  font-weight: 700;
}

.check-grid li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold-dark);
  font-weight: 800;
}

.feature-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.mini-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}

.mini-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

/* Expertise */
.expertise {
  background: var(--paper);
}

.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 28px 0;
}

.stat {
  background: var(--white);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.stat b {
  display: block;
  font-family: var(--serif);
  font-size: 2.8rem;
  color: var(--gold-dark);
  line-height: 1;
}

.cta-banner {
  margin-top: 28px;
  background: var(--navy);
  color: var(--white);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.expertise-photo {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 22px;
}

.cta-banner h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(7, 20, 38, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  min-width: 0;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

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

.service-card h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  margin-bottom: 8px;
}

.read-more {
  display: inline-block;
  margin-top: 12px;
  color: var(--gold-dark);
  font-weight: 800;
}

/* Pricing */
.pricing {
  background:
    linear-gradient(180deg, rgba(7, 20, 38, 0.92), rgba(7, 20, 38, 0.92)),
    url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: var(--white);
}

.pricing h2,
.pricing .eyebrow {
  color: var(--white);
}

.pricing .muted {
  color: #c9d4e3;
}

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

.price-card p {
  font-size: 0.9rem;
  margin-bottom: 4px;
  opacity: 0.88;
}

.price-grid.on-light .price-card {
  background: #071426;
  color: #fff;
}

.price-grid.on-light .price-card.featured {
  background: var(--white);
  color: var(--ink);
}

.price-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: 18px;
  padding: 26px 22px;
  backdrop-filter: blur(8px);
  min-width: 0;
}

.price-card.featured {
  background: var(--white);
  color: var(--ink);
}

.price-card h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.price {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 800;
  color: var(--gold-light);
  margin: 8px 0 14px;
}

.price-card.featured .price {
  color: var(--gold-dark);
}

.price-card ul li {
  padding: 7px 0 7px 20px;
  position: relative;
  font-size: 0.92rem;
}

.price-card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.price-card .btn {
  margin-top: 18px;
  width: 100%;
}

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

.process-card {
  padding: 30px 26px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--white);
}

.process-num {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}

.process-card h3 {
  margin-bottom: 8px;
}

/* Mid CTA */
.mid-cta {
  background: linear-gradient(90deg, var(--navy), var(--navy-soft));
  color: var(--white);
  text-align: center;
}

.mid-cta h2 {
  color: var(--white);
  margin-bottom: 12px;
}

/* Page hero */
.page-hero {
  background:
    linear-gradient(90deg, rgba(7, 20, 38, 0.86), rgba(7, 20, 38, 0.5)),
    url("https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: var(--white);
  padding: 72px 0;
}

.page-hero h1 {
  margin-top: 8px;
  color: var(--white);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
}

.contact-card,
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.contact-card-solo h2 {
  overflow-wrap: anywhere;
}

.contact-card-solo .contact-item {
  border-bottom: 0;
}

.contact-card-solo .contact-item a {
  display: block;
  font-size: clamp(1.2rem, 4vw, 1.45rem);
  font-weight: 800;
  color: var(--navy);
  margin-top: 6px;
}

.contact-card-solo .btn {
  width: 100%;
}

.contact-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-item:last-child {
  border-bottom: 0;
}

.contact-item span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  background: #fbfcfe;
  font-size: 16px;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-success {
  display: none;
  background: #eef8ef;
  color: #1e6b32;
  border: 1px solid #c9e6cf;
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 14px;
}

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

.map-wrap iframe {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: 18px;
  margin-top: 36px;
}

/* Footer */
.site-footer {
  background: #06111f;
  color: #c5d0de;
  padding-top: 64px;
  padding-bottom: 12px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
}

.site-footer h4 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.site-footer a:hover {
  color: var(--gold-light);
}

.site-footer p,
.site-footer a {
  overflow-wrap: anywhere;
}

.site-footer li {
  margin-bottom: 8px;
}

.pay-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 18px 0 8px;
}

.pay-logo-img {
  display: block;
  height: auto;
  width: min(280px, 100%);
  max-height: 72px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.86rem;
}

.legal-content {
  max-width: 820px;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 28px 0 10px;
}

.legal-content p,
.legal-content li {
  margin-bottom: 10px;
}

.legal-content ul {
  padding-left: 18px;
  list-style: disc;
}

/* Mobile nav */
.mobile-panel {
  display: none;
}

@media (max-width: 1100px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    display: none;
  }

  .header-phone {
    display: none;
  }
}

@media (max-width: 1024px) {
  .service-grid,
  .price-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-photo img,
  .expertise-photo {
    height: 340px;
  }

  .about-badge {
    left: 12px;
    max-width: min(230px, calc(100% - 24px));
  }
}

@media (max-width: 860px) {
  .header-contact {
    padding: 10px 14px;
    font-size: 0.85rem;
  }

  .mobile-panel.open {
    display: block;
    background: var(--white);
    border-top: 1px solid var(--line);
  }

  .mobile-panel a {
    display: block;
    padding: 14px 20px;
    border-bottom: 1px solid var(--line);
    font-weight: 700;
  }

  .process-grid,
  .check-grid,
  .feature-cards,
  .stats-row,
  .form-row,
  .service-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .topbar .container {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0;
  }

  .top-links a:first-child {
    display: none;
  }

  .hero-content {
    padding: 48px 0 72px;
  }

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

  .cta-banner .btn {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .section {
    padding: 64px 0;
  }

  .container {
    width: min(var(--max), calc(100% - 28px));
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 2.15rem;
  }

  .pay-logo-img {
    width: min(220px, 100%);
    max-height: 56px;
  }

  .logo-text strong {
    font-size: 0.92rem;
  }

  .logo-text span {
    display: none;
  }

  .header-contact {
    display: none;
  }

  .call-now-copy span {
    white-space: normal;
  }

  .about-photo img,
  .expertise-photo {
    height: 240px;
  }
}

.call-now {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 9000;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 12px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #d4b44a, var(--gold));
  color: var(--navy);
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(7, 20, 38, 0.28);
  line-height: 1.15;
  max-width: calc(100vw - 32px);
  transition: transform 0.2s ease;
}

.call-now:hover {
  transform: translateY(-2px);
}

.call-now-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.call-now-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.call-now-copy strong {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.call-now-copy span {
  font-size: 0.95rem;
  white-space: nowrap;
}

@media (max-width: 380px) {
  .call-now {
    left: 12px;
    right: 12px;
    justify-content: center;
    max-width: none;
  }
}

@media (max-width: 520px) {
  .call-now {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    padding: 10px 14px 10px 10px;
  }

  .call-now-icon {
    width: 36px;
    height: 36px;
  }

  .call-now-copy span {
    font-size: 0.86rem;
  }
}
