:root {
  --navy: #0B1F4B;
  --navy-2: #12306e;
  --blue: #1A8FD8;
  --blue-dark: #1374b3;
  --ink: #1b2433;
  --muted: #5a6577;
  --bg: #ffffff;
  --bg-soft: #f2f6fb;
  --line: #dde5ef;
  --radius: 14px;
  --head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); }
h1, h2, h3 { font-family: var(--head); line-height: 1.05; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
h2 { font-size: clamp(2rem, 4.5vw, 2.8rem); font-weight: 800; text-transform: uppercase; }
h3 { font-size: 1.45rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.section { padding: 64px 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .7em 1.2em; border-radius: 999px;
  font-family: var(--head); font-weight: 700; font-size: 1.15rem; letter-spacing: .03em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.btn--call { background: var(--blue); color: #fff; }
.btn--call:hover { background: var(--blue-dark); }
.btn--text { background: var(--navy); color: #fff; }
.btn--email { background: #fff; color: var(--navy); border-color: var(--navy); cursor: pointer; }
.btn--email:hover { background: var(--bg-soft); }
.btn--ghost { background: transparent; color: #fff; border-color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--lg { font-size: 1.3rem; padding: .8em 1.5em; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand img { width: 56px; height: auto; flex: none; }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name { font-family: var(--head); font-weight: 800; font-size: 1.5rem; color: var(--navy); text-transform: uppercase; line-height: 1; }
.brand__tag { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.topbar__actions { display: flex; gap: 10px; }

/* Hero */
.hero {
  background: radial-gradient(circle at 85% 20%, rgba(26,143,216,.45), transparent 55%),
              linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; padding: 72px 0 80px;
}
.hero h1 { color: #fff; }
.hero__inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.hero__eyebrow { font-family: var(--head); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8fd0ff; margin-bottom: .6em; }
.hero__sub { font-size: 1.2rem; max-width: 36em; color: #dbe8f7; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.badge {
  width: 230px; aspect-ratio: 5 / 6; padding: 28px 18px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px;
  background: linear-gradient(160deg, #1d4fa8, var(--navy));
  border: 4px solid #c9d6e8; border-radius: 18px 18px 50% 50% / 18px 18px 38% 38%;
  box-shadow: 0 18px 40px rgba(0,0,0,.3);
}
.badge__stars { letter-spacing: .2em; font-size: 1.2rem; }
.badge__text { font-family: var(--head); font-weight: 800; font-size: 1.75rem; line-height: 1.05; text-transform: uppercase; }
.badge__years { font-size: .9rem; color: #bcd7f3; }

/* Results */
.results { background: var(--bg-soft); }
figure { margin: 0; }
figcaption { font-size: .95rem; color: var(--muted); padding-top: 8px; }
.ba img { border-radius: var(--radius); box-shadow: 0 10px 30px rgba(11,31,75,.15); width: 100%; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.pair img { border-radius: var(--radius); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.tag { display: inline-block; font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: .85rem; padding: 2px 10px; border-radius: 999px; margin-right: 6px; color: #fff; }
.tag--before { background: #6b7587; }
.tag--after { background: var(--blue); }

/* Recurring */
.recurring { background: var(--navy); color: #dbe8f7; }
.recurring h2 { color: #fff; }
.recurring__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.kicker { font-family: var(--head); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8fd0ff; margin-bottom: .4em; }
.checks { list-style: none; margin: 0; padding: 24px; background: rgba(255,255,255,.06); border-radius: var(--radius); }
.checks li { position: relative; padding: 10px 0 10px 36px; color: #fff; font-weight: 500; }
.checks li + li { border-top: 1px solid rgba(255,255,255,.12); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* Cards */
.cards { display: grid; gap: 16px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p { color: var(--muted); margin: 0; font-size: 1rem; }
.why { background: var(--bg-soft); }
.service svg { width: 52px; height: 52px; color: #fff; background: var(--blue); border-radius: 50%; padding: 10px; margin-bottom: 12px; }

/* Gallery */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; }

/* Final CTA */
.final { background: linear-gradient(135deg, var(--blue-dark), var(--navy)); color: #fff; text-align: center; }
.final h2 { color: #fff; }
.final .hero__cta { justify-content: center; }

/* Footer */
.footer { background: #071537; color: #aebdd6; padding: 32px 0 40px; font-size: .95rem; }
.footer__inner { display: flex; gap: 16px; align-items: center; }
.footer img { width: 64px; background: #fff; border-radius: 50%; padding: 6px; flex: none; }
.footer p { margin: 0 0 .3em; }
.footer a { color: #fff; word-break: break-all; }
.footer__name { font-family: var(--head); font-weight: 800; font-size: 1.3rem; color: #fff; text-transform: uppercase; }

/* Email Us window */
.emailbox {
  width: min(480px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0;
  border: 0; border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.emailbox::backdrop { background: rgba(7,21,55,.6); }
.emailbox__form { position: relative; padding: 28px 22px 22px; display: grid; gap: 12px; }
.emailbox h2 { margin: 0; }
.emailbox__intro { margin: 0; color: var(--muted); font-size: 1rem; }
.emailbox label { display: grid; gap: 4px; font-weight: 600; font-size: .95rem; color: var(--navy); }
.emailbox input, .emailbox textarea {
  font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; width: 100%;
}
.emailbox input:focus, .emailbox textarea:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.emailbox__opt { font-weight: 400; color: var(--muted); }
.emailbox__hp { display: none; }
.emailbox__send { width: 100%; cursor: pointer; }
.emailbox__send:disabled { opacity: .7; cursor: wait; }
.emailbox__close {
  position: absolute; top: 8px; right: 10px; width: 40px; height: 40px;
  border: 0; background: none; font-size: 2rem; line-height: 1; color: var(--muted); cursor: pointer;
}
.emailbox__status { margin: 0; font-size: .95rem; }
.emailbox__status.is-ok { color: #13804a; font-weight: 600; }
.emailbox__status.is-err { color: #b42318; }

/* Pinned phone bar */
.mobilebar { display: none; }

@media (max-width: 960px) {
  .cards--4 { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero__inner, .recurring__inner { grid-template-columns: 1fr; }
  .badge { width: 100%; max-width: 360px; aspect-ratio: auto; border-radius: var(--radius); flex-direction: row; flex-wrap: wrap; padding: 16px; }
  .badge__text { font-size: 1.4rem; }
}

@media (max-width: 767px) {
  body { font-size: 17px; padding-bottom: 72px; }
  .section { padding: 48px 0; }
  .hero { padding: 44px 0 52px; }
  .topbar__actions { display: none; }
  .brand__name { font-size: 1.3rem; }
  .cards--4 { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .mobilebar {
    display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    box-shadow: 0 -4px 16px rgba(0,0,0,.18); padding-bottom: env(safe-area-inset-bottom); background: var(--navy);
  }
  .mobilebar a, .mobilebar button {
    border: 0; cursor: pointer;
    display: flex; align-items: center; justify-content: center; height: 60px;
    font-family: var(--head); font-weight: 800; font-size: 1.35rem; letter-spacing: .06em; text-transform: uppercase;
    color: #fff; text-decoration: none;
  }
  .mobilebar__call { background: var(--blue); }
  .mobilebar__text { background: var(--navy); }
  .mobilebar__email { background: #fff; color: var(--navy) !important; }
}
