
:root{
  --blue:#0b3d73;
  --blue-dark:#061b33;
  --blue-soft:#eaf5ff;
  --accent:#38bdf8;
  --text:#142033;
  --muted:#607086;
  --border:#dbe7f3;
  --bg:#f6f9fc;
  --white:#fff;
  --shadow:0 16px 50px rgba(7, 35, 70, .12);
  --radius:22px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,system-ui,-apple-system,Segoe UI,sans-serif;color:var(--text);background:var(--white);line-height:1.55}
a{color:var(--blue);text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(1160px,calc(100% - 32px));margin-inline:auto}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid var(--border)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:8px 0;min-height:72px}
.logo img{width:92px;height:auto;object-fit:contain}
.main-nav{display:flex;align-items:center;gap:20px;font-weight:700}
.nav-dropdown{position:relative}
.nav-drop-btn{border:0;background:transparent;color:var(--blue);font:inherit;font-weight:700;cursor:pointer;padding:12px}
.nav-dropdown-menu{position:absolute;top:100%;left:0;display:none;width:310px;background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow);padding:10px}
.nav-dropdown:hover .nav-dropdown-menu{display:grid}
.nav-dropdown-menu a{padding:9px 12px;border-radius:10px}
.nav-dropdown-menu a:hover{background:var(--blue-soft)}
.header-actions{display:flex;align-items:center;gap:12px}
.phone-link{font-weight:800;color:var(--text)}
.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:13px 20px;border:1px solid transparent;font-weight:800;cursor:pointer;transition:.2s}
.btn-primary{background:var(--blue);color:#fff}
.btn-primary:hover{background:var(--blue-dark);transform:translateY(-1px)}
.btn-secondary{background:#fff;color:var(--blue);border-color:var(--border)}
.burger{display:none;background:#fff;border:1px solid var(--border);border-radius:12px;padding:10px}
.burger span{display:block;width:24px;height:2px;background:var(--blue-dark);margin:5px}
.mobile-menu{display:none}
.hero{background:linear-gradient(135deg,#f3fbff 0%,#ffffff 42%,#d8ecff 68%,#67b7ff 100%);padding:42px 0 0;overflow:hidden;position:relative;}
.hero-grid{display:grid;grid-template-columns:0.95fr 1.05fr;gap:34px;align-items:start;}
.eyebrow{display:inline-flex;gap:8px;background:#fff;border:1px solid var(--border);border-radius:999px;padding:8px 13px;color:var(--blue);font-weight:800;margin-bottom:16px}
h1{font-size:clamp(34px,4.4vw,54px);line-height:1.05;margin:0 0 18px;color:var(--blue-dark)}
h2{font-size:clamp(28px,4vw,42px);line-height:1.15;margin:0 0 16px;color:var(--blue-dark)}
h3{font-size:22px;margin:0 0 8px}
.lead{font-size:19px;color:#35465b;margin:0 0 20px;max-width:620px}
.hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}
.badges{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:18px;max-width:620px}
.badge{background:#fff;border:1px solid var(--border);border-radius:14px;padding:12px 14px;font-weight:800;min-height:62px;display:flex;align-items:center}
.hero-card{background:transparent;border:0;border-radius:0;padding:0;box-shadow:none;min-height:0;display:flex;align-items:flex-start;justify-content:center;position:relative;overflow:visible;}
.hero-card img{border-radius:0;object-fit:contain;width:auto;height:clamp(540px,62vh,660px);max-width:100%;margin:0 auto -42px;filter:drop-shadow(0 24px 34px rgba(7,35,70,.18));}
.placeholder-master{height:470px;border-radius:24px;background:linear-gradient(135deg,#dff2ff,#fff);display:grid;place-items:center;text-align:center;padding:24px;color:var(--blue);font-weight:800}
.section{padding:70px 0}
.section-soft{background:var(--bg)}
.section-head{max-width:780px;margin-bottom:30px}
.grid{display:grid;gap:20px}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}
.card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:24px;box-shadow:0 8px 28px rgba(8,34,68,.06)}
.service-card{display:flex;flex-direction:column;gap:12px}
.card p{color:var(--muted)}
.card-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:auto}
.steps{counter-reset:step;display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.step{background:#fff;border:1px solid var(--border);border-radius:18px;padding:20px}
.step:before{counter-increment:step;content:counter(step);display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--blue);color:#fff;font-weight:900;margin-bottom:12px}
.works-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
.work-card{background:#fff;border:1px solid var(--border);border-radius:22px;overflow:hidden;box-shadow:0 8px 28px rgba(8,34,68,.06)}
.work-card img{width:100%;aspect-ratio:16/9;object-fit:cover}
.work-card .content{padding:18px}
.price-table{width:100%;border-collapse:collapse;background:#fff;border-radius:20px;overflow:hidden;border:1px solid var(--border)}
.price-table th,.price-table td{padding:16px;border-bottom:1px solid var(--border);text-align:left}
.price-table th{background:var(--blue);color:#fff}
.price-table tr:last-child td{border-bottom:0}
.cta{background:linear-gradient(135deg,var(--blue),var(--blue-dark));color:#fff;border-radius:34px;padding:40px;display:grid;grid-template-columns:1fr 420px;gap:30px;align-items:start}
.cta h2,.cta p{color:#fff}
.lead-form{background:#fff;color:var(--text);border-radius:24px;padding:24px;box-shadow:var(--shadow)}
.lead-form label{display:grid;gap:6px;margin-bottom:12px;font-weight:800}
.lead-form input{width:100%;padding:14px 15px;border:1px solid var(--border);border-radius:14px;font:inherit}
.lead-form small{display:block;color:var(--muted);margin-top:12px}
.form-status{font-weight:800;color:var(--blue);margin-top:12px}
.site-footer{background:var(--blue-dark);color:#dcecff;padding:48px 0 80px}
.site-footer a{color:#fff}
.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:30px}
.mobile-bottom-bar{display:none}
.page-hero{padding:64px 0;background:linear-gradient(135deg,#eff8ff,#fff)}
.content-page{padding:60px 0}
.prose{max-width:850px}
.prose p{color:var(--muted)}
.list-check{padding-left:0;list-style:none}
.list-check li{margin:10px 0;padding-left:30px;position:relative}
.list-check li:before{content:"✓";position:absolute;left:0;color:var(--blue);font-weight:900}
@media (max-width: 920px){
  .hero{background:linear-gradient(135deg,#f3fbff 0%,#ffffff 42%,#d8ecff 68%,#67b7ff 100%);padding:42px 0 0;overflow:hidden;position:relative;}
  .hero-grid{display:grid;grid-template-columns:0.95fr 1.05fr;gap:34px;align-items:start;}
  .hero-card{background:transparent;border:0;border-radius:0;padding:0;box-shadow:none;min-height:0;display:flex;align-items:flex-start;justify-content:center;position:relative;overflow:visible;}
  .hero-card img{border-radius:0;object-fit:contain;width:auto;height:clamp(540px,62vh,660px);max-width:100%;margin:0 auto -42px;filter:drop-shadow(0 24px 34px rgba(7,35,70,.18));}

  .hero{background:linear-gradient(135deg,#f3fbff 0%,#ffffff 42%,#d8ecff 68%,#67b7ff 100%);padding:42px 0 0;overflow:hidden;position:relative;}
  .hero-grid{display:grid;grid-template-columns:0.95fr 1.05fr;gap:34px;align-items:start;}
  .hero-card{background:transparent;border:0;border-radius:0;padding:0;box-shadow:none;min-height:0;display:flex;align-items:flex-start;justify-content:center;position:relative;overflow:visible;}
  .hero-card img{border-radius:0;object-fit:contain;width:auto;height:clamp(540px,62vh,660px);max-width:100%;margin:0 auto -42px;filter:drop-shadow(0 24px 34px rgba(7,35,70,.18));}

  .main-nav,.header-actions{display:none}
  .burger{display:block}
  .mobile-menu.open{display:grid;position:fixed;top:75px;left:16px;right:16px;z-index:60;background:#fff;border:1px solid var(--border);border-radius:20px;box-shadow:var(--shadow);padding:16px;gap:10px}
  .hero-grid,.cta{grid-template-columns:1fr}
  .badges,.grid-3,.grid-4,.steps,.works-grid,.footer-grid{grid-template-columns:1fr}
  .section{padding:52px 0}
  .mobile-bottom-bar{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;bottom:0;left:0;right:0;z-index:70;background:#fff;border-top:1px solid var(--border)}
  .mobile-bottom-bar a{text-align:center;padding:12px 6px;font-size:13px;font-weight:800}
  body{padding-bottom:58px}
}


/* v2 hero refinement */
.logo img{width:92px;height:auto;object-fit:contain}
.site-header{
  background:rgba(255,255,255,.97);
}
.hero{background:linear-gradient(135deg,#f3fbff 0%,#ffffff 42%,#d8ecff 68%,#67b7ff 100%);padding:42px 0 0;overflow:hidden;position:relative;}
.hero:after{
  content:"";
  position:absolute;
  right:0;
  bottom:0;
  width:55%;
  height:82%;
  background:
    radial-gradient(circle at 62% 48%, rgba(255,255,255,.42), transparent 28%),
    linear-gradient(145deg, transparent 0%, rgba(56,149,255,.18) 42%, rgba(0,105,220,.55) 100%);
  clip-path: ellipse(72% 62% at 72% 58%);
  pointer-events:none;
}
.hero-grid{display:grid;grid-template-columns:0.95fr 1.05fr;gap:34px;align-items:start;}
.hero .lead{font-size:19px;color:#35465b;margin:0 0 20px;max-width:620px}
.hero-visual{
  position:relative;
  min-height:620px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  overflow:visible;
}
.hero-master-img{
  width:min(760px, 100%);
  max-height:720px;
  object-fit:contain;
  object-position:center bottom;
  filter:drop-shadow(0 34px 54px rgba(7,35,70,.18));
  border:0;
  border-radius:0;
  background:transparent;
}
.hero-card{background:transparent;border:0;border-radius:0;padding:0;box-shadow:none;min-height:0;display:flex;align-items:flex-start;justify-content:center;position:relative;overflow:visible;}
.hero-actions-wide{
  max-width:720px;
}
.hero-actions-wide .btn{
  min-height:52px;
}
.badges .badge{background:#fff;border:1px solid var(--border);border-radius:14px;padding:12px 14px;font-weight:800;min-height:62px;display:flex;align-items:center}
@media (max-width: 920px){
  .hero{background:linear-gradient(135deg,#f3fbff 0%,#ffffff 42%,#d8ecff 68%,#67b7ff 100%);padding:42px 0 0;overflow:hidden;position:relative;}
  .hero-grid{display:grid;grid-template-columns:0.95fr 1.05fr;gap:34px;align-items:start;}
  .hero-card{background:transparent;border:0;border-radius:0;padding:0;box-shadow:none;min-height:0;display:flex;align-items:flex-start;justify-content:center;position:relative;overflow:visible;}
  .hero-card img{border-radius:0;object-fit:contain;width:auto;height:clamp(540px,62vh,660px);max-width:100%;margin:0 auto -42px;filter:drop-shadow(0 24px 34px rgba(7,35,70,.18));}

  .logo img{width:92px;height:auto;object-fit:contain}
  .hero{background:linear-gradient(135deg,#f3fbff 0%,#ffffff 42%,#d8ecff 68%,#67b7ff 100%);padding:42px 0 0;overflow:hidden;position:relative;}
  .hero:after{
    width:100%;
    height:48%;
    opacity:.65;
  }
  .hero-grid{display:grid;grid-template-columns:0.95fr 1.05fr;gap:34px;align-items:start;}
  .hero-visual{
    min-height:420px;
    order:-1;
  }
  .hero-master-img{
    max-height:460px;
  }
}


/* v3 fixed hero: no rectangular image block, only cutout portrait */
.hero{background:linear-gradient(135deg,#f3fbff 0%,#ffffff 42%,#d8ecff 68%,#67b7ff 100%);padding:42px 0 0;overflow:hidden;position:relative;}
.hero:after{
  display:none;
}
.hero-grid{display:grid;grid-template-columns:0.95fr 1.05fr;gap:34px;align-items:start;}
.hero h1{font-size:clamp(34px,4.4vw,54px);line-height:1.05;margin:0 0 18px;color:var(--blue-dark)}
.hero .lead{font-size:19px;color:#35465b;margin:0 0 20px;max-width:620px}
.hero-visual{
  position:relative;
  min-height:620px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  overflow:visible;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
}
.hero-gradient-shape{
  position:absolute;
  pointer-events:none;
  z-index:0;
}
.hero-gradient-shape-one{
  width:820px;
  height:620px;
  right:-110px;
  bottom:-72px;
  border-radius:55% 45% 0 45%;
  background:linear-gradient(135deg, rgba(240,248,255,.2), rgba(92,178,255,.35), rgba(0,105,220,.58));
  clip-path:ellipse(72% 58% at 70% 60%);
}
.hero-gradient-shape-two{
  width:560px;
  height:560px;
  right:120px;
  bottom:60px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,255,255,.34), rgba(255,255,255,.08) 48%, transparent 70%);
  border:1px solid rgba(255,255,255,.38);
}
.hero-master-img{
  position:relative;
  z-index:2;
  width:min(620px, 100%);
  max-height:650px;
  object-fit:contain;
  object-position:center bottom;
  filter:drop-shadow(0 32px 34px rgba(5, 35, 70, .18));
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}
.logo img{width:92px;height:auto;object-fit:contain}
.site-header .container{
  max-width:1160px;
}
@media (max-width: 920px){
  .hero{background:linear-gradient(135deg,#f3fbff 0%,#ffffff 42%,#d8ecff 68%,#67b7ff 100%);padding:42px 0 0;overflow:hidden;position:relative;}
  .hero-grid{display:grid;grid-template-columns:0.95fr 1.05fr;gap:34px;align-items:start;}
  .hero-card{background:transparent;border:0;border-radius:0;padding:0;box-shadow:none;min-height:0;display:flex;align-items:flex-start;justify-content:center;position:relative;overflow:visible;}
  .hero-card img{border-radius:0;object-fit:contain;width:auto;height:clamp(540px,62vh,660px);max-width:100%;margin:0 auto -42px;filter:drop-shadow(0 24px 34px rgba(7,35,70,.18));}

  .hero{background:linear-gradient(135deg,#f3fbff 0%,#ffffff 42%,#d8ecff 68%,#67b7ff 100%);padding:42px 0 0;overflow:hidden;position:relative;}
  .hero-grid{display:grid;grid-template-columns:0.95fr 1.05fr;gap:34px;align-items:start;}
  .hero-visual{
    min-height:440px;
    order:-1;
  }
  .hero-master-img{
    max-height:440px;
    width:min(430px, 100%);
  }
  .hero-gradient-shape-one{
    width:100%;
    height:360px;
    right:-60px;
    bottom:0;
  }
  .hero-gradient-shape-two{
    width:380px;
    height:380px;
    right:0;
    bottom:40px;
  }
}


/* Hero alignment fix */
@media (min-width: 921px){
  .hero .container{
    position:relative;
  }
}

@media (max-width: 920px){
  .hero{
    padding:34px 0 0;
    min-height:auto;
  }
  .hero-grid{
    grid-template-columns:1fr;
    gap:20px;
    align-items:center;
  }
  .hero-card{
    min-height:0;
    height:auto;
    margin-top:4px;
  }
  .hero-card img{
    height:auto;
    width:min(100%,460px);
    max-height:520px;
    margin:0 auto;
  }
}


/* === HERO REDESIGN: compact, balanced first screen === */
@media (min-width: 921px){
  .site-header{
    height:72px;
  }

  .header-inner{
    min-height:72px;
    padding:6px 0;
  }

  .logo img{
    width:88px;
    height:auto;
    object-fit:contain;
  }

  .hero{
    padding:34px 0 0;
    min-height:auto;
    background:
      radial-gradient(circle at 78% 62%, rgba(57, 159, 255, .42) 0%, rgba(57, 159, 255, .28) 27%, rgba(57, 159, 255, .12) 45%, rgba(57, 159, 255, 0) 66%),
      linear-gradient(135deg,#f5fbff 0%,#ffffff 43%,#e5f3ff 68%,#8dcbff 100%);
    overflow:hidden;
  }

  .hero-grid{
    display:grid;
    grid-template-columns:minmax(450px, .92fr) minmax(480px, 1.08fr);
    gap:38px;
    align-items:start;
  }

  .hero-grid > div:first-child{
    padding-top:8px;
    padding-bottom:34px;
  }

  .eyebrow{
    margin-bottom:14px;
  }

  h1{
    font-size:clamp(38px, 4.15vw, 58px);
    line-height:1.03;
    margin:0 0 18px;
    letter-spacing:-.035em;
  }

  .lead{
    font-size:18px;
    line-height:1.55;
    max-width:590px;
    margin:0 0 18px;
  }

  .hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin:18px 0 10px;
  }

  .hero-actions-main .btn{
    min-width:185px;
  }

  .messenger-line{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px 12px;
    margin:0 0 18px;
    color:#607086;
    font-weight:700;
  }

  .messenger-line a{
    color:var(--blue);
    background:#fff;
    border:1px solid var(--border);
    border-radius:999px;
    padding:7px 13px;
    font-weight:800;
    box-shadow:0 6px 18px rgba(8,34,68,.05);
  }

  .badges{
    display:grid;
    grid-template-columns:repeat(3, minmax(0,1fr));
    gap:10px;
    max-width:600px;
    margin-top:14px;
  }

  .badge{
    min-height:54px;
    padding:10px 13px;
    border-radius:14px;
    font-size:15px;
    line-height:1.25;
    display:flex;
    align-items:center;
    background:rgba(255,255,255,.84);
    backdrop-filter:blur(8px);
  }

  .hero-card{
    background:transparent;
    border:0;
    box-shadow:none;
    border-radius:0;
    padding:0;
    min-height:0;
    height:100%;
    display:flex;
    align-items:flex-start;
    justify-content:center;
    overflow:visible;
    position:relative;
  }

  .hero-card::before{
    content:"";
    position:absolute;
    right:5%;
    bottom:0;
    width:min(560px,82%);
    height:78%;
    border-radius:46% 46% 0 0;
    background:linear-gradient(145deg,rgba(220,241,255,.75),rgba(52,154,255,.72));
    z-index:0;
  }

  .hero-card img{
    position:relative;
    z-index:1;
    width:auto;
    height:clamp(560px, 68vh, 700px);
    max-width:112%;
    object-fit:contain;
    object-position:center bottom;
    margin:-6px auto 0;
    filter:drop-shadow(0 26px 34px rgba(7,35,70,.18));
  }
}

/* Notebook height optimization */
@media (min-width: 921px) and (max-height: 820px){
  .hero{
    padding-top:26px;
  }
  .hero-grid > div:first-child{
    padding-top:0;
    padding-bottom:24px;
  }
  h1{
    font-size:clamp(36px, 3.8vw, 52px);
    margin-bottom:14px;
  }
  .lead{
    font-size:17px;
    line-height:1.48;
    margin-bottom:14px;
  }
  .hero-actions{
    margin:14px 0 8px;
  }
  .messenger-line{
    margin-bottom:12px;
  }
  .badge{
    min-height:50px;
    font-size:14px;
    padding:9px 12px;
  }
  .hero-card img{
    height:clamp(520px, 70vh, 640px);
  }
}

/* Mobile hero */
@media (max-width: 920px){
  .hero{
    padding:34px 0 0;
    min-height:auto;
  }

  .hero-grid{
    grid-template-columns:1fr;
    gap:18px;
    align-items:center;
  }

  .hero-card{
    min-height:0;
    height:auto;
    margin-top:0;
  }

  .hero-card::before{
    content:"";
    position:absolute;
    right:4%;
    bottom:0;
    width:82%;
    height:72%;
    border-radius:44% 44% 0 0;
    background:linear-gradient(145deg,rgba(220,241,255,.75),rgba(52,154,255,.65));
    z-index:0;
  }

  .hero-card img{
    position:relative;
    z-index:1;
    height:auto;
    width:min(100%,430px);
    max-height:520px;
    margin:0 auto;
    object-fit:contain;
  }

  .messenger-line{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin:0 0 14px;
    color:#607086;
    font-weight:700;
  }

  .messenger-line a{
    background:#fff;
    border:1px solid var(--border);
    border-radius:999px;
    padding:7px 12px;
    font-weight:800;
  }
}


/* === HERO FINAL COMPOSITION FIX === */
@media (min-width: 921px){
  .site-header{
    height:72px;
  }

  .header-inner{
    min-height:72px;
    padding:6px 0;
  }

  .logo img{
    width:82px !important;
    height:auto;
    object-fit:contain;
  }

  .hero{
    padding:30px 0 0 !important;
    min-height:auto !important;
    overflow:hidden;
    background:
      radial-gradient(circle at 82% 62%, rgba(42,150,255,.34) 0%, rgba(42,150,255,.22) 30%, rgba(42,150,255,.08) 52%, rgba(42,150,255,0) 68%),
      linear-gradient(135deg,#f6fbff 0%,#ffffff 46%,#eaf6ff 70%,#93ccff 100%) !important;
  }

  .hero-grid{
    grid-template-columns:minmax(470px,.92fr) minmax(580px,1.08fr) !important;
    gap:16px !important;
    align-items:end !important;
    min-height:0 !important;
  }

  .hero-grid > div:first-child{
    padding-top:0 !important;
    padding-bottom:34px !important;
    position:relative;
    z-index:2;
  }

  .hero-card{
    min-height:0 !important;
    height:auto !important;
    align-items:flex-end !important;
    justify-content:flex-end !important;
    padding:0 !important;
    margin:0 !important;
    overflow:visible !important;
    position:relative;
    z-index:1;
  }

  .hero-card::before{
    content:"";
    position:absolute;
    right:-2%;
    bottom:0;
    width:min(520px,72%);
    height:74%;
    border-radius:45% 45% 0 0;
    background:linear-gradient(145deg,rgba(228,245,255,.62),rgba(47,151,255,.56));
    z-index:0;
  }

  .hero-card img{
    position:relative;
    z-index:1;
    height:clamp(610px,78vh,760px) !important;
    width:auto !important;
    max-width:none !important;
    object-fit:contain !important;
    object-position:center bottom !important;
    margin:0 -22px 0 0 !important;
    filter:drop-shadow(0 24px 34px rgba(7,35,70,.17)) !important;
  }

  .eyebrow{
    margin-bottom:12px !important;
  }

  h1{
    font-size:clamp(38px,4vw,56px) !important;
    line-height:1.02 !important;
    margin:0 0 16px !important;
    letter-spacing:-.035em;
  }

  .lead{
    font-size:18px !important;
    line-height:1.5 !important;
    max-width:560px !important;
    margin:0 0 16px !important;
  }

  .hero-actions{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:10px !important;
    margin:16px 0 10px !important;
  }

  .hero-actions-main .btn{
    min-width:176px;
  }

  .messenger-line{
    display:flex !important;
    align-items:center;
    flex-wrap:wrap;
    gap:8px 12px;
    margin:0 0 14px;
    color:#607086;
    font-size:15px;
    font-weight:700;
  }

  .messenger-line a{
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    color:var(--blue);
    font-weight:900;
    text-decoration:underline;
    text-underline-offset:4px;
  }

  .badges{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:8px !important;
    max-width:560px !important;
    margin-top:12px !important;
  }

  .badge{
    min-height:48px !important;
    padding:9px 11px !important;
    border-radius:12px !important;
    font-size:14px !important;
    line-height:1.18 !important;
    align-items:center !important;
    background:rgba(255,255,255,.82) !important;
    backdrop-filter:blur(8px);
  }
}

@media (min-width: 921px) and (max-height: 820px){
  .hero{
    padding-top:22px !important;
  }

  .hero-grid > div:first-child{
    padding-bottom:24px !important;
  }

  h1{
    font-size:clamp(36px,3.7vw,50px) !important;
    margin-bottom:12px !important;
  }

  .lead{
    font-size:17px !important;
    line-height:1.44 !important;
    margin-bottom:12px !important;
  }

  .hero-actions{
    margin:12px 0 8px !important;
  }

  .messenger-line{
    margin-bottom:10px !important;
  }

  .badge{
    min-height:44px !important;
    font-size:13.5px !important;
    padding:8px 10px !important;
  }

  .hero-card img{
    height:clamp(590px,79vh,690px) !important;
    margin-right:-18px !important;
  }
}

@media (max-width: 920px){
  .messenger-line{
    display:flex !important;
    flex-wrap:wrap;
    gap:8px 10px;
    margin:0 0 14px;
    color:#607086;
    font-weight:700;
  }

  .messenger-line a{
    padding:0;
    border:0;
    background:transparent;
    box-shadow:none;
    text-decoration:underline;
    text-underline-offset:4px;
    font-weight:900;
  }
}


/* Messenger links contrast fix */
.cta .messenger-line,
.site-footer .messenger-line{
  color:rgba(255,255,255,.78) !important;
}

.cta .messenger-line span{
  color:rgba(255,255,255,.82) !important;
}

.cta .messenger-line a{
  color:#ffffff !important;
  background:rgba(255,255,255,.14) !important;
  border:1px solid rgba(255,255,255,.28) !important;
  border-radius:999px !important;
  padding:7px 12px !important;
  text-decoration:none !important;
  font-weight:900 !important;
  box-shadow:none !important;
}

.cta .messenger-line a:hover{
  background:#ffffff !important;
  color:#0b3d73 !important;
}

.site-footer a{
  color:#ffffff !important;
}

.site-footer p a{
  font-weight:800;
}

/* Keep hero messenger links readable on light background */
.hero .messenger-line{
  color:#607086 !important;
}

.hero .messenger-line a{
  color:var(--blue) !important;
  background:transparent !important;
  border:0 !important;
  padding:0 !important;
  text-decoration:underline !important;
  text-underline-offset:4px;
  font-weight:900 !important;
}
