:root{
  --bg: #f4f7fb;
  --bg-2: #edf4f9;
  --surface: rgba(255,255,255,0.72);
  --surface-strong: rgba(255,255,255,0.9);
  --text: #13324d;
  --muted: #5d7488;
  --navy: #173a57;
  --blue: #2f6f9f;
  --teal: #4aa7a1;
  --gold: #d9b36f;
  --border: rgba(20, 52, 77, 0.12);
  --shadow: 0 18px 50px rgba(15, 35, 54, 0.12);
  --shadow-strong: 0 20px 60px rgba(15, 35, 54, 0.2);
  --radius: 26px;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:"Inter", system-ui, sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at top left, rgba(74,167,161,0.18), transparent 32%),
    radial-gradient(circle at top right, rgba(47,111,159,0.14), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 40%, var(--bg-2) 100%);
  overflow-x:hidden;
}

img{
  width:100%;
  display:block;
  object-fit:cover;
}

a{
  color:inherit;
  text-decoration:none;
}

button, input, textarea{
  font:inherit;
}

.ambient{
  position:fixed;
  inset:auto;
  width:36vw;
  height:36vw;
  filter: blur(90px);
  opacity:.25;
  pointer-events:none;
  z-index:-1;
}

.ambient-1{
  top:-10vw;
  left:-10vw;
  background: #7fd7d1;
}

.ambient-2{
  right:-12vw;
  top:18vw;
  background:#7aa7cf;
}

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:1rem 2rem;
  backdrop-filter: blur(18px);
  background: rgba(255,255,255,0.7);
  border-bottom:1px solid rgba(15,35,54,0.08);
}

.brand{
  display:flex;
  align-items:center;
  gap:.8rem;
  min-width:max-content;
}

.brand-mark{
  width:48px;
  height:48px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color:#fff;
  font-weight:800;
  letter-spacing:.08em;
  box-shadow: var(--shadow);
}

.brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}

.brand-name{
  font-weight:800;
  font-size:1rem;
}

.brand-sub{
  font-size:.78rem;
  color:var(--muted);
}

.nav{
  display:flex;
  align-items:center;
  gap:1.4rem;
}

.nav a{
  color:var(--navy);
  font-weight:600;
  position:relative;
  padding:.4rem 0;
}

.nav a:not(.nav-cta)::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-2px;
  width:100%;
  height:2px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  transform: scaleX(0);
  transform-origin:left;
  transition: transform .25s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after{
  transform: scaleX(1);
}

.nav-cta{
  padding:.8rem 1.15rem;
  border-radius:999px;
  background: linear-gradient(135deg, var(--gold), #e7c98f);
  color:#1f2f3f !important;
  box-shadow: 0 10px 30px rgba(217,179,111,0.32);
}

.menu-toggle{
  display:none;
  width:46px;
  height:46px;
  border:0;
  background:var(--surface-strong);
  border-radius:14px;
  box-shadow: var(--shadow);
  align-items:center;
  justify-content:center;
  gap:5px;
  flex-direction:column;
}

.menu-toggle span{
  width:20px;
  height:2px;
  background:var(--navy);
  border-radius:2px;
  transition:transform .25s ease, opacity .25s ease;
}

.hero,
.split-section,
.services,
.founder,
.how-it-works,
.testimonials,
.contact{
  padding:5.5rem 2rem;
  max-width:1280px;
  margin:0 auto;
}

.hero{
  display:grid;
  grid-template-columns: 1.1fr .95fr;
  align-items:center;
  gap:3rem;
  padding-top:4rem;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  color:var(--teal);
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:.76rem;
}

.hero h1,
.section-heading h2{
  margin:.8rem 0 0;
  color:var(--navy);
  letter-spacing:-0.04em;
}

.hero h1{
  font-size:clamp(2.8rem, 5vw, 5.4rem);
  line-height:.95;
  max-width:11ch;
}

.section-heading h2{
  font-size:clamp(2rem, 3vw, 3.3rem);
  line-height:1.05;
}

.hero-text,
.section-heading p,
.content-card p,
.service-card p,
.step p,
.contact-panel p,
.footer-brand p,
.form-note{
  color:var(--muted);
  line-height:1.7;
}

.hero-text{
  max-width:58ch;
  font-size:1.05rem;
  margin:1.2rem 0 0;
}

.hero-actions{
  display:flex;
  gap:1rem;
  flex-wrap:wrap;
  margin-top:1.8rem;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:.95rem 1.35rem;
  border:1px solid transparent;
  font-weight:700;
  transition:transform .25s ease, box-shadow .25s ease, filter .25s ease, background .25s ease;
  cursor:pointer;
}

.btn:hover,
.btn:focus-visible{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-primary{
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color:#fff;
}

.btn-secondary{
  background: rgba(255,255,255,0.85);
  color:var(--navy);
  border-color: var(--border);
}

.hero-stats{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:1rem;
  margin-top:2rem;
}

.stat-card,
.content-card,
.service-card,
.step,
.testimonial-shell,
.contact-form,
.contact-panel,
.cta-banner,
.chat-panel,
.hero-card{
  backdrop-filter: blur(18px);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.glass{
  border-radius: var(--radius);
}

.stat-card{
  padding:1rem 1.1rem;
}

.stat-card strong{
  display:block;
  color:var(--navy);
  margin-bottom:.3rem;
}

.stat-card span{
  font-size:.92rem;
  color:var(--muted);
}

.hero-visual{
  position:relative;
}

.hero-image-frame{
  position:relative;
  border-radius: 34px;
  overflow:hidden;
  min-height:640px;
  box-shadow: var(--shadow-strong);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform .35s ease;
}

.hero-image-frame:hover{
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}

.hero-image-frame img{
  height:100%;
  min-height:640px;
  filter:saturate(1.02) contrast(1.02);
  transition: transform .5s ease, filter .5s ease;
}

.hero-image-frame:hover img{
  transform: scale(1.04);
  filter: blur(1px) saturate(1.05);
}

.hero-image-frame::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(10,22,35,.06), rgba(10,22,35,.38) 72%),
    linear-gradient(90deg, rgba(23,58,87,.25), transparent 30%);
  pointer-events:none;
}

.hero-card{
  position:absolute;
  left:1.3rem;
  bottom:1.3rem;
  width:min(320px, calc(100% - 2.6rem));
  padding:1rem 1.1rem;
  z-index:2;
  color:#fff;
  background: rgba(15, 35, 54, 0.45);
}

.hero-card-label{
  display:block;
  font-size:.72rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  opacity:.85;
  margin-bottom:.3rem;
}

.hero-card strong{
  font-size:1.2rem;
  display:block;
  margin-bottom:.35rem;
}

.hero-card p{
  margin:0;
  color:rgba(255,255,255,.84);
  line-height:1.55;
}

.trust-row{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:.85rem;
  padding:0 2rem 2.5rem;
  max-width:1280px;
  margin:0 auto;
}

.trust-pill{
  padding:.8rem 1.1rem;
  border-radius:999px;
  background: rgba(255,255,255,0.68);
  border:1px solid var(--border);
  color:var(--navy);
  font-weight:700;
  box-shadow: 0 10px 28px rgba(15,35,54,.06);
}

.section-heading{
  margin-bottom:2rem;
  max-width: 760px;
}

.section-heading.center{
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}

.split-grid,
.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:1.6rem;
  align-items:stretch;
}

.content-card,
.service-card,
.step,
.contact-form,
.contact-panel,
.testimonial-shell,
.cta-banner{
  padding:1.5rem;
}

.content-card p + p{
  margin-top:1rem;
}

.image-card{
  border-radius: 30px;
  overflow:hidden;
  min-height: 380px;
  box-shadow: var(--shadow);
}

.image-card img{
  height:100%;
  min-height:380px;
  transition: transform .45s ease, filter .45s ease;
}

.image-card:hover img{
  transform: scale(1.04);
  filter: blur(1px);
}

.services{
  position:relative;
}

.service-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:1.2rem;
}

.service-card{
  min-height: 220px;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.service-card:hover{
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
  filter: saturate(1.05);
}

.service-icon{
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  border-radius:18px;
  background: linear-gradient(135deg, rgba(47,111,159,.14), rgba(74,167,161,.16));
  color:var(--navy);
  font-size:1.3rem;
  font-weight:800;
  margin-bottom:1rem;
}

.service-card h3,
.step h3,
.contact-panel h3{
  color:var(--navy);
  margin:.1rem 0 .6rem;
}

.founder-grid .portrait img{
  min-height: 430px;
}

.info-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:1rem;
  margin-top:1.4rem;
}

.info-grid strong,
.contact-list strong{
  display:block;
  color:var(--navy);
  margin-bottom:.25rem;
}

.info-grid span,
.contact-list span{
  color:var(--muted);
  line-height:1.55;
}

.steps{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:1rem;
}

.step{
  position:relative;
  overflow:hidden;
}

.step::after,
.service-card::after,
.content-card::after,
.contact-panel::after{
  content:"";
  position:absolute;
  inset:auto -20% -55% auto;
  width:180px;
  height:180px;
  border-radius:50%;
  background: radial-gradient(circle, rgba(74,167,161,.18), transparent 70%);
  pointer-events:none;
}

.step-number{
  display:inline-block;
  color:var(--teal);
  font-weight:800;
  margin-bottom:.75rem;
}

.testimonial-shell{
  display:grid;
  grid-template-columns: auto 1fr auto;
  align-items:center;
  gap:1rem;
}

.testimonial-card{
  min-height:160px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.quote{
  margin:0;
  font-size:1.15rem;
  line-height:1.8;
  color:var(--navy);
}

.testimonial-meta{
  margin-top:1rem;
  display:flex;
  flex-direction:column;
  gap:.2rem;
}

.testimonial-meta span{
  color:var(--muted);
}

.slider-btn{
  width:52px;
  height:52px;
  border-radius:50%;
  border:1px solid var(--border);
  background:rgba(255,255,255,.8);
  color:var(--navy);
  font-size:1.8rem;
  cursor:pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}

.slider-btn:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.cta-banner{
  margin: 0 auto;
  max-width: 1280px;
  border-radius: 34px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1.5rem;
  background:
    linear-gradient(135deg, rgba(23,58,87,.95), rgba(47,111,159,.88)),
    rgba(23,58,87,.88);
  color:#fff;
}

.cta-banner h2,
.cta-banner p{
  color:#fff;
}

.cta-banner p{
  opacity:.9;
  max-width:58ch;
}

.contact-panel{
  position:relative;
  overflow:hidden;
}

.contact-list{
  display:grid;
  gap:1rem;
  margin:1.2rem 0 1.4rem;
}

.contact-list > div{
  padding:1rem;
  border-radius:18px;
  background: rgba(255,255,255,0.46);
  border:1px solid rgba(15,35,54,0.08);
}

.contact-form{
  display:grid;
  gap:1rem;
}

label{
  display:grid;
  gap:.45rem;
  font-weight:600;
  color:var(--navy);
}

input, textarea{
  width:100%;
  border-radius:18px;
  border:1px solid rgba(15,35,54,.12);
  padding:.95rem 1rem;
  background:rgba(255,255,255,.86);
  color:var(--text);
  outline:none;
  transition:border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

input:focus,
textarea:focus{
  border-color: rgba(47,111,159,.4);
  box-shadow: 0 0 0 4px rgba(47,111,159,.12);
}

.form-note{
  margin:0;
  font-size:.92rem;
}

.site-footer{
  padding: 2rem;
  max-width:1280px;
  margin:0 auto 1rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  color:var(--muted);
}

.footer-brand{
  display:flex;
  align-items:center;
  gap:1rem;
}

.footer-brand strong{
  color:var(--navy);
}

.reveal{
  opacity:0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible{
  opacity:1;
  transform:none;
}

.chat-widget{
  position:fixed;
  right:1.2rem;
  bottom:1.2rem;
  z-index:100;
}

.chat-fab{
  width:64px;
  height:64px;
  border-radius:50%;
  border:0;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color:#fff;
  font-weight:800;
  box-shadow: var(--shadow-strong);
  cursor:pointer;
  transition: transform .25s ease;
}

.chat-fab:hover{
  transform: translateY(-3px) scale(1.02);
}

.chat-panel{
  position:absolute;
  right:0;
  bottom:78px;
  width:min(360px, calc(100vw - 2.4rem));
  padding:1rem;
  display:none;
}

.chat-widget.open .chat-panel{
  display:block;
  animation: pop .28s ease;
}

@keyframes pop{
  from{ transform:translateY(12px) scale(.98); opacity:0;}
  to{ transform:translateY(0) scale(1); opacity:1;}
}

.chat-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:1rem;
  margin-bottom:.8rem;
}

.chat-header span{
  display:block;
  color:var(--muted);
  font-size:.85rem;
  margin-top:.15rem;
}

.chat-header button{
  border:0;
  background:transparent;
  cursor:pointer;
  font-size:1.05rem;
  color:var(--muted);
}

.chat-messages{
  display:grid;
  gap:.75rem;
  max-height: 300px;
  overflow:auto;
  padding: .25rem 0 .8rem;
}

.chat-bubble{
  padding:.85rem 1rem;
  border-radius:18px;
  line-height:1.6;
  font-size:.95rem;
}

.chat-bubble.bot{
  background: rgba(23,58,87,.08);
  color:var(--text);
  border:1px solid rgba(15,35,54,.08);
}

.chat-bubble.user{
  background: linear-gradient(135deg, rgba(47,111,159,.14), rgba(74,167,161,.14));
  color:var(--navy);
  margin-left:18%;
}

.chat-input-row{
  display:flex;
  gap:.55rem;
  margin-top:.5rem;
}

.chat-input-row input{
  flex:1;
  min-width:0;
  border-radius:999px;
}

.chat-input-row button{
  border:0;
  border-radius:999px;
  padding:0 1rem;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color:#fff;
  font-weight:700;
  cursor:pointer;
}

.toast{
  position:fixed;
  left:50%;
  bottom:1.2rem;
  transform:translateX(-50%) translateY(20px);
  opacity:0;
  background: rgba(15,35,54,.95);
  color:#fff;
  padding:.9rem 1.2rem;
  border-radius:999px;
  box-shadow: var(--shadow-strong);
  transition: opacity .25s ease, transform .25s ease;
  z-index:200;
}

.toast.show{
  opacity:1;
  transform:translateX(-50%) translateY(0);
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-card{
  animation: float 6s ease-in-out infinite;
}

@media (max-width: 1100px){
  .hero,
  .split-grid,
  .contact-grid{
    grid-template-columns:1fr;
  }

  .hero{
    padding-top:2rem;
  }

  .hero h1{
    max-width:none;
  }

  .hero-image-frame{
    transform:none;
    min-height:520px;
  }

  .hero-image-frame img{
    min-height:520px;
  }

  .service-grid,
  .steps,
  .hero-stats{
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 760px){
  .site-header{
    padding:1rem;
  }

  .menu-toggle{
    display:flex;
  }

  .nav{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    display:grid;
    gap:0;
    padding:0 1rem 1rem;
    background: rgba(255,255,255,0.95);
    border-bottom:1px solid rgba(15,35,54,0.08);
    transform-origin: top;
    transform: scaleY(0);
    opacity:0;
    pointer-events:none;
    transition: transform .22s ease, opacity .22s ease;
  }

  .nav.open{
    transform: scaleY(1);
    opacity:1;
    pointer-events:auto;
  }

  .nav a{
    padding:.9rem 0;
  }

  .nav-cta{
    display:inline-flex;
    justify-content:center;
    margin-top:.35rem;
  }

  .hero,
  .split-section,
  .services,
  .founder,
  .how-it-works,
  .testimonials,
  .contact{
    padding:4rem 1rem;
  }

  .hero-stats,
  .service-grid,
  .steps,
  .info-grid{
    grid-template-columns:1fr;
  }

  .testimonial-shell{
    grid-template-columns:1fr;
  }

  .slider-btn{
    display:none;
  }

  .cta-banner{
    flex-direction:column;
    align-items:flex-start;
  }

  .site-footer{
    flex-direction:column;
    align-items:flex-start;
  }

  .chat-panel{
    width:min(100vw - 2.4rem, 360px);
  }
}
