:root{
  --bg: #f4f0e6;
  --bg2:#eaf3f2;
  --panel:#ffffffd6;
  --text:#0b1b1f;
  --muted:#4b6168;
  --accent:#18a6b7;
  --accent2:#f4a340;
  --border: rgba(11,27,31,.12);
  --shadow: 0 14px 40px rgba(11,27,31,.10);
  --radius: 18px;
  --max: 1100px;
  --headerH: 86px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top: var(--headerH); }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--text);
  line-height: 1.55;

  /* More visible watermark logo */
  background:
    linear-gradient(180deg, rgba(244,240,230,.70), rgba(234,243,242,.82)),
    radial-gradient(900px 520px at 15% 0%, rgba(244,163,64,.26), transparent 55%),
    radial-gradient(900px 620px at 85% 8%, rgba(24,166,183,.22), transparent 58%),
    url("images/swimfit-logo.png");
  background-size: cover, auto, auto, 1200px;
  background-position: center, center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
  background-attachment: fixed, scroll, scroll, fixed;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.muted{ color: var(--muted); }
.tiny{ font-size: 13px; }

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(244,240,230,.78);
  border-bottom: 1px solid var(--border);
}

.header-inner{
  min-height: var(--headerH);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 240px;
}
.brand-mark{
  width: 56px;   /* bigger logo */
  height: 56px;
  border-radius: 16px;
  background: url("images/swimfit-logo.png") center/contain no-repeat;
  box-shadow: var(--shadow);
}
.brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.15;
}
.brand-text strong{
  font-size: 20px; /* slightly larger */
  letter-spacing: 0.1px;
}
.brand-text small{
  color: var(--muted);
  font-size: 13px; /* slightly larger */
}

.nav{
  display:flex;
  align-items:center;
  gap:12px;
}
.nav a{
  color: var(--muted);
  font-weight: 800;
  font-size: 15px;  /* slightly larger */
  padding: 10px 10px;
  border-radius: 12px;
}
.nav a:hover{
  background: rgba(11,27,31,.06);
  color: var(--text);
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  font-weight: 900;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(11,27,31,.08);
  background: rgba(255,255,255,.70);
  transition: transform .08s ease, box-shadow .18s ease, background .18s ease;
}
.btn:active{ transform: translateY(1px); }
.btn-primary{
  border: none;
  color: #062126;
  background: linear-gradient(135deg, rgba(24,166,183,.95), rgba(244,163,64,.92));
}
.btn-primary:hover{ box-shadow: 0 14px 30px rgba(11,27,31,.14); }
.btn-secondary{ background: rgba(255,255,255,.78); }
.btn-ghost{ background: transparent; }

/* Burger */
.nav-toggle{
  display:none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.65);
  box-shadow: 0 10px 25px rgba(11,27,31,.08);
  cursor:pointer;
}
.nav-toggle span{
  display:block;
  height:2px;
  width: 20px;
  background: rgba(11,27,31,.65);
  margin: 4px auto;
  border-radius: 2px;
}

/* Hero */
.hero{ padding: 54px 0 22px; }
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items: start;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.62);
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
  width: fit-content;
}
.hero h1{
  margin: 12px 0 10px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.6px;
}
.hero p{
  margin: 0 0 16px;
  font-size: 17px;
  max-width: 70ch;
}
.hero-media{ display:grid; gap: 12px; }
.media-card, .info-card{
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.media-card img{
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center;
}
.media-caption{
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  display:flex;
  flex-direction:column;
}
.media-caption span{ color: var(--muted); font-size: 13px; }
.info-card{ padding: 14px; }
.info-card h3{ margin: 0 0 6px; }
.info-card p{ margin: 0 0 12px; }
.info-card .btn{ width: 100%; }
.info-card .tiny{ margin: 10px 0 0; }

/* Sections */
.section{ padding: 44px 0; }
.section-soft{
  background: rgba(255,255,255,.32);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.section-head h2{
  margin:0;
  font-size: 28px;
  letter-spacing: -0.3px;
}

/* Cards */
.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card{
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.78);
  box-shadow: 0 10px 25px rgba(11,27,31,.08);
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.card-icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(11,27,31,.04);
  border: 1px solid var(--border);
  font-size: 22px;
}
.card ul{ margin: 0; padding-left: 18px; color: var(--muted); }
.card li{ margin: 6px 0; }
.card .btn{ margin-top: 4px; width: 100%; }

/* Steps */
.steps{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.step{
  display:flex;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.72);
  box-shadow: 0 10px 20px rgba(11,27,31,.06);
}
.step-num{
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(24,166,183,.14);
  border: 1px solid rgba(24,166,183,.25);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  flex: 0 0 auto;
}
.step h4{ margin: 0 0 4px; }
.step p{ margin: 0; }

/* Testimonials */
.testimonials{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.quote-card{
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.78);
  box-shadow: 0 10px 25px rgba(11,27,31,.08);
}
.quote{ margin: 0 0 10px; font-weight: 700; }
.quote-by{ margin: 0; color: var(--muted); font-size: 13px; font-weight: 800; }

/* Page hero + pricing */
.page-hero{ padding: 50px 0 30px; }
.page-hero-head{
  text-align:center;
  max-width: 860px;
  margin: 0 auto 18px;
}
.page-icon{
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--border);
  box-shadow: 0 10px 20px rgba(11,27,31,.06);
  font-size: 24px;
  margin-bottom: 10px;
}
.page-hero h1{
  margin: 6px 0 10px;
  font-size: clamp(30px, 3.6vw, 44px);
  letter-spacing: -0.4px;
}

.pricing-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
  margin-top: 18px;
}
.price-card{
  position: relative;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.80);
  box-shadow: var(--shadow);
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.price{
  font-size: 34px;
  font-weight: 950;
  letter-spacing: -0.7px;
}
.divider{ height: 1px; background: var(--border); margin: 6px 0; }
.price-card ul{ margin: 0; padding-left: 18px; color: var(--muted); }
.price-card.featured{
  background: linear-gradient(180deg, rgba(24,166,183,.14), rgba(244,163,64,.12));
  border: 1px solid rgba(24,166,183,.28);
}
.tag{
  position:absolute;
  top: 14px;
  right: 14px;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(11,27,31,.06);
  border: 1px solid var(--border);
  font-weight: 900;
  color: var(--muted);
}
.page-cta{
  display:flex;
  justify-content:center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* Coach page layout */
.coach-layout{
  display:grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 16px;
  align-items: stretch;
}
.coach-photo-card{
  background: rgba(255,255,255,.80);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.coach-photo-card img{
  width:100%;
  height: 360px; /* keeps it visible without being huge */
  object-fit: cover;
  object-position: center 25%;
}
.coach-info-card{
  background: rgba(255,255,255,.80);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.coach-info-card h2{ margin: 0 0 2px; }
.coach-info-card p{ margin: 0; color: var(--text); }
.coach-logos{
  display:flex;
  gap: 12px;
  align-items:center;
  justify-content:flex-start;
  margin-top: 6px;
}
.coach-logos img{
  height: 44px;         /* makes them small */
  width: auto;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.7);
  padding: 6px;
}

/* CTA + Footer */
.cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow);
}
.cta-actions{ display:flex; gap: 12px; flex-wrap: wrap; }

.footer{
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.footer.compact{ text-align:center; }
.footer-inner{
  display:flex;
  justify-content:space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items:center;
  margin-bottom: 12px;
}
.footer-links{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-links a{
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
  padding: 6px 8px;
  border-radius: 10px;
}
.footer-links a:hover{
  background: rgba(11,27,31,.06);
  color: var(--text);
}

/* Mobile sticky CTA */
.mobile-cta{
  display:none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 999;
  text-align:center;
  padding: 14px 14px;
  border-radius: 16px;
  font-weight: 950;
  color: #062126;
  background: linear-gradient(135deg, rgba(24,166,183,.95), rgba(244,163,64,.92));
  box-shadow: 0 14px 34px rgba(11,27,31,.20);
}

/* Responsive */
@media (max-width: 980px){
  body{ background-attachment: scroll, scroll, scroll, scroll; }
  .hero-grid{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .pricing-grid{ grid-template-columns: 1fr; }
  .testimonials{ grid-template-columns: 1fr; }

  .coach-layout{ grid-template-columns: 1fr; }
  .coach-photo-card img{ height: 260px; }

  .nav-toggle{ display:inline-flex; align-items:center; justify-content:center; }
  .nav{
    position: fixed;
    top: var(--headerH);
    left: 0;
    right: 0;
    padding: 12px 20px;
    background: rgba(244,240,230,.96);
    border-bottom: 1px solid var(--border);
    display:none;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .nav a{ width: 100%; }

  .mobile-cta{ display:block; }
}

