/*
 * TutorOne Locations — Stylesheet
 * Builds on tutorone-homepage.css (loaded first via wp_enqueue_style dependency).
 * All CSS custom properties (--rose, --blue, --radius, etc.) are inherited from the homepage CSS.
 *
 * Sections:
 *  1.  Shared page layout
 *  2.  Locations Index — Hero
 *  3.  Locations Index — Alphabet Nav
 *  4.  Locations Index — Directory / Cards
 *  5.  Location Single — Hero
 *  6.  Location Single — Services Grid
 *  7.  Sub-page — Hero                       ← redesigned
 *  8.  Sub-page — Breadcrumb Bar
 *  9.  Sub-page — Content sections
 *  10. Sub-page — FAQ
 *  11. Sub-page — Other Locations strip
 *  12. Sub-page — Intro + Selling Points      ← redesigned
 *  13. Sub-page — Why Choose Us (dark)        ← redesigned
 *  14. Sub-page — How It Works / Process (dark) ← redesigned
 *  15. Sub-page — Stats bar                   ← enhanced
 *  16. Responsive overrides
 *  17. Video Testimonials flat-bottom override
 *  18. Contact Form overrides
 */

/* ============================================================
   1. SHARED PAGE LAYOUT
   ============================================================ */

.tutorone-locations-page .container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   2. LOCATIONS INDEX — HERO
   ============================================================ */

.locations-hero {
    background: linear-gradient(135deg, var(--rose, #e91e63) 0%, #c2185b 100%);
    color: #fff;
    padding: 80px 0 60px;
    text-align: center;
}

.locations-hero .section-tag {
    background: rgba(255,255,255,0.18);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 100px;
    display: inline-block;
    margin-bottom: 16px;
}

.locations-hero h1 {
    font-family: var(--font-heading, 'Sora', sans-serif);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin: 0 0 14px;
    line-height: 1.15;
}

.locations-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 560px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

.loc-search-wrap {
    max-width: 460px;
    margin: 0 auto;
}

#loc-search {
    width: 100%;
    padding: 14px 20px;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    font-family: inherit;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
    outline: none;
    transition: box-shadow 0.2s;
}

#loc-search:focus {
    box-shadow: 0 4px 32px rgba(0,0,0,0.25);
}

/* ============================================================
   3. LOCATIONS INDEX — ALPHABET NAV
   ============================================================ */

.loc-alphabet-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
    padding: 20px 0 10px;
    position: sticky;
    top: 64px;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    margin: 0 -24px 32px;
    padding-left: 24px;
    padding-right: 24px;
}

.loc-alpha-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--rose, #e91e63);
    text-decoration: none;
    background: transparent;
    transition: background 0.15s, color 0.15s;
}

.loc-alpha-link:hover,
.loc-alpha-link.is-active {
    background: var(--rose, #e91e63);
    color: #fff;
}

/* ============================================================
   4. LOCATIONS INDEX — DIRECTORY / CARDS
   ============================================================ */

.locations-directory {
    padding: 40px 0 80px;
    background: #fafafa;
}

.loc-group {
    margin-bottom: 40px;
}

.loc-group__letter {
    font-family: var(--font-heading, 'Sora', sans-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--rose, #e91e63);
    border-bottom: 2px solid #f0e0e8;
    padding-bottom: 8px;
    margin: 0 0 16px;
    scroll-margin-top: 120px;
}

.loc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.loc-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius, 12px);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.loc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-color: var(--rose, #e91e63);
}

.loc-card__name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1a1a2e;
    line-height: 1.3;
}

.loc-card__count {
    font-size: 0.75rem;
    color: #888;
}

/* ============================================================
   5. LOCATION SINGLE — HERO
   ============================================================ */

.loc-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1b4e 100%);
    color: #fff;
    padding: 100px 0 60px;
}

.loc-hero .section-tag {
    background: rgba(233,30,99,0.18);
    color: var(--rose, #e91e63);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 100px;
    display: inline-block;
    margin-bottom: 14px;
}

.loc-hero h1 {
    font-family: var(--font-heading, 'Sora', sans-serif);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #fff !important;
    margin: 0 0 14px;
    line-height: 1.15;
}

.loc-hero__sub {
    font-size: 1.05rem;
    opacity: 0.85;
    max-width: 620px;
    line-height: 1.6;
    margin: 0 0 10px;
}

.loc-hero__count {
    font-size: 0.9rem;
    opacity: 0.6;
    margin: 0;
}

.loc-hero .sp-breadcrumb {
    margin-bottom: 20px;
    opacity: 0.65;
}

/* ============================================================
   6. LOCATION SINGLE — SERVICES GRID
   ============================================================ */

.loc-services {
    padding: 64px 0 80px;
    background: #fafafa;
}

.loc-services__heading {
    font-family: var(--font-heading, 'Sora', sans-serif);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    margin: 0 0 32px;
    color: #1a1a2e;
}

.loc-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.loc-services-grid .service-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--radius, 12px);
    border: 1px solid #eee;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: transform 0.2s, box-shadow 0.2s;
    gap: 12px;
}

.loc-services-grid .service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.09);
}

.service-card__tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--rose, #e91e63);
    background: rgba(233,30,99,0.08);
    padding: 3px 10px;
    border-radius: 100px;
}

.service-card__body { flex: 1; }

.service-card__title {
    font-family: var(--font-heading, 'Sora', sans-serif);
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: #1a1a2e;
    line-height: 1.3;
}

.service-card__desc {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

.service-card__btn {
    align-self: flex-start;
    font-size: 0.85rem;
}

/* ============================================================
   7. SUB-PAGE — HERO
   ============================================================ */

.sp-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f0c29 0%, #1a1a2e 45%, #2d1b4e 100%);
    color: #fff;
    padding: 120px 0 90px;
    text-align: left;
}

/* Decorative rose glow — top right */
.sp-hero::before {
    content: '';
    position: absolute;
    top: -140px;
    right: -100px;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(233,30,99,0.22) 0%, transparent 68%);
    pointer-events: none;
}

/* Decorative indigo glow — bottom left */
.sp-hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -80px;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79,70,229,0.18) 0%, transparent 68%);
    pointer-events: none;
}

.sp-hero .container {
    position: relative;
    z-index: 1;
}

.sp-hero .section-tag {
    display: inline-block;
    background: rgba(233,30,99,0.22);
    color: #ff80ab;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 100px;
    margin-bottom: 18px;
    border: 1px solid rgba(233,30,99,0.3);
}

.sp-hero h1 {
    font-family: var(--font-heading, 'Sora', sans-serif);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    color: #fff !important;
    margin: 0 0 28px;
    line-height: 1.15;
    max-width: 860px;
}

/* Intro text inside hero — sits between H1 and trust strip */
.sp-hero-intro {
    max-width: 680px;
    margin: 18px 0 28px;
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 400;
}

.sp-hero-intro p {
    margin: 0;
    color: inherit;
}

/* Hero CTA button */
.sp-hero-cta {
    margin-top: 36px;
}

.sp-hero-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 40px;
    font-family: var(--font-heading, 'Sora', sans-serif);
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    background: var(--rose, #e91e63);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 32px rgba(233, 30, 99, 0.45);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    letter-spacing: 0.01em;
}

.sp-hero-cta__btn:hover {
    background: #c2185b;
    transform: translateY(-3px);
    box-shadow: 0 14px 44px rgba(233, 30, 99, 0.55);
    color: #fff;
}

/* Trust-signal row: checkmarks below the H1 */
.sp-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 8px;
}

.sp-hero-trust__item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.75);
    font-weight: 500;
}

.sp-hero-trust__item::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(233,30,99,0.25);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23ff80ab' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 11px 11px;
    flex-shrink: 0;
}

/* ============================================================
   8. SUB-PAGE — BREADCRUMB BAR
   ============================================================ */

.sp-breadcrumb-bar {
    background: #f5f5f5;
    border-bottom: 1px solid #ebebeb;
    padding: 10px 0;
}

.sp-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: #888;
}

.sp-breadcrumb a {
    color: var(--rose, #e91e63);
    text-decoration: none;
}

.sp-breadcrumb a:hover { text-decoration: underline; }

.sp-breadcrumb span[aria-hidden] { color: #bbb; }

.loc-hero .sp-breadcrumb { margin-bottom: 20px; opacity: 0.65; }
.loc-hero .sp-breadcrumb a { color: #fff; }
.loc-hero .sp-breadcrumb span[aria-hidden],
.loc-hero .sp-breadcrumb span[aria-current] { color: rgba(255,255,255,0.55); }

/* ============================================================
   9. SUB-PAGE — CONTENT SECTIONS
   ============================================================ */

.sp-content {
    padding: 0px 0 32px;
    background: #fff;
    position: relative;
}

/* Subtle left-edge rose accent bar */
.sp-content::before {
    content: '';
    position: absolute;
    top: 72px;
    left: 0;
    width: 4px;
    bottom: 24px;
    background: linear-gradient(180deg, var(--rose, #e91e63) 0%, transparent 100%);
    opacity: 0.18;
}

.sp-section {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    max-width: 820px;
    margin-bottom: 32px;
}

.sp-section h2,
.sp-section h3 {
    font-family: var(--font-heading, 'Sora', sans-serif);
    font-weight: 700;
    color: #1a1a2e;
    margin: 28px 0 10px;
}

/* ============================================================
   10. SUB-PAGE — FAQ
   ============================================================ */

.sp-faq {
    padding: 72px 0 80px;
    background: #fff;
}

.sp-faq .section-heading { color: #1a1a2e; }

/* Styled accordion overrides (faq-item etc. come from homepage CSS) */
.sp-faq .faq-item {
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.sp-faq .faq-item.is-open {
    border-color: var(--rose, #e91e63);
    box-shadow: 0 4px 20px rgba(233,30,99,0.08);
}

.sp-faq .faq-question {
    padding: 18px 20px;
    background: #fafafa;
}

.sp-faq .faq-item.is-open .faq-question {
    background: #fff9fb;
}

/* ============================================================
   11. SUB-PAGE — OTHER LOCATIONS STRIP
   ============================================================ */

.sp-other-locations {
    background: #f8f5ff;
    border-top: 1px solid #ede8f8;
    padding: 24px 0;
}

.sp-other-locations__label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #999;
    margin: 0 0 10px;
}

.sp-other-locations__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sp-other-loc-link {
    font-size: 0.82rem;
    color: var(--rose, #e91e63);
    text-decoration: none;
    padding: 5px 14px;
    border: 1px solid rgba(233,30,99,0.28);
    border-radius: 100px;
    transition: background 0.15s, color 0.15s;
    font-weight: 500;
}

.sp-other-loc-link:hover {
    background: var(--rose, #e91e63);
    color: #fff;
}

/* ============================================================
   12. SUB-PAGE — INTRO + SELLING POINTS
   ============================================================ */

.sp-intro-section {
    padding: 30px 0 0px;
    background: #fff;
}

/* (sp-intro moved into hero — see .sp-hero-intro above) */

/* Three-column card row: Who / What / Promise */
.sp-selling-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

/* Base card — gradient coloured background, white text */
.sp-sp-card {
    border-radius: 22px;
    padding: 36px 30px 32px;
    position: relative;
    overflow: hidden;
    transition: transform 0.22s, box-shadow 0.22s;
    display: flex;
    flex-direction: column;
}

/* Large decorative circle in bottom-right corner */
.sp-sp-card::after {
    content: '';
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    pointer-events: none;
}

.sp-sp-card:hover {
    transform: translateY(-7px);
}

/* Card 1 — "Who It's For": Rose */
.sp-sp-card:nth-child(1) {
    background: linear-gradient(140deg, #ff2d6b 0%, #c2185b 100%);
    box-shadow: 0 16px 48px rgba(233,30,99,0.3);
}
.sp-sp-card:nth-child(1):hover {
    box-shadow: 0 24px 64px rgba(233,30,99,0.42);
}
.sp-sp-card:nth-child(1) .sp-sp-card__icon {
    background: rgba(255,255,255,0.2);
}

/* Card 2 — "What You Get": Indigo */
.sp-sp-card:nth-child(2) {
    background: linear-gradient(140deg, #6366f1 0%, #3730a3 100%);
    box-shadow: 0 16px 48px rgba(79,70,229,0.28);
}
.sp-sp-card:nth-child(2):hover {
    box-shadow: 0 24px 64px rgba(79,70,229,0.4);
}
.sp-sp-card:nth-child(2) .sp-sp-card__icon {
    background: rgba(255,255,255,0.18);
}

/* Card 3 — "Our Promise": Amber */
.sp-sp-card:nth-child(3) {
    background: linear-gradient(140deg, #f59e0b 0%, #b45309 100%);
    box-shadow: 0 16px 48px rgba(180,83,9,0.28);
}
.sp-sp-card:nth-child(3):hover {
    box-shadow: 0 24px 64px rgba(180,83,9,0.4);
}
.sp-sp-card:nth-child(3) .sp-sp-card__icon {
    background: rgba(255,255,255,0.2);
}

.sp-sp-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.sp-sp-card h3 {
    font-family: var(--font-heading, 'Sora', sans-serif);
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255,255,255,0.75);
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.sp-sp-card p {
    font-size: 0.97rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.92);
    margin: 0;
}

/* (sp-cta-wrap removed — CTA moved to hero) */

/* ============================================================
   13. SUB-PAGE — WHY CHOOSE US  (dark glass-morphism)
   ============================================================ */

/* Strip any clip-path the homepage CSS applies to .why-us */
.sp-why-us-section {
    clip-path: none !important;
    -webkit-clip-path: none !important;
}

.sp-why-us-section {
    position: relative;
    overflow: hidden;
    padding: 88px 0 96px;
    background: linear-gradient(135deg, #0f0c29 0%, #1a1a2e 55%, #14132e 100%);
}

/* Decorative blobs */
.sp-why-us-section::before {
    content: '';
    position: absolute;
    top: -80px; right: -60px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79,70,229,0.15) 0%, transparent 65%);
    pointer-events: none;
}

.sp-why-us-section::after {
    content: '';
    position: absolute;
    bottom: -100px; left: -40px;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(233,30,99,0.12) 0%, transparent 65%);
    pointer-events: none;
}

.sp-why-us-section .container { position: relative; z-index: 1; }

/* Section header on dark bg */
.sp-why-us-section .section-tag {
    background: rgba(233,30,99,0.2);
    color: #ff80ab;
    border: 1px solid rgba(233,30,99,0.3);
}

.sp-why-us-section .section-heading { color: #fff; }
.sp-why-us-section .section-subtext { color: rgba(255,255,255,0.6); }

/* Glass cards */
.sp-why-us-section .why-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px;
    padding: 28px 24px;
    transition: background 0.22s, transform 0.22s, box-shadow 0.22s;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.sp-why-us-section .why-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.sp-why-us-section .why-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(233,30,99,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.sp-why-us-section .why-card__title {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 8px;
}

.sp-why-us-section .why-card__desc {
    color: rgba(255,255,255,0.62);
    font-size: 0.9rem;
    line-height: 1.65;
}

/* ============================================================
   14. SUB-PAGE — HOW IT WORKS / PROCESS  (dark with white cards)
   ============================================================ */

.sp-process {
    position: relative;
    overflow: hidden;
    padding: 88px 0 96px;
    background: linear-gradient(160deg, #1a1a2e 0%, #2d1b4e 50%, #1a1a2e 100%);
}

/* Subtle dot grid pattern */
.sp-process::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.sp-process .container { position: relative; z-index: 1; }

.sp-process .section-tag {
    background: rgba(233,30,99,0.2);
    color: #ff80ab;
    border: 1px solid rgba(233,30,99,0.3);
}

.sp-process .section-heading { color: #fff; }
.sp-process .section-subtext { color: rgba(255,255,255,0.6); }

.sp-process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 52px;
    position: relative;
}

/* Continuous track line connecting all 4 steps */
.sp-process-steps::before {
    content: '';
    position: absolute;
    top: 24px;          /* vertically centers on the 48px circle */
    left: calc(24px + 20px);  /* starts at center of first circle */
    right: calc(24px + 20px); /* ends at center of last circle */
    height: 2px;
    background: linear-gradient(90deg,
        rgba(233,30,99,0.6) 0%,
        rgba(233,30,99,0.2) 50%,
        rgba(79,70,229,0.4) 100%
    );
    z-index: 0;
}

.sp-process-step {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 28px 22px 26px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    z-index: 1;
    transition: transform 0.22s, box-shadow 0.22s;
}

.sp-process-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.sp-process-step__num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rose, #e91e63) 0%, #c2185b 100%);
    color: #fff;
    font-family: var(--font-heading, 'Sora', sans-serif);
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(233,30,99,0.45);
}

.sp-process-step__body h3 {
    font-family: var(--font-heading, 'Sora', sans-serif);
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 7px;
}

.sp-process-step__body p {
    font-size: 0.88rem;
    line-height: 1.65;
    color: #555;
    margin: 0;
}

/* ============================================================
   15. SUB-PAGE — STATS BAR  (enhanced)
   ============================================================ */

.sp-stats-bar {
    padding: 64px 0;
    background: linear-gradient(135deg, #0f0c29 0%, #1a1a2e 50%, #2d1b4e 100%);
    position: relative;
    overflow: hidden;
}

/* Noise/texture overlay */
.sp-stats-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(233,30,99,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.sp-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Dividers between stats */
.sp-stat {
    padding: 8px 24px;
    position: relative;
}

.sp-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 0;
    width: 1px;
    height: 80%;
    background: rgba(255,255,255,0.1);
}

.sp-stat__number {
    font-family: var(--font-heading, 'Sora', sans-serif);
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    color: var(--rose, #e91e63);
    line-height: 1;
    margin-bottom: 10px;
    /* Glow */
    text-shadow: 0 0 40px rgba(233,30,99,0.4);
}

.sp-stat__label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

/* ============================================================
   16. RESPONSIVE OVERRIDES
   ============================================================ */

@media (max-width: 1024px) {
    .loc-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .loc-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sp-process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    /* Track line only spans top row */
    .sp-process-steps::before {
        right: calc(50% + 10px);
    }
    /* Selling points: 2-col on tablet */
    .sp-selling-points {
        grid-template-columns: repeat(2, 1fr);
    }
    /* 3rd card spans full width on tablet */
    .sp-sp-card:nth-child(3) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .loc-alphabet-nav { top: 56px; }
    .loc-grid { grid-template-columns: repeat(2, 1fr); }
    .loc-services-grid { grid-template-columns: 1fr; }
    .locations-hero { padding: 48px 0 40px; }

    .loc-hero,
    .sp-hero {
        padding: 80px 0 56px;
    }
    .sp-hero h1 {
        font-size: clamp(1.7rem, 6vw, 2.4rem);
    }
    .sp-hero-trust { gap: 12px; }

    .loc-services { padding: 40px 0 60px; }
    .sp-content { padding: 48px 0 16px; }

    /* Selling points: 2-col on tablet, stack on mobile */
    .sp-selling-points {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sp-sp-card { padding: 28px 24px 26px; }

    .sp-hero-intro { font-size: 0.97rem; }

    /* Process: single column on mobile, remove track */
    .sp-process-steps {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .sp-process-steps::before { display: none; }

    /* Stats: 2 columns on mobile */
    .sp-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .sp-stat:not(:last-child)::after { display: none; }
    .sp-stat { padding: 8px 12px; }

    .sp-why-us-section,
    .sp-process {
        padding: 56px 0 64px;
    }

    .sp-stats-bar { padding: 48px 0; }

}

@media (max-width: 480px) {
    .loc-grid { grid-template-columns: 1fr; }
    .loc-alpha-link { width: 28px; height: 28px; font-size: 0.72rem; }

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

    .sp-process-step { padding: 22px 18px 20px; }

    .sp-sp-card { padding: 24px 20px; }
}

/* ============================================================
   17. VIDEO TESTIMONIALS — flat bottom (locations pages only)
   ============================================================
   The homepage uses:
     clip-path: polygon(0 0, 100% 30px, 100% calc(100%-30px), 0 100%)
   which creates a diagonal cut at BOTH top and bottom.
   On our location/subpage pages the bottom cut clashes with
   the section beneath it, so we flatten it.
   ============================================================ */

.tutorone-locations-page .video-testimonials {
    clip-path: polygon(0 0, 100% 30px, 100% 100%, 0 100%);
    margin-bottom: 0;
}

/* MP4 direct-file video preview — mirrors img behaviour inside .video-card__thumbnail */
.video-card__mp4-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    display: block;
}

/* ============================================================
   18. CONTACT FORM — ensure all inputs get full-width styling
   ============================================================ */

.tutorone-locations-page .form-wrapper {
    background: #fff;
    border-radius: 16px;
    padding: 36px 40px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.14);
    max-width: 580px;
    margin: 0 auto;
}

.tutorone-locations-page .form-wrapper .wpcf7-form > p,
.tutorone-locations-page .form-wrapper .wpcf7-form > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0 0 12px;
}

.tutorone-locations-page .form-wrapper input[type="text"],
.tutorone-locations-page .form-wrapper input[type="email"],
.tutorone-locations-page .form-wrapper input[type="tel"],
.tutorone-locations-page .form-wrapper select,
.tutorone-locations-page .form-wrapper textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 16px;
    border: 1.5px solid #e0e0e8;
    border-radius: 10px;
    font-family: var(--font-body, 'Manrope', sans-serif);
    font-size: 0.95rem;
    color: #1a1a2e;
    background: #fff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.tutorone-locations-page .form-wrapper input[type="text"]:focus,
.tutorone-locations-page .form-wrapper input[type="email"]:focus,
.tutorone-locations-page .form-wrapper input[type="tel"]:focus,
.tutorone-locations-page .form-wrapper select:focus,
.tutorone-locations-page .form-wrapper textarea:focus {
    border-color: var(--rose, #e91e63);
    box-shadow: 0 0 0 3px rgba(233,30,99,0.1);
}

.tutorone-locations-page .form-wrapper input[type="submit"],
.tutorone-locations-page .form-wrapper .btn-pink,
.tutorone-locations-page .form-wrapper button[type="submit"] {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: var(--rose, #e91e63);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: var(--font-display, 'Sora', sans-serif);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s, transform 0.2s;
    margin-top: 6px;
}

.tutorone-locations-page .form-wrapper input[type="submit"]:hover,
.tutorone-locations-page .form-wrapper .btn-pink:hover,
.tutorone-locations-page .form-wrapper button[type="submit"]:hover {
    background: #c2185b;
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .tutorone-locations-page .form-wrapper { padding: 28px 20px; }
}
