:root {
  color-scheme: light;
  --ink: #16212c;
  --muted: #5e6b76;
  --line: #dbe3e8;
  --paper: #fbfaf7;
  --white: #ffffff;
  --ocean: #006f8f;
  --ocean-dark: #06495e;
  --sun: #f2b544;
  --coral: #d65f4a;
  --green: #41836a;
  --shadow: 0 18px 45px rgba(21, 38, 54, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: grid;
  text-decoration: none;
  line-height: 1.05;
  font-weight: 850;
  letter-spacing: 0;
}

.brand span {
  color: var(--ocean);
}

.brand small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
  font-weight: 700;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.language-switcher a {
  min-width: 34px;
  padding: 5px 7px;
  border-radius: 6px;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.language-switcher a[aria-current="true"] {
  background: var(--ocean);
  color: var(--white);
}

.nav-links a {
  text-decoration: none;
  color: #263744;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ocean);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  font-size: 1.4rem;
}

.button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.2;
}

.button {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(214, 95, 74, 0.24);
}

.button:hover {
  background: #bc4e3d;
}

.ghost-button {
  background: var(--white);
  border-color: var(--line);
  color: var(--ocean-dark);
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(5, 24, 35, 0.54) 0%, rgba(5, 24, 35, 0.3) 44%, rgba(5, 24, 35, 0.08) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(5, 24, 35, 0.08) 46%, rgba(5, 24, 35, 0.48) 100%),
    url("boa-vista-hero.jpg") center 62% / cover;
  color: var(--white);
}

.hero-inner,
.section-inner,
.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-inner {
  padding: 92px 0 58px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--sun);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  font-size: clamp(2.55rem, 7vw, 5.95rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: 1.26rem;
}

.hero p {
  max-width: 760px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.04rem, 1.8vw, 1.28rem);
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 54px;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-stats div {
  min-height: 108px;
  padding: 20px;
  background: rgba(8, 31, 42, 0.42);
}

.hero-stats strong {
  display: block;
  font-size: 1.7rem;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 650;
}

.section {
  padding: 74px 0;
}

.section.alt {
  background: #eef5f4;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.62fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head p,
.lead {
  color: var(--muted);
  font-size: 1.06rem;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card,
.article-card,
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(27, 45, 60, 0.06);
}

.card-content,
.feature {
  padding: 24px;
}

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

.article-card .card-content {
  display: grid;
  gap: 12px;
}

.tag {
  display: inline-flex;
  width: fit-content;
  padding: 5px 9px;
  border-radius: 6px;
  background: #e6f3f3;
  color: var(--ocean-dark);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.article-card p,
.feature p,
.card p,
.split p,
.page-hero p {
  margin: 10px 0 0;
  color: var(--muted);
}

.article-card a {
  margin-top: 4px;
  color: var(--ocean);
  font-weight: 850;
  text-decoration: none;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.68fr);
  gap: 42px;
  align-items: center;
}

.split img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.check-list li {
  padding-left: 30px;
  position: relative;
  color: #344957;
  font-weight: 650;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 0 0 4px #dceee8;
}

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

.island-list a {
  min-height: 120px;
  padding: 18px;
  display: grid;
  align-content: end;
  border-radius: 8px;
  color: var(--white);
  text-decoration: none;
  font-weight: 850;
  background: linear-gradient(180deg, rgba(0,0,0,0.06), rgba(0,0,0,0.62)), var(--image) center / cover;
}

.page-hero {
  padding: 74px 0 52px;
  background: #e6f3f3;
}

.page-hero .section-inner {
  display: grid;
  gap: 18px;
}

.page-hero h1 {
  color: var(--ink);
  font-size: clamp(2.35rem, 5.5vw, 5rem);
}

.content-band {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 34px;
  align-items: start;
}

.guide-main {
  display: grid;
  gap: 18px;
}

.guide-box {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.guide-box h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.side-panel {
  position: sticky;
  top: 98px;
  padding: 24px;
  background: #183342;
  color: var(--white);
  border-radius: 8px;
}

.side-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.side-panel .button {
  width: 100%;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
}

.faq details + details {
  margin-top: 12px;
}

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

.site-footer {
  padding: 48px 0;
  background: #142833;
  color: var(--white);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 32px;
}

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

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    padding: 18px 24px 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: grid;
  }

  .language-switcher {
    width: fit-content;
  }

  .nav-links .button {
    width: 100%;
  }

  .hero-stats,
  .grid.three,
  .grid.two,
  .section-head,
  .split,
  .guide-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

  .side-panel {
    position: static;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 30px 0 16px;
  }

  h1 {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
  }

  .hero-stats div {
    min-height: 60px;
    padding: 8px;
  }

  .hero-stats strong {
    font-size: 1.16rem;
  }

  .hero-stats span {
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .island-list,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 52px 0;
  }

  .article-card img {
    height: 190px;
  }
}

.lead-capture {
  margin: 56px 0;
}
.contact-form-section {
  padding: 0 0 72px;
}
.lead-capture .section-inner,
.contact-form-section .section-inner {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}
.contact-form-shell {
  background: var(--white);
  border: 1px solid rgba(22, 33, 44, 0.08);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 24px 60px rgba(8, 24, 35, 0.08);
}
.contact-form-shell .section-head {
  margin-bottom: 24px;
}
.contact-form-shell .section-head p {
  color: var(--muted);
}
.lead-form {
  display: grid;
  gap: 20px;
}
.lead-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.lead-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: var(--ink);
}
.lead-form label span {
  font-size: 0.95rem;
}
.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(22, 33, 44, 0.14);
  border-radius: 16px;
  padding: 14px 16px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.lead-form textarea {
  resize: vertical;
  min-height: 150px;
}
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 2px solid rgba(0, 111, 143, 0.18);
  border-color: var(--ocean);
}
.lead-full {
  grid-column: 1 / -1;
}
.lead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.form-status {
  display: none;
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 600;
}
.form-status:target {
  display: block;
}
.form-status.success {
  background: #eaf8ef;
  border: 1px solid #9fd3ad;
  color: #1c5c31;
}
.form-status.error {
  background: #fff1f0;
  border: 1px solid #efb1aa;
  color: #8a2f26;
}
@media (max-width: 760px) {
  .lead-grid {
    grid-template-columns: 1fr;
  }
  .lead-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .lead-actions .button,
  .lead-actions .ghost-button {
    width: 100%;
  }
}