:root {
  --navy: #293A80;
  --accent: #F39422;
  --ink: #010038;
  --ice: #F0F8FF;
  --ice-deep: #e4eef8;
  --muted: rgba(1, 0, 56, 0.68);
  --line: rgba(41, 58, 128, 0.16);
  --radius: 18px;
  --shadow: 0 24px 60px rgba(1, 0, 56, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Manrope, system-ui, sans-serif;
  color: var(--ink);
  background: var(--ice);
  line-height: 1.65;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 420px at 90% -10%, rgba(41, 58, 128, 0.12), transparent 60%),
    radial-gradient(700px 360px at 0% 20%, rgba(243, 148, 34, 0.1), transparent 55%),
    var(--ice);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

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

h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.35rem; margin-bottom: 0.4em; }

p { margin: 0 0 1em; color: var(--muted); }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow.light { color: var(--accent); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(240, 248, 255, 0.86);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--ice);
  border-radius: 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
}

.logo-text em {
  font-style: normal;
  font-weight: 500;
  color: var(--navy);
}

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

.nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--ice) !important;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--ice);
  border-radius: 10px;
  padding: 11px 10px;
}

.menu-btn span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 6px 0;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.lead {
  font-size: 1.12rem;
  max-width: 38ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  border: 0;
  font-weight: 700;
  cursor: pointer;
}

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.btn-accent {
  background: var(--accent);
  color: var(--ink);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

.hero-stats dt {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
}

.hero-stats dd {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.panel-card {
  background: var(--navy);
  color: var(--ice);
  border-radius: 28px;
  padding: 36px 32px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.panel-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -50px;
  bottom: -60px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.22;
}

.panel-kicker {
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.panel-card h2 { color: var(--ice); margin-top: 10px; }

.focus-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 18px;
}

.focus-list li {
  padding-left: 16px;
  border-left: 2px solid var(--accent);
  color: rgba(240, 248, 255, 0.82);
  font-size: 0.95rem;
}

.focus-list strong {
  display: block;
  color: var(--ice);
  margin-bottom: 4px;
}

.trust {
  padding: 12px 0 40px;
}

.trust-label {
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 700;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  color: var(--muted);
  font-weight: 600;
}

.section { padding: 72px 0; }

.section-alt {
  background: linear-gradient(180deg, var(--ice-deep), var(--ice));
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.services-title {
  font-family: Manrope, system-ui, sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  background: var(--ice);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px 26px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-card:hover {
  border-color: var(--accent);
}

.service-card .card-num {
  display: block;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.service-card h3 {
  font-family: Manrope, system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
  line-height: 1.4;
}

.service-card p {
  font-size: 0.9rem;
  margin: 0;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}

.steps li {
  background: var(--ice);
  border-radius: var(--radius);
  padding: 24px;
  border-top: 4px solid var(--navy);
  counter-increment: step;
}

.steps li::before {
  content: "0" counter(step);
  display: block;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 16px;
}

.about-grid,
.cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.quote-card {
  margin: 0;
  background: var(--navy);
  color: var(--ice);
  border-radius: 24px;
  padding: 36px;
}

.quote-card p {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  line-height: 1.3;
  color: var(--ice);
}

.quote-card cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  color: var(--accent);
  font-size: 0.9rem;
}

.cta-section {
  background: var(--navy);
}

.cta-section h2,
.cta-section p { color: var(--ice); }
.cta-section p { color: rgba(240, 248, 255, 0.78); }

.contact-meta {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 8px;
  color: var(--ice);
  font-weight: 600;
}

.form {
  background: var(--ice);
  border-radius: 24px;
  padding: 28px;
  display: grid;
  gap: 14px;
}

.form label {
  display: grid;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--ice);
  color: var(--ink);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
}

.form input:focus,
.form textarea:focus {
  border-color: var(--navy);
}

.form input.is-invalid {
  border-color: #c0392b;
}

.field-error {
  min-height: 1em;
  font-size: 0.78rem;
  font-weight: 600;
  color: #c0392b;
}

.alert-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(1, 0, 56, 0.42);
}

.alert-overlay[hidden] {
  display: none;
}

.alert-card {
  width: min(440px, 100%);
  background: var(--ice);
  border-radius: 18px;
  padding: 22px 22px 22px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: 0 24px 60px rgba(1, 0, 56, 0.22);
  border-left: 6px solid var(--navy);
}

.alert-card.is-success {
  border-left-color: #2e7d32;
}

.alert-card.is-error {
  border-left-color: #c0392b;
}

.alert-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--ice);
}

.alert-icon i {
  font-size: 1.05rem;
  line-height: 1;
  width: 1em;
  height: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alert-card.is-success .alert-icon {
  background: #2e7d32;
}

.alert-card.is-error .alert-icon {
  background: #c0392b;
}

.alert-body strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.alert-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.alert-close {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.site-footer {
  background: var(--ink);
  color: var(--ice);
  padding: 22px 0;
  font-size: 0.9rem;
}

.site-footer p {
  color: var(--ice);
  margin: 0;
}

.footer-inner {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
}

.float-actions {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(1, 0, 56, 0.18);
  color: var(--ice);
  transition: transform 0.15s ease;
}

.float-btn i {
  font-size: 1.35rem;
  line-height: 1;
}

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

.float-whatsapp { background: #25D366; }
.float-mail { background: var(--navy); }
.float-top { background: var(--accent); color: var(--ink); }

@media (max-width: 900px) {
  .menu-btn { display: block; }

  .nav {
    display: none;
    position: absolute;
    inset: 76px 20px auto;
    background: var(--ice);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.open { display: flex; }

  .hero-grid,
  .steps,
  .about-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-stats { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 560px) {
  .hero-stats { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .float-actions { right: 14px; bottom: 14px; }
}
