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

:root {
  --blue: #2563a8;
  --blue-light: #3b7fc4;
  --blue-pale: #ebf2fa;
  --blue-mid: #d6e6f6;
  --orange: #e07720;
  --orange-light: #f08c3a;
  --white: #ffffff;
  --off-white: #f7f9fc;
  --ink: #1a2535;
  --ink-mid: #3d4f66;
  --ink-light: #6b7e96;
  --rule: #dde5ee;
  --shadow-soft: 0 18px 48px rgba(31, 56, 90, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.site-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  padding: 0 7vw;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand,
.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.footer-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 6px 10px;
}

.nav-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.nav-name small,
.footer-name small {
  display: block;
  font-weight: 400;
}

.nav-name small {
  font-size: 11px;
  color: var(--ink-light);
  letter-spacing: 0.04em;
}

.nav-cta,
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.nav-cta {
  font-size: 13px;
  padding: 10px 22px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.btn-primary {
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 8px;
}

.nav-cta:hover,
.btn-primary:hover,
.nav-cta:focus-visible,
.btn-primary:focus-visible {
  background: var(--orange-light);
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(224, 119, 32, 0.24);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1.5px solid var(--blue-mid);
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--blue);
}

.hero,
.services,
.planner,
.contact,
.area {
  position: relative;
}

.hero {
  background:
    radial-gradient(circle at top right, rgba(59, 127, 196, 0.12), transparent 28%),
    var(--off-white);
  padding: 80px 7vw 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  border-bottom: 1px solid var(--rule);
}

.hero-tag,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-pale);
  color: var(--blue);
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 100px;
}

.hero-tag {
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  margin-bottom: 24px;
}

.section-tag {
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 5px 14px;
  margin-bottom: 14px;
}

.hero-tag::before,
.area-note::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-tag::before {
  background: var(--blue);
}

.hero h1,
.section-header h2,
.planner-copy h2,
.contact h2,
.area h2 {
  font-family: "Lora", serif;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.18;
}

.hero h1 {
  font-size: clamp(36px, 4.5vw, 58px);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.hero h1 em {
  font-style: normal;
  color: var(--blue);
}

.hero-desc,
.area-desc,
.contact p,
.planner-copy p {
  color: var(--ink-mid);
  line-height: 1.75;
}

.hero-desc {
  font-size: 17px;
  margin-bottom: 36px;
  max-width: 440px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.trust-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: var(--shadow-soft);
}

.trust-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}

.avatar-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

.avatar-info .name {
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
}

.avatar-info .title {
  font-size: 13px;
  color: var(--ink-light);
  margin-top: 2px;
}

.trust-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.trust-stat {
  background: var(--off-white);
  border-radius: 10px;
  padding: 18px 16px;
  text-align: center;
}

.trust-stat .num {
  font-family: "Lora", serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 6px;
}

.trust-stat .lbl {
  font-size: 12px;
  color: var(--ink-light);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.trust-badge {
  background: var(--blue-pale);
  border-radius: 8px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-badge svg,
.service-icon svg,
.method-icon svg {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-badge svg {
  width: 20px;
  height: 20px;
  stroke: var(--blue);
  stroke-width: 2;
  flex-shrink: 0;
}

.trust-badge p {
  font-size: 13px;
  color: var(--blue);
  font-weight: 500;
  line-height: 1.4;
}

.services,
.planner,
.area {
  padding: 80px 7vw;
  border-bottom: 1px solid var(--rule);
}

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-header h2,
.planner-copy h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--off-white);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 28px 24px;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
  transform-style: preserve-3d;
}

.service-card:hover,
.service-card:focus-visible {
  border-color: var(--blue-light);
  box-shadow: var(--shadow-soft);
}

.service-icon,
.method-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-icon {
  width: 40px;
  height: 40px;
  background: var(--blue-pale);
  border-radius: 8px;
  margin-bottom: 16px;
}

.service-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--blue);
  stroke-width: 2;
}

.service-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 13px;
  color: var(--ink-light);
  line-height: 1.6;
}

.planner {
  background:
    linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
}

.planner-shell {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: start;
}

.planner-copy p {
  font-size: 15px;
  max-width: 460px;
}

.planner-panel {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.planner-group + .planner-group,
.planner-group + .planner-summary {
  margin-top: 24px;
}

.planner-label,
.planner-kicker {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.planner-options,
.area-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.planner-chip,
.city-tag {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.planner-chip {
  background: var(--off-white);
  color: var(--ink-mid);
  font-size: 14px;
  font-weight: 500;
}

.planner-chip:hover,
.planner-chip:focus-visible,
.planner-chip.is-selected {
  background: var(--blue-pale);
  border-color: var(--blue-mid);
  color: var(--blue);
  transform: translateY(-1px);
}

.planner-summary {
  background: linear-gradient(135deg, #f7fafc 0%, #eef5fc 100%);
  border: 1px solid var(--blue-mid);
  border-radius: 16px;
  padding: 22px;
}

.planner-output {
  font-size: 20px;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 18px;
}

.planner-output strong {
  color: var(--blue);
}

.contact {
  background: var(--blue);
  padding: 80px 7vw;
}

.contact-inner {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact h2 {
  font-size: clamp(28px, 3vw, 42px);
  color: #fff;
  margin-bottom: 16px;
}

.contact p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-method {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.contact-method:hover,
.contact-method:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.method-icon {
  width: 42px;
  height: 42px;
  background: var(--orange);
  border-radius: 8px;
  transition: background 0.2s ease;
}

.contact-method:hover .method-icon,
.contact-method:focus-visible .method-icon {
  background: var(--orange-light);
}

.method-icon svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  stroke-width: 2;
}

.method-lbl {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 4px;
}

.method-val {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.method-email {
  font-size: 14px;
}

.area {
  background: var(--off-white);
}

.area-inner {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.area h2 {
  font-size: clamp(26px, 3vw, 38px);
  margin: 12px 0;
}

.area-desc {
  font-size: 15px;
}

.city-tag {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mid);
  background: var(--white);
}

.city-tag:hover,
.city-tag:focus-visible,
.city-tag.active {
  background: var(--blue-pale);
  border-color: var(--blue-mid);
  color: var(--blue);
}

.city-tag.active {
  font-weight: 600;
}

.area-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--ink-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.area-note::before {
  background: var(--orange);
}

footer {
  background: var(--ink);
  padding: 36px 7vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-name {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.footer-name small,
footer p {
  color: rgba(255, 255, 255, 0.45);
}

footer p {
  font-size: 12px;
}

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

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

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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

@media (max-width: 960px) {
  .planner-shell,
  .hero,
  .contact-inner,
  .area-inner {
    grid-template-columns: 1fr;
  }

  .planner-shell {
    gap: 24px;
  }
}

@media (max-width: 820px) {
  .site-nav,
  .hero,
  .services,
  .planner,
  .contact,
  .area,
  footer {
    padding-left: 6vw;
    padding-right: 6vw;
  }

  .hero {
    gap: 48px;
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .trust-card,
  .planner-panel {
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .site-nav {
    height: auto;
    gap: 16px;
    padding-top: 16px;
    padding-bottom: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-stats,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .planner-output {
    font-size: 18px;
  }
}
