:root{
  --bg1:#f7f8ff;
  --bg2:#eefcff;
  --text:#0f172a;
  --muted:#475569;
  --card:#ffffff;
  --line:rgba(15,23,42,.10);
  --shadow: 0 10px 22px rgba(15,23,42,.08);

  --grad2:#6d5efc;
  --grad4:#06b6d4;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }

body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--text);
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(109,94,252,.18), transparent 55%),
    radial-gradient(900px 420px at 85% 0%, rgba(6,182,212,.16), transparent 55%),
    linear-gradient(180deg, var(--bg1), var(--bg2));
  line-height:1.55;
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; }

.container{ width:min(1100px, 92vw); margin:0 auto; }

/* ================= HEADER ================= */
.site-header{
  position:sticky; top:0; z-index:50;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:12px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.logo{
  width:54px;
  height:54px;
  object-fit:cover;
  border-radius:14px;
  box-shadow: 0 8px 18px rgba(15,23,42,.10);
}

.brand-name{ font-weight:800; line-height:1.05; }
.brand-sub{ font-size:.92rem; color:var(--muted); }

.nav-toggle{
  display:none;
  border:1px solid var(--line);
  background:#fff;
  padding:10px 12px;
  border-radius:12px;
  cursor:pointer;
}

.site-nav{
  display:flex;
  gap:8px;
  align-items:center;
}

/* ✅ IMPORTANT FIX:
   Your HTML links do NOT use .nav-link class
   so we style .site-nav a directly */
.site-nav a{
  padding:10px 12px;
  border-radius:12px;
  color: var(--muted);
  transition: background .15s ease, color .15s ease, transform .15s ease;
}

.site-nav a:hover{
  background: rgba(109,94,252,.10);
  text-decoration:none;
  color: var(--text);
}

.site-nav a.active{
  color: var(--text);
  background: rgba(6,182,212,.12);
  text-decoration:none;
}

/* Keep these (harmless) in case you add nav-link later */
.nav-link{
  padding:10px 12px;
  border-radius:12px;
  color: var(--muted);
  transition: background .15s ease, color .15s ease;
}
.nav-link:hover{
  background: rgba(109,94,252,.10);
  text-decoration:none;
  color: var(--text);
}
.nav-link.active{
  color: var(--text);
  background: rgba(6,182,212,.12);
}

/* Register CTA in header */
.nav-cta{
  margin-left:.75rem;
  padding:.55rem .95rem;
  border-radius:999px;
  font-weight:700;
  text-decoration:none;
  border:1px solid rgba(15,23,42,.15);
  box-shadow: 0 10px 22px rgba(15,23,42,.12);
  white-space:nowrap;
  transition: transform .15s ease, box-shadow .15s ease;
}

.nav-cta:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15,23,42,.18);
  text-decoration:none;
}

@media (max-width: 768px){
  .nav-cta{
    padding: .65rem 1.15rem;
    font-size: 1rem;
    font-weight: 800;
  }
}

/* ================= HERO ================= */
.hero{ padding:46px 0 16px; }

.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:18px;
  align-items:center;
}

h1{
  font-size: clamp(34px, 4vw, 52px);
  line-height:1.08;
  margin:0 0 10px;
  letter-spacing:-0.02em;
}

.lead{
  font-size:1.06rem;
  color:var(--muted);
  margin:0 0 16px;
}

.hero-media{
  border-radius:22px;
  overflow:hidden;
  box-shadow: var(--shadow);
  border:1px solid var(--line);
  background:#fff;
  transition: transform .15s ease, box-shadow .15s ease;
}

.hero-media:hover{ transform: translateY(-2px); }

.hero-photo{
  width:100%;
  height:320px;
  object-fit:cover;
  display:block;
}

/* ================= SECTIONS ================= */
.section{ padding:28px 0; }

.section.soft{
  background: rgba(255,255,255,.55);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.section-head{ margin-bottom:14px; }
.section-head h2{ margin:0 0 6px; letter-spacing:-0.02em; }

.muted{ color: var(--muted); }

/* ================= BUTTONS ================= */
.button-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:10px;
}

.btn{
  display:inline-block;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  font-weight:700;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn:hover{
  text-decoration:none;
  transform: translateY(-1px);
}

.btn.primary{
  border:none;
  color:white;
  background: linear-gradient(135deg, var(--grad2), var(--grad4));
  box-shadow: 0 10px 20px rgba(109,94,252,.18);
}

.btn.ghost{ background:#fff; }

/* ================= TRUST STRIP ================= */
.trust-strip{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}

.trust-item{
  font-size:.92rem;
  padding:8px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.75);
  border:1px solid var(--line);
  color: var(--muted);
}

/* ================= CARDS ================= */
.card{
  background: var(--card);
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}

.card:hover{ transform: translateY(-2px); }

.card h2{ margin:0 0 6px; }
.card p{ margin:0; color: var(--muted); }

.cards-2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:14px;
}

.stack{ display:grid; gap:14px; }

/* ================= PHOTOS (GENERAL SITE) ================= */
/* This is your general gallery grid used on other pages */
.photo-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:14px;
}

.photo-grid img{
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:18px;
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  display:block;
  transition: transform .15s ease, box-shadow .15s ease;
}

.photo-grid img:hover{ transform: translateY(-2px); }

/* ================= ABOUT ================= */
.about-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:14px;
}

.coach-card{ padding:18px; }

.coach-top{
  display:grid;
  grid-template-columns: 160px 1fr;
  gap:18px;
  align-items:center;
  margin-bottom:14px;
}

.coach-photo{
  width:150px;
  height:150px;
  border-radius:16px;
  object-fit:cover;
}

.coach-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}

ul.tight{
  margin:0;
  padding-left:18px;
}

ul.tight li{ margin:6px 0; }

/* ================= PROGRAMS ================= */
.programs-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:14px;
}

/* Programs page photo grid (inside cards) */
.program-photo-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
  margin:12px 0 12px;
}

.program-photo-grid img{
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:18px;
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  background:#fff;
  transition: transform .15s ease, box-shadow .15s ease;
}

.program-photo-grid img:hover{
  transform: translateY(-2px);
}

/* ================= CTA ================= */
.cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  background: linear-gradient(135deg, rgba(109,94,252,.12), rgba(6,182,212,.12));
  border:1px solid var(--line);
  border-radius:22px;
  padding:18px;
}

.info-cta{
  padding: 1.25rem 1.25rem;
  border-radius: 22px;
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: 0 12px 30px rgba(15,23,42,.10);
}

/* ================= FOOTER ================= */
.site-footer{
  border-top:1px solid var(--line);
  padding:18px 0;
  margin-top:10px;
  background: rgba(255,255,255,.55);
}

.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.footer-title{ font-weight:800; }

.footer-right{
  display:flex;
  gap:12px;
}

.footer-right a{ color: var(--muted); }
.footer-right a:hover{ color: var(--text); text-decoration:none; }

/* ================= RESPONSIVE ================= */
@media (max-width: 950px){
  .programs-grid{ grid-template-columns:1fr; }
}

@media (max-width: 860px){
  .hero-grid, .cards-2, .about-grid{ grid-template-columns:1fr; }
  .hero-photo{ height:240px; }
  .nav-toggle{ display:inline-block; }

  .site-nav{
    position:absolute;
    right:4vw;
    top:68px;
    flex-direction:column;
    width:min(320px, 92vw);
    padding:10px;
    border:1px solid var(--line);
    border-radius:16px;
    background: rgba(255,255,255,.95);
    box-shadow: var(--shadow);
    display:none;
  }
  .site-nav.open{ display:flex; }

  .photo-grid{ grid-template-columns: repeat(2, 1fr); }
  .photo-grid img{ height:160px; }

  .program-photo-grid{
    grid-template-columns: repeat(2, 1fr);
  }
  .program-photo-grid img{
    height:160px;
  }
}

@media (max-width: 420px){
  .photo-grid{ grid-template-columns:1fr; }
  .coach-top{ grid-template-columns:1fr; }
  .coach-photo{ width:140px; height:140px; }
  .coach-grid{ grid-template-columns:1fr; }

  .program-photo-grid{
    grid-template-columns: 1fr;
  }
}

/* About page – coaching photos */
.about-page .program-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.about-page .program-photo-grid img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  background: #f3f4f6;
}

/* =========================================
   BEACH PAGE ADDITIONS (NEW)
   ========================================= */

/* Hero should align to top for cleaner layout */
.hero .hero-grid{ align-items:start; }

/* Beach checklist */
.checklist{
  margin: 12px 0 18px;
  padding-left: 18px;
}
.checklist li{ margin: 6px 0; }

/* Pathway note box */
.note{
  margin: 14px 0 18px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.65);
  color: var(--text);
}
.note strong{ font-weight: 800; }

/* ✅ Override photo-grid ONLY inside beach hero */
.hero .hero-media{ padding: 12px; }

.hero .photo-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}

.hero .photo-grid img{
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:16px;
  border:1px solid var(--line);
  box-shadow: none; /* cleaner inside hero frame */
  display:block;
  transition: transform .15s ease, box-shadow .15s ease;
}

.hero .photo-grid img:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Featured first image spans full width */
.hero .photo-grid img:nth-child(1){
  grid-column: 1 / -1;
  height:210px;
}

@media (max-width: 860px){
  .hero .photo-grid img{ height:160px; }
  .hero .photo-grid img:nth-child(1){ height:190px; }
}

/* Summer overview two-column grid */
.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
@media (max-width: 860px){
  .grid-2{ grid-template-columns:1fr; }
}

.card-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}

/* Mini blocks inside June/July */
.mini-cards{
  display:grid;
  grid-template-columns: 1fr;
  gap:10px;
  margin-top:12px;
}

.mini{
  padding: 12px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.75);
}

.mini-title{
  font-weight: 800;
  margin-bottom: 3px;
}

.mini-meta{ font-size: .95rem; }

/* Accordion */
.accordion details{
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 12px;
  margin-top: 10px;
  background: rgba(255,255,255,.75);
}

.accordion summary{
  cursor:pointer;
  font-weight: 800;
  list-style: none;
  outline: none;
}

.accordion summary::-webkit-details-marker{ display:none; }

.accordion details > p{
  margin: 8px 0 0;
}

.accordion summary::after{
  content: " +";
  font-weight: 800;
  opacity: .6;
}
.accordion details[open] summary::after{
  content: " –";
}
.brand{
  align-items:center; /* keep this */
}

.brand-text{
  display:flex;
  flex-direction:column;
  justify-content:center; /* KEY FIX */
  line-height:1.05;
}

.brand-sub{
  margin-top:2px;
}
/* Homepage hero gap fix */
.hero{ padding:46px 0 6px; }     /* or 0 if you want it tighter */
.hero-grid{ align-items:start; }  /* removes the “floating” feel */

/* Pills row (prevents extra space + makes it look intentional) */
.pill-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:12px;
  margin-bottom:0;
}

.pill{
  font-size:.92rem;
  padding:8px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.75);
  border:1px solid var(--line);
  color: var(--muted);
}
