:root{
  --blue-900:#0D2C54;
  --blue-400:#58B4E6;
  --green-300:#A3D39C;
  --bg:#F7F9FB;
  --text:#0D233D;
  --muted:#5B6B80;
  --white:#ffffff;
  --radius:16px;
  --shadow:0 10px 30px rgba(13,44,84,.08);
}

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

/* Layout */
.container{max-width:1100px;margin:0 auto;padding:0 20px}
.site-header{
  position:sticky;top:0;z-index:20;
  background:rgba(255,255,255,.9);backdrop-filter:saturate(180%) blur(8px);
  border-bottom:1px solid rgba(13,44,84,.06);
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 0;
}
.brand{display:flex;align-items:center;gap:10px;color:var(--blue-900);text-decoration:none}
.brand .logo{height:36px;width:auto}
.brand .brand-name{font-weight:700;font-size:1.05rem}

.nav{display:flex;align-items:center;gap:18px}
.nav a{color:var(--text);text-decoration:none;font-weight:500}
.nav a:hover{color:var(--blue-900)}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px 16px;border-radius:999px;border:2px solid var(--blue-900);
  background:var(--blue-900);color:var(--white);text-decoration:none;font-weight:600;
  box-shadow:var(--shadow);
}
.btn--ghost{background:transparent;color:var(--blue-900)}
.btn--lg{padding:14px 22px}
.nav .btn{box-shadow:none}
.nav-toggle{display:none;background:none;border:0;cursor:pointer}
.nav-toggle span{display:block;width:24px;height:2px;background:var(--blue-900);margin:5px 0;transition:.2s}

/* Hero */
.hero{
  padding:72px 0 48px;
  background:linear-gradient(180deg, #fff 0%, #f8fbff 60%, #f0f6fd 100%);
}
.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:40px;align-items:center}
.hero h1{font-size:2.6rem;line-height:1.1;margin:0 0 16px}
.hero .highlight{color:var(--blue-900)}
.hero p{color:var(--muted);font-size:1.1rem;margin:0 0 20px}
.actions{display:flex;gap:12px;margin-bottom:14px}
.trust-list{display:flex;gap:18px;padding:0;margin:10px 0 0;list-style:none;color:var(--muted);font-size:.95rem}

.hero-visual{display:flex;align-items:center;justify-content:center}
.puzzle{position:relative;width:280px;height:280px}
.piece{position:absolute;border-radius:22px;box-shadow:var(--shadow)}
.piece-a{background:var(--blue-400);width:140px;height:140px;left:0;bottom:0;transform:rotate(-6deg)}
.piece-b{background:var(--green-300);width:140px;height:140px;right:20px;top:10px;transform:rotate(8deg)}
.piece-c{background:var(--blue-900);width:120px;height:120px;right:0;bottom:10px;transform:rotate(-12deg)}

/* Sections */
.section{padding:64px 0}
.section--alt{background:#fff}
.section-title{font-size:2rem;margin:0 0 10px}
.section-subtitle{color:var(--muted);margin:0 0 24px}

.card-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.card{
  background:#fff;border-radius:var(--radius);padding:22px;border:1px solid rgba(13,44,84,.08);
  box-shadow:var(--shadow);transition:transform .2s ease, box-shadow .2s ease;
}
.card:hover{transform:translateY(-4px);box-shadow:0 16px 40px rgba(13,44,84,.12)}
.card h3{margin:0 0 8px}
.card p{margin:0;color:var(--muted)}

.features{
  display:grid;gap:18px;grid-template-columns:repeat(4,1fr);
}
.feature{
  background:#fff;border-radius:var(--radius);padding:22px;border:1px solid rgba(13,44,84,.08);
  box-shadow:var(--shadow)
}
.feature h4{margin:0 0 8px}

.testimonials{
  display:grid;gap:18px;grid-template-columns:repeat(3,1fr);
}
.testimonial{
  background:#fff;border-left:6px solid var(--blue-400);
  border-radius:12px;padding:18px 18px 18px 18px;
  color:var(--text);box-shadow:var(--shadow)
}
.testimonial footer{color:var(--muted);margin-top:8px}

.section--cta{
  background:linear-gradient(180deg, #f5fbff 0%, #eef6ff 100%);
  border-top:1px solid rgba(13,44,84,.06);
  border-bottom:1px solid rgba(13,44,84,.06);
}
.contact{
  display:grid;grid-template-columns:1.1fr .9fr;gap:22px;align-items:start
}
.contact-copy p{color:var(--muted)}
.contact-list{margin:14px 0 0;padding:0;list-style:none}
.contact-list a{color:var(--blue-900);text-decoration:none}
.contact-form{
  background:#fff;border-radius:var(--radius);padding:22px;border:1px solid rgba(13,44,84,.08);
  box-shadow:var(--shadow);display:grid;gap:12px
}
.contact-form label{display:grid;gap:8px;font-weight:600}
.contact-form input,.contact-form textarea{
  border:1px solid rgba(13,44,84,.2);border-radius:12px;padding:12px 14px;font-size:1rem;
  outline:none
}
.contact-form input:focus,.contact-form textarea:focus{border-color:var(--blue-900)}

/* Footer */
.site-footer{background:#fff;border-top:1px solid rgba(13,44,84,.08);padding:22px 0}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.footer-brand{display:flex;align-items:center;gap:10px}
.footer-brand img{height:28px}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr}
  .card-grid{grid-template-columns:repeat(2,1fr)}
  .features{grid-template-columns:repeat(2,1fr)}
  .testimonials{grid-template-columns:1fr 1fr}
  .contact{grid-template-columns:1fr}
}
@media (max-width: 720px){
  .nav{position:fixed;right:16px;top:64px;background:#fff;border:1px solid rgba(13,44,84,.08);border-radius:12px;
       padding:12px 14px;box-shadow:var(--shadow);display:none;flex-direction:column;gap:10px}
  .nav.open{display:flex}
  .nav-toggle{display:block}
  .card-grid{grid-template-columns:1fr}
  .features{grid-template-columns:1fr}
  .testimonials{grid-template-columns:1fr}
}

/* Hero media image */
.hero-visual{
  position:relative;
  display:flex;align-items:center;justify-content:center;
}
.hero-media{
  margin:0;
  width:100%;
  max-width:560px;
  border-radius:20px;
  overflow:hidden;
  box-shadow:var(--shadow);
  border:1px solid rgba(13,44,84,.08);
}
.hero-media img{
  display:block;
  width:100%;
  height:auto;
  object-fit:cover;
}
.puzzle{position:absolute; pointer-events:none;}
.piece-a{z-index:0}
.piece-b{z-index:0}
.piece-c{z-index:0}
.hero-media{z-index:1}


/* Card media (images inside cards) */
.card-media{
  margin: -6px -6px 12px -6px;
  border-radius: 14px;
  overflow: hidden;
  border:1px solid rgba(13,44,84,.06);
  box-shadow: var(--shadow);
}
.card-media img{
  display:block;
  width:100%;
  height:auto;
  object-fit:cover;
}


/* Floating WhatsApp Button */
.whatsapp-fab{
  position:fixed;
  right:22px;
  bottom:22px;
  width:56px;height:56px;
  background:#25D366;
  color:#fff;
  display:flex;align-items:center;justify-content:center;
  border-radius:50%;
  box-shadow:0 12px 30px rgba(0,0,0,.18);
  border:2px solid #ffffff;
  text-decoration:none;
  transition:transform .15s ease, box-shadow .15s ease, filter .15s ease;
  z-index:50;
}
.whatsapp-fab:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 36px rgba(0,0,0,.22);
  filter:brightness(1.05);
}


/* =========================
   Readdy-style Backgrounds
   ========================= */

/* Base helpers */
.hero, .section, .section--alt, .section--cta { position: relative; overflow: hidden; }
.hero::before, .hero::after,
.section::before, .section::after,
.section--alt::before, .section--alt::after,
.section--cta::before, .section--cta::after {
  content: "";
  position: absolute;
  pointer-events: none;
  filter: blur(18px);
  opacity: .45;
  transform: translateZ(0);
}

/* HERO: layered gradients + abstract blobs */
.hero{
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 55%, #eef6ff 100%),
    radial-gradient(1200px 600px at 90% -10%, rgba(88,180,230,.32) 0%, rgba(88,180,230,0) 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(163,211,156,.28) 0%, rgba(163,211,156,0) 60%);
}
.hero::before{
  width: 520px; height: 520px;
  right: -120px; top: -160px;
  background: radial-gradient(closest-side, rgba(88,180,230,.55), rgba(88,180,230,0));
  filter: blur(22px); opacity: .55;
}
.hero::after{
  width: 380px; height: 380px;
  left: -120px; bottom: -140px;
  background: radial-gradient(closest-side, rgba(163,211,156,.55), rgba(163,211,156,0));
  filter: blur(26px); opacity: .50;
}

/* Generic sections: subtle corner glows */
.section::before{
  width: 360px; height: 360px;
  right: -140px; top: -80px;
  background: radial-gradient(closest-side, rgba(88,180,230,.35), rgba(88,180,230,0));
  filter: blur(24px); opacity: .40;
}
.section::after{
  width: 280px; height: 280px;
  left: -120px; bottom: -60px;
  background: radial-gradient(closest-side, rgba(163,211,156,.30), rgba(163,211,156,0));
  filter: blur(22px); opacity: .38;
}

/* White Alt section: add a diagonal soft tint */
.section--alt{
  background:
    linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
}
.section--alt::before{
  width: 520px; height: 520px;
  left: -180px; top: -160px;
  background: radial-gradient(closest-side, rgba(88,180,230,.28), rgba(88,180,230,0));
}
.section--alt::after{
  width: 420px; height: 420px;
  right: -160px; bottom: -160px;
  background: radial-gradient(closest-side, rgba(163,211,156,.26), rgba(163,211,156,0));
}

/* CTA section: stronger gradient + glow */
.section--cta{
  background:
    linear-gradient(180deg, #f3f9ff 0%, #eaf4ff 100%),
    radial-gradient(800px 420px at 110% 10%, rgba(88,180,230,.30) 0%, rgba(88,180,230,0) 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(163,211,156,.28) 0%, rgba(163,211,156,0) 60%);
  border-top: 1px solid rgba(13,44,84,.06);
  border-bottom: 1px solid rgba(13,44,84,.06);
}
.section--cta::before{
  width: 520px; height: 520px;
  right: -180px; top: -140px;
  background: radial-gradient(closest-side, rgba(88,180,230,.35), rgba(88,180,230,0));
}
.section--cta::after{
  width: 420px; height: 420px;
  left: -160px; bottom: -160px;
  background: radial-gradient(closest-side, rgba(163,211,156,.33), rgba(163,211,156,0));
}

/* Optional: soft divider wave between sections (pure CSS mask) */
.section + .section{
  position: relative;
}
.section + .section::before{
  content: "";
  position: absolute; left: 0; top: -24px; width: 100%; height: 24px;
  background: linear-gradient(90deg, rgba(13,44,84,.06), rgba(13,44,84,.06));
  opacity: .0;
  -webkit-mask: radial-gradient(120% 24px at 50% 120%, #000 45%, transparent 60%);
          mask: radial-gradient(120% 24px at 50% 120%, #000 45%, transparent 60%);
}

/* Keep puzzle accents visible above shapes */
.puzzle{ z-index: 2; }
.hero-media{ z-index: 3; }



/* ===== Readdy-like wave backgrounds ===== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(88,180,230,.20) 0%, rgba(88,180,230,0) 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(163,211,156,.20) 0%, rgba(163,211,156,0) 60%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 50%, #eef6ff 100%);
}
.hero::before, .hero::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 220px; pointer-events: none;
  background-repeat: no-repeat; background-size: 100% 100%;
}
.hero::before { top: -1px; background-image: 
url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 220' preserveAspectRatio='none'><defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='0'><stop stop-color='%2358B4E6' offset='0%'/><stop stop-color='%23A3D39C' offset='100%'/></linearGradient></defs><path d='M0,160 C240,90 420,200 720,140 C1020,80 1200,190 1440,120 L1440,0 L0,0 Z' fill='url(%23g)' fill-opacity='0.22'/></svg>")
; opacity: .95; }
.hero::after  { bottom: -1px; background-image: 
url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 220' preserveAspectRatio='none'><defs><linearGradient id='g2' x1='0' y1='0' x2='1' y2='0'><stop stop-color='%2358B4E6' offset='0%'/><stop stop-color='%230D2C54' offset='100%'/></linearGradient></defs><path d='M0,120 C240,190 420,80 720,140 C1020,200 1200,90 1440,160 L1440,220 L0,220 Z' fill='url(%23g2)' fill-opacity='0.18'/></svg>")
; opacity: .95; }

/* CTA section with waves */
.section--cta {
  position: relative; overflow: hidden;
  background:
    linear-gradient(180deg, #f3f9ff 0%, #eaf4ff 100%);
}
.section--cta::before, .section--cta::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 200px; pointer-events: none;
  background-repeat: no-repeat; background-size: 100% 100%;
}
.section--cta::before { top: -1px; background-image: 
url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 220' preserveAspectRatio='none'><defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='0'><stop stop-color='%2358B4E6' offset='0%'/><stop stop-color='%23A3D39C' offset='100%'/></linearGradient></defs><path d='M0,160 C240,90 420,200 720,140 C1020,80 1200,190 1440,120 L1440,0 L0,0 Z' fill='url(%23g)' fill-opacity='0.22'/></svg>")
; opacity: .9; }
.section--cta::after  { bottom: -1px; background-image: 
url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 220' preserveAspectRatio='none'><defs><linearGradient id='g2' x1='0' y1='0' x2='1' y2='0'><stop stop-color='%2358B4E6' offset='0%'/><stop stop-color='%230D2C54' offset='100%'/></linearGradient></defs><path d='M0,120 C240,190 420,80 720,140 C1020,200 1200,90 1440,160 L1440,220 L0,220 Z' fill='url(%23g2)' fill-opacity='0.18'/></svg>")
; opacity: .9; }

/* Soft organic overlays for generic sections */
.section { position: relative; overflow: hidden; }
.section::before, .section::after {
  content: ""; position: absolute; pointer-events: none; filter: blur(18px); opacity: .35;
  width: 420px; height: 420px; border-radius: 50%;
}
.section::before { top: -140px; right: -160px; background: radial-gradient(closest-side, rgba(88,180,230,.30), rgba(88,180,230,0)); }
.section::after  { bottom: -140px; left: -160px; background: radial-gradient(closest-side, rgba(163,211,156,.28), rgba(163,211,156,0)); }


/* Navbar tweaks per request */
.brand .logo{height:256px;width:auto}              /* enlarge logo */
@media (max-width: 720px){ .brand .logo{height:160px} }

.nav .btn{ 
  color:#fff !important; 
  background: var(--blue-900);
  border-color: var(--blue-900);
}

/* Sticky header polish */
.site-header{
  position: sticky; top:0; z-index: 200;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(8px);
  box-shadow: 0 2px 8px rgba(13,44,84,.06);
}

.navbar, .site-header {
  align-items: center;
  min-height: 160px;
}
