/* style.css — Armoured Physiotherapy public site styles */

/* ── FONTS ────────────────────────────────────────────────────────────────── */
    @font-face {
      font-family: 'Proxima Nova';
      src: url('https://cdn.jsdelivr.net/npm/@dannymichel/proxima-nova@1.0.2/fonts/proximanova-regular-webfont.woff2') format('woff2'),
           url('https://cdn.jsdelivr.net/npm/@dannymichel/proxima-nova@1.0.2/fonts/proximanova-regular-webfont.woff') format('woff');
      font-weight: 400;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: 'Proxima Nova';
      src: url('https://cdn.jsdelivr.net/npm/@dannymichel/proxima-nova@1.0.2/fonts/proximanova-semibold-webfont.woff2') format('woff2'),
           url('https://cdn.jsdelivr.net/npm/@dannymichel/proxima-nova@1.0.2/fonts/proximanova-semibold-webfont.woff') format('woff');
      font-weight: 600;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: 'Proxima Nova';
      src: url('https://cdn.jsdelivr.net/npm/@dannymichel/proxima-nova@1.0.2/fonts/proximanova-bold-webfont.woff2') format('woff2'),
           url('https://cdn.jsdelivr.net/npm/@dannymichel/proxima-nova@1.0.2/fonts/proximanova-bold-webfont.woff') format('woff');
      font-weight: 700;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: 'Proxima Nova';
      src: url('https://cdn.jsdelivr.net/npm/@dannymichel/proxima-nova@1.0.2/fonts/proximanova-light-webfont.woff2') format('woff2'),
           url('https://cdn.jsdelivr.net/npm/@dannymichel/proxima-nova@1.0.2/fonts/proximanova-light-webfont.woff') format('woff');
      font-weight: 300;
      font-style: normal;
      font-display: swap;
    }


    /* ══ REVIEWS TICKER TAPE ══════════════════════════════ */
    .ticker-wrap {
      background: white;
      overflow: hidden;
      padding: 9px 0;
      border-bottom: 1px solid var(--pw-dark);
      display: flex;
      align-items: center;
    }
    .ticker-google-badge {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 0 16px 0 20px;
      border-right: 1px solid var(--pw-dark);
      flex-shrink: 0;
      white-space: nowrap;
      font-size: 0.78rem;
      font-weight: 700;
      color: var(--text);
    }
    .ticker-google-badge .g-icon {
      display: inline-flex;
      align-items: center;
      width: 16px;
      height: 16px;
      flex-shrink: 0;
    }
    .ticker-scroll-area { overflow: hidden; flex: 1; }
    .ticker-track {
      display: flex;
      white-space: nowrap;
      animation: ticker-scroll 55s linear infinite;
    }
    .ticker-wrap:hover .ticker-track { animation-play-state: paused; }
    .ticker-item {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 0 36px;
      font-size: 0.82rem;
      color: var(--text);
      flex-shrink: 0;
    }
    .ticker-stars { color: #f59e0b; letter-spacing: 1px; font-size: 0.75rem; }
    .ticker-name { color: var(--text-light); font-size: 0.78rem; }
    .ticker-sep { color: var(--pw-dark); margin: 0 4px; }
    @keyframes ticker-scroll {
      0%   { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }
    /* ══════════════════════════════════════════════════════ */


    @media (prefers-reduced-motion: reduce) {
      .band, .section, .page-title-band {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
      }
      .band-photo img { transition: none !important; transform: scale(1) !important; }
      .ticker-track { animation: none !important; }
      .page { transition: none !important; }
      .site-header { transition: none !important; }
      .nav-logo { transition: none !important; }
    }

    /* ══ ANIMATIONS ══════════════════════════════════════════ */

    /* ── Page transition fade ── */
    .page { opacity: 0; transition: opacity 0.22s ease; pointer-events: none; }
    .page.active { opacity: 1; pointer-events: auto; }

    /* ── Scroll fade-in on bands ── */
    .band, .section, .page-title-band {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.55s ease, transform 0.55s ease;
    }
    .band.visible, .section.visible, .page-title-band.visible {
      opacity: 1;
      transform: translateY(0);
    }
    /* Stagger left and right halves of each band */
    .band.visible .band-text  { transition-delay: 0.05s; }
    .band.visible .band-photo { transition-delay: 0.15s; }

    /* ── Image subtle zoom on scroll ── */
    .band-photo img {
      transition: transform 6s ease, opacity 0.55s ease;
      transform: scale(1.04);
    }
    .band.visible .band-photo img {
      transform: scale(1.0);
    }

    /* ── Button hover lift ── */
    .btn {
      transition: background 0.18s ease, border-color 0.18s ease,
                  transform 0.18s ease, box-shadow 0.18s ease;
      box-shadow: 0 2px 6px rgba(37, 43, 110, 0.15);
    }
    .btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 18px rgba(37, 43, 110, 0.22);
    }
    .btn:active {
      transform: translateY(0px);
      box-shadow: 0 2px 6px rgba(37, 43, 110, 0.15);
    }

    /* ── Nav pills - active state only, no underline needed ── */
    /* ══════════════════════════════════════════════════════════ */

/* ── SITE STYLES ──────────────────────────────────────────────────────────── */
    /* ── SKIP LINK (accessibility) ── */
    .skip-link {
      position: absolute;
      top: -100px;
      left: 16px;
      background: var(--navy);
      color: white;
      padding: 10px 20px;
      border-radius: 0 0 8px 8px;
      font-size: 0.9rem;
      font-weight: 600;
      text-decoration: none;
      z-index: 9999;
      transition: top 0.2s;
    }
    .skip-link:focus { top: 0; }

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

    :root {
      --navy:        #0E036C;
      --navy-dark:   #0a0250;
      --navy-mid:    #1a0e8a;
      --periwinkle:  #dce6f5;
      --pw-dark:     #c2d0e8;
      --white:       #ffffff;
      --text:        #0E036C;
      --text-light:  #5a5490;
      --font: 'Proxima Nova', 'Helvetica Neue', Arial, sans-serif;
      --max-w: 1100px;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: var(--font);
      color: var(--text);
      background: var(--white);
      font-size: 16px;
      line-height: 1.75;
      font-weight: 400;
    }

    a { color: var(--navy); text-decoration: underline; }
    a:hover { color: var(--navy-dark); }

    /* ── PAGES ── */
    .page { display: none; }
    .page.active { display: block; }

    /* ── SITE HEADER ── */
    .site-header {
      background: var(--white);
      border-bottom: 1px solid var(--pw-dark);
      padding: 10px 24px;
      transition: opacity 0.3s ease, transform 0.3s ease;
    }
    .site-header.hidden {
      opacity: 0;
      transform: translateY(-8px);
      pointer-events: none;
    }
    .site-header-inner {
      max-width: var(--max-w);
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }
    .header-logo img  { height: 72px; width: auto; display: block; cursor: pointer; }
    .header-signage img { height: 72px; width: auto; display: block; }
    @media (max-width: 600px) {
      .header-signage { display: none; }
      .header-logo img { height: 56px; }
    }

    /* ── NAV ── */
    nav {
      background: var(--navy);
      position: -webkit-sticky;
      position: sticky;
      top: 0;
      z-index: 100;
      transition: box-shadow 0.3s ease;
      overflow: visible;
    }
    nav.scrolled {
      box-shadow: 0 2px 16px rgba(14,3,108,0.35);
    }
    .nav-inner {
      max-width: var(--max-w);
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 8px 0;
      overflow: visible;
    }

    /* Nav logo — real logo in white box, hidden until scrolled */
    .nav-logo {
      display: flex;
      align-items: center;
      padding: 4px 14px 4px 12px;
      opacity: 0;
      transform: translateX(-10px);
      transition: opacity 0.3s ease, transform 0.3s ease;
      pointer-events: none;
      flex-shrink: 0;
      border-right: 1px solid rgba(255,255,255,0.2);
      cursor: pointer;
    }
    .nav-logo img {
      height: 34px;
      width: auto;
      display: block;
      object-fit: contain;
    }
    nav.scrolled .nav-logo {
      opacity: 1;
      transform: translateX(0);
      pointer-events: auto;
    }
    @media (max-width: 760px) { .nav-logo { display: none; } }

    .nav-links {
      list-style: none;
      display: flex;
      align-items: center;
      margin: 0;
      padding: 0;
      flex: 1;
      justify-content: center;
      overflow: visible;
    }
    .nav-links li { display: flex; align-items: center; overflow: visible; }
    .nav-links a {
      display: flex;
      align-items: center;
      padding: 7px 16px;
      margin: 0 3px;
      font-family: var(--font);
      font-size: 0.85rem;
      font-weight: 400;
      color: rgba(255,255,255,0.92);
      text-decoration: none;
      border-radius: 20px;
      white-space: nowrap;
      transition: background 0.15s, color 0.15s;
    }
    .nav-links li:first-child a { border-left: none; }
    .nav-links a:hover { background: rgba(255,255,255,0.15); color: white; text-decoration: none; }
    .nav-links a.active {
      background: white;
      color: var(--navy);
      font-weight: 600;
      text-decoration: none;
    }

    /* mobile nav */
    .hamburger {
      display: none; background: none; border: none;
      cursor: pointer; padding: 12px 16px;
      flex-direction: column; gap: 5px;
    }
    .hamburger span { display: block; width: 22px; height: 2px; background: white; }
    @media (max-width: 760px) {
      .hamburger { display: flex; }
      .nav-inner { justify-content: flex-end; }
      .nav-links {
        display: none; flex-direction: column;
        position: absolute; top: 100%; left: 0; right: 0;
        background: var(--navy); z-index: 99;
        border-top: 1px solid rgba(255,255,255,0.15);
      }
      .nav-links.open { display: flex; }
      .nav-links li { width: 100%; }
      .nav-links a {
        padding: 11px 20px; border-right: none;
        border-radius: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        margin: 0; width: 100%;
      }
      .nav-links li:first-child a { border-left: none; }
      .nav-links a.active, .nav-links a:hover {
        background: rgba(255,255,255,0.15); color: white;
        border-radius: 0;
      }
      .nav-links a.active {
        background: white; color: var(--navy);
      }
    }

    /* ── FULL-WIDTH BAND LAYOUT (matches Wix exactly) ── */
    /* Each section is a full-width horizontal band split 50/50:
       left = periwinkle blue with text, right = photo (or vice versa) */
    .band {
      display: grid;
      grid-template-columns: 1fr 1fr;
      min-height: 420px;
    }
    .band-text {
      background: var(--periwinkle);
      padding: 64px 56px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      text-align: center;         /* centred text matches Wix */
    }
    .band-photo {
      overflow: hidden;
      min-height: 380px;
    }
    .band-photo img {
      width: 100%; height: 100%;
      object-fit: cover; object-position: center;
      display: block;
    }
    /* White band variant (used for some inner sections) */
    .band-text.white { background: var(--white); }

    @media (max-width: 700px) {
      .band { grid-template-columns: 1fr; }
      .band-photo { min-height: 260px; order: -1; }
      .band-text { padding: 40px 28px; }
    }

    /* ── TYPOGRAPHY ── */
    h1 {
      font-family: var(--font);
      font-size: clamp(1.8rem, 3.5vw, 2.6rem);
      font-weight: 700;
      color: var(--text);
      line-height: 1.2;
      margin-bottom: 18px;
    }
    h2 {
      font-family: var(--font);
      font-size: clamp(1rem, 2vw, 1.35rem);
      font-weight: 400;
      color: var(--text);
      line-height: 1.45;
      margin-bottom: 20px;
    }
    h3 {
      font-family: var(--font);
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 10px;
    }
    p { margin-bottom: 14px; color: var(--text); font-size: 0.97rem; }
    p:last-child { margin-bottom: 0; }

    /* ── BUTTONS — rounded pill, navy fill ── */
    .btn-row {
      display: flex; gap: 14px;
      flex-wrap: wrap; margin-top: 28px;
      justify-content: center;
    }
    .btn {
      display: inline-block;
      padding: 10px 28px;
      border-radius: 30px;
      font-family: var(--font);
      font-size: 0.88rem;
      font-weight: 600;
      background: var(--navy);
      color: white;
      border: 2px solid var(--navy);
      text-decoration: none;
      cursor: pointer;
      transition: background 0.18s, border-color 0.18s;
      letter-spacing: 0.02em;
    }
    .btn:hover { background: var(--navy-dark); border-color: var(--navy-dark); color: white; text-decoration: none; }
    .btn-outline { background: transparent; color: var(--navy); }
    .btn-outline:hover { background: var(--navy); color: white; }
    .btn-accent { background: var(--navy); color: white; border-color: var(--navy); }

    /* ── LISTS ── */
    ul.content-list {
      list-style: disc;
      padding-left: 20px;
      margin-bottom: 16px;
      text-align: left;
      display: inline-block;  /* so it centres within centred parent */
    }
    ul.content-list li { color: var(--text); margin-bottom: 5px; font-size: 0.95rem; }

    /* ── DIVIDER ── */
    hr.divider { border: none; border-top: 1px solid var(--pw-dark); margin: 0; }

    /* ── OPENING BAR ── */
    .opening-bar {
      background: var(--periwinkle);
      text-align: center;
      padding: 16px 24px;
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--text);
      border-top: 1px solid var(--pw-dark);
    }

    /* ── FOOTER ── */
    footer {
      background: var(--white);
      border-top: 1px solid var(--pw-dark);
      padding: 36px 20px 24px;
      text-align: center;
    }
    .footer-hours { font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 2px; }
    .footer-hours-sub { font-size: 0.85rem; color: var(--text-light); margin-bottom: 20px; }
    .footer-tagline { font-size: 1.5rem; font-weight: 700; color: var(--text); margin-bottom: 24px; }
    .footer-logos {
      display: flex; justify-content: center; align-items: center;
      gap: 32px; margin-bottom: 24px; flex-wrap: wrap;
    }
    .footer-logos img { height: 64px; width: auto; }
    .footer-nav {
      display: flex; justify-content: center; flex-wrap: wrap;
      gap: 4px 12px; margin-bottom: 16px;
    }
    .footer-nav a { font-size: 0.82rem; color: var(--text-light); text-decoration: none; }
    .footer-nav a:hover { color: var(--navy); text-decoration: underline; }
    .footer-copy { font-size: 0.8rem; color: var(--text-light); }

    /* ── INNER PAGE SECTIONS ── */
    .section { padding: 56px 32px; }
    .section-blue { background: var(--periwinkle); }
    .container { max-width: var(--max-w); margin: 0 auto; }
    .container.narrow { max-width: 760px; }

    /* ── PRICING ── */
    .pricing-section-title {
      font-size: 0.85rem; font-weight: 700; text-transform: uppercase;
      letter-spacing: 0.1em; color: var(--navy);
      border-bottom: 2px solid var(--navy); padding-bottom: 8px; margin-bottom: 24px;
    }
    .price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 20px; margin-bottom: 48px; }
    .price-card { border: 1px solid var(--pw-dark); border-radius: 8px; padding: 24px; background: white; }
    .price-card-img { width: 72px; height: 66px; object-fit: cover; margin-bottom: 12px; border-radius: 4px; }
    .price-card h3 { font-size: 0.98rem; font-weight: 700; margin-bottom: 6px; }

    /* ── PRICE LIST (Wix-style rows) ── */
    .price-list { display: flex; flex-direction: column; gap: 0; margin-bottom: 48px; border: 1px solid var(--pw-dark); border-radius: 8px; overflow: hidden; background: white; }
    .price-row { display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 20px; padding: 20px 24px; border-bottom: 1px solid var(--pw-dark); }
    .price-row:last-child { border-bottom: none; }
    .price-thumb { width: 80px; height: 72px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
    .price-row-body h3 { font-size: 0.97rem; font-weight: 700; margin-bottom: 4px; }
    .price-row-body p { font-size: 0.85rem; color: var(--text-light); margin: 0; }
    .price-row-right { text-align: right; min-width: 180px; }
    .price-row-amount { font-size: 1.6rem; font-weight: 700; color: var(--text); line-height: 1.1; }
    .price-row-star { font-size: 1rem; font-weight: 400; }
    .price-row-note { font-size: 0.75rem; color: var(--text-light); margin-bottom: 10px; }
    @media (max-width: 640px) {
      .price-row { grid-template-columns: 1fr; gap: 12px; }
      .price-thumb { width: 100%; height: 140px; }
      .price-row-right { text-align: left; min-width: 0; }
    }
    .price-desc { font-size: 0.85rem; color: var(--text-light); margin-bottom: 12px; }
    .price-amount { font-size: 1.8rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
    .price-note { font-size: 0.78rem; color: var(--text-light); margin-bottom: 16px; }
    .booking-placeholder { border: 2px dashed var(--pw-dark); padding: 18px; text-align: center; border-radius: 6px; background: var(--periwinkle); }
    .booking-placeholder p { font-size: 0.85rem; margin-top: 6px; }

    /* ── FAQ ── */
    .faq-list { max-width: 720px; margin: 0 auto; }
    .faq-item { border-bottom: 1px solid var(--pw-dark); }
    .faq-btn {
      width: 100%; text-align: left; background: none; border: none;
      padding: 18px 0; font-family: var(--font); font-size: 0.97rem;
      font-weight: 600; color: var(--text); cursor: pointer;
      display: flex; justify-content: space-between; align-items: center; gap: 12px;
    }
    .faq-toggle { font-size: 1.4rem; font-weight: 300; color: var(--navy); flex-shrink: 0; transition: transform 0.25s; }
    .faq-item.open .faq-toggle { transform: rotate(45deg); }
    .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
    .faq-item.open .faq-answer { max-height: 400px; }
    .faq-answer p { padding-bottom: 18px; font-size: 0.95rem; }

    /* ── CONTACT ── */
    .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
    @media (max-width: 680px) { .contact-grid { grid-template-columns: 1fr; } }
    .contact-block { margin-bottom: 20px; }
    .contact-block strong { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--navy); margin-bottom: 3px; }
    .contact-block a, .contact-block p { font-size: 0.97rem; color: var(--text); margin: 0; }
    .contact-block a:hover { color: var(--navy-dark); }

    /* ── FORMS ── */
    .contact-form { display: flex; flex-direction: column; gap: 14px; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    @media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
    .form-group { display: flex; flex-direction: column; gap: 5px; }
    .form-group label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text); }
    .form-group input, .form-group textarea, .form-group select {
      padding: 10px 14px; border: 1.5px solid var(--pw-dark); border-radius: 8px;
      font-family: var(--font); font-size: 0.95rem; color: var(--text);
      background: white; width: 100%; outline: none; transition: border-color 0.2s;
    }
    .form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--navy); }
    .form-group textarea { resize: vertical; min-height: 110px; }
    .checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: var(--text); }
    .checkbox-row input { margin-top: 3px; flex-shrink: 0; accent-color: var(--navy); }
    .form-success { background: #f0fdf4; border: 1px solid #86efac; padding: 14px; border-radius: 6px; font-size: 0.95rem; color: #166534; display: none; }

    /* ── ABOUT ── */
    .pull-quote { border-left: 3px solid var(--navy); padding-left: 18px; margin: 24px 0; font-size: 1rem; font-style: italic; color: var(--text); }
    .creds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
    .cred { background: var(--periwinkle); border: 1px solid var(--pw-dark); padding: 5px 14px; border-radius: 4px; font-size: 0.78rem; font-weight: 600; color: var(--navy); text-transform: uppercase; letter-spacing: 0.04em; }

    /* ── DOWNLOAD ── */
    .download-block { display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--navy); border-radius: 30px; padding: 10px 22px; font-size: 0.85rem; font-weight: 600; color: var(--navy); text-decoration: none; transition: background 0.15s, color 0.15s; }
    .download-block:hover { background: var(--navy); color: white; text-decoration: none; }

    /* ── TERMS ── */
    .terms-body h2 { margin-top: 28px; font-size: 1rem; font-weight: 700; color: var(--navy); }
    .terms-body p, .terms-body li { font-size: 0.92rem; line-height: 1.7; }
    .terms-body ul, .terms-body ol { padding-left: 20px; margin: 10px 0 16px; }
    .terms-body ul li, .terms-body ol li { margin-bottom: 6px; }
