:root{
  --bg: #0f0f10;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #6b7280;
  --line: rgba(17,24,39,.10);
  --blue: #1f66d1;
  --yellow: #f7c948;
  --cta: #1a8f2a;
  --ctaHover: #157a22;
  --shadow: 0 24px 70px rgba(0,0,0,.22);
  --radius: 22px;
  --inputBg: #f3f4f6;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* ===== NAVBAR ===== */
.navbar{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 6px 28px;
  transition: background .3s, box-shadow .3s;
}
.navbar--scrolled{
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,.10);
}
.navbar__logo{
  height: 110px;
  width: auto;
  object-fit: contain;
  transition: filter .3s;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.30));
}
.navbar--scrolled .navbar__logo{
  filter: none;
}

.layout{
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 540px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.18) 58%, rgba(0,0,0,0) 100%),
    url("assets/hero.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero{ min-height: 100vh; }

.hero__copy{
  height: calc(100vh - 80px);
  display: flex;
  align-items: flex-end;
  padding: 0 24px 54px 24px;
}

/* Navbar shrinks on scroll for cleaner look */

.headline{ margin:0; line-height:.92; letter-spacing:-0.02em; text-shadow:0 10px 30px rgba(0,0,0,.35); }
.headline__who{ display:block; font-weight:900; color:#fff; font-size:clamp(40px,5vw,72px); }
.headline__your{ display:block; font-weight:900; color:var(--yellow); font-size:clamp(88px,9vw,156px); }
.headline__beneficiary{ display:block; font-weight:900; color:#fff; font-size:clamp(40px,5vw,72px); }

.side{
  position: relative;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  padding: 28px;
}

.side::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card{
  position: relative;
  z-index: 1;
  width: min(500px, 100%);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card__tabs{
  padding: 18px 22px 0 22px;
  border-bottom: 1px solid rgba(229,231,235,1);
  background: #fff;
}

.card__tab{ font-weight:700; padding:8px 0 12px 0; color:#111827; }
.card__underline{ width:120px; height:3px; background:var(--blue); border-radius:999px; margin-bottom:10px; }

.card__body{ padding: 18px 22px 22px 22px; }
.card__title{ margin:10px 0 16px 0; font-size:18px; font-weight:800; color:#111827; }

.grid{ display:grid; gap:12px; margin-bottom:12px; }
.grid--1{ grid-template-columns:1fr; }
.grid--2{ grid-template-columns:1fr 1fr; }
.grid--3{ grid-template-columns:1fr 1fr 1fr; }

.field input,
.field select{
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  font-size: 14px;
  outline: none;
  background: var(--inputBg);
  color: #111827;
}

.field input::placeholder{ color:#6b7280; }

.field select{
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px 18px;
  padding-right: 42px;
  color: #6b7280;
}
.field select:valid{ color:#111827; }

.field input:focus,
.field select:focus{
  border-color: rgba(31,102,209,.45);
  box-shadow: 0 0 0 4px rgba(31,102,209,.12);
  background: #ffffff;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 190px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: var(--cta);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  margin-top: 6px;
}
.btn:hover{ background: var(--ctaHover); }
.btn:active{ transform: translateY(1px); }

.fineprint{ margin:14px 0 0 0; font-size:11px; line-height:1.35; color:var(--muted); }
.fineprint--small{ margin-top:10px; }
.toast{ display:none; margin-top:12px; font-size:12px; color:#0f172a; }


/* ===== STATS BAR ===== */
.stats-bar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, #1a3a5c 0%, #1e4976 55%, #2a6496 100%);
  padding: 18px 40px;
  gap: 40px;
  flex-wrap: wrap;
}
.stats-bar__left{
  display: flex;
  align-items: center;
  gap: 16px;
}
.stats-bar__icon{ flex-shrink: 0; }
.stats-bar__main{
  margin: 0;
  color: #fff;
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 500;
}
.stats-bar__main strong{ font-weight: 900; color: #fff; }
.stats-bar__right{
  text-align: right;
  color: #fff;
  font-size: clamp(12px, 1.5vw, 14px);
  line-height: 1.5;
  max-width: 340px;
}
.stats-bar__right strong{ font-weight: 800; }
.stats-bar__footnote{
  display: block;
  font-size: 11px;
  opacity: .65;
  margin-top: 4px;
  font-style: italic;
}

/* ===== INFO SECTION ===== */
.info-section{
  background: #fff;
  padding: 56px 40px 64px;
}
.info-section__inner{
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.info-section__title{
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 900;
  color: #111827;
  margin: 0 0 16px 0;
  line-height: 1.25;
}
.info-section__lead{
  font-size: 15px;
  color: #374151;
  line-height: 1.65;
  margin: 0 0 28px 0;
}
.info-product{
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}
.info-product__icon{ flex-shrink: 0; margin-top: 2px; }
.info-product__name{ margin: 0 0 4px 0; font-size: 16px; color: #111; }
.info-product__desc{ margin: 0; font-size: 13px; color: #6b7280; line-height: 1.5; }

.btn-contact{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1e3a5f;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  padding: 13px 42px;
  border-radius: 999px;
  text-decoration: none;
  margin-bottom: 32px;
  transition: background .2s;
}
.btn-contact:hover{ background: #163058; }

.info-section__ways{
  font-size: 15px;
  color: #374151;
  line-height: 1.65;
  margin: 0 0 28px 0;
  padding-top: 8px;
  border-top: 1px solid #e5e7eb;
}

.buy-options{ display: flex; flex-direction: column; }
.buy-option{
  padding: 18px 0;
  border-bottom: 1px dashed #d1d5db;
}
.buy-option--last{ border-bottom: none; }
.buy-option__title{
  font-size: 15px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 6px 0;
}
.buy-option__desc{
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
  margin: 0 0 12px 0;
}
.buy-option__phone{
  font-size: 14px;
  color: #111827;
  margin: 0;
}
.btn-green{
  display: inline-flex;
  align-items: center;
  background: #1a8f2a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 999px;
  text-decoration: none;
  transition: background .2s;
}
.btn-green:hover{ background: #157a22; }

.info-section__image-wrap{
  position: sticky;
  top: 20px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
}
.info-section__image{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ===== FOOTER ===== */
.site-footer{
  background: linear-gradient(160deg, #1a3a5c 0%, #1e4976 100%);
  padding: 52px 40px 32px;
  color: #cbd5e1;
}
.site-footer__inner{
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.site-footer__logo{
  height: 64px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  margin-bottom: 14px;
  display: block;
}
.site-footer__tagline{
  font-size: 13px;
  line-height: 1.65;
  color: #94a3b8;
  margin: 0 0 14px 0;
}
.site-footer__copy{
  font-size: 11px;
  color: #64748b;
  margin: 0;
}
.site-footer__heading{
  font-size: 13px;
  font-weight: 800;
  color: #f1f5f9;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 16px 0;
}
.site-footer__links ul{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-footer__links a{
  color: #94a3b8;
  text-decoration: none;
  font-size: 13px;
  transition: color .2s;
}
.site-footer__links a:hover{ color: #f1f5f9; }

.social-icons{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.social-icon{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  text-decoration: none;
  transition: background .2s, color .2s;
  border: 1px solid rgba(255,255,255,.12);
}
.social-icon:hover{
  background: #1a8f2a;
  color: #fff;
  border-color: transparent;
}
.site-footer__contact-info{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 4px;
}
.footer-contact-card{
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  padding: 11px 16px;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.footer-contact-card:hover{
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.22);
}
.footer-contact-icon{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1a8f2a;
  color: #fff;
  flex-shrink: 0;
}
.footer-contact-text{
  font-size: 13px;
  color: #e2e8f0;
  font-weight: 500;
}
.btn-contact--footer{
  display: inline-flex;
  margin-top: 20px;
  font-size: 14px;
  padding: 11px 32px;
  background: #1a8f2a;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: background .2s;
}
.btn-contact--footer:hover{ background: #157a22; }

/* ===== WELCOME POPUP ===== */
.popup-overlay{
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn .35s ease;
}
.popup-overlay.hidden{
  display: none;
}
.popup{
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 32px 80px rgba(0,0,0,.28);
  max-width: 420px;
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: slideUp .4s ease;
}
.popup__close{
  position: absolute;
  top: 14px;
  right: 16px;
  background: #f3f4f6;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 14px;
  cursor: pointer;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 2;
}
.popup__close:hover{ background: #e5e7eb; color: #111; }
.popup__agent{
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  object-position: center top;
  background: #0f1b2d;
}
.popup__body{
  padding: 22px 28px 28px;
  text-align: center;
}
.popup__greeting{
  margin: 0 0 2px 0;
  font-size: 13px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.popup__name{
  margin: 0 0 4px 0;
  font-size: 26px;
  font-weight: 900;
  color: #111827;
}
.popup__role{
  margin: 0 0 14px 0;
  font-size: 13px;
  color: #1f66d1;
  font-weight: 600;
}
.popup__msg{
  margin: 0 0 22px 0;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.65;
}
.popup__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1a8f2a;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  padding: 13px 44px;
  border-radius: 999px;
  text-decoration: none;
  transition: background .2s;
}
.popup__btn:hover{ background: #157a22; }

@keyframes fadeIn{
  from{ opacity:0; } to{ opacity:1; }
}
@keyframes slideUp{
  from{ transform: translateY(40px); opacity:0; }
  to{ transform: translateY(0); opacity:1; }
}
@media (max-width: 900px){
  .info-section__inner{
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .info-section__image-wrap{
    position: static;
    order: -1;
  }
  .site-footer__inner{
    grid-template-columns: 1fr 1fr;
  }
  .stats-bar{
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .stats-bar__right{ text-align: left; }
}
@media (max-width: 600px){
  .info-section{ padding: 36px 20px 48px; }
  .stats-bar{ padding: 16px 20px; }
  .site-footer{ padding: 40px 20px 24px; }
  .site-footer__inner{ grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px){
  .layout{ grid-template-columns: 1fr; }
  .hero{ min-height: 56vh; }
  .hero__copy{
    height: auto;
    padding-top: 120px;
    padding-bottom: 40px;
  }
  .side{ padding:18px; justify-content: center; }
  .navbar{ padding: 4px 16px; }
  .navbar__logo{ height: 70px; }
}

@media (max-width: 520px){
  .grid--2, .grid--3{ grid-template-columns: 1fr; }
  .btn{ width:100%; height:46px; }
}
