/* Page-specific styles for physiotherapy.html. Extracted without changing rule order or values. */

:root{
      --physio-bg:#0b0f14;
      --physio-panel:#121923;
      --physio-panel-hover:#17212d;
      --physio-border:rgba(255,255,255,.10);
      --physio-text:#ffffff;
      --physio-muted:#aab6c3;
      --physio-accent:#57c7ff;
      --physio-accent-soft:#a9e4ff;
      --physio-success:#8de6bf;
    }

    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{margin:0;background:var(--physio-bg);color:var(--physio-text)}

    .physio-page{min-height:100vh;overflow:hidden}
    .physio-shell{width:min(1180px,100%);margin:0 auto}

    .physio-hero{
      position:relative;
      padding:10rem 1.5rem 5rem;
      border-bottom:1px solid var(--physio-border);
      overflow:hidden;
    }

    .physio-hero::before{
      content:"";
      position:absolute;
      width:40rem;
      height:40rem;
      top:-18rem;
      right:-10rem;
      border-radius:50%;
      background:rgba(87,199,255,.14);
      filter:blur(78px);
      pointer-events:none;
    }

    .physio-hero-grid{
      position:relative;
      display:grid;
      grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);
      align-items:center;
      gap:3rem;
    }

    .eyebrow{
      margin:0 0 1rem;
      color:var(--physio-accent);
      font-size:.78rem;
      font-weight:800;
      letter-spacing:.18em;
      text-transform:uppercase;
    }

    .hero-title{
      max-width:850px;
      margin:0;
      font-size:clamp(3rem,7vw,6.2rem);
      line-height:.95;
      letter-spacing:-.055em;
    }

    .hero-copy{
      max-width:720px;
      margin:1.5rem 0 0;
      color:var(--physio-muted);
      font-size:clamp(1rem,2vw,1.18rem);
      line-height:1.75;
    }

    .hero-actions{
      display:flex;
      flex-wrap:wrap;
      gap:.8rem;
      margin-top:2rem;
    }

    .button{
      display:inline-flex;
      min-height:3rem;
      align-items:center;
      justify-content:center;
      border:1px solid transparent;
      border-radius:999px;
      padding:.82rem 1.2rem;
      text-decoration:none;
      font:inherit;
      font-size:.92rem;
      font-weight:800;
      transition:.2s ease;
      cursor:pointer;
    }

    .button-primary{
      background:var(--physio-accent);
      color:#071017;
    }

    .button-primary:hover{
      transform:translateY(-2px);
      background:var(--physio-accent-soft);
    }

    .button-secondary{
      border-color:var(--physio-border);
      background:transparent;
      color:var(--physio-text);
    }

    .button-secondary:hover{
      border-color:var(--physio-accent);
      color:var(--physio-accent-soft);
    }

    .hero-summary{
      border:1px solid var(--physio-border);
      border-radius:24px;
      padding:1.5rem;
      background:linear-gradient(145deg,rgba(87,199,255,.11),rgba(18,25,35,.9) 50%);
      box-shadow:0 28px 75px rgba(0,0,0,.24);
    }

    .hero-summary-label{
      color:var(--physio-accent-soft);
      font-size:.76rem;
      font-weight:800;
      letter-spacing:.12em;
      text-transform:uppercase;
    }

    .hero-summary h2{
      margin:.7rem 0 .75rem;
      font-size:1.55rem;
      line-height:1.2;
    }

    .hero-summary p{
      margin:0;
      color:var(--physio-muted);
      line-height:1.65;
    }

    .summary-list{
      display:grid;
      gap:.7rem;
      margin:1.3rem 0 0;
      padding:0;
      list-style:none;
    }

    .summary-list li{
      display:flex;
      gap:.7rem;
      align-items:flex-start;
      color:#dce7ef;
      font-size:.92rem;
      line-height:1.45;
    }

    .summary-list li::before{
      content:"✓";
      color:var(--physio-accent);
      font-weight:900;
    }

    .section{padding:5rem 1.5rem}
    .section-border{border-top:1px solid var(--physio-border)}
    .section-soft{background:rgba(255,255,255,.018)}

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

    .section-title{
      margin:0;
      font-size:clamp(2rem,4vw,3.45rem);
      line-height:1.02;
      letter-spacing:-.04em;
    }

    .section-copy{
      margin:1rem 0 0;
      color:var(--physio-muted);
      line-height:1.75;
      font-size:1.02rem;
    }

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

    .condition-card{
      border:1px solid var(--physio-border);
      border-radius:22px;
      padding:1.5rem;
      background:var(--physio-panel);
      transition:.22s ease;
    }

    .condition-card:hover{
      transform:translateY(-5px);
      border-color:rgba(87,199,255,.42);
      background:var(--physio-panel-hover);
      box-shadow:0 24px 60px rgba(0,0,0,.22);
    }

    .condition-icon{
      display:grid;
      width:3rem;
      height:3rem;
      place-items:center;
      border:1px solid rgba(87,199,255,.26);
      border-radius:14px;
      background:rgba(87,199,255,.08);
      color:var(--physio-accent-soft);
      font-size:1.25rem;
      font-weight:900;
    }

    .condition-card h3{
      margin:1rem 0 .55rem;
      font-size:1.25rem;
    }

    .condition-card p{
      margin:0;
      color:var(--physio-muted);
      line-height:1.65;
      font-size:.94rem;
    }

    .approach-panel{
      display:grid;
      grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
      gap:2.4rem;
      align-items:center;
      border:1px solid rgba(87,199,255,.28);
      border-radius:28px;
      padding:clamp(1.5rem,4vw,3rem);
      background:
        radial-gradient(circle at 5% 5%,rgba(87,199,255,.17),transparent 38%),
        var(--physio-panel);
    }

    .approach-visual{
      display:grid;
      min-height:300px;
      place-items:center;
      border:1px solid var(--physio-border);
      border-radius:22px;
      background:linear-gradient(145deg,#172330,#0c1118 72%);
      overflow:hidden;
    }

    .approach-ring{
      display:grid;
      width:12rem;
      height:12rem;
      place-items:center;
      border:1px solid rgba(255,255,255,.15);
      border-radius:50%;
      color:var(--physio-accent-soft);
      font-size:1rem;
      font-weight:900;
      letter-spacing:.08em;
      line-height:1.45;
      text-align:center;
    }

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

    .approach-item{
      border:1px solid var(--physio-border);
      border-radius:16px;
      padding:1rem;
      background:rgba(11,15,20,.45);
    }

    .approach-item strong{
      display:block;
      margin-bottom:.35rem;
      color:var(--physio-accent-soft);
    }

    .approach-item span{
      color:var(--physio-muted);
      font-size:.9rem;
      line-height:1.5;
    }

    .experience-strip{
      display:grid;
      grid-template-columns:minmax(0,1fr) auto;
      gap:2rem;
      align-items:center;
      border:1px solid var(--physio-border);
      border-radius:24px;
      padding:clamp(1.4rem,4vw,2.4rem);
      background:var(--physio-panel);
    }

    .experience-strip h2{
      margin:0;
      font-size:clamp(1.8rem,4vw,2.8rem);
      letter-spacing:-.035em;
    }

    .experience-strip p{
      max-width:820px;
      margin:.9rem 0 0;
      color:var(--physio-muted);
      line-height:1.75;
    }

    .experience-points{
      display:grid;
      gap:.7rem;
      min-width:250px;
      margin:0;
      padding:0;
      list-style:none;
    }

    .experience-points li{
      display:flex;
      gap:.65rem;
      color:#dce7ef;
      font-size:.92rem;
      line-height:1.45;
    }

    .experience-points li::before{
      content:"✓";
      color:var(--physio-success);
      font-weight:900;
    }

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

    .process-card{
      border:1px solid var(--physio-border);
      border-radius:20px;
      padding:1.25rem;
      background:var(--physio-panel);
    }

    .process-number{
      color:var(--physio-accent);
      font-size:.78rem;
      font-weight:900;
      letter-spacing:.12em;
      text-transform:uppercase;
    }

    .process-card h3{
      margin:.7rem 0 .55rem;
      font-size:1.12rem;
    }

    .process-card p{
      margin:0;
      color:var(--physio-muted);
      font-size:.92rem;
      line-height:1.62;
    }
    

    .clinic-panel{
      display:grid;
      grid-template-columns:minmax(300px,.88fr) minmax(0,1.12fr);
      gap:1.25rem;
      align-items:stretch;
    }

    .clinic-card{
      border:1px solid rgba(87,199,255,.3);
      border-radius:26px;
      padding:clamp(1.5rem,4vw,2.5rem);
      background:linear-gradient(145deg,rgba(87,199,255,.1),var(--physio-panel) 46%);
    }

    .clinic-card h2{
      margin:0;
      font-size:clamp(2rem,4vw,3.1rem);
      letter-spacing:-.04em;
    }

    .clinic-card > p{
      margin:1rem 0 0;
      color:var(--physio-muted);
      line-height:1.7;
    }

    .clinic-details{
      display:grid;
      gap:.85rem;
      margin:1.6rem 0;
    }

    .clinic-detail{
      display:grid;
      grid-template-columns:2.4rem 1fr;
      gap:.8rem;
      align-items:start;
    }

    .clinic-detail-icon{
      display:grid;
      width:2.4rem;
      height:2.4rem;
      place-items:center;
      border:1px solid var(--physio-border);
      border-radius:12px;
      color:var(--physio-accent-soft);
      font-weight:900;
    }

    .clinic-detail strong{
      display:block;
      margin-bottom:.2rem;
      font-size:.9rem;
    }

    .clinic-detail span,
    .clinic-detail a{
      color:var(--physio-muted);
      font-size:.92rem;
      line-height:1.5;
      text-decoration:none;
    }

    .clinic-detail a:hover{color:var(--physio-accent-soft)}

    .clinic-actions{
      display:flex;
      flex-wrap:wrap;
      gap:.7rem;
      margin-top:1.5rem;
    }

    .map-card{
      min-height:450px;
      overflow:hidden;
      border:1px solid var(--physio-border);
      border-radius:26px;
      background:var(--physio-panel);
    }

    .map-card iframe{
      display:block;
      width:100%;
      height:100%;
      min-height:450px;
      border:0;
      filter:grayscale(.22) contrast(1.02);
    }

    .faq{
      display:grid;
      gap:.75rem;
    }

    .faq details{
      border:1px solid var(--physio-border);
      border-radius:18px;
      padding:1rem 1.15rem;
      background:var(--physio-panel);
    }

    .faq summary{
      cursor:pointer;
      font-weight:800;
    }

    .faq p{
      margin:.8rem 0 0;
      color:var(--physio-muted);
      line-height:1.65;
    }

    .cta-panel{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:2rem;
      border:1px solid rgba(87,199,255,.35);
      border-radius:28px;
      padding:clamp(1.5rem,4vw,2.6rem);
      background:linear-gradient(135deg,rgba(87,199,255,.14),rgba(18,25,35,.9));
    }

    .cta-panel h2{
      margin:0;
      font-size:clamp(1.8rem,4vw,3rem);
      letter-spacing:-.035em;
    }

    .cta-panel p{
      max-width:650px;
      margin:.8rem 0 0;
      color:var(--physio-muted);
      line-height:1.7;
    }

    .cta-actions{
      display:flex;
      flex-wrap:wrap;
      flex-shrink:0;
      gap:.7rem;
    }

    #clinic{scroll-margin-top:110px}

    @media(max-width:1050px){
      .physio-hero-grid,
      .approach-panel,
      .clinic-panel{
        grid-template-columns:1fr;
      }

      .conditions-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
      }

      .process-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
      }

      .experience-strip{
        grid-template-columns:1fr;
      }

      .experience-points{
        min-width:0;
      }
    }

    @media(max-width:680px){
      .physio-hero{
        padding-top:7.5rem;
        padding-left:1.1rem;
        padding-right:1.1rem;
      }

      .section{
        padding:3.5rem 1.1rem;
      }

      .conditions-grid,
      .process-grid,
      .approach-grid{
        grid-template-columns:1fr;
      }

      .hero-actions,
      .clinic-actions,
      .cta-actions{
        flex-direction:column;
      }

      .hero-actions .button,
      .clinic-actions .button,
      .cta-actions .button{
        width:100%;
      }

      .cta-panel{
        align-items:stretch;
        flex-direction:column;
      }

      .approach-visual{
        min-height:230px;
      }

      .map-card,
      .map-card iframe{
        min-height:350px;
      }
    }


    /* Photo placeholders — replace the div content with an <img> using the suggested file path. */
    .hero-media-stack{display:grid;gap:1rem;min-width:0}
    .photo-placeholder{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.55rem;overflow:hidden;border:1px rgba(87,199,255,.48);border-radius:24px;padding:1.5rem;background:linear-gradient(145deg,rgba(87,199,255,.11),rgba(12,17,24,.94));color:var(--swim-accent-soft,#a9e4ff);text-align:center}
    .photo-placeholder::before{content:"";position:absolute;width:14rem;height:14rem;right:-5rem;top:-6rem;border-radius:50%;background:rgba(87,199,255,.12);filter:blur(8px)}
    .photo-placeholder>*{position:relative}
    .photo-placeholder-hero{min-height:300px}
    .photo-placeholder-support{min-height:330px}
    .photo-placeholder-inline{min-height:220px;margin-bottom:1.25rem;border-radius:18px}
    .photo-placeholder-label{font-size:.78rem;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
    .photo-placeholder small{max-width:390px;color:#aab6c3;font-size:.88rem;line-height:1.55}
    .photo-placeholder code{border:1px solid rgba(255,255,255,.1);border-radius:999px;padding:.38rem .7rem;background:rgba(0,0,0,.22);color:#dce7ef;font-size:.74rem}
    .photo-placeholder img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:20% center;transform:scale(1.3);display:block}

    @media(max-width:680px){.photo-placeholder-hero{min-height:240px}.photo-placeholder-support{min-height:260px}.photo-placeholder-inline{min-height:190px}}


/* Refined photo placement: images sit beside content rather than above it. */
.hero-photo-panel{
  position:relative;
  min-width:0;
}

.hero-photo-panel .photo-placeholder-hero{
  min-height:500px;
  height:100%;
  margin:0;
  border-radius:28px;
}

.hero-photo-caption{
  position:absolute;
  left:1rem;
  bottom:1rem;
  z-index:2;
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  padding:.55rem .8rem;
  background:rgba(8,13,18,.72);
  backdrop-filter:blur(8px);
  color:#dce7ef;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.hero-info-strip{
  position:relative;
  display:grid;
  grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);
  gap:2rem;
  align-items:center;
  margin-top:2rem;
  border:1px solid var(--swim-border,rgba(255,255,255,.10));
  border-radius:24px;
  padding:1.4rem 1.5rem;
  background:linear-gradient(145deg,rgba(87,199,255,.08),rgba(18,25,35,.88));
}

.hero-info-intro h2{
  margin:.45rem 0 .45rem;
  font-size:1.35rem;
  line-height:1.2;
}

.hero-info-intro p{
  margin:0;
  color:var(--swim-muted,#aab6c3);
  line-height:1.6;
}

.hero-info-list{
  grid-template-columns:repeat(2,minmax(0,1fr));
  margin:0;
}

@media(max-width:900px){
  .hero-photo-panel .photo-placeholder-hero{min-height:380px}
  .hero-info-strip{grid-template-columns:1fr}
}

@media(max-width:680px){
  .hero-photo-panel .photo-placeholder-hero{min-height:300px}
  .hero-info-list{grid-template-columns:1fr}
}


/* Background-image hero layout */
.physio-hero{
  position:relative;
  isolation:isolate;
  background-image:linear-gradient(90deg,rgba(10,15,21,.90) 0%,rgba(10,15,21,.78) 46%,rgba(10,15,21,.58) 100%),url("assets/images/physio-hero.JPG");
  background-position:center -600px;
  background-size:cover;
  background-repeat:no-repeat;
}
.physio-hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(180deg,rgba(9,14,20,.50),rgba(9,14,20,.75));
  pointer-events:none;
}
.physio-hero .physio-shell{position:relative;z-index:1}
.physio-hero .hero-copy-panel{max-width:780px}
.physio-hero .hero-title{color:#fff;text-shadow:0 2px 24px rgba(0,0,0,.28)}
.physio-hero .hero-copy{color:rgba(238,244,248,.88)}
.physio-hero .hero-summary{background:rgba(15,22,30,.82);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
@media(max-width:680px){
  .physio-hero{background-position:62% center}
  .physio-hero .hero-summary{background:rgba(15,22,30,.9)}
}
