:root {
  --ink: #10233f;
  --muted: #5c6d84;
  --green-950: #001428;
  --green-900: #00346c;
  --green-700: #0a4e8c;
  --leaf: #58ae21;
  --gold: #58ae21;
  --gold-deep: #3e8a14;
  --paper: #f4f7fb;
  --white: #ffffff;
  --line: #d9e2ee;
  --danger: #9f2d22;
  --shadow: 0 18px 50px rgba(0, 52, 108, 0.12);
  --header: 108px;
  --font: "Outfit", "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, serif;
}

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

html { scroll-behavior: smooth; }

[id] { scroll-margin-top: 150px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

body.modal-open { overflow: hidden; }

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

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

button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0;
}

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -48px;
  background: var(--white);
  color: var(--ink);
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  z-index: 80;
}

.skip:focus { top: 0.7rem; }

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

.section { padding: 5rem 0; }

.section--mist { background: #eef3f8; }

.section--white { background: var(--white); }

.kicker {
  color: var(--gold-deep);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.kicker--light { color: #b6e38a; }

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

.section-head h2,
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.3rem); }

.lead { color: var(--muted); font-size: 1.05rem; margin-top: 0.8rem; }

.section-head--row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  max-width: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
}

.topbar {
  background: var(--green-900);
  color: #e4eef8;
  font-size: 0.88rem;
}

.topbar__inner,
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar__inner { min-height: 40px; }

.topbar a:hover { color: var(--gold); }

.topbar__links { display: flex; gap: 1.2rem; }

.navwrap {
  border-bottom: 1px solid transparent;
  background: #fff;
}

.navwrap.is-stuck { border-bottom-color: var(--line); box-shadow: 0 8px 24px rgba(0, 52, 108, 0.06); }

.nav { min-height: 96px; position: relative; }

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 78px;
  width: auto;
  display: block;
}

.menu {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.menu > a,
.dropdown > button {
  background: none;
  border: 0;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 560;
}

.dropdown summary {
  background: none;
  border: 0;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 560;
  list-style: none;
}

.dropdown summary::-webkit-details-marker { display: none; }

.dropdown summary:hover,
.menu > a:hover,
.dropdown > button:hover,
.menu > a[aria-current="page"],
.dropdown > button[aria-current="page"],
.dropdown summary[aria-current="page"] {
  background: #e7eef8;
  color: var(--green-900);
}

.dropdown { position: relative; }

.dropdown__panel {
  display: none;
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 50%;
  transform: translateX(-50%);
  width: min(540px, 72vw);
  padding: 0.8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  grid-template-columns: 1fr 1fr;
  gap: 0.15rem;
  max-height: 70vh;
  overflow: auto;
}

.dropdown:hover .dropdown__panel,
.dropdown:focus-within .dropdown__panel,
.dropdown[open] .dropdown__panel { display: grid; }

.dropdown__panel a {
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  font-size: 0.94rem;
}

.dropdown__panel a:hover { background: #f3f6fb; color: var(--green-700); }

.dropdown__all {
  grid-column: 1 / -1;
  font-weight: 700;
  color: var(--green-700) !important;
}

.nav-check {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 5;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--green-900);
  border-radius: 2px;
}

.nav-toggle__bars { position: relative; }

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--green-700);
  color: white;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover { background: var(--green-900); }

.btn--gold { background: var(--gold); color: #00346c; }
.btn--gold:hover { background: #6ec234; }

.btn--ghost {
  background: transparent;
  color: var(--green-900);
  border: 1px solid rgba(0, 52, 108, 0.28);
}

.btn--ghost:hover { background: #e7eef8; }

.hero .btn--ghost:hover,
.cta-band .btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }

.btn--sm { padding: 0.65rem 1rem; }

/* Hero */
.hero {
  position: relative;
  color: white;
  background:
    linear-gradient(100deg, rgba(0, 28, 62, 0.94) 0%, rgba(0, 40, 84, 0.84) 46%, rgba(0, 52, 108, 0.35) 100%),
    url("https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=1800&q=80") center/cover;
  padding: 4.2rem 0 6.5rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  max-width: 12ch;
}

.hero .lead { color: #d5e2f2; max-width: 46ch; font-size: 1.12rem; }

.hero__actions, .trust-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }

.trust-row span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.86rem;
  color: #e4eef8;
}

.hero__visual { position: relative; }

.hero__visual img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 28px;
  border: 4px solid rgba(255, 255, 255, 0.18);
}

.float-card {
  position: absolute;
  left: -28px;
  bottom: -28px;
  width: min(280px, 80%);
  background: var(--white);
  color: var(--ink);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
}

.float-card strong { display: block; font-family: var(--serif); font-size: 1.25rem; margin: 0.2rem 0 0.7rem; }

.float-card .btn { width: 100%; margin-top: 0.7rem; }

.float-card .js-phone,
.float-card .js-phone-2,
.info-card .js-phone,
.info-card .js-phone-2 { display: block; font-weight: 650; }

/* Cards and grids */
.book-band { margin-top: -3.2rem; position: relative; z-index: 2; }

.book-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr;
  gap: 1rem;
  align-items: start;
}

.panel, .quote-card, .service-card, .why-card, .blog-card, .info-card, .detail, .step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.panel { padding: 1.2rem; }

.panel h2 { font-size: 1.7rem; margin-bottom: 1rem; }

.mini-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }

.mini {
  display: block;
  padding: 1rem;
  border-radius: 16px;
  background: #f3f6fb;
}

.mini:hover { background: #e7eef8; }

.mini span {
  display: block;
  margin-top: 0.8rem;
  color: var(--green-700);
  font-weight: 700;
  font-size: 0.88rem;
}

.quote-card { padding: 1.3rem; box-shadow: var(--shadow); }

.js-quote { display: grid; gap: 0.75rem; align-content: start; }

.quote-card h2 { font-size: 1.55rem; margin-bottom: 0.35rem; }

.form-grid, .stack { display: grid; gap: 0.8rem; }

.field label { display: block; font-size: 0.86rem; font-weight: 650; margin-bottom: 0.3rem; }

input, select, textarea {
  width: 100%;
  border: 1px solid #d5deea;
  background: #fff;
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
}

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

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: var(--danger); }

.error { color: var(--danger); font-size: 0.8rem; min-height: 1rem; margin-top: 0.25rem; }

.form-note { font-size: 0.92rem; color: var(--green-900); }

.form-note a { color: var(--green-700); text-decoration: underline; }

.about-grid, .contact-grid, .split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}

.photo-frame { position: relative; }

.photo-frame img {
  width: 100%;
  border-radius: 24px;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.photo-frame::after {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 2px solid var(--leaf);
  border-radius: 24px;
  z-index: -1;
}

.ticks { display: grid; gap: 0.8rem; margin-top: 1.3rem; }

.ticks li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
}

.ticks strong { display: block; }

.mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e5f3d4;
  color: #00346c;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.service-grid, .why-grid, .blog-grid, .info-grid {
  display: grid;
  gap: 1rem;
}

.service-grid { grid-template-columns: repeat(3, 1fr); }
.why-grid, .blog-grid { grid-template-columns: repeat(3, 1fr); }
.info-grid { grid-template-columns: repeat(3, 1fr); margin-bottom: 1rem; }

.contact-grid .info-grid { grid-template-columns: 1fr 1fr; }

.contact-grid .info-card:last-child,
.address-card { grid-column: 1 / -1; }

.info-card a { white-space: nowrap; }

.service-card, .why-card, .blog-card, .info-card { padding: 1.2rem; display: flex; flex-direction: column; gap: 0.55rem; }

.service-card p, .why-card p, .blog-card p { color: var(--muted); }

.service-card:hover, .blog-card:hover, .why-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #e7f6dc;
  color: #00346c;
}

.icon-badge svg { width: 26px; height: 26px; }

.card-link {
  margin-top: auto;
  color: var(--gold-deep);
  font-weight: 750;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat {
  background: var(--green-900);
  color: white;
  border-radius: 18px;
  padding: 1.3rem;
}

.stat b {
  display: block;
  font-family: var(--serif);
  font-size: 2.3rem;
  font-weight: 560;
}

.stat span { color: #d5e2f2; }

.why-grid { grid-template-columns: repeat(4, 1fr); }

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
}

.step { padding: 1rem; }
.step b {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-900);
  color: white;
  margin-bottom: 0.8rem;
}

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.chips li, .filters button {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
}

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.2rem; }

.filters button { cursor: pointer; font-weight: 650; }

.filters button.is-active,
.chips li { background: #e7eef8; border-color: transparent; }

.is-hidden { display: none !important; }

.cta-band {
  color: white;
  background:
    linear-gradient(100deg, rgba(0, 36, 78, 0.94), rgba(0, 52, 108, 0.78)),
    url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.cta-band__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); max-width: 16ch; }

.cta-band p { color: #d5e2f2; margin-top: 0.7rem; max-width: 48ch; }

.cta-band__actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }

.cta-band .btn--ghost { color: white; border-color: rgba(255, 255, 255, 0.35); }

.slider { position: relative; }

.slider__viewport { overflow: hidden; }

.slider__track {
  display: flex;
  transition: transform 0.35s ease;
}

.quote {
  flex: 0 0 100%;
  background: var(--white);
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid var(--line);
}

.quote blockquote {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.35;
  margin: 0;
}

.quote figcaption { margin-top: 1.2rem; color: var(--muted); font-weight: 650; }

.slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
}

.slider__btn[data-prev] { left: -8px; }
.slider__btn[data-next] { right: -8px; }

.slider__dots { display: flex; justify-content: center; gap: 0.4rem; margin-top: 1rem; }

.slider__dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: #c5d2e2;
  cursor: pointer;
}

.slider__dots button.is-active { background: var(--leaf); }

.blog-card { padding: 0; overflow: hidden; }

.blog-card__body { padding: 1.1rem 1.15rem 1.3rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }

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

.blog-card:hover img { transform: scale(1.03); transition: transform 0.35s ease; }

.page-hero {
  background: var(--green-900);
  color: white;
  padding: 3.5rem 0 3rem;
}

.page-hero .lead { color: #d4e2f2; max-width: 62ch; }

.crumb { color: #b6e38a; font-size: 0.88rem; margin-bottom: 0.8rem; }

.crumb a:hover { text-decoration: underline; }

.detail-list { display: grid; gap: 0.9rem; }

.detail {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1rem;
  padding: 1.3rem;
}

.detail h2 { font-size: 1.6rem; }

.detail ul { margin-top: 0.6rem; display: grid; gap: 0.3rem; }

.detail li::before { content: " "; color: var(--green-700); }

.prose { max-width: 760px; }

.prose h2 { font-size: 1.7rem; margin: 1.6rem 0 0.5rem; }

.prose p, .prose li { color: #2c3e55; font-size: 1.05rem; }

.prose p + p { margin-top: 0.9rem; }

.prose ul { list-style: disc; padding-left: 1.2rem; display: grid; gap: 0.4rem; margin-top: 0.6rem; }

.article-hero img {
  width: 100%;
  border-radius: 24px;
  max-height: 420px;
  object-fit: cover;
  margin: 1.5rem 0;
}

.contact-grid { align-items: start; }

.map {
  margin-top: 1rem;
  border: 0;
  width: 100%;
  height: 280px;
  border-radius: 18px;
  background: #dfe6ee;
}

.footer {
  background: var(--green-950);
  color: #d5e0ee;
  padding: 3.5rem 0 1.2rem;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.9fr 1.1fr;
  gap: 1.5rem;
}

.footer h2, .footer h3 { color: white; font-size: 1.2rem; margin-bottom: 0.7rem; }

.footer .logo {
  background: #fff;
  border-radius: 16px;
  padding: 0.3rem 0.4rem;
  width: fit-content;
}

.footer .logo img { height: 92px; }
.footer .lead { color: #c9d4e4; }

.footer ul { display: grid; gap: 0.4rem; }

.footer .quote-card { background: #00264f; border-color: #1a4a7a; color: white; }

.footer input, .footer select {
  background: #001f3d;
  border-color: #2a5588;
  color: white;
}

.legal {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #1a4a7a;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
  color: #9aafc4;
}

.modal[hidden] { display: none !important; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 24, 52, 0.62);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal__dialog {
  width: min(480px, 100%);
  background: var(--white);
  border-radius: 22px;
  padding: 1.3rem;
  position: relative;
}

.modal__close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
}

.whatsapp, .mobile-call { position: fixed; z-index: 35; }

.whatsapp {
  right: 1rem;
  bottom: 1rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #58ae21;
  color: white;
  box-shadow: 0 10px 24px rgba(0, 52, 108, 0.28);
}

.mobile-call { display: none; }

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  margin-top: 0.6rem;
}

.faq summary { cursor: pointer; font-weight: 700; }

.faq p { margin-top: 0.5rem; color: var(--muted); }

@media (max-width: 980px) {
  .nav-toggle { display: grid; place-items: center; }
  .btn--nav { display: none; }
  .menu { display: none; }
  .nav-check:checked ~ .menu {
    display: flex;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 90;
    flex-direction: column;
    align-items: stretch;
    max-height: 70vh;
    overflow: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.6rem;
    box-shadow: var(--shadow);
  }
  .dropdown__panel {
    position: static;
    transform: none;
    width: auto;
    box-shadow: none;
    border: 0;
    padding: 0.2rem 0 0.4rem 0.6rem;
    display: none;
  }
  .dropdown[open] .dropdown__panel { display: grid; }
  .hero__grid, .book-grid, .about-grid, .contact-grid, .footer-grid, .cta-band__inner {
    grid-template-columns: 1fr;
  }
  .service-grid, .why-grid, .stats { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; align-items: start; }
  .step b { margin: 0; }
  .hero__visual img { height: 320px; }
  .float-card { left: 12px; bottom: 12px; }
  .section-head--row { flex-direction: column; align-items: start; }
}

@media (max-width: 700px) {
  .topbar__tag, .slider__btn { display: none; }
  .mini-services, .service-grid, .why-grid, .blog-grid, .stats, .info-grid, .dropdown__panel,
  .contact-grid .info-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid .info-card:last-child { grid-column: auto; }
  .detail { grid-template-columns: 1fr; }
  .hero { padding-top: 2.5rem; }
  .hero h1 { max-width: none; }
  .legal { flex-direction: column; }
  .mobile-call {
    display: grid;
    grid-template-columns: 1fr 1fr;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--green-900);
  }
  .mobile-call a {
    color: white;
    text-align: center;
    padding: 0.9rem;
    font-weight: 700;
  }
  .mobile-call a + a { background: var(--gold); color: #00346c; }
  .whatsapp { bottom: 4.4rem; }
  body { padding-bottom: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slider__track, .service-card, .blog-card img { transition: none; }
}
