/*
|--------------------------------------------------------------------------
| Debs Driving School Bristol - Main Stylesheet
|--------------------------------------------------------------------------
*/


/*
|--------------------------------------------------------------------------
| 1. CSS Variables
|--------------------------------------------------------------------------
*/

:root {

    --primary: #e83e8c;
    --primary-dark: #c92f75;

    --secondary: #1f2a44;
    --secondary-light: #34415f;

    --accent: #f7c948;

    --white: #ffffff;
    --off-white: #f8f9fb;

    --light-grey: #eef1f4;
    --mid-grey: #6c7480;
    --dark-grey: #333840;

    --text: #2e3238;

    --border: #dde2e7;

    --success: #25a55f;

    --max-width: 1200px;

    --radius-small: 8px;
    --radius-medium: 14px;
    --radius-large: 24px;

    --shadow-small:
        0 4px 14px rgba(0, 0, 0, 0.07);

    --shadow-medium:
        0 10px 30px rgba(0, 0, 0, 0.10);

    --transition:
        all 0.25s ease;
}


/*
|--------------------------------------------------------------------------
| 2. Reset
|--------------------------------------------------------------------------
*/

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    font-family: 'Inter', Arial, sans-serif;

    color: var(--text);

    background: var(--white);

    font-size: 16px;

    line-height: 1.65;

    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;

    display: block;
}

a {
    color: inherit;

    text-decoration: none;

    transition: var(--transition);
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

ul {
    margin: 0;
    padding: 0;

    list-style: none;
}


/*
|--------------------------------------------------------------------------
| 3. General Typography
|--------------------------------------------------------------------------
*/

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;

    color: var(--secondary);

    line-height: 1.2;

    font-weight: 700;
}

h1 {
    font-size: clamp(2.4rem, 5vw, 4.6rem);

    letter-spacing: -0.04em;
}

h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);

    letter-spacing: -0.025em;
}

h3 {
    font-size: 1.35rem;
}

p {
    margin-top: 0;

    margin-bottom: 1.25rem;
}


/*
|--------------------------------------------------------------------------
| 4. General Layout
|--------------------------------------------------------------------------
*/

.site-wrapper {
    width: 100%;

    overflow-x: hidden;
}

.container {
    width: min(92%, var(--max-width));

    margin-left: auto;
    margin-right: auto;
}

.section {
    padding: 90px 0;
}

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

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

.section-dark {
    background: var(--secondary);

    color: var(--white);
}

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

.text-center {
    text-align: center;
}

.section-heading {
    max-width: 760px;

    margin-left: auto;
    margin-right: auto;

    margin-bottom: 50px;

    text-align: center;
}

.section-heading p {
    color: var(--mid-grey);

    font-size: 1.08rem;
}

.section-dark .section-heading p {
    color: rgba(255, 255, 255, 0.8);
}


/*
|--------------------------------------------------------------------------
| 5. Buttons
|--------------------------------------------------------------------------
*/

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 13px 26px;

    border: 0;

    border-radius: 999px;

    font-weight: 700;

    line-height: 1;

    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);

    color: var(--white);

    box-shadow:
        0 6px 18px rgba(232, 62, 140, 0.25);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--primary-dark);

    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--secondary);

    color: var(--white);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: var(--secondary-light);

    transform: translateY(-2px);
}

.btn-light {
    background: var(--white);

    color: var(--secondary);
}

.btn-light:hover,
.btn-light:focus {
    background: var(--off-white);

    transform: translateY(-2px);
}


/*
|--------------------------------------------------------------------------
| 6. Main Header
|--------------------------------------------------------------------------
*/

.site-header {
    position: relative;

    z-index: 1000;

    width: 100%;

    background: var(--white);

    border-bottom:
        1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
    width: min(94%, 1280px);

    min-height: 94px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    gap: 32px;
}


/*
|--------------------------------------------------------------------------
| 7. Logo
|--------------------------------------------------------------------------
*/

.site-logo {
    flex-shrink: 0;
}

.site-logo a {
    display: block;
}

.site-logo img {
    width: auto;

    max-width: 190px;

    max-height: 76px;
}


/*
|--------------------------------------------------------------------------
| 8. Desktop Navigation
|--------------------------------------------------------------------------
*/

.main-navigation {
    margin-left: auto;
}

.main-navigation > ul {
    display: flex;

    align-items: center;

    gap: 3px;
}

.main-navigation > ul > li {
    position: relative;
}

.main-navigation a,
.dropdown-toggle {
    display: flex;

    align-items: center;

    min-height: 48px;

    padding: 10px 13px;

    border: 0;

    background: transparent;

    color: var(--secondary);

    font-size: 0.95rem;

    font-weight: 600;

    border-radius: var(--radius-small);

    transition: var(--transition);
}

.main-navigation a:hover,
.main-navigation a:focus,
.dropdown-toggle:hover,
.dropdown-toggle:focus {
    color: var(--primary);

    background: rgba(232, 62, 140, 0.07);
}

.main-navigation a.active {
    color: var(--primary);
}

.dropdown-arrow {
    width: 7px;
    height: 7px;

    margin-left: 8px;
    margin-top: -4px;

    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;

    transform: rotate(45deg);
}


/*
|--------------------------------------------------------------------------
| 9. Desktop Dropdown Menu
|--------------------------------------------------------------------------
*/

.dropdown-menu {
    position: absolute;

    top: calc(100% + 4px);

    left: 0;

    width: 220px;

    padding: 10px;

    background: var(--white);

    border-radius: var(--radius-medium);

    box-shadow: var(--shadow-medium);

    opacity: 0;

    visibility: hidden;

    transform: translateY(8px);

    transition: var(--transition);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    width: 100%;

    min-height: 42px;

    padding: 9px 12px;
}


/*
|--------------------------------------------------------------------------
| 10. Header Contact Area
|--------------------------------------------------------------------------
*/

.header-contact {
    display: flex;

    align-items: center;

    gap: 14px;

    flex-shrink: 0;
}

.header-phone {
    color: var(--secondary);

    font-weight: 700;

    white-space: nowrap;
}

.header-phone:hover {
    color: var(--primary);
}

.header-cta {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 48px;

    padding: 12px 20px;

    background: var(--primary);

    color: var(--white);

    border-radius: 999px;

    font-weight: 700;

    white-space: nowrap;

    box-shadow:
        0 5px 16px rgba(232, 62, 140, 0.22);
}

.header-cta:hover {
    background: var(--primary-dark);

    transform: translateY(-2px);
}


/*
|--------------------------------------------------------------------------
| 11. Mobile Menu Button
|--------------------------------------------------------------------------
*/

.mobile-menu-toggle {
    width: 46px;

    height: 46px;

    display: none;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    gap: 5px;

    margin-left: auto;

    padding: 0;

    border: 0;

    border-radius: var(--radius-small);

    background: var(--secondary);
}

.mobile-menu-toggle span {
    width: 22px;

    height: 2px;

    background: var(--white);

    border-radius: 2px;

    transition: var(--transition);
}


/*
|--------------------------------------------------------------------------
| 12. Mobile Navigation
|--------------------------------------------------------------------------
*/

.mobile-navigation {
    display: none;

    background: var(--white);

    border-top: 1px solid var(--border);

    box-shadow: var(--shadow-medium);
}

.mobile-navigation.open {
    display: block;
}

.mobile-navigation ul {
    width: min(92%, 700px);

    margin: 0 auto;

    padding: 15px 0 25px;
}

.mobile-navigation li {
    border-bottom: 1px solid var(--light-grey);
}

.mobile-navigation li:last-child {
    border-bottom: 0;
}

.mobile-navigation a,
.mobile-nav-heading {
    display: block;

    padding: 13px 5px;

    color: var(--secondary);

    font-weight: 600;
}

.mobile-navigation a:hover {
    color: var(--primary);
}

.mobile-nav-heading {
    color: var(--mid-grey);

    font-size: 0.8rem;

    text-transform: uppercase;

    letter-spacing: 0.08em;
}

.mobile-sub-link a {
    padding-left: 22px;
}

.mobile-phone-link {
    margin-top: 12px;
}

.mobile-phone-link a {
    color: var(--primary);

    font-size: 1.05rem;

    font-weight: 700;
}

.mobile-book-link {
    padding-top: 14px;
}

.mobile-book-link a {
    padding: 15px 20px;

    background: var(--primary);

    color: var(--white);

    border-radius: 999px;

    text-align: center;
}

.mobile-book-link a:hover {
    color: var(--white);

    background: var(--primary-dark);
}


/*
|--------------------------------------------------------------------------
| 13. Hero Section
|--------------------------------------------------------------------------
*/

.hero {
    position: relative;

    min-height: 620px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background: #ffffff;
}


.hero-background {
    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center center;

    opacity: 1;
}


/*
|--------------------------------------------------------------------------
| Hero Image Overlay
|--------------------------------------------------------------------------
*/

.hero::after {
    content: '';

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.96) 0%,
            rgba(255, 255, 255, 0.88) 25%,
            rgba(255, 255, 255, 0.55) 42%,
            rgba(255, 255, 255, 0.12) 58%,
            rgba(255, 255, 255, 0) 72%
        );
}


.hero-inner {
    position: relative;

    z-index: 2;

    width: min(92%, var(--max-width));

    margin: 0 auto;

    padding: 70px 0;
}


.hero-content {
    max-width: 540px;
}


/*
|--------------------------------------------------------------------------
| Hero Heading
|--------------------------------------------------------------------------
*/

.hero h1 {
    margin: 0 0 14px;

    color: #111111;

    font-size: clamp(3rem, 5vw, 4.6rem);

    font-weight: 800;

    line-height: 0.98;

    letter-spacing: -0.045em;

    text-transform: uppercase;
}


.hero h1 span {
    display: block;
}


.hero h1 .hero-highlight {
    color: var(--primary);
}


/*
|--------------------------------------------------------------------------
| Red Line Under Heading
|--------------------------------------------------------------------------
*/

.hero-red-line {
    width: 74px;

    height: 3px;

    margin: 20px 0 18px;

    background: var(--primary);
}


/*
|--------------------------------------------------------------------------
| Hero Introduction
|--------------------------------------------------------------------------
*/

.hero-intro {
    max-width: 430px;

    margin-bottom: 20px;

    color: #222222;

    font-size: 1.08rem;

    line-height: 1.55;
}


/*
|--------------------------------------------------------------------------
| Hero Benefits
|--------------------------------------------------------------------------
*/

.hero-benefits {
    margin: 0 0 28px;

    padding: 0;

    list-style: none;
}


.hero-benefits li {
    position: relative;

    margin-bottom: 9px;

    padding-left: 30px;

    color: #171717;

    font-size: 1rem;

    font-weight: 500;
}


.hero-benefits li::before {
    content: '';

    position: absolute;

    left: 2px;
    top: 4px;

    width: 12px;
    height: 7px;

    border-left: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);

    transform: rotate(-45deg);
}


/*
|--------------------------------------------------------------------------
| Hero Button
|--------------------------------------------------------------------------
*/

.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 14px;
}


.hero-cta {
    min-height: 54px;

    padding-left: 30px;

    padding-right: 30px;

    border-radius: 7px;

    text-transform: uppercase;

    font-size: 0.95rem;

    letter-spacing: 0.01em;
}


/*
|--------------------------------------------------------------------------
| 14. Intro Section
|--------------------------------------------------------------------------
*/

.intro-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 70px;

    align-items: center;
}

.intro-image {
    position: relative;
}

.intro-image img {
    width: 100%;

    border-radius: var(--radius-large);

    box-shadow: var(--shadow-medium);
}

.intro-content .small-heading {
    margin-bottom: 10px;

    color: var(--primary);

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.08em;

    font-size: 0.82rem;
}

.intro-content h2 {
    margin-bottom: 22px;
}

.intro-content p {
    color: var(--mid-grey);

    font-size: 1.05rem;
}


/*
|--------------------------------------------------------------------------
| 15. Feature / Benefit Cards
|--------------------------------------------------------------------------
*/

.card-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;
}

.feature-card {
    padding: 32px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius-medium);

    box-shadow: var(--shadow-small);

    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow-medium);
}

.feature-icon {
    width: 54px;

    height: 54px;

    margin-bottom: 22px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(232, 62, 140, 0.10);

    color: var(--primary);

    border-radius: 50%;

    font-size: 1.5rem;

    font-weight: 700;
}

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    margin-bottom: 0;

    color: var(--mid-grey);
}

.why-debs .feature-icon {
    width: 92px;
    height: 92px;

    margin: 0 auto 26px;
    padding: 0;

    background: transparent;
    color: inherit;

    border-radius: 50%;
    overflow: hidden;
}

.why-debs .feature-icon img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    border-radius: 50%;

    filter: none !important;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
}


/*
|--------------------------------------------------------------------------
| 16. Price Cards
|--------------------------------------------------------------------------
*/

.price-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;
}

.price-card {
    position: relative;

    padding: 34px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius-medium);

    box-shadow: var(--shadow-small);
}

.price-card.featured {
    border: 2px solid var(--primary);

    transform: scale(1.02);
}

.price-badge {
    position: absolute;

    top: -13px;

    left: 50%;

    transform: translateX(-50%);

    padding: 6px 14px;

    background: var(--primary);

    color: var(--white);

    border-radius: 999px;

    font-size: 0.76rem;

    font-weight: 700;

    white-space: nowrap;
}

.price-card h3 {
    margin-bottom: 10px;
}

.price {
    margin-bottom: 20px;

    color: var(--primary);

    font-size: 2.2rem;

    font-weight: 700;
}

.lesson-prices {
    margin: 22px 0 36px;
}

.lesson-price {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 14px 16px;

    margin-bottom: 8px;

    background: var(--off-white);

    border-radius: 8px;
}

.lesson-price span {
    color: var(--mid-grey);

    font-size: 0.95rem;
}

.lesson-price strong {
    color: var(--primary);

    font-size: 1.55rem;

    font-weight: 700;

    white-space: nowrap;
}

.price-card ul {
    margin-top: 8px;
    margin-bottom: 30px;
}

.price-card li {
    position: relative;

    margin-bottom: 10px;

    padding-left: 24px;

    color: var(--mid-grey);
}

.price-card li::before {
    content: '';

    position: absolute;

    left: 1px;

    top: 7px;

    width: 11px;

    height: 6px;

    border-left: 2px solid var(--success);

    border-bottom: 2px solid var(--success);

    transform: rotate(-45deg);
}


/*
|--------------------------------------------------------------------------
| 17. Reviews
|--------------------------------------------------------------------------
*/

.reviews-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;
}

.review-card {
    padding: 30px;

    background: var(--white);

    border-radius: var(--radius-medium);

    box-shadow: var(--shadow-small);
}

.review-stars {
    margin-bottom: 18px;

    color: #f5b400;

    font-size: 1.15rem;

    letter-spacing: 2px;
}

.review-card blockquote {
    margin: 0 0 20px;

    color: var(--dark-grey);

    font-size: 1rem;

    line-height: 1.7;
}

.review-name {
    margin-bottom: 0;

    color: var(--secondary);

    font-weight: 700;
}

.review-source {
    margin-top: 3px;

    color: var(--mid-grey);

    font-size: 0.85rem;
}


/* Homepage Google review summary */

.homepage-reviews .small-heading {
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 0.86rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.google-rating-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 20px;
}

.google-rating-stars {
    color: #f5b400;
    font-size: 1.15rem;
    letter-spacing: 2px;
}

.google-rating-summary p {
    margin: 0;
    color: var(--secondary);
    font-size: 1rem;
}

.google-rating-summary strong {
    font-weight: 700;
}

.google-rating-summary span {
    margin-left: 6px;
    color: var(--mid-grey);
}

.review-summary {
    margin: 0 0 20px;
    color: var(--mid-grey);
    font-size: 0.95rem;
    line-height: 1.65;
}

.reviews-footer {
    margin-top: 40px;
    text-align: center;
}

@media (max-width: 520px) {
    .google-rating-summary {
        flex-direction: column;
        gap: 6px;
    }
}


/*
|--------------------------------------------------------------------------
| 18. CTA Section
|--------------------------------------------------------------------------
*/

.cta-section {
    padding: 80px 0;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--primary-dark)
        );

    color: var(--white);
}

.cta-inner {
    width: min(92%, 950px);

    margin: 0 auto;

    text-align: center;
}

.cta-inner h2 {
    color: var(--white);

    margin-bottom: 18px;
}

.cta-inner p {
    max-width: 680px;

    margin: 0 auto 28px;

    color: rgba(255, 255, 255, 0.92);

    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 14px;
}


/*
|--------------------------------------------------------------------------
| 19. Forms
|--------------------------------------------------------------------------
*/

.form-wrapper {
    max-width: 760px;

    margin: 0 auto;
}

.form-row {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    margin-bottom: 7px;

    color: var(--secondary);

    font-weight: 600;
}

.form-control {
    width: 100%;

    min-height: 50px;

    padding: 12px 14px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius-small);

    color: var(--text);

    outline: none;

    transition: var(--transition);
}

textarea.form-control {
    min-height: 160px;

    resize: vertical;
}

.form-control:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 3px rgba(232, 62, 140, 0.12);
}


/*
|--------------------------------------------------------------------------
| 20. Internal Page Hero
|--------------------------------------------------------------------------
*/

.page-hero {
    padding: 80px 0;

    background:
        linear-gradient(
            135deg,
            var(--secondary),
            var(--secondary-light)
        );

    text-align: center;
}

.page-hero h1 {
    margin-bottom: 16px;

    color: var(--white);

    font-size: clamp(2.3rem, 5vw, 3.8rem);
}

.page-hero p {
    max-width: 720px;

    margin: 0 auto;

    color: rgba(255, 255, 255, 0.85);

    font-size: 1.1rem;
}


/*
|--------------------------------------------------------------------------
| 21. Footer
|--------------------------------------------------------------------------
*/

.site-footer {
    background: var(--secondary);

    color: rgba(255, 255, 255, 0.76);
}

.footer-inner {
    width: min(92%, var(--max-width));

    margin: 0 auto;

    padding: 70px 0 55px;

    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        1fr
        1fr;

    gap: 45px;
}

.site-footer h2,
.site-footer h3 {
    color: var(--white);
}

.site-footer h2 {
    margin-bottom: 18px;

    font-size: 1.45rem;
}

.site-footer h3 {
    margin-bottom: 18px;

    font-size: 1rem;
}

.footer-about p {
    max-width: 360px;
}

.footer-column li {
    margin-bottom: 9px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.76);
}

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

.footer-contact a {
    color: var(--white);

    font-weight: 600;
}

.footer-social {
    display: flex;

    gap: 14px;

    margin-top: 18px;
}

.footer-bottom {
    border-top:
        1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
    width: min(92%, var(--max-width));

    min-height: 76px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    font-size: 0.86rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-legal {
    display: flex;

    gap: 20px;
}


/*
|--------------------------------------------------------------------------
| Service Area
|--------------------------------------------------------------------------
*/

.service-area .small-heading {
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 0.86rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.service-area-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.service-area-content h3 {
    margin-bottom: 16px;
    font-size: 1.65rem;
}

.service-area-content p {
    color: var(--mid-grey);
    font-size: 1.05rem;
}

.service-area-content a:not(.btn) {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.service-area-content a:not(.btn):hover,
.service-area-content a:not(.btn):focus {
    color: var(--primary-dark);
}


.service-area-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 34px;
    max-width: 780px;
    margin: 28px auto 34px;
    padding: 0;
    list-style: none;
    text-align: left;
}

.service-area-list li {
    position: relative;
    padding-left: 24px;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.5;
}

.service-area-list li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 6px;
    width: 11px;
    height: 6px;
    border-left: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: rotate(-45deg);
}

.service-area-list a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.service-area-list a:hover,
.service-area-list a:focus {
    color: var(--primary-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.service-area-content .btn {
    margin-top: 8px;
}

@media (max-width: 760px) {
    .service-area-content {
        text-align: left;
    }

    .service-area-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 24px;
    }
}

@media (max-width: 480px) {
    .service-area-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}


/*
|--------------------------------------------------------------------------
| New Driver Information
|--------------------------------------------------------------------------
*/


.new-driver-info .small-heading {
    color: var(--primary);
}

.new-driver-info-questions {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.new-driver-info-questions li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 28px;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.5;
}

.new-driver-info-questions li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 7px;
    width: 11px;
    height: 6px;
    border-left: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: rotate(-45deg);
}

.new-driver-info-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 60px;
    align-items: center;
}

.new-driver-info-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-medium);
}

.new-driver-info-content h3 {
    margin-bottom: 18px;
    font-size: 1.8rem;
}

.new-driver-info-content p {
    margin-bottom: 26px;
    color: var(--mid-grey);
    font-size: 1.05rem;
}

@media (max-width: 860px) {
    .new-driver-info-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .new-driver-info-content {
        text-align: left;
    }
}


/*
|--------------------------------------------------------------------------
| Learn to Drive Page
|--------------------------------------------------------------------------
*/

.page-hero-eyebrow,
.lesson-small-heading,
.lesson-intro-content .small-heading,
.nervous-content .small-heading,
.first-lesson-content .small-heading {
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.page-hero-eyebrow {
    color: rgba(255, 255, 255, 0.82);
}

.learn-drive-hero .page-hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.learn-drive-hero .btn-primary {
    box-shadow: 0 6px 18px rgba(232, 62, 140, 0.25);
}


/* Intro */

.lesson-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 70px;
    align-items: start;
}

.lesson-intro-content h2 {
    margin-bottom: 22px;
}

.lesson-intro-content p {
    color: var(--mid-grey);
    font-size: 1.05rem;
}

.lesson-highlight-box {
    padding: 36px;
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-small);
}

.lesson-highlight-box h3 {
    margin-bottom: 22px;
    font-size: 1.7rem;
}

.lesson-tick-list {
    margin-bottom: 28px;
}

.lesson-tick-list li {
    position: relative;
    margin-bottom: 13px;
    padding-left: 28px;
    color: var(--text);
    font-weight: 600;
    line-height: 1.5;
}

.lesson-tick-list li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 7px;
    width: 11px;
    height: 6px;
    border-left: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: rotate(-45deg);
}


/* Lesson process cards */

.lesson-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.lesson-feature {
    position: relative;
    padding: 34px 30px 30px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-small);
}

.lesson-feature-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    margin-bottom: 22px;
    padding: 0 12px;
    background: rgba(232, 62, 140, 0.10);
    color: var(--primary);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.lesson-feature h3 {
    margin-bottom: 12px;
}

.lesson-feature p {
    margin-bottom: 0;
    color: var(--mid-grey);
}

.lesson-prices-link {
    margin-top: 36px;
    text-align: center;
}

.lesson-prices-link p {
    margin-bottom: 6px;
    color: var(--mid-grey);
}

.text-link {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.text-link:hover,
.text-link:focus {
    color: var(--primary-dark);
}


/* Nervous learners */

.nervous-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 70px;
    align-items: center;
}

.nervous-content h2 {
    margin-bottom: 22px;
}

.nervous-content p {
    color: var(--mid-grey);
    font-size: 1.05rem;
}

.nervous-content .nervous-lead {
    color: var(--text);
    font-weight: 600;
}

.confidence-box {
    position: relative;
    padding: 42px 36px 36px;
    background: var(--secondary);
    color: var(--white);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-medium);
}

.confidence-quote-mark {
    position: absolute;
    top: 14px;
    left: 24px;
    color: rgba(255, 255, 255, 0.16);
    font-family: Georgia, serif;
    font-size: 5rem;
    line-height: 1;
}

.confidence-box blockquote {
    position: relative;
    z-index: 1;
    margin: 0 0 20px;
    color: var(--white);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.45;
}

.confidence-box p {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.80);
}


/* Skills */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 28px;
    max-width: 900px;
    margin: 0 auto;
}

.skill-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-small);
}

.skill-tick {
    position: relative;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    margin-top: 1px;
    background: var(--success);
    border-radius: 50%;
    font-size: 0;
    line-height: 0;
}

.skill-tick::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 6px;
    width: 8px;
    height: 5px;
    border-left: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(-45deg);
}

.skill-item > span:last-child {
    color: var(--text);
    font-weight: 600;
    line-height: 1.45;
}


/* First lesson callout */

.first-lesson-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) auto;
    gap: 50px;
    align-items: center;
    padding: 42px 46px;
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
}

.first-lesson-content h2 {
    margin-bottom: 18px;
}

.first-lesson-content p {
    color: var(--mid-grey);
}

.first-lesson-content p:last-child {
    margin-bottom: 0;
}

.first-lesson-action {
    flex-shrink: 0;
}


/* Lesson reviews */

.lesson-review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.lesson-reviews-link {
    margin-top: 38px;
    text-align: center;
}


/*
|--------------------------------------------------------------------------
| 22. Tablet
|--------------------------------------------------------------------------
*/

@media (max-width: 1100px) {

    .main-navigation {
        display: none;
    }

    .header-contact {
        margin-left: auto;
    }

    .mobile-menu-toggle {
        display: flex;

        margin-left: 0;
    }

    .intro-grid {
        gap: 45px;
    }

    .card-grid,
    .price-grid,
    .reviews-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .footer-inner {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/*
|--------------------------------------------------------------------------
| 23. Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 760px) {

    body {
        font-size: 15px;
    }

    .section {
        padding: 65px 0;
    }

    .header-inner {
        min-height: 76px;

        gap: 14px;
    }

    .site-logo img {
        max-width: 145px;

        max-height: 60px;
    }

    .header-phone {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .hero {
        min-height: 520px;
    }

    .hero-inner {
        padding: 65px 0;
    }

    .hero-content {
    max-width: 500px;

    text-align: left;
    }

    .hero h1 {
    font-size: clamp(2.7rem, 12vw, 4rem);
    }

    .hero-intro {
    font-size: 1rem;
    }

    .hero-buttons {
    justify-content: flex-start;
    }

    .hero p {
        font-size: 1.05rem;
    }

    .intro-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .card-grid,
    .price-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .price-card.featured {
        transform: none;
    }

    .form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .footer-inner {
        grid-template-columns: 1fr;

        gap: 30px;

        padding: 55px 0 40px;
    }

    .footer-bottom-inner {
        padding: 22px 0;

        flex-direction: column;

        justify-content: center;

        text-align: center;
    }
}


/*
|--------------------------------------------------------------------------
| 24. Very Small Screens
|--------------------------------------------------------------------------
*/

@media (max-width: 420px) {

    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn,
    .cta-buttons .btn {
        width: 100%;
    }

    .feature-card,
    .price-card,
    .review-card {
        padding: 25px;
    }


}

/* =========================================================
   25. CANCELLATION POLICY
========================================================= */

.policy-content {
    max-width: 900px;
    margin: 50px auto 0;
}

.policy-item {
    padding: 30px 0;
    border-bottom: 1px solid #e2e2e2;
}

.policy-item:first-child {
    padding-top: 0;
}

.policy-item:last-child {
    border-bottom: 0;
}

.policy-item h2 {
    margin: 0 0 15px;
}

.policy-item p {
    margin: 0 0 15px;
    line-height: 1.75;
}

.policy-item p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   FOOTER DESIGN CREDIT
========================================================= */

.footer-credit {
    width: min(92%, var(--max-width));
    margin: 0 auto;
    padding: 0 0 18px;
    text-align: left;
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-credit a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

.footer-credit a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* =========================================================
   COOKIE NOTICE
========================================================= */

.cookie-notice {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;

    padding: 16px 20px;

    background: #ffffff;
    border-top: 1px solid #dddddd;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
}

.cookie-notice[hidden] {
    display: none;
}

.cookie-notice-inner {
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.cookie-notice p {
    margin: 0;
    line-height: 1.6;
}

.cookie-notice a {
    font-weight: 600;
    text-decoration: underline;
}

.cookie-notice-button {
    flex-shrink: 0;
    cursor: pointer;
}


/* =========================================================
   COOKIE NOTICE - MOBILE
========================================================= */

@media (max-width: 700px) {

    .cookie-notice-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .cookie-notice-button {
        width: 100%;
    }

}

/*
|--------------------------------------------------------------------------
| Learn to Drive - Photographic Hero
|--------------------------------------------------------------------------
*/

.learn-drive-hero {
    position: relative;
    min-height: 500px;
    padding: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--secondary);
    text-align: left;
}

.learn-drive-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.learn-drive-hero-overlay {
    position: absolute;
    z-index: 1;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(31, 42, 68, 0.97) 0%,
            rgba(31, 42, 68, 0.92) 27%,
            rgba(31, 42, 68, 0.72) 43%,
            rgba(31, 42, 68, 0.30) 58%,
            rgba(31, 42, 68, 0.04) 74%
        );
}

.learn-drive-hero-inner {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}

.learn-drive-hero-content {
    max-width: 570px;
}

.learn-drive-hero .page-hero-eyebrow {
    margin-bottom: 13px;
    color: rgba(255, 255, 255, 0.78);
}

.learn-drive-hero h1 {
    margin-bottom: 20px;
    color: var(--white);
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.learn-drive-hero h1 span {
    color: var(--primary);
}

.learn-drive-hero .learn-drive-hero-intro {
    max-width: 500px;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.1rem;
    line-height: 1.65;
}

.learn-drive-hero .page-hero-buttons {
    justify-content: flex-start;
    margin-top: 30px;
}


/* Tablet */

@media (max-width: 900px) {

    .learn-drive-hero {
        min-height: 470px;
    }

    .learn-drive-hero-image {
        object-position: 62% center;
    }

    .learn-drive-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(31, 42, 68, 0.97) 0%,
                rgba(31, 42, 68, 0.90) 42%,
                rgba(31, 42, 68, 0.55) 70%,
                rgba(31, 42, 68, 0.25) 100%
            );
    }

    .learn-drive-hero-content {
        max-width: 520px;
    }

}


/* Mobile */

@media (max-width: 600px) {

    .learn-drive-hero {
        min-height: 520px;
    }

    .learn-drive-hero-image {
        object-position: 68% center;
    }

    .learn-drive-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(31, 42, 68, 0.96) 0%,
                rgba(31, 42, 68, 0.86) 55%,
                rgba(31, 42, 68, 0.60) 100%
            );
    }

    .learn-drive-hero-inner {
        padding: 60px 0;
    }

    .learn-drive-hero-content {
        max-width: 100%;
    }

    .learn-drive-hero h1 {
        font-size: clamp(2.5rem, 12vw, 3.5rem);
    }

    .learn-drive-hero .learn-drive-hero-intro {
        max-width: 90%;
        font-size: 1rem;
    }

}

/* =========================================================
   ABOUT PAGE HERO
========================================================= */

.about-hero .learn-drive-hero-image {
    object-position: center 30%;
}


/* =========================================================
   FINAL CTA SECTION
========================================================= */

.final-cta {
    padding: 70px 0;
    background: var(--primary);
    text-align: center;
}

.final-cta-content {
    max-width: 760px;
    margin: 0 auto;
}

.final-cta .lesson-small-heading {
    color: rgba(255, 255, 255, 0.80);
}

.final-cta h2 {
    margin-bottom: 18px;
    color: var(--white);
}

.final-cta p {
    max-width: 650px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.92);
}

.final-cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

/* Left CTA button */

.final-cta .btn-light {
    background: var(--white);
    color: var(--secondary);
}

.final-cta .btn-light:hover,
.final-cta .btn-light:focus {
    background: var(--off-white);
    color: var(--secondary);
}

/* Telephone CTA button */

.final-cta .btn-outline-light {
    background: var(--secondary);
    border: 2px solid var(--secondary);
    color: var(--white);
}

.final-cta .btn-outline-light:hover,
.final-cta .btn-outline-light:focus {
    background: var(--secondary-light);
    border-color: var(--secondary-light);
    color: var(--white);
}

/* =========================================================
   REVIEWS PAGE
========================================================= */

.google-review-overview {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 60px;
    align-items: center;
    max-width: 920px;
    margin: 20px auto 0;
}

.google-review-score {
    padding: 36px;
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    text-align: center;
    box-shadow: var(--shadow-small);
}

.google-review-label {
    margin-bottom: 8px;
    color: var(--secondary);
    font-weight: 700;
}

.google-review-number {
    color: var(--secondary);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
}

.google-review-score .google-rating-stars {
    margin: 12px 0 10px;
}

.google-review-score p:last-child {
    margin-bottom: 0;
    color: var(--mid-grey);
}

.google-review-intro h3 {
    margin-bottom: 18px;
    font-size: 1.7rem;
}

.google-review-intro p {
    color: var(--mid-grey);
}

.reviews-page-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.review-page-card {
    height: 100%;
}

.review-google-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.google-review-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: #4285f4;
    font-size: 1.25rem;
    font-weight: 800;
}

.review-google-heading .review-stars {
    margin: 2px 0 0;
    font-size: 0.9rem;
}

.review-page-card blockquote {
    font-size: 1.08rem;
    font-weight: 600;
}

@media (max-width: 900px) {

    .google-review-overview {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .google-review-score {
        max-width: 360px;
        width: 100%;
        margin: 0 auto;
    }

    .reviews-page-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {

    .google-review-overview {
        text-align: left;
    }

    .google-review-score {
        padding: 30px 25px;
    }

    .google-review-number {
        font-size: 3.4rem;
    }
}

/* =========================================================
   PRICES PAGE
========================================================= */

.price-unit {
    color: var(--mid-grey);
    font-size: 1rem;
    font-weight: 600;
}

.intensive-price-list {
    max-width: 760px;
    margin: 0 auto;
}

/* =========================================================
   PRICE CARD HOVER
========================================================= */

.price-card {
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.price-card:hover {
    background: rgba(232, 62, 140, 0.06);
    border-color: var(--primary);
    box-shadow: var(--shadow-medium);
    transform: translateY(-6px);
}


/* Disable lift effect on mobile */

@media (max-width: 760px) {

    .price-card:hover {
        transform: none;
    }

}

/* =========================================================
   DRIVING LICENCE CHECK CODE
========================================================= */

.licence-check-box {
    padding: 36px;
    background: var(--off-white);
    border: 2px solid var(--primary);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-medium);
}

.licence-check-box h3 {
    margin-bottom: 22px;
}

.licence-check-box .lesson-tick-list {
    margin-bottom: 22px;
}

.licence-check-note {
    margin-bottom: 24px;
    color: var(--mid-grey);
    font-size: 0.95rem;
}

@media (max-width: 600px) {

    .licence-check-box {
        padding: 28px 24px;
    }

}

/* =========================================================
   NEW DRIVER STEP TICKS
========================================================= */

.new-driver-step-tick {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1;
}

/* =========================================================
   CONTACT PAGE
========================================================= */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 70px;
    align-items: start;
}

.contact-details h2,
.contact-form-wrapper h2 {
    margin-bottom: 18px;
}

.contact-intro {
    margin-bottom: 36px;
    color: var(--mid-grey);
    font-size: 1.05rem;
    line-height: 1.7;
}


/* Contact methods */

.contact-method {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 18px;
    align-items: start;
    margin-bottom: 30px;
}

.contact-method-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.35rem;
    font-weight: 700;
}

.contact-method h3 {
    margin: 2px 0 7px;
}

.contact-method p {
    margin-bottom: 5px;
    color: var(--mid-grey);
}


/* Contact note */

.contact-note {
    margin-top: 38px;
    padding: 28px;
    background: var(--off-white);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-medium);
}

.contact-note h3 {
    margin-bottom: 10px;
}

.contact-note p {
    margin-bottom: 0;
    color: var(--mid-grey);
}


/* Contact form */

.contact-form-wrapper {
    padding: 40px;
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-medium);
}

.contact-form-wrapper > p:not(.lesson-small-heading) {
    margin-bottom: 28px;
    color: var(--mid-grey);
}

.contact-form {
    margin-top: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--secondary);
    font-weight: 700;
}

.form-group label > span {
    color: var(--primary);
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 15px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-small);
    color: var(--text);
    font: inherit;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232, 62, 140, 0.12);
}


/* Privacy checkbox */

.form-consent label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    cursor: pointer;
    font-weight: 400;
}

.form-consent input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--primary);
}

.form-consent label > span {
    color: var(--mid-grey);
    font-size: 0.9rem;
    line-height: 1.55;
}

.contact-submit {
    width: 100%;
    border: 0;
    cursor: pointer;
}


/* Contact help cards */

.contact-help-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 1050px;
    margin: 0 auto;
}

.contact-help-item {
    padding: 30px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-small);
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.contact-help-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.contact-help-item h3 {
    margin-bottom: 12px;
}

.contact-help-item p {
    margin-bottom: 0;
    color: var(--mid-grey);
}

/* =========================================================
   CONTACT PAGE - RESPONSIVE
========================================================= */

@media (max-width: 900px) {

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

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

}


@media (max-width: 600px) {

    .contact-form-wrapper {
        padding: 30px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-method {
        grid-template-columns: 48px 1fr;
        gap: 15px;
    }

    .contact-method-icon {
        width: 48px;
        height: 48px;
    }

    .contact-help-item:hover {
        transform: none;
    }

}

/* =========================================================
   CONTACT FORM MESSAGES / SPAM PROTECTION
========================================================= */

.website-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.form-message {
    margin-bottom: 25px;
    padding: 18px 20px;
    border-radius: var(--radius-small);
    line-height: 1.6;
}

.form-message strong {
    display: block;
    margin-bottom: 4px;
}

.form-message-success {
    background: rgba(37, 165, 95, 0.10);
    border: 1px solid rgba(37, 165, 95, 0.35);
    color: #1d7545;
}

.form-message-error {
    background: rgba(232, 62, 140, 0.07);
    border: 1px solid rgba(232, 62, 140, 0.30);
    color: var(--text);
}

.form-message-error ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

/* =========================================================
   BRISTOL AREA PAGE
========================================================= */

.bristol-hero .learn-drive-hero-image {
    object-position: center center;
}

@media (max-width: 760px) {

    .bristol-hero .learn-drive-hero-image {
        object-position: 65% center;
    }

}

/* =========================================================
   INTERNAL PAGE RESPONSIVE SAFEGUARDS
   These rules deliberately sit at the end of the stylesheet
   so they override earlier desktop rules where required.
========================================================= */

@media (max-width: 980px) {

    .lesson-intro-grid,
    .nervous-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .lesson-feature-grid {
        grid-template-columns: 1fr;
    }

    .first-lesson-inner {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .first-lesson-action {
        justify-self: start;
    }
}


@media (max-width: 760px) {

    /* General spacing */

    .section {
        padding: 55px 0;
    }

    .section-heading {
        margin-bottom: 34px;
    }


    /* Internal photographic heroes */

    .learn-drive-hero {
        width: 100%;
        min-height: 520px;
        padding: 0;
        overflow: hidden;
    }

    .learn-drive-hero-image {
        position: absolute;
        inset: 0;
        width: 100%;
        max-width: none;
        height: 100%;
        object-fit: cover;
        object-position: 68% center;
    }

    .learn-drive-hero-inner {
        width: min(90%, var(--max-width));
        padding: 55px 0;
    }

    .learn-drive-hero-content {
        max-width: 100%;
    }

    .learn-drive-hero h1 {
        font-size: clamp(2.35rem, 11vw, 3.35rem);
    }

    .learn-drive-hero .learn-drive-hero-intro {
        max-width: 100%;
        font-size: 1rem;
    }

    .learn-drive-hero .page-hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .learn-drive-hero .page-hero-buttons .btn {
        width: 100%;
    }

    /* About image needs Sam kept in frame vertically and horizontally */

    .about-hero .learn-drive-hero-image {
        object-position: 70% 30%;
    }


    /* Internal page grids */

    .lesson-intro-grid,
    .nervous-grid {
        gap: 30px;
    }

    .skills-grid,
    .lesson-review-grid {
        grid-template-columns: 1fr;
    }

    .lesson-highlight-box,
    .confidence-box {
        padding: 30px 26px;
    }

    .first-lesson-inner {
        padding: 32px 26px;
    }


    /* Final CTA */

    .final-cta {
        padding: 55px 0;
    }

    .final-cta-content {
        width: min(92%, 760px);
    }

    .final-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .final-cta-buttons .btn {
        width: 100%;
    }
}


@media (max-width: 420px) {

    .section {
        padding: 48px 0;
    }

    .learn-drive-hero {
        min-height: 540px;
    }

    .learn-drive-hero-inner {
        width: min(88%, var(--max-width));
        padding: 48px 0;
    }

    .learn-drive-hero h1 {
        font-size: clamp(2.15rem, 11vw, 2.9rem);
    }

    .lesson-highlight-box,
    .confidence-box,
    .lesson-feature {
        padding: 24px 22px;
    }

    .first-lesson-inner {
        padding: 26px 22px;
    }

    .final-cta {
        padding: 48px 0;
    }
}

.confidence-box,
.confidence-box h2,
.confidence-box h3,
.confidence-box p,
.confidence-box li {
    color: var(--white);
}

.confidence-box .lesson-small-heading {
    color: rgba(255, 255, 255, 0.8);
}

.confidence-box .lesson-tick-list {
    margin-top: 24px;
}

.policy-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

/* Privacy / Policy page lists */

.policy-item ul {
    margin: 18px 0 22px;
    padding-left: 0;
}

.policy-item li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 26px;
    line-height: 1.65;
}

.policy-item li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 8px;
    width: 10px;
    height: 6px;
    border-left: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: rotate(-45deg);
}

.policy-item a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.policy-item a:hover {
    color: var(--primary-dark);
}
