:root {
  --blue: #0a6ebd;
  --blue-dark: #06457a;
  --cyan: #17c3d6;
  --cyan-soft: #7fe3ef;
  --ink: #16222e;
  --muted: #5c6b7a;
  --bg: #eef5fa;
  --white: #ffffff;
  --wa: #25d366;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 14px rgba(16, 42, 67, 0.08);
  --shadow: 0 18px 44px rgba(10, 110, 189, 0.16);
  --shadow-lg: 0 30px 70px rgba(10, 110, 189, 0.24);
  --grad: linear-gradient(135deg, #0a6ebd 0%, #17c3d6 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand { font-family: "Poppins", "Segoe UI", sans-serif; }

.container { width: min(1160px, 92%); margin: 0 auto; }

a { color: inherit; text-decoration: none; }
img, iframe { max-width: 100%; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  font-family: "Poppins", sans-serif;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(10, 110, 189, 0.35); }
.btn-primary:hover { box-shadow: 0 16px 34px rgba(10, 110, 189, 0.45); }
.btn-whatsapp { background: var(--wa); color: #fff; box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35); }
.btn-light { background: #fff; color: var(--blue); }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--blue); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: .82rem; }
.btn-outline { background: transparent; border-color: var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }

/* ---------- Topbar ---------- */
.topbar { background: var(--blue-dark); color: #d7ecfb; font-size: .84rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; flex-wrap: wrap; gap: 6px; }
.topbar-right { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar a:hover { color: #fff; }
.topbar i, .contact-card i, .site-nav i, .btn i { font-size: .92em; }
.nav-toggle { z-index: 2; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(16, 42, 67, 0.12); background: rgba(255,255,255,.96); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }

.brand { display: flex; align-items: center; gap: 12px; font-size: 1.25rem; }
.brand-mark {
  color: #fff;
  background: var(--grad);
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  font-size: 1.35rem;
  box-shadow: 0 8px 20px rgba(10, 110, 189, 0.3);
  animation: spin 12s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.brand-text { line-height: 1.05; display: flex; flex-direction: column; }
.brand-text strong { color: var(--blue); }
.brand-text small { font-size: .62rem; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { font-weight: 600; color: var(--muted); position: relative; font-size: .96rem; }
.site-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--grad); transition: width .25s ease;
}
.site-nav a:not(.nav-cta):hover { color: var(--blue); }
.site-nav a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta { background: var(--grad); color: #fff !important; padding: 10px 20px; border-radius: 999px; box-shadow: 0 8px 20px rgba(10,110,189,.3); }
.nav-cta:hover { transform: translateY(-2px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #06457a, #0a6ebd);
  color: #fff;
  overflow: hidden;
  padding: 96px 0 0;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, rgba(6,69,122,.92) 0%, rgba(6,69,122,.70) 45%, rgba(10,110,189,.45) 100%),
    radial-gradient(circle at 82% 18%, rgba(23,195,214,.30), transparent 55%);
}

.snow { position: absolute; top: -20px; color: rgba(255,255,255,.5); font-size: 18px; animation: fall linear infinite; z-index: 1; }
.snow:nth-child(3) { left: 12%; animation-duration: 9s; }
.snow:nth-child(4) { left: 28%; animation-duration: 12s; font-size: 12px; }
.snow:nth-child(5) { left: 47%; animation-duration: 8s; }
.snow:nth-child(6) { left: 66%; animation-duration: 13s; font-size: 22px; }
.snow:nth-child(7) { left: 80%; animation-duration: 10s; font-size: 14px; }
.snow:nth-child(8) { left: 92%; animation-duration: 11s; }
@keyframes fall { to { transform: translateY(105vh) rotate(360deg); } }

.hero-inner { position: relative; z-index: 2; max-width: 760px; padding: 30px 0 90px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: .9rem; opacity: .95; margin-bottom: 16px; flex-wrap: wrap; }
.pill { background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); padding: 4px 12px; border-radius: 999px; font-weight: 600; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); line-height: 1.15; margin-bottom: 18px; font-weight: 800; }
.grad-text { background: linear-gradient(90deg, #fff, #bff0f8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 1.08rem; opacity: .96; margin-bottom: 28px; max-width: 52ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }

.hero-stats { display: flex; gap: 30px; flex-wrap: wrap; }
.hero-stats div { text-align: center; }
.hero-stats strong { display: block; font-size: 1.9rem; font-weight: 800; font-family: "Poppins", sans-serif; }
.hero-stats span { font-size: .82rem; opacity: .85; letter-spacing: .5px; }

.hero-content { animation: rise .7s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* marquee */
.marquee { position: relative; z-index: 2; background: rgba(255,255,255,.12); border-top: 1px solid rgba(255,255,255,.18); overflow: hidden; }
.marquee-track { display: flex; gap: 24px; padding: 12px 0; white-space: nowrap; width: max-content; animation: scroll 26s linear infinite; }
.marquee-track span { font-weight: 600; font-size: .92rem; opacity: .92; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { padding: 82px 0; }
.kicker { text-align: center; text-transform: uppercase; letter-spacing: 3px; font-size: .78rem; font-weight: 700; color: var(--cyan); margin-bottom: 8px; }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); text-align: center; margin-bottom: 12px; font-weight: 800; }
.section-lead { text-align: center; color: var(--muted); margin-bottom: 46px; max-width: 60ch; margin-left: auto; margin-right: auto; }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 22px; }
.service-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid #e7eef4;
  position: relative;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }

.service-card .s-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--grad);
  overflow: hidden;
}
.service-card .s-media::before {
  content: "\f76b"; /* snowflake, shows only when no image is present */
  font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: rgba(255,255,255,.35); font-size: 2.4rem;
}
.service-card .s-media img {
  position: relative;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.service-card:hover .s-media img { transform: scale(1.08); }
.service-card .s-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,69,122,.28), rgba(6,69,122,0) 55%);
}
.service-card .s-body { padding: 20px 22px 24px; }
.service-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.service-card p { color: var(--muted); font-size: .92rem; }
.service-card .s-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.service-card .s-actions .btn { flex: 1 1 auto; justify-content: center; }

/* ---------- Why ---------- */
.why { background: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.why-item {
  text-align: center; padding: 30px 22px;
  border-radius: var(--radius);
  background: var(--bg);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.why-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: #fff; }
.why-ico { font-size: 2.2rem; display: inline-block; }
.why-item h3 { margin: 14px 0 8px; font-size: 1.12rem; }
.why-item p { color: var(--muted); font-size: .92rem; }

/* ---------- Steps ---------- */
.steps { background: var(--bg); }
.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.step { background: #fff; border-radius: var(--radius); padding: 34px 26px; text-align: center; box-shadow: var(--shadow-sm); position: relative; }
.step-num {
  width: 54px; height: 54px; display: grid; place-items: center; margin: 0 auto 16px;
  background: var(--grad); color: #fff; border-radius: 50%; font-weight: 800; font-size: 1.3rem;
  font-family: "Poppins", sans-serif; box-shadow: 0 10px 22px rgba(10,110,189,.3);
}
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .92rem; }

/* ---------- About ---------- */
.about-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 54px; align-items: center; }
.about-text .section-title, .about-text .kicker { text-align: left; }
.about-text p { color: var(--muted); margin-bottom: 14px; }
.about-text .btn { margin-top: 10px; }
.about-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.badge-card {
  background: #fff; border-radius: var(--radius); padding: 26px 18px; text-align: center;
  box-shadow: var(--shadow-sm); border: 1px solid #e7eef4;
  transition: transform .2s ease, box-shadow .2s ease;
}
.badge-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.badge-card strong { display: block; font-size: 1.7rem; color: var(--blue); font-family: "Poppins", sans-serif; }
.badge-card span { font-size: .84rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); color: #fff; position: relative; overflow: hidden; }
.cta-band::after { content: "❄"; position: absolute; right: 4%; top: 50%; transform: translateY(-50%); font-size: 12rem; opacity: .08; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
.cta-band p { opacity: .9; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Reviews ---------- */
.reviews { background: #fff; }
.review-slider { max-width: 760px; margin: 0 auto; overflow: hidden; }
.review-track { display: flex; transition: transform .5s ease; }
.review-card { min-width: 100%; padding: 34px; text-align: center; }
.review-stars { color: #ffb400; font-size: 1rem; margin-bottom: 14px; display: flex; gap: 4px; justify-content: center; }
.review-text { font-size: 1.12rem; color: var(--ink); font-style: italic; margin-bottom: 18px; }
.review-author { font-weight: 700; color: var(--blue); font-family: "Poppins", sans-serif; }
.review-role { font-size: .85rem; color: var(--muted); }
.review-dots { display: flex; gap: 10px; justify-content: center; margin-top: 18px; }
.review-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: #cdd9e2; cursor: pointer; transition: .25s; }
.review-dots button.active { background: var(--blue); width: 26px; border-radius: 6px; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg); position: relative; overflow: hidden; }
.faq::before { content: ""; position: absolute; top: -140px; right: -140px; width: 360px; height: 360px; background: var(--grad); opacity: .1; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.faq-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 46px; align-items: start; position: relative; z-index: 1; }
.faq-inner .kicker, .faq-inner .section-title { text-align: left; }
.faq-aside { position: sticky; top: 100px; }
.faq-img-wrap { position: relative; margin-top: 26px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.faq-img { display: block; width: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .5s ease; }
.faq-img-wrap:hover .faq-img { transform: scale(1.05); }
.faq-img-badge { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px); border-radius: 999px; font-family: "Poppins", sans-serif; font-weight: 600; font-size: .9rem; box-shadow: var(--shadow-sm); }
.faq-img-badge i { color: var(--blue); }

.faq-item { background: #fff; border-radius: var(--radius-sm); margin-bottom: 14px; box-shadow: var(--shadow-sm); overflow: hidden; border: 1px solid transparent; transition: box-shadow .3s ease, border-color .3s ease, transform .3s ease; }
.faq-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.faq-item.open { border-color: rgba(10, 110, 189, .28); box-shadow: var(--shadow); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 20px 22px; font-size: 1.02rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: "Poppins", sans-serif; color: var(--ink); transition: color .25s ease; }
.faq-item.open .faq-q { color: var(--blue); }
.faq-q .icon { flex: none; width: 28px; height: 28px; display: grid; place-items: center; background: var(--bg); border-radius: 50%; font-size: 1.1rem; line-height: 1; transition: transform .35s ease, background .35s ease, color .35s ease; }
.faq-item.open .faq-q .icon { transform: rotate(135deg); background: var(--grad); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 22px 20px; color: var(--muted); font-size: .95rem; border-top: 1px solid var(--bg); padding-top: 14px; }

/* ---------- Contact ---------- */
.contact { background: #fff; }
.contact-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: stretch; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--bg); border-radius: var(--radius); padding: 22px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.contact-card:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.contact-ico { font-size: 1.4rem; width: 46px; height: 46px; flex: none; display: grid; place-items: center; background: #fff; border-radius: 12px; box-shadow: var(--shadow-sm); }
.contact-card h4 { font-size: 1.02rem; margin-bottom: 2px; }
.contact-card p { color: var(--muted); font-size: .9rem; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 340px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #a9b8c6; padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 34px; }
.footer-grid h4 { color: #fff; margin-bottom: 14px; font-size: 1rem; }
.footer-grid a { display: block; padding: 4px 0; font-size: .92rem; transition: color .2s ease; }
.footer-grid a:hover { color: #fff; }
.footer-grid p { font-size: .9rem; margin-bottom: 6px; }
.brand-footer { color: #fff; margin-bottom: 12px; }
.brand-footer .brand-text small { color: #8fa2b2; }
.footer-about { font-size: .9rem; max-width: 34ch; }
.footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; margin-bottom: 12px; line-height: 1.5; }
.footer-contact i { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: rgba(255, 255, 255, .08); color: var(--cyan-soft); font-size: .85rem; }
.footer-contact a { display: inline; padding: 0; }
.footer-contact a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; font-size: .85rem; }

/* ---------- Floating actions ---------- */
.fab-group { position: fixed; right: 18px; bottom: 20px; display: flex; flex-direction: column; gap: 12px; z-index: 90; }
.fab { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; color: #fff; box-shadow: var(--shadow); transition: transform .2s ease; }
.fab:hover { transform: scale(1.1); }
.fab-wa { background: var(--wa); animation: pulse-wa 2.2s infinite; }
.fab-call { background: var(--grad); animation: pulse-call 2.2s infinite; }
@keyframes pulse-wa { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
@keyframes pulse-call { 0% { box-shadow: 0 0 0 0 rgba(10,110,189,.5); } 70% { box-shadow: 0 0 0 16px rgba(10,110,189,0); } 100% { box-shadow: 0 0 0 0 rgba(10,110,189,0); } }

.to-top {
  position: fixed; left: 18px; bottom: 20px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: var(--blue); font-size: 1.2rem; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transform: translateY(10px); transition: .25s ease;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner, .about-inner, .faq-inner, .contact-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 6% 16px; box-shadow: 0 20px 30px rgba(16,42,67,.14);
    clip-path: inset(0 0 100% 0); transition: clip-path .35s ease;
  }
  .site-nav.open { clip-path: inset(0 0 0 0); }
  .site-nav a:not(.nav-cta) { padding: 13px 0; border-bottom: 1px solid #eef2f6; }
  .nav-cta { text-align: center; margin: 12px 0 4px; }
  .topbar-inner { justify-content: center; }
  .hero-stats { gap: 22px; }
  section { padding: 60px 0; }
}
@media (max-width: 440px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cta-actions .btn, .hero-actions .btn { flex: 1; }
}

/* ---------- Onload popup ---------- */
.popup-overlay {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(6, 25, 44, 0.62); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
.popup-overlay.open { opacity: 1; visibility: visible; }
.popup-box {
  position: relative; width: min(420px, 100%);
  background: var(--white); border-radius: var(--radius);
  padding: 34px 28px 30px; text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(18px) scale(.96); transition: transform .3s ease;
}
.popup-overlay.open .popup-box { transform: none; }
.popup-close {
  position: absolute; top: 10px; right: 14px;
  width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: #f0f4f8; color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer;
  transition: background .2s ease;
}
.popup-close:hover { background: #e2e8ef; }
.popup-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--grad); color: #fff; font-size: 1.4rem; margin-bottom: 12px;
}
.popup-box h3 { font-size: 1.4rem; margin-bottom: 6px; }
.popup-lead { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.popup-box .form-control {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid #d7dee6; font: inherit; color: var(--ink); outline: none;
}
.popup-box .form-control:focus { border-color: var(--blue); }
.popup-box .btn-block { width: 100%; padding: 13px; border-radius: var(--radius-sm); font: inherit; font-weight: 600; cursor: pointer; }

/* ---------- Gallery ---------- */
.gallery { padding: 76px 0; background: var(--bg, #f4f7fa); }
.gallery-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm, 12px);
  background: #e6ecf2;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(16, 42, 67, 0.08);
}
.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-video { cursor: default; }
.gallery-video video { object-fit: cover; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 20, 33, 0.9);
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.28); }

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