/* =========================
FILE: styles.css
Teal background + locked header logo rules
========================= */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
/* Global image rule (EXCLUDES logos) */
img:not(.logo) {
  max-width: 100%;
  height: auto;
  display: block;
}
/* Header logos fill header height */
.site-header img.logo {
  height: 118px;
  width: auto;
  max-width: none;
  max-height: none;
  object-fit: contain;
}


:root{
  --teal: #0fa4a9;
  --teal2:#0b7f83;
  --ink:#0b1220;
  --muted:#e7fbfc;      /* light on teal */
  --muted2:#d5eef0;     /* slightly deeper */
  --card:#ffffff;
  --line: rgba(255,255,255,.22);
  --shadow: 0 10px 24px rgba(0,0,0,.10);
  --radius: 18px;
}

body{
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial;
  background: var(--teal);
  color: #fff;
  line-height: 1.55;
}

.container{
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header with BOTH logos preserved */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--teal);
  border-bottom: 1px solid var(--line);
}

.header-inner{
  height: 118px;                 /* keep your existing header height */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* LOGO RULES (this prevents the “small again” problem) */
.brand{ display: inline-flex; align-items: center; }



/* Nav */
.nav{
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex: 1;
}
.nav a{
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  opacity: .92;
  padding: 8px 10px;
  border-radius: 10px;
}
.nav a:hover{ opacity: 1; background: rgba(255,255,255,.10); }
.nav a.active{ background: rgba(255,255,255,.14); }

/* Cards sit on teal */
.card{
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  margin: 18px 0;
}

.hero{ padding: 30px; }
.hero-grid{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
  align-items: center;
}

.hero-copy h1{
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.08;
  margin: 0 0 10px;
}
.lead{
  font-size: 1.06rem;
  margin: 0 0 18px;
  color: #1f2a3a;
}
.lead-sm{ font-size: 1.02rem; margin: 0 0 8px; }
.small{ font-size: .92rem; }

.hero-media img{
  border-radius: 14px;
  width: 100%;
  height: 100%;
  max-height: 330px;
  object-fit: cover;
}

/* CTAs */
.cta-row{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn.primary{
  background: var(--teal2);
  color: #fff;
}
.btn.primary:hover{ filter: brightness(1.06); }
.btn.ghost{
  background: transparent;
  color: var(--teal2);
  border-color: rgba(11,127,131,.28);
}
.btn.ghost:hover{ background: rgba(11,127,131,.06); }

.link{
  color: var(--teal2);
  font-weight: 700;
  text-decoration: none;
}
.link:hover{ text-decoration: underline; }

.muted{ color: #4a5a73; }
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); border:0;
}

/* Layout helpers */
.grid-2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.grid-3{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}
.bullets{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.bullet h3{ margin: 0 0 6px; }
.bullet p{ margin: 0; }

.list{
  margin: 12px 0 0;
  padding-left: 18px;
}
.list li{ margin: 6px 0; }

.media-row{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: center;
}
.media-row img{
  border-radius: 14px;
  max-height: 260px;
  object-fit: cover;
}

/* Pricing extras */
.pricing-card .price{
  font-size: 28px;
  font-weight: 900;
  margin: 6px 0 4px;
}
.pricing-wide{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items: center;
}
.pricing-side{
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.pill{
  display: inline-block;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(15,164,169,.12);
  color: var(--teal2);
  font-weight: 800;
}
.hero-badge{
  border-left: 1px solid rgba(0,0,0,.08);
  padding-left: 18px;
}

/* Forms */
.form{
  display: grid;
  gap: 12px;
}
.form label{
  display: grid;
  gap: 6px;
  font-weight: 700;
  color: #172235;
}
.form input, .form textarea{
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid #d9e2ea;
  font: inherit;
}
.form input:focus, .form textarea:focus{
  outline: 3px solid rgba(15,164,169,.22);
  border-color: rgba(15,164,169,.55);
}

/* Footer */
.site-footer{
  margin-top: 30px;
  border-top: 1px solid var(--line);
}
.footer-inner{
  padding: 18px 0 28px;
  display: flex;
  flex-direction: column;   /* stack items */
  align-items: center;      /* center horizontally */
  justify-content: center;  /* center vertically */
  gap: 10px;
  color: #eaffff;
}

.site-footer .muted{
  color: #d7f6f7;
}


/* Responsive */
@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
  .bullets{ grid-template-columns: 1fr; }
  .media-row{ grid-template-columns: 1fr; }
  .pricing-wide{ grid-template-columns: 1fr; }
  .hero-badge{ border-left: none; padding-left: 0; }
}

@media (max-width: 760px){
  .site-header{
    position: static;
    height: auto !important;
  }

  .header-inner{
    height: auto !important;
    padding: 12px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .brand-left{
    order: 1;
  }

  .brand-right{
    order: 2;
  }

  .nav{
    order: 3;
    flex-basis: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 6px;
  }

  .site-header a.brand{
    height: auto !important;
  }

  .site-header a.brand img,
  .site-header img.logo{
    height: 72px !important;
    width: auto;
    max-width: 100%;
  }

  .container{
    width: min(1100px, calc(100% - 24px));
  }
}	
/* ===== HEADER & LOGO LOCK (FINAL) ===== */

/* Header height is the source of truth */
/* ===== ABSOLUTE HEADER/LOGO OVERRIDE (PASTE LAST) ===== */

	
.site-footer{
  background:var(--teal2);
  padding:24px 0 28px;
  color:#fff;
}

.site-footer .footer-center{
  display:flex;
  flex-direction:column;
  align-items:center;   /* ⬅️ THIS is the key */
  justify-content:center;
  text-align:center;
}

.footer-links{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  font-size:15px;
  margin-bottom:10px;
}

.footer-links a{
  color:#fff;
  text-decoration:underline;
}

.footer-links a:hover{
  opacity:.85;
}

.footer-note{
  font-size:14px;
  opacity:.9;
}

/* ===== FORCE-CENTER FOOTER (override everything) ===== */
.site-footer {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  text-align: center !important;
}

.site-footer .footer-inner {
  width: 100% !important;
  max-width: 1100px !important;
  padding: 18px 24px !important;
  margin: 0 auto !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

.site-footer .footer-links {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  margin: 0 0 8px 0 !important;
}

.site-footer .footer-note {
  width: 100% !important;
  text-align: center !important;
  margin: 0 !important;
}

}
