/* ==========================================================================
   VASSMAAN | WEB-000032
   Palette: navy #14213D, blue #3F5FE0, accent orange, steel greys
   Type: Barlow Condensed (headings), Inter (body)
   ========================================================================== */

:root {
  --navy: #14213D;
  --navy-2: #1D2E52;
  --navy-deep: #0D1729;
  --blue: #3F5FE0;
  --blue-dark: #2F49B8;
  --blue-soft: #EDF0FE;
  --accent: #F2762A;
  --accent-2: #F79B45;
  --ink: #16202E;
  --body: #4A5567;
  --line: #E1E5EE;
  --paper: #FFFFFF;
  --paper-2: #F5F7FB;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow: 0 18px 40px rgba(20, 33, 61, .10);
  --wrap: 1180px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 108px; }

body {
  margin: 0;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: "Barlow Condensed", "Inter", sans-serif;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: .1px;
  margin: 0 0 .5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 .98rem/1 Inter, sans-serif;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  text-align: center;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(63, 95, 224, .28); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); }
.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; box-shadow: 0 12px 26px rgba(242, 118, 42, .34);
}
.btn-accent:hover { color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1FBA59; color: #fff; }
.btn-ghost { background: var(--blue-soft); color: var(--blue-dark); padding: 11px 18px; }
.btn-ghost:hover { background: #E1E7FD; }
.btn-block { width: 100%; }

.link-cta {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--blue); font: 600 .95rem Inter, sans-serif;
  display: inline-flex; align-items: center; gap: 6px;
}
.link-cta:hover { color: var(--blue-dark); }
.link-cta span { font-size: 1.3rem; line-height: 0; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-deep); color: #C9D2E6; font-size: .85rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 40px; flex-wrap: wrap; }
.topbar-contact { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-contact a { color: #C9D2E6; display: inline-flex; align-items: center; gap: 7px; }
.topbar-contact a:hover { color: #fff; }
.topbar-contact svg { width: 14px; height: 14px; fill: var(--accent); }
.topbar-social { display: flex; align-items: center; gap: 8px; }
.topbar-social-label { color: #8C9AB8; font-size: .78rem; }
.social-dot {
  width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.1);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: .75rem; font-weight: 600;
}
.social-dot:hover { background: var(--blue); color: #fff; }
.social-wa svg { width: 15px; height: 15px; fill: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; }
.brand-logo { height: 58px; width: auto; object-fit: contain; }
.brand-text { font: 700 1.5rem "Barlow Condensed", sans-serif; color: var(--navy); letter-spacing: 1px; }

.nav-desktop { margin-left: auto; display: flex; gap: 26px; }
.nav-desktop a { color: var(--navy); font-weight: 500; font-size: .96rem; position: relative; padding: 6px 0; }
.nav-desktop a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--accent); transition: right .22s ease;
}
.nav-desktop a:hover::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-desktop + .header-actions { auto; }

.nav-toggle {
  display: none; width: 44px; height: 42px; border: 1px solid var(--line); background: #fff;
  border-radius: var(--radius-sm); cursor: pointer; padding: 11px 10px;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(105deg, rgba(13,23,41,.95) 0%, rgba(20,33,61,.88) 55%, rgba(31,48,88,.82) 100%),
    url("../images/site/hero-bg.svg") center/cover no-repeat,
    var(--navy);
  color: #E8EDF8;
  padding: clamp(46px, 7vw, 86px) 0 clamp(52px, 7vw, 92px);
  overflow: hidden;
}
.hero-inner {
  display: grid; grid-template-columns: minmax(260px, 360px) 1fr; gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero h1 { color: #fff; }
.hero-kicker {
  color: var(--accent-2); font-weight: 600; font-size: .92rem;
  margin-bottom: 14px;
}
.hero-lead { color: #B9C5DC; max-width: 62ch; font-size: 1.04rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: 14px 34px; margin: 0;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14);
}
.hero-stats div { min-width: 120px; }
.hero-stats dt { font: 700 2rem "Barlow Condensed", sans-serif; color: #fff; }
.hero-stats dd { margin: 2px 0 0; font-size: .86rem; color: #93A2C0; max-width: 18ch; }

/* Founder card */
.founder-card { margin: 0; }
.founder-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(160deg, #22355F, #16233F);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 26px 60px rgba(0,0,0,.4);
  aspect-ratio: 4 / 5;
  display: flex; align-items: center; justify-content: center;
}
.founder-frame img { width: 100%; height: 100%; object-fit: cover; }
.founder-frame.is-fallback::after {
  content: attr(data-initials);
  font: 700 4.4rem "Barlow Condensed", sans-serif;
  color: rgba(255,255,255,.75); letter-spacing: 3px;
}
.founder-card figcaption {
  text-align: center; padding-top: 16px; display: grid; gap: 3px;
}
.founder-card figcaption strong {
  font: 700 1.35rem "Barlow Condensed", sans-serif; color: #fff; letter-spacing: .5px;
}
.founder-card figcaption span { font-size: .88rem; color: #93A2C0; }

/* ---------- Sections ---------- */
.section { padding: clamp(52px, 7vw, 92px) 0; }
.section-alt { background: var(--paper-2); }
.section-head { max-width: 62ch; margin-bottom: clamp(28px, 4vw, 46px); }
.section-head p { font-size: 1.04rem; margin: 0; }
.section-cta { margin-top: 34px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.about-lead p { max-width: 68ch; }
.about-side { display: grid; gap: 18px; }
.cert-card, .vm-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.cert-card { border-left: 4px solid var(--accent); }
.cert-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cert-card li { display: grid; gap: 2px; }
.cert-card strong { color: var(--navy); font-size: .95rem; }
.cert-card span { font-size: .9rem; }
.vm-card h3 { margin-top: 0; }
.vm-card h3 + p { margin-bottom: 20px; }
.vm-card p:last-child { margin-bottom: 0; }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: border-color .2s ease, box-shadow .2s ease;
}
.svc-card:hover { border-color: #C7D0E8; box-shadow: var(--shadow); }
.svc-card h3 { margin-bottom: .4em; }
.svc-card p { margin: 0; font-size: .96rem; }
.svc-icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--blue-soft);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.svc-icon svg { width: 22px; height: 22px; fill: var(--blue); }

.svc-card-feature {
  grid-column: span 2; padding: 0; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1.1fr; align-items: stretch;
  background: var(--navy); border-color: var(--navy);
}
.svc-card-feature .svc-photo { background: #1B2A4A; min-height: 220px; }
.svc-card-feature .svc-photo img { width: 100%; height: 100%; object-fit: cover; }
.svc-card-feature .svc-photo.is-empty {
  background: linear-gradient(140deg, #22355F, #16233F);
}
.svc-card-feature .svc-body { padding: 30px 28px; align-self: center; }
.svc-card-feature h3 { color: #fff; }
.svc-card-feature p { color: #B9C5DC; margin-bottom: 14px; }
.svc-card-feature .link-cta { color: var(--accent-2); }

/* Why VASSMAAN */
.strength-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.strength-item {
  border-top: 3px solid var(--blue); padding-top: 18px;
}
.strength-item:nth-child(3n+2) { border-top-color: var(--accent); }
.strength-item h3 { font-size: 1.18rem; }
.strength-item p { margin: 0; font-size: .96rem; }

/* Testimonials */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote-card {
  margin: 0; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow);
}
.quote-card blockquote {
  margin: 0 0 18px; font-size: 1.02rem; color: var(--ink); line-height: 1.6;
}
.quote-card blockquote::before { content: "\201C"; color: var(--accent); font-size: 2.4rem; line-height: 0; vertical-align: -.35em; margin-right: 4px; }
.quote-card figcaption { display: grid; gap: 2px; border-top: 1px solid var(--line); padding-top: 14px; }
.quote-card figcaption strong { color: var(--navy); font-size: .95rem; }
.quote-card figcaption span { font-size: .87rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-list { list-style: none; margin: 26px 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: grid; gap: 3px; }
.ci-label { font-size: .8rem; color: #8590A5; font-weight: 600; }
.contact-list a { font-weight: 500; }
.contact-list address { font-style: normal; color: var(--body); }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.contact-form-wrap {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow);
}

.map-embed { margin-top: clamp(38px, 5vw, 64px); height: 380px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Forms ---------- */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field .opt { font-weight: 400; color: #8590A5; }
.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%; font: 400 .97rem Inter, sans-serif; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 15px; transition: border-color .18s ease, box-shadow .18s ease;
}
.enquiry-form textarea { resize: vertical; min-height: 96px; }
.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(63,95,224,.14); outline: none;
}
.enquiry-form .is-invalid { border-color: #D93A3A; background: #FFF7F7; }
.field-error { display: none; margin: 6px 0 0; font-size: .82rem; color: #D93A3A; }
.field-error.is-shown { display: block; }

.phone-row { display: flex; }
.phone-row .cc {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0 12px; font-size: .95rem; font-weight: 600; color: var(--ink);
  background: var(--paper-2); border: 1.5px solid var(--line); border-right: 0;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm); white-space: nowrap;
}
.phone-row .cc svg { width: 20px; height: 14px; border-radius: 2px; }
.phone-row input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

.form-status { margin: 12px 0 0; font-size: .9rem; font-weight: 500; display: none; }
.form-status.is-ok { display: block; color: #1E8A4C; }
.form-status.is-err { display: block; color: #D93A3A; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #AEBACF; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 34px;
  padding-top: clamp(46px, 6vw, 70px); padding-bottom: 40px;
}
.footer-logo { height: 52px; width: auto; background: #fff; border-radius: 8px; padding: 6px 10px; margin-bottom: 16px; }
.footer-brand p { font-size: .94rem; max-width: 42ch; }
.footer-cert { color: #8594AF; font-size: .85rem; }
.footer-col h3 { color: #fff; font-size: 1.06rem; letter-spacing: .6px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { color: #AEBACF; font-size: .94rem; }
.footer-col a:hover { color: #fff; }
.footer-contact address { font-style: normal; font-size: .94rem; max-width: 30ch; }
.footer-social { display: flex; gap: 8px; margin-top: 16px; }
.footer-social a {
  width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.1);
  display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 600;
}
.footer-social a:hover { background: var(--blue); }

.footer-cta { background: var(--navy-2); }
.footer-cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-top: 24px; padding-bottom: 24px; flex-wrap: wrap;
}
.footer-cta p { margin: 0; color: #DCE3F1; font-size: 1.02rem; max-width: 60ch; }

.footer-base { background: var(--navy-deep); }
.footer-base-inner {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding-top: 16px; padding-bottom: 16px;
}
.footer-base p { margin: 0; font-size: .85rem; color: #7B89A5; }

/* ---------- Floating elements (approved, do not alter) ---------- */
.floating-badge {
  position: fixed; left: 18px; bottom: 18px; z-index: 300; width: 120px; height: 40px;
  border-radius: 10px; overflow: hidden; box-shadow: 0 8px 22px rgba(0,0,0,.25); background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.floating-badge img { width: 150px; object-fit: contain; }

.floating-whatsapp {
  position: fixed; right: 18px; bottom: 18px; z-index: 300; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(37,211,102,.45); transition: transform .15s ease;
}
.floating-whatsapp:hover { transform: scale(1.06); }
.floating-whatsapp svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Popup ---------- */
.popup-overlay {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(13, 23, 41, .72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px 16px; overflow-y: auto;
  opacity: 0; transition: opacity .22s ease;
}
.popup-overlay[hidden] { display: none; }
.popup-overlay.is-open { opacity: 1; }

.popup-card {
  position: relative; width: 100%; max-width: 430px; margin: auto;
  background: #fff; border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
  transform: translateY(14px) scale(.98); transition: transform .24s ease;
  max-height: calc(100vh - 40px); overflow-y: auto;
}
.popup-overlay.is-open .popup-card { transform: none; }

.popup-close {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 32px; height: 32px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.18); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background .18s ease;
}
.popup-close:hover { background: rgba(255,255,255,.34); }
.popup-close svg { width: 15px; height: 15px; fill: currentColor; }

.popup-timer {
  background: linear-gradient(135deg, #14213D, #24386B);
  color: #fff; text-align: center; padding: 18px 16px 15px;
  transition: background .3s ease;
}
.popup-timer-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .72rem; letter-spacing: 1.4px; text-transform: uppercase; color: #C6D2EC;
}
.popup-timer-label svg { width: 13px; height: 13px; fill: var(--accent-2); }
.popup-timer-count {
  display: block; font: 700 1.9rem "Barlow Condensed", sans-serif;
  letter-spacing: 2px; margin-top: 2px;
}
.popup-timer.is-urgent { background: linear-gradient(135deg, #B2231F, #E23B2E); animation: pulseBar 1s ease-in-out infinite; }
.popup-timer.is-urgent .popup-timer-label { color: #FFD9D4; }
@keyframes pulseBar { 50% { filter: brightness(1.18); } }

.popup-body { padding: 22px 26px 26px; text-align: center; }
.popup-badge {
  width: 54px; height: 54px; border-radius: 15px; margin: -40px auto 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 24px rgba(242,118,42,.4);
  display: flex; align-items: center; justify-content: center;
  position: relative; border: 3px solid #fff;
}
.popup-badge svg { width: 24px; height: 24px; fill: #fff; }
.popup-body h2 { font-size: 1.7rem; margin-bottom: .3em; }
.popup-body h2 em { font-style: normal; color: var(--accent); }
.popup-sub { font-size: .92rem; margin-bottom: 18px; }
.popup-form { text-align: left; }
.popup-form .field { margin-bottom: 11px; }
.popup-submit { margin-top: 4px; }
.popup-reassure { margin: 10px 0 0; font-size: .78rem; color: #8590A5; text-align: center; }
.popup-form .form-status { text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .svc-grid, .strength-grid, .quote-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-card-feature { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 84px; }
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { min-height: 68px; }
  .brand-logo { height: 48px; }

  .nav-mobile {
    display: block; max-height: 0; overflow: hidden;
    background: #fff; border-top: 1px solid var(--line);
    transition: max-height .28s ease;
  }
  .nav-mobile.is-open { max-height: 480px; }
  .nav-mobile a {
    display: block; padding: 14px 22px; color: var(--navy); font-weight: 500;
    border-bottom: 1px solid var(--line);
  }
  .nav-mobile .btn { margin: 16px 22px 20px; width: calc(100% - 44px); }

  .hero-inner { grid-template-columns: 1fr; text-align: left; }
  .hero-media { max-width: 280px; margin: 0 auto; }
  .contact-grid, .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar-inner { justify-content: center; gap: 8px; padding-top: 6px; padding-bottom: 6px; }
  .topbar-contact { gap: 14px; justify-content: center; font-size: .8rem; }
  .btn-call { padding: 11px 15px; }
  .svc-grid, .strength-grid, .quote-grid, .footer-grid { grid-template-columns: 1fr; }
  .svc-card-feature { grid-column: span 1; grid-template-columns: 1fr; }
  .svc-card-feature .svc-photo { min-height: 180px; }
  .hero-cta .btn { width: 100%; }
  .contact-form-wrap { padding: 22px 18px; }
  .map-embed { height: 300px; }
  .footer-cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-cta .btn { width: 100%; }
}

@media (max-width: 480px) {
  .floating-badge { width: 120px; height: 46px; left: 12px; bottom: 12px; }
  .floating-whatsapp { width: 50px; height: 50px; right: 12px; bottom: 12px; }
  .floating-whatsapp svg { width: 26px; height: 26px; }
  .popup-overlay { padding: 14px 12px; }
  .popup-card { max-height: calc(100vh - 28px); }
  .popup-body { padding: 20px 18px 22px; }
  .popup-body h2 { font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
