:root{
  --bg:#07111f;
  --card:#0d1b2e;
  --text:#eef5ff;
  --dark:#142033;
  --muted:#526176;
  --accent:#4fd1c5;
  --accent2:#7c3aed;
  --white:#ffffff;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;font-family:Arial,Helvetica,sans-serif;background:#f7f9fc;color:var(--dark);line-height:1.6;overflow-x:hidden;min-width:0}
img{max-width:100%;height:auto}
.site-header{background:radial-gradient(circle at top right,#17375e,#07111f 60%);color:var(--text);padding-bottom:60px;width:100%}
.nav{max-width:1180px;margin:auto;padding:18px 24px;display:flex;justify-content:space-between;align-items:center;gap:20px;width:100%}
.logo{display:flex;gap:14px;align-items:flex-end;text-decoration:none;color:var(--white);min-width:0}
.logo img{width:92px;max-width:92px;height:auto;display:block;flex:0 0 auto;border-radius:6px}
.logo span{font-family:"Times New Roman",Times,serif;font-size:31px;font-weight:800;line-height:1;color:#fff;margin-bottom:8px;white-space:nowrap}
.menu{position:relative;margin-left:auto;flex:0 0 auto}
.menu summary{list-style:none;cursor:pointer;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.22);color:#fff;padding:11px 18px;border-radius:999px;font-weight:800}
.menu summary::-webkit-details-marker{display:none}
.menu-panel{position:absolute;right:0;top:54px;min-width:230px;background:#fff;color:var(--dark);border-radius:18px;box-shadow:0 20px 55px rgba(0,0,0,.28);padding:12px;z-index:20}
.menu-panel a{display:block;text-decoration:none;color:var(--dark);font-weight:700;padding:12px 14px;border-radius:12px}.menu-panel a:hover{background:#eef4fb}
.hero{max-width:1180px;margin:auto;padding:75px 24px 35px;display:block;width:100%}.hero-content{max-width:820px}.eyebrow{color:var(--accent);font-weight:800;text-transform:uppercase;letter-spacing:1.5px;font-size:13px}h1{font-size:58px;line-height:1.03;margin:12px 0 20px}.hero-text{font-size:20px;color:#d7e3f4;max-width:760px}.btn{display:inline-block;padding:13px 20px;border-radius:12px;text-decoration:none;font-weight:800;margin:6px 8px 6px 0;border:0;cursor:pointer;font:inherit;font-weight:800}.primary{background:linear-gradient(135deg,var(--accent),var(--accent2));color:white}.secondary{border:1px solid rgba(255,255,255,.25);color:inherit;background:rgba(255,255,255,.06)}.section{max-width:1180px;margin:auto;padding:70px 24px;width:100%}.section-heading{text-align:center;max-width:790px;margin:0 auto 42px}.section-heading h2,.split h2,.contact-card h2{font-size:38px;line-height:1.15;margin:8px 0;color:var(--dark)}.section-heading p,.split p,.why-grid p,.contact-card p,.service-card p{color:var(--muted)}.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.service-card{background:white;border:1px solid #e8eef7;border-radius:22px;padding:26px;box-shadow:0 12px 32px rgba(20,32,51,.06)}.icon{font-size:34px}.service-card h3{font-size:22px;margin-bottom:8px;color:var(--dark)}.dark-section{max-width:none;background:#07111f;color:white}.dark-section .split{max-width:1180px;margin:auto;display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}.dark-section h2{color:white}.dark-section p{color:#cbd8ea}.pill-list{display:flex;flex-wrap:wrap;gap:12px}.pill-list span{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);padding:12px 16px;border-radius:999px;font-weight:700;color:#fff}.why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.why-grid div{background:#eef4fb;padding:28px;border-radius:22px}.why-grid h3{color:var(--dark)}.cta-band{margin:20px auto;max-width:1100px;border-radius:26px;padding:54px 24px;text-align:center;background:linear-gradient(135deg,#0d1b2e,#17375e);color:white}.cta-band h2{font-size:38px;margin:0 0 8px}.cta-band p{color:#d7e3f4}.contact-section{padding-top:54px}.contact-card{background:white;border-radius:26px;padding:42px;box-shadow:0 15px 45px rgba(20,32,51,.08);text-align:center}.contact-card .secondary{border-color:#d8e1ee;color:#142033;background:white}.hidden-field{display:none}.contact-form{margin-top:22px;display:grid;gap:14px;text-align:left}.contact-form label{color:#142033;font-weight:800;font-size:15px}.contact-form input,.contact-form textarea{width:100%;margin-top:7px;padding:13px 14px;border-radius:14px;border:1px solid #b9c7d8;background:#fff;color:#142033;outline:none;font:inherit}.contact-form input:focus,.contact-form textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(79,209,197,.18)}.contact-form textarea{resize:vertical}.contact-form button{width:max-content}.contact-buttons{margin-top:16px}footer{text-align:center;padding:28px;color:#607086;background:#eef4fb}
@media(max-width:850px){.nav{align-items:center}.logo img{width:78px;max-width:78px}.logo span{font-size:25px}.hero{padding-top:38px}h1{font-size:40px}.services-grid,.why-grid,.dark-section .split{grid-template-columns:1fr}.section-heading h2,.split h2,.contact-card h2,.cta-band h2{font-size:30px}.menu-panel{right:0}.contact-card{padding:28px 20px}}
@media(max-width:520px){
  body{font-size:16px;width:100%;}
  .site-header{padding-bottom:30px;}
  .nav{flex-direction:column;align-items:center;text-align:center;gap:12px;padding:14px 14px;width:100%;}
  .logo{flex-direction:column;align-items:center;gap:8px;width:100%;}
  .logo img{width:120px !important;max-width:120px !important;height:auto !important;object-fit:contain;}
  .logo span{font-size:23px;margin-bottom:0;text-align:center;white-space:normal;line-height:1.1;}
  .menu{margin-left:0;width:100%;text-align:center;}
  .menu summary{display:inline-block;padding:9px 16px;}
  .menu-panel{right:auto;left:50%;transform:translateX(-50%);top:48px;width:min(92vw,280px);min-width:0;text-align:left;}
  .hero{padding:26px 16px 20px;text-align:center;}
  .hero-content{max-width:100%;}
  h1{font-size:31px;line-height:1.1;text-align:center;}
  .hero-text{font-size:17px;text-align:center;}
  .hero-actions{text-align:center;}
  .btn{width:100%;max-width:320px;text-align:center;margin:6px auto;}
  .section{padding:42px 16px;}
  .services-grid,.why-grid{grid-template-columns:1fr;gap:16px;}
  .service-card,.why-grid div{padding:20px;}
  .section-heading{margin-bottom:28px;}
  .section-heading h2,.split h2,.contact-card h2,.cta-band h2{font-size:27px;}
  .dark-section .split{padding:0 16px;}
  .cta-band{margin:12px 16px;padding:36px 18px;border-radius:20px;}
  .contact-card{padding:24px 16px;border-radius:20px;}
  .contact-form button{width:100%;max-width:none;}
  footer{padding:22px 12px;font-size:14px;}
}


/* FINAL IPHONE HEADER FIX - added last so it overrides all earlier rules */
.logo .brand-wrap{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-end;
  gap:2px;
  line-height:1;
  margin-bottom:6px;
  color:#fff;
}
.logo .brand-wrap strong{
  font-family:"Times New Roman",Times,serif;
  font-size:31px;
  font-weight:900;
  letter-spacing:.5px;
  white-space:nowrap;
}
.logo .brand-wrap small{
  font-family:Arial,Helvetica,sans-serif;
  font-size:7px;
  font-weight:700;
  letter-spacing:.7px;
  white-space:nowrap;
  color:#dbe7f5;
}

@media screen and (max-width:520px){
  .site-header{
    padding-bottom:28px !important;
  }
  .nav{
    display:flex !important;
    flex-direction:row !important;
    justify-content:space-between !important;
    align-items:center !important;
    text-align:left !important;
    gap:8px !important;
    width:100% !important;
    padding:10px 12px !important;
  }
  .logo{
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:flex-start !important;
    width:auto !important;
    max-width:calc(100% - 58px) !important;
    gap:8px !important;
    text-align:left !important;
  }
  .logo img{
    width:54px !important;
    max-width:54px !important;
    min-width:54px !important;
    height:auto !important;
    border-radius:4px !important;
    object-fit:contain !important;
  }
  .logo span,
  .logo .brand-wrap{
    width:auto !important;
    max-width:none !important;
    margin:0 !important;
    align-items:flex-start !important;
    text-align:left !important;
    white-space:normal !important;
  }
  .logo .brand-wrap strong{
    font-size:15px !important;
    line-height:1 !important;
    white-space:nowrap !important;
    letter-spacing:.2px !important;
  }
  .logo .brand-wrap small{
    font-size:3.7px !important;
    line-height:1.1 !important;
    letter-spacing:.25px !important;
    white-space:nowrap !important;
  }
  .menu{
    margin-left:0 !important;
    width:auto !important;
    text-align:right !important;
    flex:0 0 auto !important;
  }
  .menu summary{
    font-size:0 !important;
    width:42px !important;
    height:42px !important;
    padding:0 !important;
    border-radius:10px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
  }
  .menu summary::before{
    content:"☰";
    font-size:25px !important;
    line-height:1 !important;
    color:#fff !important;
  }
  .menu-panel{
    position:absolute !important;
    right:0 !important;
    left:auto !important;
    transform:none !important;
    top:50px !important;
    width:220px !important;
    min-width:220px !important;
    text-align:left !important;
  }
  .hero{
    padding:34px 16px 20px !important;
    text-align:left !important;
  }
  .hero-content{
    max-width:100% !important;
  }
  h1{
    font-size:31px !important;
    line-height:1.1 !important;
    text-align:left !important;
  }
  .hero-text{
    font-size:16px !important;
    text-align:left !important;
  }
  .hero-actions{
    text-align:left !important;
  }
  .btn{
    width:100% !important;
    max-width:320px !important;
    text-align:center !important;
  }
}

/* Stronger dark navy/silver/black button mix */
.btn.primary,
.primary{
  background:linear-gradient(135deg,#02060d 0%,#071a33 38%,#5d6673 72%,#0a1220 100%) !important;
  color:#fff !important;
  border:1px solid rgba(220,230,245,.35) !important;
  box-shadow:0 10px 24px rgba(0,0,0,.25) !important;
}


/* FINAL TUNING */
.site-header{position:sticky!important;top:0!important;z-index:9999!important;}

@media screen and (max-width:520px){
.logo img{width:72px!important;max-width:72px!important;}
.logo .brand-wrap strong,
.logo strong{font-size:18px!important;font-weight:900!important;}
.logo .brand-wrap small,
.logo small{font-size:4.8px!important;}
.btn.primary,.primary{background:#151B54!important;}
.hero .btn,.hero-actions .btn{max-width:100%!important;}
.grid .pill,.pill{
min-width:120px!important;
text-align:center!important;
}
}
