/* =========================
   ClearMed — styles.css
   Fix: make site fit screen (no shrink)
   ========================= */

/* Reset */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  width:100%;
  overflow-x:hidden;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";
  color:#0f172a;
  background:#f6f8fb;
  line-height:1.5;

  /* IMPORTANT: do NOT shrink the whole site */
  zoom: 1;
  transform: none;
}

/* Container: fills screen but stays readable on large monitors */
.container{
  width:min(1200px, calc(100% - 48px));
  margin:0 auto;
}

/* Header */
.header{
  position:sticky;
  top:0;
  z-index:50;
  background:linear-gradient(180deg,#0b2f4a,#0a2a42);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:16px;
}
.brand{
  text-decoration:none;
  color:#fff;
  display:flex;
  align-items:center;
  gap:10px;
}
.logo-text {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: #ffffff;
}

.logo-text span {
  font-weight: 700;
}


/* Nav */
.nav{
  display:flex;
  gap:18px;
  align-items:center;
}
.nav a{
  color:rgba(255,255,255,.88);
  text-decoration:none;
  font-weight:600;
  font-size:14px;
  padding:8px 10px;
  border-radius:10px;
}
.nav a:hover{background:rgba(255,255,255,.08)}
.nav a.active{background:rgba(255,255,255,.12); color:#fff}
.nav .contact-link{
  background:rgba(255,255,255,.14);
}
.nav .contact-link:hover{background:rgba(255,255,255,.20)}

/* Burger / mobile nav */
.burger{
  display:none;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.10);
  color:#fff;
  padding:8px 10px;
  border-radius:10px;
  font-size:18px;
  cursor:pointer;
}
.mobile-nav{
  padding:10px 0 16px;
}
.mobile-nav a{
  display:block;
  padding:10px 0;
  color:rgba(255,255,255,.9);
  text-decoration:none;
  border-top:1px solid rgba(255,255,255,.08);
  font-weight:600;
}
.mobile-nav a.active{color:#fff}

/* Main spacing */
main.container{
  padding:26px 0 40px;
}

/* Hero */
.hero{margin-top:10px}
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:18px;
  align-items:stretch;
}

/* Left card */
.hero-card{
  background:#ffffff;
  border:1px solid rgba(15,23,42,.08);
  border-radius:18px;
  padding:22px;
  box-shadow:0 10px 26px rgba(2,6,23,.06);
}
.kicker{
  display:inline-flex;
  font-size:13px;
  font-weight:700;
  color:#0b3a5b;
  background:#e8f1fa;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(11,58,91,.10);
  margin-bottom:12px;
}
.hero-card h1{
  margin:0 0 10px;
  font-size:44px;
  line-height:1.05;
  letter-spacing:-.6px;
}
.hero-card p{
  margin:0 0 16px;
  color:#475569;
  font-size:16px;
  max-width:60ch;
}
.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:6px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  font-weight:800;
  text-decoration:none;
  border:1px solid transparent;
  font-size:14px;
}
.btn-primary{
  background:#0b3a5b;
  color:#fff;
  border-color:#0b3a5b;
}
.btn-primary:hover{filter:brightness(1.05)}
.btn-outline{
  background:#fff;
  color:#0b3a5b;
  border-color:rgba(11,58,91,.25);
}
.btn-outline:hover{background:#f2f7fc}

/* Right side */
.side{
  display:grid;
  grid-template-rows: auto auto;
  gap:12px;
}
.photo{
  background:#0b3a5b;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(15,23,42,.08);
  box-shadow:0 10px 26px rgba(2,6,23,.06);
  min-height:240px;
}
.photo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.mini{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
.pill{
  background:#ffffff;
  border:1px solid rgba(15,23,42,.08);
  border-radius:16px;
  padding:12px;
}
.pill b{
  display:block;
  font-size:13px;
  margin-bottom:4px;
}
.pill span{
  display:block;
  font-size:12px;
  color:#64748b;
}

/* Sections */
.section{
  margin-top:22px;
  background:transparent;
}
.section-title{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin:18px 0 12px;
}
.section-title h2{
  margin:0;
  font-size:20px;
  letter-spacing:-.2px;
}
.section-title p{
  margin:0;
  color:#64748b;
  font-size:13px;
}

/* Grid cards */
.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
.card{
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  border-radius:16px;
  padding:16px;
}
.card h3{
  margin:0 0 8px;
  font-size:16px;
}
.card p{
  margin:0;
  color:#64748b;
  font-size:13px;
}

/* Process */
.process{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
}
.step{
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  border-radius:16px;
  padding:14px;
}
.step b{display:block; margin-bottom:6px}
.step span{display:block; color:#64748b; font-size:13px}

/* Footer */
.footer{
  background:#0b2f4a;
  border-top:1px solid rgba(255,255,255,.08);
  margin-top:26px;
}
.footer .container{padding:18px 0}
.footer-grid{
  display:flex;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}
.footer small{
  color:rgba(255,255,255,.85);
}
.footer a{color:#fff}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr}
  .mini{grid-template-columns:1fr}
  .grid{grid-template-columns:1fr}
  .process{grid-template-columns:1fr}
  .hero-card h1{font-size:34px}
  .nav{display:none}
  .burger{display:inline-flex}
}
