/* ═══════════════════════════════════════════
   Rona Physio Clinic — styles.css
   Palette: Navy #0f1f3d, White #ffffff, Gold #c9a84c
   Font: Inter
   ═══════════════════════════════════════════ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #0f1f3d;
  --navy-light: #1a3058;
  --white: #ffffff;
  --off-white: #f8f9fb;
  --gold: #c9a84c;
  --gold-dark: #8c7119;
  --gold-light: #e2c97e;
  --text: #2d3748;
  --text-light: #64748b;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(15, 31, 61, 0.08);
  --shadow-lg: 0 8px 40px rgba(15, 31, 61, 0.12);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 5rem;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ─── Typography ─── */
h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

/* ─── Utility ─── */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;
}

.section--alt {
  background: var(--off-white);
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}

.section--navy h2,
.section--navy h3 {
  color: var(--white);
}

.text-center { text-align: center; }
.text-gold { color: var(--gold); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  text-align: center;
  justify-content: center;
}

.btn--primary {
  background: var(--gold);
  color: var(--navy);
}

.btn--primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.35);
}

.btn--secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn--secondary:hover {
  background: var(--white);
  color: var(--navy);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--whatsapp {
  background: #25d366;
  color: var(--white);
}

.btn--whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

/* ─── Header / Nav ─── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 31, 61, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  transition: box-shadow 0.3s ease;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__brand {
  display: flex;
  flex-direction: column;
}

.header__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.header__title {
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.header__cta {
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
}

/* ─── Hero ─── */
.hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero__badge {
  display: inline-block;
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(201, 168, 76, 0.3);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  max-width: 540px;
  line-height: 1.7;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__image {
  display: flex;
  justify-content: center;
}

.hero__image img {
  width: 100%;
  max-width: 380px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

/* ─── Who This Is For ─── */
.for-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.for-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
}

.for-list li::before {
  content: "\2713";
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.8rem;
}

/* ─── Services ─── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.service-card__icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--gold);
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ─── Why Choose ─── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.why-item__icon {
  min-width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
}

.why-item__text h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.why-item__text p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* ─── What To Expect ─── */
.expect-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.expect-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.expect-step__number {
  min-width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.2rem;
}

.expect-step__content h3 {
  margin-bottom: 0.25rem;
}

.expect-step__content p {
  color: var(--text-light);
  margin: 0;
}

/* ─── Testimonials ─── */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 0.75rem;
  left: 1.25rem;
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.4;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card p {
  font-style: italic;
  color: var(--text);
  padding-top: 1.5rem;
  margin: 0;
}

.testimonial-card__stars {
  margin-top: 1rem;
  color: var(--gold);
  font-size: 1rem;
}

/* ─── Areas ─── */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.area-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-weight: 600;
  color: var(--navy);
}

.area-tag::before {
  content: "📍";
}

/* ─── FAQ ─── */
.faq-list {
  max-width: 760px;
  margin: 2rem auto 0;
}

.faq-item {
  border-bottom: 1px solid #e2e8f0;
  padding: 1.25rem 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

.faq-item summary:hover {
  color: var(--gold-dark, #8c7119);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 300;
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin-top: 0.75rem;
  color: var(--text-light);
  animation: faqFadeIn 0.3s ease;
}

@keyframes faqFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Contact ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
}

.contact-item__icon {
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold);
  border-radius: 50%;
  font-size: 1.1rem;
}

.section--navy .contact-item {
  color: var(--white);
}

.section--navy .contact-item strong {
  color: var(--white);
}

/* ─── Footer ─── */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 1.5rem;
  font-size: 0.9rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--gold);
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
}

/* ─── WhatsApp Floating Button ─── */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

/* ═══════════════════════════════════════════
   RESPONSIVE — Tablet
   ═══════════════════════════════════════════ */
@media (min-width: 640px) {
  .for-list {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .areas-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

/* ═══════════════════════════════════════════
   RESPONSIVE — Desktop
   ═══════════════════════════════════════════ */
@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-grid .why-item:last-child:nth-child(3n+1) {
    grid-column: 2;
  }

  .expect-steps {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .areas-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .areas-grid .area-tag:last-child:nth-child(3n+1) {
    grid-column: 2;
  }

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

  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ─── Section intro ─── */
.section__intro {
  max-width: 620px;
  margin: 0 auto 0.5rem;
  color: var(--text-light);
}

.section--navy .section__intro {
  color: rgba(255, 255, 255, 0.8);
}

/* ─── Contact CTA column ─── */
.contact-cta-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  justify-content: center;
}

.contact-cta-col .btn {
  font-size: 1.1rem;
  padding: 1rem 2rem;
}

/* ─── Footer link colours ─── */
.footer__bottom a.footer-gold {
  color: var(--gold);
}

.footer__bottom p + p {
  margin-top: 0.5rem;
}

.contact-placeholder {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
}

/* ─── Footer Disclaimer ─── */
.footer__disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

.footer__disclaimer p {
  margin-bottom: 0.75rem;
}

.footer__disclaimer strong {
  color: rgba(255, 255, 255, 0.8);
}

/* ─── Professional Affiliations ─── */
.affiliations {
  background: var(--off-white);
}

.affiliations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.affiliation-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--navy);
}

.affiliation-card__emblem {
  margin-bottom: 1.25rem;
}

.affiliation-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.affiliation-card p {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.affiliation-card__reg {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--text-light);
  background: var(--off-white);
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  margin-top: 0.5rem;
}
