:root {
  --navy: #00156b;
  --navy-deep: #000c42;
  --ink: #1c1e24;
  --muted: #5c6370;
  --line: #d7dbe3;
  --paper: #e8ebf1;
  --white: #ffffff;
  --purple: #b026d6;
  --red: #e11d48;
  --green: #0c7a68;
  --green-deep: #085e50;
  --shadow: 0 16px 40px rgba(0, 21, 107, 0.12);
  --radius: 18px;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--white);
  color: var(--navy);
  padding: 8px 12px;
  z-index: 20;
}

.skip:focus {
  top: 12px;
}

.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.eyebrow {
  margin: 0 auto;
  padding: 8px 16px 0;
  max-width: 100%;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  color: #9eb6ff;
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 12px 0 16px;
  min-width: 0;
}

.logo {
  display: block;
  background: var(--white);
  border-radius: 8px;
  padding: 6px 10px;
  min-width: 0;
  max-width: 62%;
}

.logo img {
  height: 58px;
  width: auto;
  max-width: 100%;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle-btn {
  margin-left: auto;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}

.nav-toggle-btn span,
.nav-toggle-btn span::before,
.nav-toggle-btn span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  position: relative;
}

.nav-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

.nav-toggle-btn span::before {
  top: -6px;
}

.nav-toggle-btn span::after {
  top: 6px;
}

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 8px 0 4px;
  gap: 18px;
}

.nav-links a {
  text-decoration: none;
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 650;
}

.nav-links a[aria-current="page"] {
  color: #e879f9;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #e879f9;
}

.social {
  display: none;
  gap: 10px;
  margin-left: auto;
}

.social a,
.footer-social a {
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: inherit;
}

.social svg,
.footer-social svg,
.whatsapp svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.nav-toggle:checked ~ .nav-links {
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--navy-deep);
  padding: 16px 24px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-toggle:focus-visible ~ .nav-toggle-btn,
.nav-toggle-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.hero {
  position: relative;
  min-height: 460px;
  display: grid;
  align-items: center;
  color: var(--white);
  background: #10233f center/cover no-repeat;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 12, 40, 0.5), rgba(0, 12, 40, 0.78));
  z-index: -1;
}

.hero--plain {
  min-height: 280px;
  background: var(--navy);
  text-align: center;
}

.hero--plain::after {
  display: none;
}

.hero-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}

.hero h1,
.page-title {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.hero p,
.lede {
  margin: 0 auto;
  max-width: 640px;
  font-size: 18px;
}

.hero--plain .lede {
  color: #d6def8;
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0;
}

.section h2,
.rules h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.center {
  text-align: center;
}

.muted {
  color: var(--muted);
}

.cards-3,
.cards-2,
.gallery,
.split,
.footer-grid,
.contact-grid,
.about-copy,
.service-row,
.overlap {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr);
}

.cards-3 > *,
.cards-2 > *,
.gallery > *,
.footer-grid > *,
.contact-grid > *,
.about-copy > *,
.service-row > * {
  min-width: 0;
}

.feature {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
}

.feature img,
.media-card img,
.gallery img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.feature p,
.media-card figcaption,
.service-copy p {
  margin: 0;
  padding: 16px 18px 20px;
  color: var(--muted);
}

.about-copy {
  display: grid;
  gap: 18px;
  margin-bottom: 22px;
}

.about-copy article {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.about-copy h3,
.service-copy h3,
.overlap-card h3,
.contact-copy h2 {
  margin: 0 0 8px;
}

.wide-photo {
  width: 100%;
  border-radius: var(--radius);
  max-height: 460px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.media-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.media-card h3 {
  margin: 16px 18px 0;
}

.stars {
  color: #f5b301;
  letter-spacing: 4px;
  font-size: 22px;
}

.quote {
  max-width: 760px;
  margin: 0 auto;
  font-size: 18px;
}

.quote cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  color: var(--muted);
}

.form {
  display: grid;
  gap: 12px;
  text-align: left;
  max-width: 640px;
  margin: 22px auto 0;
}

.form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 650;
}

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

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

.form input:focus-visible,
.form textarea:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid #7aa2ff;
  outline-offset: 2px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 22px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-weight: 700;
}

.btn--light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.85);
  background: transparent;
  margin-top: 22px;
}

.btn--light:hover {
  background: var(--white);
  color: var(--navy);
}

.btn--red {
  background: var(--red);
  color: var(--white);
  border: 0;
}

.btn--red:hover {
  background: #be123c;
}

.btn--green {
  background: var(--green-deep);
  color: var(--white);
  border: 0;
  justify-self: start;
}

.btn--green:hover {
  background: #064e43;
}

.btn--navy {
  background: #1d4ed8;
  color: var(--white);
  border: 2px solid #93c5fd;
}

.overlap {
  align-items: start;
}

.overlap-card {
  position: relative;
  margin-bottom: 28px;
}

.overlap-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 22px;
}

.overlap-card div {
  background: var(--white);
  margin: -56px 22px 0;
  position: relative;
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
  text-align: center;
}

.service-row {
  display: grid;
  gap: 22px;
  align-items: center;
  margin-top: 28px;
}

.service-row img {
  width: 100%;
  border-radius: 22px;
  height: 280px;
  object-fit: cover;
}

.rules {
  background: var(--white);
  border-radius: 24px;
  padding: clamp(20px, 4vw, 48px);
  box-shadow: var(--shadow);
}

.rules h1 {
  margin-top: 0;
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: -0.03em;
}

.rules section + section {
  margin-top: 28px;
  padding-top: 8px;
}

.rules p,
.rules li {
  color: #343844;
}

.rules a {
  color: var(--navy);
}

.rules ol,
.rules ul {
  padding-left: 1.2rem;
}

.contact-copy p {
  color: var(--muted);
}

.contact-copy a {
  color: var(--navy);
  font-weight: 700;
}

.qr {
  width: 180px;
  height: auto;
  background: var(--white);
  border-radius: 16px;
  padding: 10px;
  box-shadow: var(--shadow);
}

.map {
  min-height: 320px;
  margin-top: 22px;
  border: 0;
  width: 100%;
  border-radius: 18px;
  background: #d5dbe8;
}

.form--green input,
.form--green textarea {
  background: var(--green);
  color: var(--white);
  border: 0;
}

.form--green input::placeholder,
.form--green textarea::placeholder {
  color: rgba(255, 255, 255, 0.82);
}

.gallery img {
  height: 220px;
  border-radius: 28px;
  object-fit: cover;
}

.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 42px 0 20px;
}

.footer-grid {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.site-footer h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.site-footer a {
  color: var(--white);
}

.site-footer p,
.site-footer li {
  margin: 0 0 8px;
  color: #d5def8;
}

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

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.legal {
  width: min(var(--max), calc(100% - 32px));
  margin: 24px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #b7c4ee;
  font-size: 14px;
}

.whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #22c55e;
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  z-index: 40;
}

.whatsapp svg {
  width: 30px;
  height: 30px;
}

@media (min-width: 800px) {
  .cards-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cards-2,
  .overlap,
  .contact-grid,
  .service-row,
  .about-copy {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-row--reverse img {
    order: 2;
  }

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

  .footer-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 980px) {
  .nav-toggle-btn {
    display: none;
  }

  .nav-links {
    display: flex;
    flex-direction: row;
    position: static;
    background: transparent;
    padding: 0;
  }

  .social {
    display: flex;
  }

  .nav-toggle:checked ~ .nav-links {
    position: static;
    flex-direction: row;
    background: transparent;
    padding: 0;
  }
}
