:root {
  --font-heading: Georgia, "Times New Roman", serif;
  --font-body: Arial, Helvetica, sans-serif;
  --nav-height: 82px;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  font-size: 16px;
}

body.mobile-menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  font-weight: 800;
  letter-spacing: -0.035em;
}

h1 {
  font-size: 36px;
  line-height: 1.06;
}

h2 {
  font-size: 29px;
  line-height: 1.12;
}

h3,
h4 {
  font-size: 20px;
  line-height: 1.25;
}

p,
li,
a,
button,
input,
textarea {
  font-size: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(28, 53, 85, 0.12);
  backdrop-filter: blur(14px);
}

.logo-mark {
  width: 42px;
  height: 42px;
  clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%);
  background: linear-gradient(135deg, #1C3555, #5C78A7);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  border: 2px solid #998C00;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 900;
  color: #111827;
  letter-spacing: -0.04em;
}

.nav-link {
  color: #1C3555;
  font-size: 18px;
  font-weight: 700;
  transition: color 180ms ease;
}

.nav-link:hover {
  color: #998C00;
}

.site-header nav.desktop-only {
  gap: 18px !important;
}

.desktop-only {
  display: none !important;
}

.mobile-only {
  display: flex !important;
}

.header-phone,
.cta-button,
.sticky-call-button {
  border-radius: 999px;
  font-weight: 900;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-phone,
.cta-button {
  background: #1C3555;
  color: #fff !important;
  box-shadow: 0 14px 32px rgba(28, 53, 85, 0.22);
}

.header-phone:hover,
.cta-button:hover {
  transform: translateY(-2px);
  background: #12243B;
  color: #fff !important;
  box-shadow: 0 18px 42px rgba(28, 53, 85, 0.3);
}

.accent-button {
  background: #998C00;
  color: #111827 !important;
}

.accent-button:hover {
  background: #B5A600;
  color: #111827 !important;
}

.mobile-menu-panel {
  display: none;
  position: fixed;
  inset: 72px 16px auto 16px;
  z-index: 80;
  background: #fff;
  border: 1px solid rgba(28, 53, 85, 0.14);
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(18, 36, 59, 0.22);
  padding: 24px;
}

.mobile-menu-panel.is-open {
  display: block;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: #1C3555;
  margin: 5px 0;
  border-radius: 999px;
}

.hero-section {
  background: radial-gradient(circle at 18% 12%, rgba(153, 140, 0, 0.18), transparent 28%), linear-gradient(135deg, #EEF3FA 0%, #FFFFFF 46%, #E8EEF7 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before,
.hero-section::after,
.pattern-section::before {
  content: "";
  position: absolute;
  pointer-events: none;
  width: 280px;
  height: 320px;
  clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%);
  border: 2px solid rgba(92, 120, 167, 0.2);
  animation: soft-rotate 24s linear infinite;
}

.hero-section::before {
  right: -90px;
  top: 90px;
}

.hero-section::after {
  left: -120px;
  bottom: -140px;
  animation-duration: 32s;
}

.hero-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(28, 53, 85, 0.12);
  border-radius: 36px;
  box-shadow: 0 28px 90px rgba(18, 36, 59, 0.14);
  position: relative;
  z-index: 2;
}

.hero-image-wrap {
  min-height: 320px;
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  clip-path: polygon(10% 0, 100% 0, 100% 88%, 90% 100%, 0 100%, 0 12%);
  background: #1C3555;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.stars {
  color: #998C00;
  font-size: 24px;
  letter-spacing: 0.08em;
  line-height: 1;
}

.trust-icon-row img {
  width: auto;
  height: 48px;
  max-width: 86px;
  object-fit: contain;
  border: 2px solid rgba(153, 140, 0, 0.36);
  border-radius: 14px;
  background: #fff;
  padding: 7px;
}

.hex-card,
.review-card,
.service-card,
.process-card,
.payment-card {
  background: #fff;
  color: #374151;
  border: 1px solid rgba(28, 53, 85, 0.12);
  box-shadow: 0 18px 50px rgba(18, 36, 59, 0.08);
}

.hex-card {
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}

.hex-card::before,
.service-card::before {
  content: "";
  position: absolute;
  right: -42px;
  top: -48px;
  width: 120px;
  height: 136px;
  clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%);
  background: rgba(92, 120, 167, 0.11);
}

.hex-icon {
  width: 58px;
  height: 64px;
  clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%);
  background: #1C3555;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.hex-icon svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
}

.diagonal-section {
  background: linear-gradient(145deg, #12243B 0%, #1C3555 52%, #263F66 100%);
  color: #F9FAFB;
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
}

.diagonal-section h2,
.diagonal-section h3 {
  color: #fff !important;
}

.diagonal-section p,
.diagonal-section li {
  color: #EDF2F7;
}

.diagonal-section .hex-card h3 {
  color: #111827 !important;
}

.diagonal-section .hex-card p,
.diagonal-section .hex-card li {
  color: #374151;
}

.bg-blue-900 h2,
.bg-blue-900 p {
  color: #fff !important;
}

.split-media {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: stretch;
}

.split-media-text,
.split-media-image {
  min-width: 0;
}

.split-media-image img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 24px 70px rgba(18, 36, 59, 0.16);
}

.service-card,
.review-card,
.process-card,
.payment-card {
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}

.service-list li {
  margin-top: 12px;
  color: #374151;
}

.review-track {
  transition: transform 360ms ease;
}

.review-slide {
  min-width: 100%;
}

.review-card strong {
  color: #111827;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(92, 120, 167, 0.35);
  border: 0;
}

.carousel-dot.is-active {
  background: #998C00;
}

.area-chip {
  border: 1px solid rgba(92, 120, 167, 0.28);
  background: #fff;
  color: #1C3555;
  border-radius: 999px;
  font-weight: 800;
}

.faq-item {
  border-bottom: 1px solid rgba(28, 53, 85, 0.12);
}

.footer-section {
  background: #0F1F35;
  color: #E5E7EB;
}

.footer-section h2,
.footer-section h3,
.footer-section .brand-name {
  color: #fff !important;
}

.footer-section a {
  color: #fff;
}

.footer-section p,
.footer-section li {
  font-size: 14px;
  color: #D1D5DB;
}

.sticky-call-button {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  width: 100%;
  border-radius: 20px 20px 0 0;
  background: #1C3555;
  color: #fff !important;
  justify-content: center;
  align-items: center;
  padding: 16px 12px calc(16px + env(safe-area-inset-bottom));
  box-shadow: 0 -16px 40px rgba(18, 36, 59, 0.28);
  opacity: 0;
  transform: translateY(115%);
  pointer-events: none;
}

.sticky-call-button.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.bottom-call-spacer {
  height: 72px;
}

@keyframes soft-rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (min-width: 768px) {
  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 42px;
  }

  .desktop-only {
    display: flex !important;
  }

  .mobile-only,
  .sticky-call-button {
    display: none !important;
  }

  .mobile-menu-panel {
    display: none !important;
  }

  .split-media {
    grid-template-columns: 65% 35%;
  }

  .split-media.reverse {
    grid-template-columns: 35% 65%;
  }

  .split-media.reverse .split-media-image {
    order: 1;
  }

  .split-media.reverse .split-media-text {
    order: 2;
  }

  .review-slide {
    min-width: 33.333333%;
  }

  .bottom-call-spacer {
    display: none;
  }
}
