/* ============================================
   TutorOne Homepage — Clean Minimal Theme
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --rose: #E75480;
    --rose-dark: #C93B68;
    --rose-pale: #FDF1F5;
    --ink: #111827;
    --ink-muted: #6B7280;
    --ink-faint: #9CA3AF;
    --surface: #F8F7F8;
    --white: #FFFFFF;
    --border: #E5E7EB;
    /* Permanent dark colour — not overridden in dark mode */
    --dark-bg: #111827;
    /* Nav — dark to match hero */
    --nav-bg: rgba(17, 24, 39, 0.97);
    --nav-border: rgba(255, 255, 255, 0.08);
    --font-display: 'Sora', sans-serif;
    --font-body: 'Manrope', sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.10);
    --shadow-rose: 0 4px 20px rgba(231,84,128,0.25);
    --radius: 12px;
    --radius-pill: 50px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --topbar-height: 44px;
    --nav-height: 72px;
    --container-width: 1200px;
}

/* --- Reset --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   ANIMATIONS / KEYFRAMES
   ============================================ */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}

.revealed {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

.stagger-children .revealed:nth-child(1) { transition-delay: 0.05s; }
.stagger-children .revealed:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .revealed:nth-child(3) { transition-delay: 0.15s; }
.stagger-children .revealed:nth-child(4) { transition-delay: 0.2s; }
.stagger-children .revealed:nth-child(5) { transition-delay: 0.25s; }
.stagger-children .revealed:nth-child(6) { transition-delay: 0.3s; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 13px 28px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.2;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-pink {
    background: var(--rose);
    color: var(--white);
    box-shadow: var(--shadow-rose);
}

.btn-pink:hover {
    background: var(--rose-dark);
    box-shadow: 0 8px 28px rgba(231,84,128,0.35);
}

.btn-blue {
    background: var(--rose);
    color: var(--white);
    box-shadow: var(--shadow-rose);
}

.btn-blue:hover {
    background: var(--rose-dark);
}

.btn-outline {
    background: transparent;
    color: var(--ink);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    background: var(--ink);
    color: var(--white);
    border-color: var(--ink);
}

.btn-white {
    background: var(--white);
    color: var(--rose);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.btn-white:hover {
    background: var(--rose-pale);
}

/* ============================================
   TOP BAR
   ============================================ */
.tutorone-topbar {
    background: var(--dark-bg);
    color: var(--white);
    padding: 10px 0;
    text-align: center;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    z-index: 1001;
}

.tutorone-topbar a {
    color: var(--rose);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: opacity var(--transition);
}

.tutorone-topbar a:hover {
    opacity: 0.85;
}

.tutorone-topbar .phone-label {
    color: rgba(255,255,255,0.6);
    margin-right: 8px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.tutorone-nav {
    position: fixed;
    top: var(--topbar-height);
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, top var(--transition);
    border-bottom: 1px solid transparent;
}

.tutorone-nav.scrolled {
    top: 0;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--nav-border);
}

.tutorone-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.tutorone-nav__logo {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    flex-shrink: 0;
}

.tutorone-nav__logo img {
    height: 44px;
    width: auto;
}

.logo-tutor {
    color: var(--white);
}

.logo-one {
    color: var(--rose);
}

.tutorone-nav__links {
    display: flex;
    align-items: center;
}

/* Desktop nav menu */
.tutorone-nav__menu {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tutorone-nav__menu > li {
    position: relative;
}

.tutorone-nav__menu > li > a {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    position: relative;
    padding: 4px 0;
    transition: color var(--transition);
    letter-spacing: 0.01em;
}

.tutorone-nav__menu > li > a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--rose);
    border-radius: 2px;
    transition: width var(--transition);
}

.tutorone-nav__menu > li > a:hover { color: var(--white); }
.tutorone-nav__menu > li > a:hover::after { width: 100%; }

/* Dropdown children */
/* ── Desktop chevron (scoped to desktop nav) ── */
.tutorone-nav__links .tutorone-nav__menu > li.menu-item-has-children > a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.tutorone-nav__links .tutorone-nav__menu > li.menu-item-has-children > a::after {
    content: none;
}

.tutorone-nav__links .tutorone-nav__menu > li.menu-item-has-children > a .nav-chevron {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    opacity: 0.55;
    transition: transform var(--transition), opacity var(--transition);
    flex-shrink: 0;
}

.tutorone-nav__links .tutorone-nav__menu > li.menu-item-has-children:hover > a .nav-chevron,
.tutorone-nav__links .tutorone-nav__menu > li.touch-open > a .nav-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

/* Desktop dropdown panel */
/* ── Desktop-only dropdown (scoped to desktop nav links) ── */
.tutorone-nav__links .tutorone-nav__menu .sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 220px;
    background: #1F2937;
    border-radius: var(--radius);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.08);
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    list-style: none;
    z-index: 200;
}

.tutorone-nav__links .tutorone-nav__menu > li:hover > .sub-menu,
.tutorone-nav__links .tutorone-nav__menu > li:focus-within > .sub-menu,
.tutorone-nav__links .tutorone-nav__menu > li.touch-open > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.tutorone-nav__links .tutorone-nav__menu .sub-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
    font-weight: 500;
    white-space: nowrap;
}

.tutorone-nav__links .tutorone-nav__menu .sub-menu li a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--rose);
    padding-left: 26px;
}

.nav-cta {
    font-size: 0.875rem;
    padding: 10px 22px;
    flex-shrink: 0;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--dark-bg);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu .tutorone-nav__menu {
    flex-direction: column;
    gap: 4px;
    text-align: center;
    width: 100%;
    padding: 0 32px;
}

.mobile-menu .tutorone-nav__menu > li {
    width: 100%;
}

/* Row wrapper: link + optional toggle button */
.mobile-menu .tutorone-nav__menu > li > a {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    display: block;
    padding: 10px 0;
    transition: color var(--transition);
}

.mobile-menu .tutorone-nav__menu > li > a:hover {
    color: var(--rose);
}

/* Parent row — flex so button sits next to link */
.mobile-menu .tutorone-nav__menu > li.menu-item-has-children {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.mobile-menu .tutorone-nav__menu > li.menu-item-has-children > a {
    flex: 0 0 auto;
}

/* Sub-menu toggle button */
.mobile-sub-toggle {
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background var(--transition), border-color var(--transition);
    padding: 0;
}

.mobile-sub-toggle svg {
    width: 12px;
    height: 12px;
    stroke: rgba(255,255,255,0.7);
    transition: transform 0.25s ease, stroke var(--transition);
}

.mobile-sub-toggle:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.35);
}

.mobile-sub-toggle.open svg {
    transform: rotate(180deg);
    stroke: var(--rose);
}

/* ── Mobile accordion sub-menu (scoped to #mobile-menu) ── */
#mobile-menu .sub-menu {
    /* Reset any desktop positioning */
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    left: auto !important;
    top: auto !important;
    box-shadow: none;
    /* Accordion: hidden by default via max-height */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    list-style: none;
    width: 100%;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.08);
    flex-basis: 100%;
    z-index: auto;
}

#mobile-menu li.sub-menu-open > .sub-menu {
    max-height: 500px;
}

#mobile-menu .sub-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
    text-align: left;
    white-space: normal;
}

#mobile-menu .sub-menu li a:hover {
    color: var(--rose);
}

.mobile-menu .btn {
    margin-top: 16px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    padding: 120px 0 120px;
    overflow: hidden;
    background: var(--dark-bg);
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    z-index: 10;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(231,84,128,0.14) 0%, transparent 50%),
        radial-gradient(circle at 85% 20%, rgba(231,84,128,0.07) 0%, transparent 40%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(231,84,128,0.15);
    border: 1px solid rgba(231,84,128,0.3);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    color: #F0A0B5;
    font-weight: 600;
    font-family: var(--font-display);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4.5vw, 3.75rem);
    color: var(--white);
    margin-bottom: 24px;
    margin-top: 24px;
    line-height: 1.15;
    font-weight: 700;
}

.hero h1 .highlight {
    color: var(--rose);
}

.hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero stars */
.hero-stars {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
}

.hero-stars__icons {
    display: flex;
    gap: 3px;
}

.hero-stars__icons span {
    font-size: 1.5rem;
    color: #FBBF24;
    line-height: 1;
}

.hero-stars__label {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Hero feature list */
.hero-features {
    list-style: none;
    margin: 0 0 36px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255,255,255,0.82);
    font-size: 1rem;
    line-height: 1.5;
    text-align: left;
}

.hero-features li::before {
    content: '';
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--rose);
    margin-top: 0.45em;
}

/* Hero video card */
.hero-video-card {
    position: relative;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.07);
    background: #000;
}

.hero-video-card iframe,
.hero-video-card wistia-player {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
}

.hero-video-card wistia-player {
    aspect-ratio: 16 / 9;
}

/* Click-to-play thumbnail overlay */
.hero-video-click-play {
    cursor: pointer;
    position: relative;
}

.hero-video-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.hero-video-play-btn svg {
    width: 72px;
    height: 72px;
    filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5));
    transition: transform 0.2s ease;
}

.hero-video-click-play:hover .hero-video-play-btn svg {
    transform: scale(1.1);
}

/* Placeholder shown when no video is configured */
.hero-video-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.04);
    border: 1px dashed rgba(255,255,255,0.15);
    border-radius: 18px;
    color: rgba(255,255,255,0.4);
    gap: 12px;
}

.hero-video-placeholder svg {
    width: 48px;
    height: 48px;
    opacity: 0.5;
}

.hero-video-placeholder p {
    font-size: 0.875rem;
    margin: 0;
    color: rgba(255,255,255,0.4) !important;
}

/* ============================================
   SOCIAL PROOF BAR
   ============================================ */
.social-proof {
    padding: 72px 0;
    background: var(--white);
    position: relative;
    z-index: 3;
    margin-top: -30px;
}

.social-proof__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.proof-badge {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.proof-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--rose);
}

.proof-badge:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.proof-badge__icon {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.proof-badge__number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 4px;
}

.proof-badge__text {
    font-size: 0.82rem;
    color: var(--ink-muted);
    font-weight: 500;
}

/* ============================================
   SECTION HEADINGS
   ============================================ */
.section-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--rose);
    margin-bottom: 14px;
}

.section-tag--blue {
    color: var(--rose);
}

.section-heading {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 14px;
    line-height: 1.2;
}

.section-subtext {
    font-size: 1.05rem;
    color: var(--ink-muted);
    max-width: 580px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 52px;
}

.section-header .section-subtext {
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   VIDEO TESTIMONIALS
   ============================================ */
.video-testimonials {
    padding: 88px 0;
    background: var(--dark-bg);
    position: relative;
    clip-path: polygon(0 0, 100% 30px, 100% calc(100% - 30px), 0 100%);
    margin-top: -30px;
}

.video-testimonials .section-tag {
    color: var(--rose);
}

.video-testimonials .section-heading {
    color: var(--white);
}

.video-testimonials .section-subtext {
    color: rgba(255, 255, 255, 0.5);
}

/* ── Carousel wrapper ── */
.video-carousel {
    position: relative;
    margin-top: 40px;
}

.video-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;       /* Firefox */
    -ms-overflow-style: none;    /* IE/Edge */
    padding: 6px 2px 16px;       /* 6px top so hover shadow isn't clipped */
}
.video-grid::-webkit-scrollbar { display: none; }

.video-carousel__btn {
    position: absolute;
    top: calc(50% - 16px); /* centre on thumbnail, adjust for dots below */
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--rose);
    border: none;
    color: var(--white);
    font-size: 3rem;
    line-height: 0.65;
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    transition: background var(--transition), transform var(--transition), opacity var(--transition);
}
.video-carousel__btn--prev { left: -22px; }
.video-carousel__btn--next { right: -22px; }
.video-carousel__btn:hover { background: var(--rose-dark); transform: translateY(-50%) scale(1.08); }

.video-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}
.video-carousel__dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.2);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.25s ease;
}
.video-carousel__dot.active {
    width: 24px;
    background: var(--rose);
}

.video-card {
    flex: 0 0 calc((100% - 40px) / 3); /* 3 visible at once */
    scroll-snap-align: start;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all var(--transition);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
    border-color: rgba(231,84,128,0.3);
}

.video-card__thumbnail {
    position: relative;
    padding-top: 56.25%;
    background: rgba(255,255,255,0.05);
    overflow: hidden;
}

.video-card__thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: var(--rose);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(231,84,128,0.5);
    transition: all var(--transition);
    z-index: 2;
}

.video-card:hover .video-card__play {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(231,84,128,0.6);
}

.video-card__play::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 9px 0 9px 16px;
    border-color: transparent transparent transparent var(--white);
    margin-left: 3px;
}

.video-card__info {
    padding: 16px 20px;
}

.video-card__name {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.video-card__label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-modal.open {
    opacity: 1;
    visibility: visible;
}

.video-modal__content {
    width: 92%;
    max-width: 1140px;
    aspect-ratio: 16/9;
    position: relative;
}

#video-modal-player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.video-modal__content iframe,
.video-modal__content video {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius);
}

.video-modal__close {
    position: absolute;
    top: -44px;
    right: 0;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.video-modal__close:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: 88px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--border);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--rose);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform var(--transition);
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-card:nth-child(1),
.service-card:nth-child(2),
.service-card:nth-child(3),
.service-card:nth-child(4),
.service-card:nth-child(5),
.service-card:nth-child(6) {
    border-left-color: var(--border);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card__icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.service-card__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--ink);
    margin-bottom: 10px;
}

.service-card__desc {
    font-size: 0.9rem;
    color: var(--ink-muted);
    line-height: 1.65;
    margin-bottom: 16px;
}

.service-card__link {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--rose);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition);
}

.service-card__link:hover {
    gap: 10px;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-us {
    padding: 100px 0 88px;
    background: var(--surface);
    position: relative;
    clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 calc(100% - 40px));
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.why-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.why-card__icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 16px;
    background: var(--rose-pale);
}

.why-card:nth-child(1) .why-card__icon,
.why-card:nth-child(2) .why-card__icon,
.why-card:nth-child(3) .why-card__icon,
.why-card:nth-child(4) .why-card__icon {
    background: var(--rose-pale);
}

.why-card__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    color: var(--ink);
    margin-bottom: 10px;
}

.why-card__desc {
    font-size: 0.875rem;
    color: var(--ink-muted);
    line-height: 1.65;
}

/* ============================================
   TESTIMONIALS (Written)
   ============================================ */
.testimonials {
    padding: 88px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--rose);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.testimonial-card__quote {
    font-size: 2rem;
    color: var(--rose);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
    margin-bottom: 8px;
}

.testimonial-card__stars {
    color: #F59E0B;
    font-size: 1rem;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.testimonial-card__text {
    font-size: 0.9rem;
    color: var(--ink-muted);
    line-height: 1.75;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-card__footer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--rose-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--rose);
    font-size: 0.95rem;
    flex-shrink: 0;
    border: 2px solid rgba(231,84,128,0.15);
}

.testimonial-card__name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ink);
}

.testimonial-card__location {
    font-size: 0.78rem;
    color: var(--ink-faint);
}

.testimonial-card__score {
    margin-left: auto;
    background: var(--rose);
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.75rem;
    padding: 5px 10px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
}

/* ============================================
   LEAD CAPTURE FORM
   ============================================ */
.lead-capture {
    padding: 88px 0;
    background: var(--dark-bg);
    position: relative;
}

.lead-capture::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 80% 50%, rgba(231,84,128,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.lead-capture .section-tag {
    color: var(--rose);
}

.lead-capture .section-heading {
    color: var(--white);
}

.lead-capture .section-subtext {
    color: rgba(255, 255, 255, 0.55);
}

.form-wrapper {
    max-width: 580px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius);
    padding: 0;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group label {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--ink);
}

/* ── CF7 overrides ── */

/* Kill CF7's injected <p> margins and <br> tags */
.form-wrapper .wpcf7-form p {
    margin: 0;
    padding: 0;
    line-height: 1;
}
.form-wrapper .wpcf7-form br {
    display: none;
}

/* Compact flex column */
.form-wrapper .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Control wrap must not add height */
.form-wrapper .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* Shared field styles */
.form-wrapper .wpcf7 input[type="text"],
.form-wrapper .wpcf7 input[type="email"],
.form-wrapper .wpcf7 input[type="tel"],
.form-wrapper .wpcf7 textarea {
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: var(--font-body);
    transition: all var(--transition);
    outline: none;
    width: 100%;
    background: var(--white);
    color: var(--ink);
    box-sizing: border-box;
}

/* Select — appearance:none removes native arrow, padding-right keeps text clear of custom arrow */
.form-wrapper .wpcf7 select,
.form-wrapper .wpcf7 select.wpcf7-select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    padding: 10px 42px 10px 14px !important;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: var(--font-body);
    transition: all var(--transition);
    outline: none;
    width: 100%;
    background-color: var(--white) !important;
    color: var(--ink);
    box-sizing: border-box;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%236B7280' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
}

/* Textarea */
.form-wrapper .wpcf7 textarea {
    min-height: 110px;
    resize: vertical;
}

/* Placeholder */
.form-wrapper .wpcf7 input::placeholder,
.form-wrapper .wpcf7 textarea::placeholder {
    color: var(--ink-faint);
}

/* Focus states */
.form-wrapper .wpcf7 input:focus,
.form-wrapper .wpcf7 select:focus,
.form-wrapper .wpcf7 textarea:focus {
    border-color: var(--rose);
    box-shadow: 0 0 0 3px rgba(231,84,128,0.12);
}

/* Validation error tip */
.form-wrapper .wpcf7-not-valid-tip {
    display: block;
    font-size: 0.78rem;
    color: #e74c3c;
    margin-top: 3px;
}

/* Invalid field highlight */
.form-wrapper .wpcf7 input.wpcf7-not-valid,
.form-wrapper .wpcf7 select.wpcf7-not-valid,
.form-wrapper .wpcf7 textarea.wpcf7-not-valid {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231,76,60,0.12);
}

/* Response output (success / error banner) */
.form-wrapper .wpcf7-response-output {
    margin: 6px 0 0 !important;
    padding: 8px 14px !important;
    border-radius: 8px !important;
    font-size: 0.85rem;
    border-width: 1px !important;
}

/* Submit button */
.form-wrapper .wpcf7 input[type="submit"] {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 32px;
    border-radius: var(--radius-pill);
    background: var(--rose);
    color: var(--white);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-rose);
    transition: all var(--transition);
    width: 100%;
    text-align: center;
}

.form-wrapper .wpcf7 input[type="submit"]:hover {
    background: var(--rose-dark);
    transform: translateY(-2px);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq {
    padding: 88px 0;
    background: var(--surface);
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all var(--transition);
}

.faq-item:nth-child(odd),
.faq-item:nth-child(even) {
    border-left-color: var(--border);
}

.faq-item:hover {
    border-color: rgba(231,84,128,0.3);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--ink);
    gap: 16px;
    user-select: none;
}

.faq-toggle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--rose-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition);
    font-size: 1.1rem;
    color: var(--rose);
    font-weight: 400;
}

.faq-item.open .faq-toggle {
    background: var(--rose);
    color: var(--white);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer__inner {
    padding: 0 24px 20px;
    font-size: 0.9rem;
    color: var(--ink-muted);
    line-height: 1.75;
}

/* ============================================
   FOOTER MAP
   ============================================ */
.footer-map {
    border-radius: 12px;
    overflow: hidden;
    line-height: 0;
    margin-top: 20px;
}

.footer-map iframe {
    width: 100%;
    height: 300px;
    display: block;
    border: none;
}

@media (max-width: 768px) {
    .footer-map iframe {
        height: 220px;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.tutorone-footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand__logo {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-brand__logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-brand__logo .logo-tutor {
    color: var(--white);
}

.footer-brand__desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.75;
    margin-bottom: 20px;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social__link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.65);
    font-size: 1rem;
    transition: all var(--transition);
}

.footer-social__link:hover {
    background: var(--rose);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-col__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.78rem;
    margin-bottom: 18px;
    color: var(--white);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a,
.footer-col .menu li a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    transition: all var(--transition);
}

.footer-col ul li a:hover,
.footer-col .menu li a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-col .menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
}

.footer-contact__item span:first-child {
    flex-shrink: 0;
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom__copy {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-bottom__tagline {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.3);
    font-style: italic;
}

/* ============================================
   RESPONSIVE — 1024px
   ============================================ */
@media (max-width: 1024px) {
    .hero-content { flex-direction: column; text-align: center; }
    .hero p { margin: 0 auto 40px; }
    .hero-buttons { justify-content: center; }
    .hero-features { text-align: left; max-width: 480px; margin-left: auto; margin-right: auto; }
    .hero-visual { width: 100%; max-width: 600px; margin: 0 auto; }

    .social-proof__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-card {
        flex: 0 0 calc((100% - 20px) / 2); /* 2 visible */
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .tutorone-nav__links {
        display: none;
    }
}


/* ============================================
   RESPONSIVE — 768px
   ============================================ */
@media (max-width: 768px) {
    :root {
        --topbar-height: 40px;
        --nav-height: 64px;
    }

    .hero {
        padding: 80px 0 100px;
        clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%);
    }

    .hero h1 {
        font-size: 2.1rem;
    }

    .section-heading {
        font-size: 1.9rem;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .video-card {
        flex: 0 0 100%; /* 1 visible on mobile */
    }

    .video-carousel__btn--prev { left: -12px; }
    .video-carousel__btn--next { right: -12px; }

    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .form-wrapper {
        padding: 0;
    }
}

/* ============================================
   RESPONSIVE — 480px
   ============================================ */
@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero h1 { font-size: 1.85rem; }

    .section-heading {
        font-size: 1.65rem;
    }

    .social-proof__grid {
        grid-template-columns: 1fr;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .tutorone-topbar {
        font-size: 0.8rem;
    }

    .tutorone-topbar a {
        font-size: 0.9rem;
    }
}

/* ============================================
   NAV END — groups CTA + toggle + hamburger
   ============================================ */
.nav-end {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* ============================================
   FOOTER SEO LINKS — compact internal links
   ============================================ */
.footer-seo-links {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 24px;
    padding-top: 18px;
    padding-bottom: 6px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-seo-links__group {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 6px;
    line-height: 1.5;
}

.footer-seo-links__label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-right: 4px;
    white-space: nowrap;
}

.footer-seo-links__item {
    font-size: 11px;
    color: rgba(255,255,255,0.28);
    text-decoration: none;
    transition: color 0.15s;
}

.footer-seo-links__item:hover {
    color: rgba(255,255,255,0.55);
    text-decoration: underline;
}

.footer-seo-links__item::after {
    content: '·';
    margin-left: 6px;
    color: rgba(255,255,255,0.15);
}

.footer-seo-links__item:last-child::after {
    content: '';
}

