/* Mighty Miracles Therapy — site styles */

:root {
      /* Pastel, WCAG AA-checked palette.
         --teal is decorative-only (gradients/washes) — never used for text or
         borders that need to meet contrast requirements. --teal-dark and
         --teal-deep carry text/UI-control and solid-background duty instead. */
  --teal: #f3b8cc;
      --teal-dark: #db2777;
      --teal-deep: #a83a63;
      --coral: #d6246a;
      --coral-dark: #b01d56;
      --pink: #f4a3b3;
      --blue: #9ecbe8;
      --yellow: #fbe9a0;
      --green: #b8dfa8;
      --cream: #fff8f2;
      --cream-alt: #fbeae0;
      --ink: #4a4458;
      --ink-soft: #6a6280;
      --white: #ffffff;
      --radius: 18px;
      --shadow: 0 8px 24px rgba(44, 53, 56, 0.08);
      --max-width: 1120px;
      --font: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
      margin: 0;
      font-family: var(--font);
      color: var(--ink);
      background: var(--cream);
      line-height: 1.6;
}

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

.container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
}

a { color: inherit; }

/* Buttons */
.btn {
      display: inline-block;
      padding: 14px 30px;
      border-radius: 999px;
      font-weight: 600;
      text-decoration: none;
      transition: transform 0.15s ease, box-shadow 0.15s ease;
      border: none;
      cursor: pointer;
      font-size: 1rem;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
      background: var(--pink);
      color: var(--ink);
      box-shadow: 0 6px 16px rgba(244, 163, 179, 0.45);
}
.btn-primary:hover { background: var(--pink); }
.btn-secondary {
      background: transparent;
      color: var(--teal-dark);
      border: 2px solid var(--teal-dark);
}
.btn-secondary:hover { background: var(--teal-dark); color: var(--white); }

/* Skip link — visually hidden until keyboard focus reaches it */
.skip-link {
      position: absolute;
      left: 16px;
      top: -60px;
      background: var(--teal-dark);
      color: var(--white);
      padding: 12px 20px;
      border-radius: 999px;
      font-weight: 600;
      text-decoration: none;
      z-index: 1000;
      transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }

/* Header */
.site-header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255, 255, 255, 0.96);
      backdrop-filter: blur(6px);
      border-bottom: 1px solid rgba(44, 53, 56, 0.06);
}
.site-header::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: -3px;
      height: 3px;
      background: linear-gradient(90deg, var(--pink), var(--blue), var(--teal));
}
.site-header .container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-top: 14px;
      padding-bottom: 14px;
}
.brand {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      font-weight: 700;
      font-size: 1.1rem;
      color: var(--teal-dark);
}
.brand img {
      height: 112px;
      width: auto;
      border-radius: 10px;
}

.nav-links {
      display: flex;
      align-items: center;
      gap: 28px;
      list-style: none;
      margin: 0;
      padding: 0;
}
.nav-links a {
      text-decoration: none;
      font-weight: 500;
      color: var(--ink);
}
.nav-links a:hover { color: var(--coral); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 1.6rem;
      cursor: pointer;
      color: var(--teal-dark);
}

@media (max-width: 780px) {
      .nav-links {
              position: absolute;
              top: 100%;
              left: 0;
              right: 0;
              background: var(--white);
              flex-direction: column;
              gap: 0;
              box-shadow: var(--shadow);
              display: none;
      }
      .nav-links.open { display: flex; }
      .nav-links li { width: 100%; border-top: 1px solid rgba(44,53,56,0.06); }
      .nav-links a { display: block; padding: 16px 24px; }
      .nav-toggle { display: block; }
      .nav-cta .btn-primary { display: none; }
}

/* Hero */
.hero {
      padding: 80px 0 90px;
      background: linear-gradient(160deg, #fbe7ef 0%, var(--cream) 55%);
}
.hero .container {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 48px;
      align-items: center;
}
.hero h1 {
      font-size: clamp(2rem, 4vw, 2.9rem);
      margin: 0 0 10px;
      color: var(--teal-dark);
      line-height: 1.15;
}
.hero .eyebrow {
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-weight: 700;
      color: var(--coral);
      font-size: 0.85rem;
      margin-bottom: 12px;
      display: block;
}
.hero p.lead {
      font-size: 1.15rem;
      color: var(--ink-soft);
      margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-art {
      position: relative;
      border-radius: var(--radius);
}
.hero-art img {
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      position: relative;
      z-index: 1;
}
.hero-art::before,
.hero-art::after {
      content: "";
      position: absolute;
      border-radius: 50%;
      z-index: 0;
      opacity: 0.85;
}
.hero-art::before {
      width: 130px;
      height: 130px;
      background: var(--pink);
      top: -28px;
      right: -28px;
}
.hero-art::after {
      width: 150px;
      height: 150px;
      background: var(--blue);
      bottom: -36px;
      left: -36px;
}

/* Section basics */
section { padding: 84px 0; }
.section-head {
      text-align: center;
      max-width: 640px;
      margin: 0 auto 48px;
}
.section-head .eyebrow {
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-weight: 700;
      color: var(--coral);
      font-size: 0.85rem;
}
.section-head h2 {
      font-size: clamp(1.6rem, 3vw, 2.2rem);
      color: var(--teal-dark);
      margin: 8px 0 12px;
}
.section-head p { color: var(--ink-soft); }

/* Services */
.services { background: var(--white); }
.services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
      gap: 28px;
}
.service-card {
      position: relative;
      background: var(--cream-alt);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow);
      display: flex;
      flex-direction: column;
}
.service-card::before {
      content: "";
      display: block;
      height: 6px;
      background: var(--teal-dark);
}
.service-card:nth-child(4n+2)::before { background: var(--yellow); }
.service-card:nth-child(4n+3)::before { background: var(--green); }
.service-card:nth-child(4n+4)::before { background: var(--blue); }
.service-card img { height: 170px; width: 100%; object-fit: cover; }
.service-card:nth-child(1) img { object-position: 50% 10%; }
.service-card .body { padding: 22px; }
.service-card h3 {
      margin: 0 0 8px;
      color: var(--teal-dark);
      font-size: 1.1rem;
}
.service-card p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* About */
.about .container {
      display: grid;
      grid-template-columns: 0.9fr 1.1fr;
      gap: 48px;
      align-items: center;
}
.about-art { position: relative; }
.about-art img { border-radius: var(--radius); box-shadow: var(--shadow); position: relative; z-index: 1; width: 100%; display: block; } .about-art img + img { margin-top: 16px; }
.about-art::before,
.about-art::after {
      content: "";
      position: absolute;
      border-radius: 50%;
      z-index: 0;
      opacity: 0.85;
}
.about-art::before {
      width: 140px;
      height: 140px;
      background: var(--yellow);
      top: -30px;
      left: -30px;
}
.about-art::after {
      width: 110px;
      height: 110px;
      background: var(--green);
      bottom: -26px;
      right: -26px;
}

.about h2 { color: var(--teal-dark); font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top:0; }
.about-lead { color: var(--ink-soft); margin: -6px 0 18px; font-size: 1rem; }
.about-art img.director-photo { width: 100%; height: 340px; object-fit: cover; object-position: top; border-radius: var(--radius); box-shadow: var(--shadow); margin: 14px 0 0; display: block; } .about-art img.director-photo:nth-of-type(3) { object-position: 50% 30%; } .about-art .about-lead { position: relative; z-index: 2; text-align: center; margin: 10px 0 0; font-size: 0.95rem; }
.about .mission { font-size: 1.05rem; font-weight: 600; color: var(--coral-dark); border-left: 4px solid var(--green); padding-left: 14px; margin: 0 0 18px; }
.about .badge {
      display: inline-block;
      background: var(--teal-dark);
      color: var(--white);
      padding: 6px 16px;
      border-radius: 999px;
      font-weight: 600;
      font-size: 0.85rem;
      margin-bottom: 16px;
}

/* Testimonials */
.testimonials { background: var(--pink); color: var(--ink); }
.testimonials .section-head .eyebrow { color: var(--ink); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: 0.01em; text-transform: none; }
.testimonials .section-head p { color: var(--ink-soft); }
.testimonial-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 24px;
}
.testimonial-card {
      background: var(--cream);
      border: 1px solid rgba(44,53,56,0.1);
      border-left: 5px solid var(--teal-dark);
      border-radius: var(--radius);
      padding: 26px;
}
.testimonial-grid .testimonial-card:nth-child(2) { border-left-color: var(--yellow); }
.testimonial-grid .testimonial-card:nth-child(3) { border-left-color: var(--green); }
.testimonial-grid .testimonial-card:nth-child(4) { border-left-color: var(--blue); }
.testimonial-card p.quote {
      font-style: italic;
      color: var(--ink);
      margin: 0 0 16px;
}
.testimonial-card .name { font-weight: 700; color: var(--coral); }

/* FAQ */
.faq { background: var(--white); }
.faq-item {
      border-bottom: 1px solid rgba(44,53,56,0.1);
      border-left: 4px solid var(--teal-dark); padding-left: 14px;
}
.faq-item:nth-child(4n+2) { border-left-color: var(--yellow); }
.faq-item:nth-child(4n+3) { border-left-color: var(--green); }
.faq-item:nth-child(4n+4) { border-left-color: var(--blue); }
.faq-item summary {
      padding: 20px 4px;
      font-weight: 600;
      cursor: pointer;
      list-style: none;
      display: flex;
      justify-content: space-between;
      align-items: center;
      color: var(--teal-dark);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
      content: "+";
      font-size: 1.4rem;
      color: var(--coral);
      transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .answer { padding: 0 4px 22px; color: var(--ink-soft); }

/* Contact */
.contact { background: var(--cream-alt); }
.contact .container.contact-single {
      display: grid;
      grid-template-columns: 0.9fr 1.1fr;
      gap: 48px;
      align-items: center;
}
.contact h2 { color: var(--teal-dark); margin-top: 0; }
.contact-info p { color: var(--ink-soft); }
.contact-card {
      background: var(--white);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 40px;
      text-align: center;
}
.contact-lead {
      color: var(--ink-soft);
      margin: 0 0 22px;
      font-size: 1.05rem;
}
.contact-lead a { color: var(--teal-dark); font-weight: 600; text-decoration: none; }
.contact-lead a:hover { text-decoration: underline; }
.contact-email-btn { word-break: break-word; }
.contact-or { margin: 14px 0 0; font-size: 0.9rem; color: var(--ink-soft); }
.contact-or a { color: var(--teal-dark); font-weight: 600; text-decoration: none; }
.contact-or a:hover { text-decoration: underline; }
.contact-info a { color: var(--teal-dark); font-weight: 600; text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }

/* CTA banner */
.cta-banner {
      background: var(--pink);
      color: var(--ink);
      text-align: center;
}
.cta-banner h2 { margin: 0 0 20px; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-banner .btn-secondary {
      border-color: var(--ink);
      color: var(--ink);
}
.cta-banner .btn-secondary:hover { background: var(--ink); color: var(--white); }

/* Footer */
.site-footer {
      background: var(--ink);
      color: rgba(255,255,255,0.85);
      padding: 48px 0 24px;
}
.footer-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 24px;
      padding-bottom: 28px;
      border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.footer-brand span { font-weight: 700; }
.footer-address { margin: 2px 0 0; font-weight: 400; font-size: 0.85rem; color: rgba(255,255,255,0.75); }
.footer-brand img { height: 36px; border-radius: 8px; }
.social-links { display: flex; gap: 16px; }
.social-links a {
      text-decoration: none;
      color: rgba(255,255,255,0.85);
      font-weight: 500;
}
.social-links a:hover { color: var(--white); }
.footer-bottom {
      padding-top: 20px;
      font-size: 0.85rem;
      color: rgba(255,255,255,0.75);
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.75); text-decoration: underline; }

/* Cookie banner */
.cookie-banner {
      position: fixed;
      left: 16px;
      right: 16px;
      bottom: 16px;
      max-width: 560px;
      margin: 0 auto;
      background: var(--white);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 20px 24px;
      z-index: 100;
}
.cookie-banner p { margin: 0 0 14px; font-size: 0.9rem; color: var(--ink-soft); }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-actions button {
      padding: 10px 20px;
      border-radius: 999px;
      border: none;
      font-weight: 600;
      cursor: pointer;
      font-size: 0.9rem;
}
.cookie-accept { background: var(--teal-dark); color: var(--white); }
.cookie-decline { background: var(--cream-alt); color: var(--ink); }
.cookie-manage { background: none; color: var(--teal-dark); text-decoration: underline; padding: 10px 4px; }

@media (max-width: 860px) {
      .hero .container,
      .about .container,
      .contact .container {
              grid-template-columns: 1fr;
      }
      .hero-art { order: -1; }
}
