@font-face {
  font-family: "Public Sans";
  src: url("/assets/fonts/public-sans-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #00264d;
  --navy-2: #0a3a6b;
  --blue: #3e8ed0;
  --green: #48c78e;
  --green-dark: #2f9e6c;
  --ink: #242424;
  --muted: #5c6470;
  --bg: #f5f7fa;
  --line: #e3e7ec;
  --footer: #0f0f0f;
  --font: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 70rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.6 var(--font); color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); text-underline-offset: 0.15em; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.15; margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--green); color: #fff; padding: 0.5rem 1rem; z-index: 10; }
.skip:focus { left: 0; }

/* Header */
.site-header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 5; box-shadow: 0 1px 6px rgb(0 0 0 / 0.25); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.4rem 1.5rem; padding-top: 0.55rem; padding-bottom: 0.55rem; }
.brand { color: #fff; text-decoration: none; font-weight: 800; font-size: 1.35rem; letter-spacing: -0.01em; }
.nav { display: flex; align-items: center; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.nav a { color: #fff; text-decoration: none; font-weight: 700; font-size: 0.98rem; padding: 0.35rem 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--green); }
.nav a.nav-cta { background: var(--green); padding: 0.35rem 0.85rem; border-radius: 6px; border: 0; }
.nav a.nav-cta:hover, .nav a.nav-cta[aria-current="page"] { background: var(--green-dark); }
@media (max-width: 40rem) { .nav .nav-hide-sm { display: none; } }

/* Hero */
.hero { position: relative; color: #fff; text-align: center; display: grid; place-items: center; min-height: clamp(24rem, 62vh, 36rem); background: var(--navy) center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgb(0 20 45 / 0.45), rgb(0 20 45 / 0.25)); }
.hero-inner { position: relative; padding: 3.5rem 1.25rem 5rem; max-width: 50rem; }
.hero h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); font-weight: 900; letter-spacing: -0.02em; text-shadow: 0 2px 10px rgb(0 0 0 / 0.45); }
.hero p { font-size: clamp(1.05rem, 2.2vw, 1.25rem); font-weight: 600; margin: 1rem auto 1.75rem; max-width: 40rem; text-shadow: 0 1px 6px rgb(0 0 0 / 0.6); }
.buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.button { display: inline-block; padding: 0.75rem 1.3rem; border-radius: 6px; font-weight: 700; text-decoration: none; color: #fff; background: var(--blue); box-shadow: 0 2px 6px rgb(0 0 0 / 0.2); }
.button:hover { color: #fff; filter: brightness(0.92); }
.button.green { background: var(--green-dark); }
.button.big { font-size: 1.15rem; padding: 1rem 1.6rem; }

/* Cards & sections */
.lift { margin-top: -3.5rem; position: relative; }
.card { background: #fff; border-radius: 8px; box-shadow: 0 2px 10px rgb(0 0 0 / 0.08); overflow: hidden; }
.card-body { padding: 1.5rem 1.75rem; text-align: center; }
.card h2, .card h3 { font-size: 1.4rem; font-weight: 600; }
.sub { color: var(--muted); margin: 0.2rem 0 0.9rem; }
.card p:last-child { margin-bottom: 0; }
.section { padding: 3.5rem 0; }
.section-title { text-align: center; font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 600; margin-bottom: 2rem; }
.grid-3 { display: grid; gap: 1.25rem; }
@media (min-width: 52rem) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.feature { display: grid; gap: 1.5rem 2.5rem; align-items: center; }
@media (min-width: 48rem) { .feature { grid-template-columns: 2fr 3fr; } .feature.flip { grid-template-columns: 3fr 2fr; } .feature.flip > :first-child { order: 2; } }
.feature img { width: 100%; height: 100%; max-height: 26rem; object-fit: cover; }
.feature h2 { font-size: 1.7rem; font-weight: 600; }
.feature .card-body { text-align: left; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 0.6rem; list-style: none; margin: 1.5rem 0 0; padding: 0; }
.gallery a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery a:hover img { transform: scale(1.04); }
.place + .place { margin-top: 3.5rem; }
.place h2 { font-size: 1.8rem; font-weight: 700; }
.place .sub { margin-bottom: 0.6rem; }

/* Lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgb(5 10 20 / 0.96); }
.lightbox figure { margin: 0; height: 100%; display: grid; place-items: center; padding: 3.5rem 4rem; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 7rem); object-fit: contain; }
.lightbox figcaption { color: #ddd; text-align: center; margin-top: 0.6rem; font-size: 0.95rem; }
.lightbox button { position: absolute; background: rgb(255 255 255 / 0.12); color: #fff; border: 0; cursor: pointer; width: 3rem; height: 3rem; border-radius: 50%; font-size: 1.6rem; line-height: 1; }
.lightbox button:hover { background: rgb(255 255 255 / 0.25); }
.lightbox .lb-close { top: 0.75rem; right: 0.75rem; }
.lightbox .lb-prev { left: 0.75rem; top: 50%; translate: 0 -50%; }
.lightbox .lb-next { right: 0.75rem; top: 50%; translate: 0 -50%; }
@media (max-width: 40rem) {
  .lightbox figure { padding: 3.5rem 0.5rem 4.5rem; }
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 0.75rem; translate: none; }
}

/* Contact */
.contact { background: var(--navy); color: #fff; text-align: center; padding: 4rem 0 5rem; }
.contact h1 { font-size: clamp(1.8rem, 4.5vw, 2.4rem); font-weight: 400; line-height: 1.35; }
.contact .buttons { margin: 2.25rem 0 1.5rem; }
.contact .phone { font-size: 1.4rem; font-weight: 700; color: #fff; }
.contact p { color: #d5deea; }

/* Footer */
.site-footer { background: var(--footer); color: #e8e8e8; text-align: center; padding: 3rem 0 2rem; }
.site-footer a { color: #fff; }
.site-footer .f-title { font-size: 1.8rem; font-weight: 800; margin: 0 0 1.25rem; }
.site-footer .f-text { max-width: 32rem; margin: 0 auto 1rem; text-align: left; }
.f-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; justify-content: center; margin: 1.5rem 0; font-weight: 600; }
.f-phone a { font-size: 1.2rem; font-weight: 600; text-decoration: none; }
.f-bottom { border-top: 1px solid #333; margin-top: 2rem; padding-top: 1.5rem; font-size: 0.95rem; color: #bbb; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
