/* ── Reset & base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0C447C;
  --blue: #185FA5;
  --sky: #E6F1FB;
  --sky-mid: #B5D4F4;
  --green: #3B6D11;
  --green-light: #C0DD97;
  --green-bg: #EAF3DE;
  --gray-50: #F8F8F6;
  --gray-100: #F0EEE8;
  --gray-300: #C8C6BE;
  --gray-500: #888780;
  --gray-700: #444441;
  --gray-900: #1A1A18;
  --white: #FFFFFF;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 22px;

  --shadow-sm: 0 1px 3px rgba(12,68,124,0.08);
  --shadow-md: 0 4px 16px rgba(12,68,124,0.10);
  --shadow-lg: 0 8px 32px rgba(12,68,124,0.13);

  --max-width: 1100px;
  --section-gap: 96px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Utilities ───────────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 20px;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--navy);
  color: var(--white);
  border: 1.5px solid var(--navy);
}
.btn--primary:hover { background: var(--blue); border-color: var(--blue); }
.btn--primary:active { transform: translateY(1px); }

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn--ghost:hover { background: var(--sky); }

.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--sky-mid);
}
.btn--outline:hover { border-color: var(--navy); background: var(--sky); }

.btn--full { width: 100%; justify-content: center; }

/* ── Nav ─────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-100);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav__wordmark {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  transition: color 0.15s;
}
.nav__links a:hover { color: var(--navy); }

.nav__cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: var(--radius-md);
  font-size: 14px !important;
  transition: background 0.15s !important;
}
.nav__cta:hover { background: var(--blue) !important; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.2s;
}

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  padding: 8px 0 16px;
}
.nav__mobile a {
  padding: 12px 24px;
  font-size: 15px;
  color: var(--gray-700);
  font-weight: 500;
}
.nav__mobile.is-open { display: flex; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 88px 0 96px;
  background: var(--white);
  overflow: hidden;
}

.hero__bg-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--sky-mid) 1px, transparent 1px),
    linear-gradient(90deg, var(--sky-mid) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.18;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: 720px;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--sky);
  border: 1px solid var(--sky-mid);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero__heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.12;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

.hero__heading em {
  font-style: italic;
  color: var(--navy);
}

.hero__sub {
  font-size: 18px;
  color: var(--gray-500);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero__trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gray-700);
  font-weight: 500;
}

/* ── Steps ───────────────────────────────────────────────────────────────── */
.steps {
  padding: var(--section-gap) 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-top: 48px;
}

.step { position: relative; }

.step__num {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  color: var(--sky-mid);
  line-height: 1;
  margin-bottom: 12px;
  user-select: none;
}

.step__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.step__body {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ── Services ────────────────────────────────────────────────────────────── */
.services {
  padding: var(--section-gap) 0;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
  align-items: start;
}

.service-card {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.2s;
}
.service-card:hover { box-shadow: var(--shadow-md); }

.service-card--featured {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
}

.service-card__badge {
  position: absolute;
  top: -13px;
  left: 28px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--navy);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 100px;
}

.service-card__tier {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.service-card__price {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.service-card__price span {
  font-size: 20px;
  font-weight: 400;
  color: var(--gray-500);
}

.service-card__desc {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 4px 0;
  flex: 1;
}

.service-card__list li {
  font-size: 14px;
  color: var(--gray-700);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-light);
  border: 1.5px solid var(--green);
}

.services__note {
  margin-top: 28px;
  font-size: 13px;
  color: var(--gray-500);
  text-align: center;
}

/* ── Why ─────────────────────────────────────────────────────────────────── */
.why {
  padding: var(--section-gap) 0;
  background: var(--sky);
  border-top: 1px solid var(--sky-mid);
  border-bottom: 1px solid var(--sky-mid);
}

.why__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.why__text p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.75;
  margin-top: 16px;
}

.why__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--sky-mid);
}

.why-card__icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.why-card p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ── Projects ────────────────────────────────────────────────────────────── */
.projects {
  padding: var(--section-gap) 0;
}

.projects__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.project-chip {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  background: var(--sky);
  border: 1px solid var(--sky-mid);
  padding: 8px 18px;
  border-radius: 100px;
}

.projects__note {
  margin-top: 28px;
  font-size: 14px;
  color: var(--gray-500);
}
.projects__note a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Contact ─────────────────────────────────────────────────────────────── */
.contact {
  padding: var(--section-gap) 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact__text p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.75;
  margin-top: 16px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.contact__detail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--navy);
  font-weight: 500;
  transition: color 0.15s;
}
.contact__detail:hover { color: var(--blue); }

/* ── Form ────────────────────────────────────────────────────────────────── */
.contact-form {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

label {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
}
label .optional { color: var(--gray-500); font-weight: 400; }
label span[aria-hidden] { color: var(--blue); margin-left: 2px; }

input, select, textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--gray-900);
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  appearance: none;
}
input::placeholder, textarea::placeholder { color: var(--gray-500); }

input:focus, select:focus, textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(12,68,124,0.1);
}

input.is-invalid, select.is-invalid, textarea.is-invalid {
  border-color: #C0392B;
  box-shadow: 0 0 0 3px rgba(192,57,43,0.1);
}

select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%23888780' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

textarea { resize: vertical; min-height: 100px; }

.char-count {
  font-size: 12px;
  color: var(--gray-500);
  text-align: right;
  margin-top: -2px;
}

/* Tier radio options */
.tier-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 2px;
}

.tier-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.tier-option:hover { border-color: var(--sky-mid); background: var(--sky); }

.tier-option input[type="radio"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 2px;
  accent-color: var(--navy);
  cursor: pointer;
  padding: 0;
}

.tier-option__label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
}
.tier-option__label strong { color: var(--gray-900); }
.tier-option__label span { color: var(--gray-500); font-size: 13px; }

.tier-option:has(input:checked) {
  border-color: var(--navy);
  background: var(--sky);
}

/* Field errors */
.field-error {
  font-size: 12px;
  color: #C0392B;
  min-height: 16px;
  display: block;
}

/* Form-level messages */
.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--green-bg);
  border: 1px solid var(--green-light);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 14px;
  color: var(--green);
  font-weight: 500;
}

.form-error {
  background: #FEF0EE;
  border: 1px solid #F5C4B3;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 14px;
  color: #993C1D;
}

/* Spinner */
.spinner {
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer {
  padding: 48px 0;
  background: var(--navy);
  color: var(--white);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer__wordmark {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
}

.footer__location {
  font-size: 13px;
  color: var(--sky-mid);
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  font-size: 14px;
  color: var(--sky-mid);
  transition: color 0.15s;
}
.footer__links a:hover { color: var(--white); }

.footer__legal {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  max-width: 600px;
  line-height: 1.6;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer__copy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  :root { --section-gap: 64px; }

  .nav__links { display: none; }
  .nav__burger { display: flex; }

  .hero { padding: 56px 0 64px; }

  .why__inner { grid-template-columns: 1fr; gap: 40px; }
  .why__cards { grid-template-columns: 1fr 1fr; }

  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .why__cards { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .contact-form { padding: 24px 20px; }
}
