@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root{
  --navy:#0b1f3a;
  --navy-2:#123456;
  --navy-3:#183f68;
  --green:#12a66a;
  --green-dark:#0b8453;
  --green-soft:#e9f8f1;
  --bg:#f5f7fa;
  --card:#ffffff;
  --text:#10243f;
  --text-2:#334a62;
  --muted:#607289;
  --line:#d7e0e9;
  --line-dark:#c6d2de;
  --shadow:0 14px 38px rgba(15,35,65,.09);
  --shadow-hover:0 20px 48px rgba(15,35,65,.14);
  --radius:18px;
  --max:1280px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:var(--bg);
  color:var(--text);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button,input,select,textarea{font:inherit}
.wrap{width:min(var(--max),calc(100% - 40px));margin:auto}

.site-header{
  background:rgba(255,255,255,.97);
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:30;
  box-shadow:0 2px 12px rgba(15,35,65,.04);
  backdrop-filter:blur(10px);
}
.nav{min-height:78px;display:flex;align-items:center;gap:28px}
.brand{
  display:inline-flex;
  align-items:center;
  gap:4px;
  font-size:30px;
  font-weight:900;
  letter-spacing:-1.3px;
  color:var(--navy);
  white-space:nowrap;
  line-height:1;
}
.brand span{color:var(--green);font-size:27px}
.nav-links{
  display:flex;
  align-items:center;
  gap:22px;
  margin-left:auto;
  overflow-x:auto;
  scrollbar-width:none;
}
.nav-links::-webkit-scrollbar{display:none}
.nav-links a{
  position:relative;
  flex:0 0 auto;
  font-weight:700;
  font-size:14px;
  color:#213650;
  padding:28px 0 24px;
  transition:color .18s ease;
}
.nav-links a:hover,.nav-links a.active{color:var(--green-dark)}
.nav-links a.active:after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:16px;
  height:3px;
  border-radius:3px;
  background:var(--green);
}

.hero{
  padding:76px 0;
  background-color:#0a1d36;
  background-image:none;
  color:#fff;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.hero-grid{display:grid;grid-template-columns:1.06fr .94fr;gap:52px;align-items:center}
.eyebrow{
  color:#67e2ad;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.1em;
  font-size:13px;
}
.hero h1{
  max-width:760px;
  font-size:clamp(44px,4.4vw,60px);
  line-height:1.02;
  letter-spacing:-2.4px;
  margin:14px 0 20px;
  font-weight:900;
}
.hero p{
  font-size:19px;
  line-height:1.65;
  color:#e4edf6;
  max-width:690px;
  margin:0;
  font-weight:450;
}
.trust-row{display:flex;gap:24px;flex-wrap:wrap;margin-top:30px}
.trust-row span{font-weight:700;color:#f7fbff;font-size:14px}
.trust-row span:before{
  content:'✓';
  display:inline-grid;
  place-items:center;
  width:24px;height:24px;
  border-radius:50%;
  background:#20d98a;
  color:#082139;
  margin-right:8px;
  font-size:14px;
  font-weight:900;
}

.calc{
  background:#fff;
  color:var(--text);
  padding:30px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.4);
  box-shadow:0 28px 70px rgba(0,0,0,.24);
}
.calc h2{margin:0 0 5px;font-size:29px;line-height:1.2;letter-spacing:-.6px}
.calc .sub{color:var(--text-2);margin:0 0 24px;font-size:15px}
.form-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}
.field label{display:block;font-weight:800;font-size:13px;color:#233b56;margin-bottom:7px}
.field input,.field select,.admin-input,.admin-select,.admin-textarea{
  width:100%;
  border:1px solid var(--line-dark);
  border-radius:11px;
  background:#fff;
  padding:13px 14px;
  color:var(--text);
  outline:none;
  transition:border-color .18s,box-shadow .18s;
}
.field input:focus,.field select:focus,.admin-input:focus,.admin-select:focus,.admin-textarea:focus{
  border-color:var(--green);
  box-shadow:0 0 0 4px rgba(18,166,106,.12);
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:11px;
  padding:13px 18px;
  min-height:48px;
  font-weight:800;
  cursor:pointer;
  transition:transform .15s,box-shadow .15s,background .15s;
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:linear-gradient(135deg,var(--green),var(--green-dark));color:#fff;box-shadow:0 8px 18px rgba(18,166,106,.2)}
.btn-primary:hover{box-shadow:0 12px 24px rgba(18,166,106,.28)}
.btn-light{background:#edf3f7;color:var(--navy)}
.btn-danger{background:#fff0f0;color:#a9221a;border:1px solid #f1c7c7}
.calc .btn{width:100%;margin-top:15px}
.calc-result{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:14px;
  margin-top:17px;
  border:1px solid var(--line);
  border-radius:14px;
  padding:16px;
  background:#fbfcfd;
}
.calc-result strong{font-size:32px;line-height:1.2;color:var(--green-dark)}
.calc-result .small{color:#53677f}
.calc-note{font-size:13px!important;color:#53677f!important;margin:14px 0 0!important;line-height:1.55!important;font-weight:500}

.section{padding:56px 0}
.section-title{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}
.section-title h2{font-size:32px;line-height:1.2;letter-spacing:-.7px;margin:0;color:var(--navy)}
.section-title p{color:var(--text-2);margin:7px 0 0;font-size:15.5px}

.category-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:14px}
.category-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:24px 16px 21px;
  text-align:center;
  box-shadow:0 6px 18px rgba(15,35,65,.045);
  transition:transform .18s,border-color .18s,box-shadow .18s;
}
.category-card:hover{transform:translateY(-4px);border-color:#a8d5c0;box-shadow:var(--shadow-hover)}
.cat-icon{font-size:31px;margin-bottom:13px;filter:saturate(.9)}
.category-card h3{font-size:16px;line-height:1.3;margin:0 0 8px;color:var(--navy);font-weight:800}
.category-card p{font-size:13.5px;line-height:1.5;color:#4e6278;min-height:42px;margin:0 0 14px}
.category-card strong{font-size:13.5px;color:var(--green-dark)}

.partners{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.partner-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:17px;
  padding:21px;
  display:flex;
  flex-direction:column;
  min-height:245px;
  box-shadow:var(--shadow);
  transition:transform .18s,box-shadow .18s,border-color .18s;
}
.partner-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-hover);border-color:#bdcad6}
.partner-logo{height:66px;display:flex;align-items:center;justify-content:flex-start;margin-bottom:15px}
.partner-logo img{max-height:56px;max-width:180px;object-fit:contain}
.logo-fallback{font-size:24px;font-weight:900;color:var(--navy)}
.partner-card h3{margin:5px 0 7px;font-size:19px;line-height:1.3;color:var(--navy)}
.partner-card p{color:#40566d;font-size:14px;line-height:1.6;flex:1;margin:0}
.partner-card .small{font-size:12.5px;color:#6f8193;font-weight:700}
.partner-card .btn{margin-top:16px}

.newsletter-section{padding-top:28px}
.newsletter{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 88% 12%,rgba(24,192,131,.13),transparent 27%),
    linear-gradient(135deg,#0b2545 0%,#12385d 54%,#0a3448 100%);
  border:1px solid rgba(255,255,255,.10);
  border-radius:22px;
  padding:54px 58px;
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(430px,.92fr);
  gap:56px;
  align-items:center;
  box-shadow:0 22px 55px rgba(10,31,58,.18);
}
.newsletter:before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:120px;
  height:4px;
  border-radius:0 0 4px 0;
  background:linear-gradient(90deg,#1fc98c,#12a66a);
}
.newsletter:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(110deg,rgba(255,255,255,.02),transparent 38%);
}
.newsletter-copy,.newsletter-action{position:relative;z-index:1}
.newsletter-kicker{
  display:inline-flex;
  align-items:center;
  gap:9px;
  color:#42d7a0;
  font-size:13px;
  font-weight:900;
  letter-spacing:.1em;
  text-transform:uppercase;
  margin-bottom:16px;
}
.newsletter-kicker-icon{
  width:28px;
  height:28px;
  display:inline-grid;
  place-items:center;
  border-radius:9px;
  background:rgba(36,211,147,.12);
  border:1px solid rgba(75,222,166,.28);
  color:#67e2ad;
  font-size:14px;
}
.newsletter h2{
  margin:0 0 13px;
  font-size:34px;
  line-height:1.12;
  letter-spacing:-.8px;
  color:#fff;
  font-weight:900;
}
.newsletter p{margin:0;color:#d7e5f2;line-height:1.7;font-size:16px}
.newsletter-points{
  display:flex;
  flex-wrap:wrap;
  gap:12px 26px;
  margin-top:24px;
  color:#fff;
  font-size:14px;
  font-weight:800;
}
.newsletter-points span{display:inline-flex;align-items:center;gap:8px}
.newsletter-points span::first-letter{color:#42d7a0}
.newsletter-action{background:transparent;border:0;border-radius:0;padding:0;box-shadow:none}
.newsletter-form{display:flex;gap:12px;align-items:stretch}
.newsletter-input-wrap{position:relative;flex:1;min-width:0}
.newsletter-input-icon{
  position:absolute;
  left:18px;
  top:50%;
  transform:translateY(-50%);
  color:#71859a;
  font-weight:800;
  font-size:17px;
  pointer-events:none
}
.newsletter-form input{
  width:100%;
  min-width:0;
  height:64px;
  border:1px solid rgba(255,255,255,.75);
  border-radius:14px;
  padding:0 18px 0 50px;
  color:var(--text);
  background:#fff;
  font-size:17px;
  outline:none;
  box-shadow:0 10px 28px rgba(4,20,38,.12);
  transition:border-color .18s,box-shadow .18s,transform .18s;
}
.newsletter-form input::placeholder{color:#7b8da0}
.newsletter-form input:focus{border-color:#4bd8a5;box-shadow:0 0 0 4px rgba(62,216,160,.16),0 10px 28px rgba(4,20,38,.16)}
.newsletter-form .btn{
  height:64px;
  padding:0 28px;
  white-space:nowrap;
  border-radius:14px;
  font-size:16px;
  background:linear-gradient(135deg,#1bc282,#0da36b);
  box-shadow:0 10px 24px rgba(12,159,103,.25);
}
.newsletter-form .btn:hover{box-shadow:0 14px 30px rgba(12,159,103,.34)}
.newsletter-privacy{
  margin-top:13px!important;
  font-size:12.5px!important;
  line-height:1.55!important;
  color:#b8c8d8!important;
}
.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}
.message{padding:13px 15px;border-radius:11px;margin:16px 0;font-weight:600}
.message.success{background:#e7f7ef;color:#0b7049;border:1px solid #c6ead8}
.message.error{background:#fff0f0;color:#9f241c;border:1px solid #f3d0d0}

.footer{
  position:relative;
  overflow:hidden;
  background:#0b2740;
  color:#d6e2ec;
  margin-top:52px;
  border-top:3px solid #18b67a;
}
.footer-main{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:1.1fr .8fr 1.25fr;
  gap:64px;
  padding-top:58px;
  padding-bottom:48px;
}
.footer-brand{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#fff;
  font-size:24px;
  font-weight:850;
  letter-spacing:-.5px;
  text-decoration:none;
  margin-bottom:14px;
}
.footer-brand span{color:#21cf90;font-size:26px;line-height:1}
.footer-brand-block>p{
  max-width:360px;
  margin:0 0 20px;
  color:#c1d0dc;
  font-size:15px;
  line-height:1.7;
}
.footer-badge{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 12px;
  border:1px solid rgba(91,222,173,.23);
  border-radius:999px;
  background:rgba(30,190,132,.08);
  color:#b8eedb;
  font-size:12px;
  font-weight:750;
  letter-spacing:.1px;
}
.footer-column h3{
  margin:2px 0 17px;
  color:#fff;
  font-size:14px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.footer-links{
  display:grid;
  gap:10px;
}
.footer-links a{
  width:max-content;
  max-width:100%;
  color:#c7d6e2;
  font-size:14px;
  font-weight:600;
  text-decoration:none;
  transition:color .18s ease,transform .18s ease;
}
.footer-links a:hover{color:#4bd8a5;transform:translateX(3px)}
.footer-info p{
  margin:0 0 10px;
  color:#bdcddb;
  font-size:13.5px;
  line-height:1.65;
}
.footer-info-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:8px;
  color:#5be0af;
  font-size:14px;
  font-weight:800;
  text-decoration:none;
}
.footer-info-link:hover{color:#86ecc7}
.footer-bottom{
  position:relative;
  z-index:1;
  border-top:1px solid rgba(255,255,255,.08);
  background:rgba(0,0,0,.08);
}
.footer-bottom-inner{
  min-height:56px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  color:#91a7b9;
  font-size:12.5px;
}

.info-page{background:#f4f7fa;padding:64px 0 80px}
.info-card{max-width:920px;margin:0 auto;background:#fff;border:1px solid #dfe7ee;border-radius:18px;padding:42px 46px;box-shadow:0 16px 40px rgba(12,34,57,.06)}
.info-card h1{margin:0 0 10px;color:#0b223d;font-size:44px;line-height:1.08;letter-spacing:-.03em}
.info-card .lead{margin:0 0 30px;color:#546b80;font-size:18px;line-height:1.7}
.info-card h2{margin:30px 0 10px;color:#102a43;font-size:23px}
.info-card p{margin:0 0 14px;color:#40566b;font-size:16px;line-height:1.75}
.info-note{margin-top:28px;padding:18px 20px;border-left:4px solid #18b67a;background:#eef9f5;border-radius:10px;color:#27495b}
@media(max-width:700px){.info-page{padding:34px 0 54px}.info-card{padding:28px 22px;border-radius:14px}.info-card h1{font-size:34px}}

.small{font-size:13px;color:var(--muted);line-height:1.6}

@media(max-width:1180px){
  .category-grid{grid-template-columns:repeat(4,1fr)}
  .partners{grid-template-columns:repeat(3,1fr)}
  .nav{gap:18px}
  .nav-links{gap:17px}
  .nav-links a{font-size:13px}
}
@media(max-width:900px){
  .wrap{width:min(var(--max),calc(100% - 30px))}
  .nav{min-height:auto;align-items:flex-start;flex-direction:column;gap:8px;padding:16px 0 11px}
  .nav-links{width:100%;margin-left:0;padding-bottom:2px;gap:20px}
  .nav-links a{padding:8px 0 10px}
  .nav-links a.active:after{bottom:3px}
  .hero-grid{grid-template-columns:1fr}
  .hero{padding:54px 0}
  .hero h1{font-size:clamp(42px,8vw,60px)}
  .form-grid{grid-template-columns:1fr}
  .category-grid{grid-template-columns:repeat(2,1fr)}
  .partners{grid-template-columns:repeat(2,1fr)}
  .newsletter{grid-template-columns:1fr;gap:30px;padding:40px}
  .newsletter-form{flex-direction:column}
  .newsletter-form .btn{width:100%}
  .footer-main{grid-template-columns:1fr 1fr;gap:38px}
  .footer-info{grid-column:1/-1}
  .calc-result{grid-template-columns:1fr}
}
@media(max-width:560px){
  .footer-main{grid-template-columns:1fr;gap:30px;padding-top:42px;padding-bottom:34px}
  .footer-info{grid-column:auto}
  .footer-bottom-inner{min-height:68px;align-items:flex-start;justify-content:center;flex-direction:column;gap:4px;padding-top:14px;padding-bottom:14px}
  .footer-links{grid-template-columns:1fr 1fr;gap:11px 18px}

  body{font-size:15px}
  .wrap{width:min(100% - 22px,var(--max))}
  .brand{font-size:27px}
  .nav-links{gap:16px}
  .nav-links a{font-size:13px}
  .hero{padding:42px 0}
  .hero h1{font-size:41px;letter-spacing:-1.5px}
  .hero p{font-size:17px}
  .trust-row{gap:13px;flex-direction:column}
  .calc{padding:21px}
  .section{padding:42px 0}
  .section-title h2{font-size:27px}
  .category-grid,.partners{grid-template-columns:1fr}
  .category-card{text-align:left;padding:20px}
  .cat-icon{margin-bottom:8px}
  .category-card p{min-height:0}
  .newsletter{padding:32px 22px;border-radius:20px}
  .newsletter h2{font-size:28px}
  .newsletter-action{padding:0}
  .newsletter-points{gap:10px 16px;flex-direction:column}
  .newsletter-form input,.newsletter-form .btn{height:58px}
}

/* =========================================================
   MOBILE HEADER / HAMBURGER MENU
   ========================================================= */
.menu-toggle{
  display:none;
  width:46px;
  height:46px;
  margin-left:auto;
  padding:10px;
  border:0;
  border-radius:10px;
  background:transparent;
  cursor:pointer;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:6px;
}
.menu-toggle span{
  display:block;
  width:27px;
  height:3px;
  border-radius:4px;
  background:var(--navy);
  transition:transform .2s ease,opacity .2s ease;
}
.menu-toggle.is-open span:nth-child(1){transform:translateY(9px) rotate(45deg)}
.menu-toggle.is-open span:nth-child(2){opacity:0}
.menu-toggle.is-open span:nth-child(3){transform:translateY(-9px) rotate(-45deg)}

@media(max-width:900px){
  .nav{
    min-height:76px;
    padding:0;
    flex-direction:row;
    align-items:center;
    gap:16px;
    flex-wrap:wrap;
  }
  .menu-toggle{display:flex}
  .nav-links{
    display:none;
    width:calc(100% + 30px);
    margin:0 -15px;
    padding:8px 15px 18px;
    border-top:1px solid var(--line);
    background:#fff;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    overflow:visible;
  }
  .nav-links.is-open{display:flex}
  .nav-links a{
    display:block;
    width:100%;
    padding:12px 4px;
    border-bottom:1px solid #edf1f5;
    font-size:15px;
    line-height:1.35;
  }
  .nav-links a:last-child{border-bottom:0}
  .nav-links a.active:after{display:none}
  .nav-links a.active{color:var(--green-dark)}
}

@media(max-width:560px){
  .nav{min-height:70px}
  .brand{font-size:27px}
  .menu-toggle{width:44px;height:44px;padding:9px}
  .menu-toggle span{width:26px}
  .nav-links{
    width:calc(100% + 22px);
    margin:0 -11px;
    padding:7px 11px 16px;
  }
}

/* =========================================================
   V11 — MOBILE CATEGORY SECTION SPACING
   ========================================================= */
@media(max-width:560px){
  /* Give the category section proper breathing room on both sides. */
  .section:has(.category-grid) > .wrap{
    width:calc(100% - 40px);
    max-width:var(--max);
  }
  .section:has(.category-grid) .section-title{
    margin-bottom:20px;
  }
  .section:has(.category-grid) .category-grid{
    gap:16px;
  }
  .section:has(.category-grid) .category-card{
    padding:22px;
    border-radius:16px;
  }
}

/* =========================================================
   V12 — COMPACT MOBILE CATEGORY CARDS
   ========================================================= */
@media(max-width:560px){
  .section:has(.category-grid){
    padding-top:34px;
    padding-bottom:38px;
  }
  .section:has(.category-grid) .section-title{
    margin-bottom:16px;
  }
  .section:has(.category-grid) .section-title h2{
    font-size:26px;
    line-height:1.15;
  }
  .section:has(.category-grid) .section-title p{
    margin-top:6px;
    font-size:15px;
    line-height:1.45;
  }
  .section:has(.category-grid) .category-grid{
    gap:12px;
  }
  .section:has(.category-grid) .category-card{
    padding:16px 18px 15px;
    border-radius:15px;
  }
  .section:has(.category-grid) .cat-icon{
    font-size:27px;
    margin-bottom:7px;
    line-height:1;
  }
  .section:has(.category-grid) .category-card h3{
    font-size:20px;
    line-height:1.2;
    margin-bottom:5px;
  }
  .section:has(.category-grid) .category-card p{
    font-size:15px;
    line-height:1.4;
    margin-bottom:9px;
  }
  .section:has(.category-grid) .category-card strong{
    font-size:15px;
    line-height:1.3;
  }
}
