/* freeres skin — CSS VERBATIM from toefl-practice-test.html comp (Subash, DQ-130 TOEFL merge),
   scoped under body.galv-freeres. Only transform vs comp: the mandatory scope prefix. Swiper +
   fonts + header-isolation guard are enqueued centrally by freeres_styles.php. */

body.galv-freeres {
            --bg-navy: #13217c;
            --primary-blue: #3b5bff;
            --cta-magenta: #cc00cc;
            --accent-blue: #e6ebff;
            --text-white: #fffdfe;
            --text-dark: #333;
            --text-gray: #808080;
            --success-green: #2d8a4e;
            --font-heading: 'Poppins', sans-serif;
            --font-body: 'Inter', sans-serif;
            --container-width: 1920px;
        }

body.galv-freeres * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

body.galv-freeres {
            scroll-behavior: smooth;
        }

body.galv-freeres {
            font-family: var(--font-body);
            color: var(--text-dark);
            line-height: 1.6;
            background-color: var(--accent-blue);
        }

body.galv-freeres h1, body.galv-freeres h2, body.galv-freeres h3, body.galv-freeres h4, body.galv-freeres h5, body.galv-freeres h6 {
            font-family: var(--font-heading);
            font-weight: 600;
        }

body.galv-freeres a {
            color: var(--primary-blue);
        }

body.galv-freeres .container {
            width: 100%;
            max-width: var(--container-width);
            padding: 0 80px;
            margin: 0 auto;
        }

body.galv-freeres section {
            padding: 60px 0;
        }

/* Section background rhythm */
body.galv-freeres .sec-white {
            background: #fffdfe;
        }

body.galv-freeres .sec-accent {
            background: var(--accent-blue);
        }

/* ETS bar sits alone here - drop the empty space beneath it */
body.galv-freeres .ets-section {
            padding-bottom: 0;
        }

body.galv-freeres .ets-section .stats-bar {
            margin-bottom: 0;
        }

/* Section headings */
body.galv-freeres .sec-h2 {
            font-size: 30px;
            line-height: 1.3;
            color: var(--primary-blue);
            margin-bottom: 20px;
        }

body.galv-freeres .sec-h2.center {
            text-align: center;
        }

body.galv-freeres .sec-h3 {
            font-size: 30px;
            line-height: 1.3;
            color: var(--primary-blue);
            margin-bottom: 20px;
        }

body.galv-freeres .sec-h3.center {
            text-align: center;
        }

/* ===== BUTTONS ===== */
body.galv-freeres .btn {
            display: inline-block;
            padding: 13px 30px;
            border-radius: 8px;
            font-weight: 600;
            font-size: 18px;
            text-decoration: none;
            cursor: pointer;
            transition: all .25s ease;
            border: none;
            font-family: var(--font-heading);
        }

body.galv-freeres .btn-blue {
            background: var(--primary-blue);
            color: var(--text-white);
        }

body.galv-freeres .btn-blue:hover {
            background: var(--bg-navy);
        }

body.galv-freeres .btn-magenta {
            background: var(--cta-magenta);
            color: var(--text-white);
        }

body.galv-freeres .btn-magenta:hover {
            background: #a600a6;
        }

/* ===== HERO ===== */
body.galv-freeres .hero {
            background: var(--bg-navy);
            color: var(--text-white);
            text-align: center;
            padding: 60px 0 150px;
        }

body.galv-freeres .hero .diagnostic-grid {
            max-width: 1120px;
            margin: 44px auto 0;
        }

body.galv-freeres .hero h1 {
            font-size: 46px;
            line-height: 1.2;
            margin-bottom: 18px;
            max-width: 1000px;
            margin-left: auto;
            margin-right: auto;
        }

body.galv-freeres .hero .hero-sub {
            font-family: var(--font-heading);
            font-weight: 500;
            font-size: 22px;
            color: var(--text-white);
        }

body.galv-freeres .hero .intro-cards {
            margin: 44px auto 0;
            max-width: 980px;
            text-align: left;
        }

/* ===== INTRO TWO CARDS ===== */
body.galv-freeres .intro-cards {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
        }

body.galv-freeres .intro-card {
            position: relative;
            background: #fff;
            border-radius: 20px;
            padding: 34px;
            display: flex;
            flex-direction: column;
            color: #333333;
        }

body.galv-freeres .intro-card h2 {
            font-size: 24px;
            color: var(--primary-blue);
            margin-bottom: 14px;
        }

body.galv-freeres .intro-card p {
            font-size: 18px;
            margin-bottom: 12px;
        }

body.galv-freeres .intro-card .pop {
            color: var(--cta-magenta);
            font-weight: 600;
            font-family: var(--font-heading);
        }

body.galv-freeres .intro-card .btn {
            margin-top: auto;
            align-self: flex-start;
        }

/* ===== "WHAT YOU GET" TWO COLUMNS ===== */
body.galv-freeres .get-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin-top: 36px;
        }

body.galv-freeres .get-card {
            background: var(--text-white);
            border-radius: 20px;
            padding: 34px;
            display: flex;
            flex-direction: column;
        }

body.galv-freeres .get-card h3 {
            font-size: 22px;
            color: var(--primary-blue);
            margin-bottom: 18px;
        }

body.galv-freeres .get-card ul {
            list-style: none;
            margin-bottom: 24px;
            flex-grow: 1;
        }

body.galv-freeres .get-card li {
            position: relative;
            padding-left: 30px;
            margin-bottom: 14px;
            font-size: 16px;
            line-height: 1.5;
        }

body.galv-freeres .get-card li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 2px;
            width: 20px;
            height: 20px;
            background: var(--success-green);
            border-radius: 50%;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: center;
        }

body.galv-freeres .get-card .btn {
            align-self: flex-start;
        }

/* ===== PICK YOUR TEST TYPE (two test cards + accordions) ===== */
body.galv-freeres .section-subtitle {
            font-size: 18px;
            line-height: 1.5;
            color: #808080;
            text-align: center;
            max-width: 640px;
            margin: 0 auto;
        }

body.galv-freeres .diagnostic-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin-top: 36px;
            align-items: start;
        }

body.galv-freeres .test-card {
            background: #fff;
            border-radius: 20px;
            padding: 30px;
            border: 1px solid #e6ebff;
            display: flex;
            flex-direction: column;
            text-align: left;
        }

body.galv-freeres .test-title {
            font-size: 22px;
            color: var(--primary-blue);
            margin-bottom: 8px;
            font-weight: 600;
        }

body.galv-freeres .test-card .test-sub {
            font-size: 16px;
            color: #808080;
            margin-bottom: 20px;
        }

body.galv-freeres .test-details {
            display: flex;
            gap: 30px;
            margin-bottom: 15px;
        }

body.galv-freeres .detail-item {
            font-size: 18px;
            color: #333;
        }

body.galv-freeres .detail-item strong {
            font-weight: 600;
        }

body.galv-freeres .test-divider {
            border: 0;
            border-top: 1px solid #bdbdbd;
            margin: 0 0 20px;
            width: 100%;
        }

body.galv-freeres .test-features {
            list-style: none;
            margin-bottom: 10px;
            flex-grow: 1;
            padding: 0;
        }

body.galv-freeres .test-feature-item {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 12px;
            font-size: 16px;
            line-height: 1.5;
            color: #333333;
        }

body.galv-freeres .test-feature-item svg {
            color: var(--success-green);
            flex-shrink: 0;
        }

body.galv-freeres .accordion-item {
            background: #f5f7ff;
            border: 1px solid #c7d2fe;
            border-radius: 12px;
            margin-bottom: 12px;
            overflow: hidden;
            transition: all .3s ease;
        }

body.galv-freeres .accordion-header {
            padding: 16px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            font-weight: 500;
            font-size: 18px;
            color: #1e293b;
            user-select: none;
        }

body.galv-freeres .accordion-icon {
            font-size: 20px;
            color: #333;
            transition: transform .3s ease;
        }

body.galv-freeres .accordion-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height .3s ease-out, padding .3s ease;
            background: #f5f7ff;
        }

body.galv-freeres .accordion-item.active .accordion-content {
            max-height: 500px;
            padding: 0 20px 20px;
        }

body.galv-freeres .accordion-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

body.galv-freeres .accordion-list li {
            position: relative;
            padding-left: 20px;
            margin-bottom: 8px;
            font-size: 16px;
            color: #475569;
            line-height: 1.5;
        }

body.galv-freeres .accordion-list li::before {
            content: "•";
            position: absolute;
            left: 0;
            color: #1e293b;
            font-weight: 600;
        }

body.galv-freeres .test-button-container {
            text-align: center;
            margin-top: 20px;
        }

body.galv-freeres .test-button-container .btn {
            width: 100%;
            box-sizing: border-box;
        }

@media (max-width:1024px) {
body.galv-freeres .diagnostic-grid {
                grid-template-columns: 1fr;
                margin-top: 30px;
            }
}

/* ===== ETS AMBASSADOR (stats-bar overlap, toefl-mock-test pattern) ===== */
body.galv-freeres .stats-bar {
            background: var(--text-white);
            border-radius: 20px;
            padding: 30px;
            display: grid;
            grid-template-columns: 1.4fr 0.6fr;
            align-items: center;
            gap: 30px;
            max-width: 1062px;
            margin: -135px auto 40px;
            text-align: left;
            position: relative;
            z-index: 20;
        }

body.galv-freeres .ets-text {
            font-family: var(--font-heading);
            font-size: 20px;
            line-height: 1.5;
            font-weight: 600;
            color: #333333;
            margin: 0;
        }

body.galv-freeres .ets-text a {
            color: var(--primary-blue);
        }

body.galv-freeres .ambassador-logo-box {
            display: flex;
            align-items: center;
            justify-content: flex-end;
        }

body.galv-freeres .ambassador-img {
            max-height: 90px;
            width: auto;
            display: block;
        }

/* ===== TEXT CARD GRIDS (why / unique) ===== */
body.galv-freeres .card-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 30px;
            margin-top: 36px;
        }

body.galv-freeres .card-grid.cols-3 .txt-card {
            flex: 0 1 calc((100% - 60px) / 3);
        }

body.galv-freeres .card-grid.cols-6 .txt-card {
            flex: 0 1 calc((100% - 90px) / 3);
        }

body.galv-freeres .txt-card {
            background: #fff;
            border: 2px solid transparent;
            border-radius: 20px;
            padding: 30px;
            transition: all .2s ease;
        }

body.galv-freeres .sec-white .txt-card {
            background: var(--accent-blue);
        }

body.galv-freeres .why-take {
            background: #fffdfe;
        }

body.galv-freeres .why-take .txt-card {
            background: #e6ebff;
        }

body.galv-freeres .txt-card:hover {
            border-color: #a0aeff;
        }

body.galv-freeres .txt-card h4 {
            font-size: 20px;
            color: var(--primary-blue);
            margin-bottom: 14px;
        }

body.galv-freeres .txt-card p {
            font-size: 16px;
            line-height: 1.6;
            color: var(--text-dark);
        }

/* ===== ACES CAROUSEL (social proof, from mock-test comp) ===== */
body.galv-freeres .aces {
            overflow: hidden;
            background: #e6ebff;
        }

body.galv-freeres .aces-carousel-container {
            width: 100%;
            overflow: hidden;
            margin-top: 30px;
            position: relative;
            padding: 20px 0;
        }

body.galv-freeres .ace-card {
            background: #fffdfe;
            border-radius: 20px;
            padding: 30px;
            text-align: center;
            position: relative;
        }

body.galv-freeres .ace-img {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            margin: 0 auto 20px;
            object-fit: cover;
            border: 3px solid #fecdec;
        }

body.galv-freeres .ace-name {
            font-size: 20px;
            margin-bottom: 6px;
            font-weight: 600;
            color: var(--text-dark);
        }

body.galv-freeres .ace-country {
            color: var(--cta-magenta);
            font-size: 18px;
            margin-bottom: 20px;
            font-weight: 600;
        }

body.galv-freeres .ace-score {
            font-size: 20px;
            font-weight: 600;
            color: var(--text-dark);
            background: #fff;
            padding: 10px 20px;
            border-radius: 12px;
            display: inline-block;
            border: 2px dashed var(--cta-magenta);
            width: fit-content;
        }

body.galv-freeres .ace-score span {
            color: var(--cta-magenta);
        }

/* ===== CTA BAND ===== */
body.galv-freeres .cta-band {
            background: var(--bg-navy);
            text-align: center;
        }

body.galv-freeres .cta-band h2 {
            font-size: 30px;
            line-height: 1.35;
            color: var(--text-white);
            margin-bottom: 26px;
            max-width: 900px;
            margin-left: auto;
            margin-right: auto;
        }

/* ===== INSTRUCTIONS ===== */
body.galv-freeres .instr-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
            margin-top: 36px;
        }

body.galv-freeres .instr-card {
            background: #fffdfe;
            border: 1px solid #c7d2fe;
            border-radius: 16px;
            padding: 28px;
        }

body.galv-freeres .instr-card h3 {
            font-size: 19px;
            color: var(--primary-blue);
            margin-bottom: 14px;
        }

body.galv-freeres .instr-card ul {
            list-style: none;
        }

body.galv-freeres .instr-card li {
            position: relative;
            padding-left: 20px;
            margin-bottom: 12px;
            font-size: 15px;
            line-height: 1.55;
            color: #475569;
        }

body.galv-freeres .instr-card li::before {
            content: "•";
            position: absolute;
            left: 0;
            color: var(--primary-blue);
            font-weight: 700;
        }

/* ===== ARTICLE (clean text content, german-grade-calculator style) ===== */
body.galv-freeres .article .article-intro-title {
            font-family: var(--font-heading);
            font-size: 36px;
            line-height: 48px;
            font-weight: 600;
            color: var(--primary-blue);
            text-align: left;
            margin-bottom: 32px;
        }

body.galv-freeres .article h2 {
            font-family: var(--font-heading);
            font-size: 30px;
            line-height: 40px;
            font-weight: 600;
            color: var(--primary-blue);
            margin: 0 0 16px;
        }

body.galv-freeres .article h2.challenges-title {
            font-size: 36px;
            line-height: 48px;
            margin-top: 0;
        }

body.galv-freeres .article h3 {
            font-family: var(--font-heading);
            font-size: 30px;
            line-height: 40px;
            font-weight: 600;
            color: var(--primary-blue);
            margin: 32px 0 16px;
        }

body.galv-freeres .article p {
            font-family: var(--font-body);
            font-size: 18px;
            line-height: 29px;
            color: var(--text-dark);
            margin-bottom: 16px;
        }

/* ===== MEET THE TEAM (home-page pattern) ===== */
body.galv-freeres .team-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
            margin: 40px auto 0;
            max-width: 1200px;
        }

body.galv-freeres .team-card {
            background: var(--text-white);
            border-radius: 20px;
            padding: 30px 20px;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            border: 2px solid transparent;
            transition: all 0.3s ease;
        }

body.galv-freeres .team-card:hover {
            border: 2px solid #a0aeff;
        }

body.galv-freeres .team-img-wrapper {
            position: relative;
            width: 200px;
            height: 200px;
            border-radius: 50%;
            margin-bottom: 20px;
            border: 1px solid var(--cta-magenta);
        }

body.galv-freeres .team-img-wrapper img {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            object-fit: cover;
        }

body.galv-freeres .team-name {
            font-size: 18px;
            line-height: 29px;
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 8px;
        }

body.galv-freeres .team-title {
            font-size: 16px;
            line-height: 26px;
            font-weight: 500;
            color: var(--text-dark);
            margin-bottom: 4px;
        }

body.galv-freeres .team-degree {
            font-size: 16px;
            line-height: 26px;
            font-weight: 600;
            color: var(--cta-magenta);
        }

/* ===== FAQ (home-page pattern) ===== */
body.galv-freeres .faq-layout {
            display: grid;
            grid-template-columns: 2fr 3fr;
            gap: 20px;
            align-items: start;
            margin-top: 36px;
        }

body.galv-freeres .faq-image-col img {
            width: 100%;
            max-width: 420px;
            height: auto;
            border-radius: 20px;
            display: block;
        }

body.galv-freeres .faq-container {
            max-width: 100%;
            margin: 0;
            padding: 0;
        }

body.galv-freeres .faq-title {
            font-family: var(--font-heading);
            font-size: 36px;
            line-height: 48px;
            font-weight: 600;
            color: var(--primary-blue);
            margin-bottom: 30px;
        }

body.galv-freeres .faq-item {
            background: var(--primary-blue);
            margin-bottom: 18px;
            overflow: hidden;
        }

body.galv-freeres .faq-question {
            padding: 20px 50px 20px 20px;
            font-size: 20px;
            line-height: 30px;
            font-weight: 400;
            color: var(--text-white);
            cursor: pointer;
            position: relative;
            transition: all 0.3s ease;
            user-select: none;
        }

body.galv-freeres .faq-question::after {
            content: "›";
            position: absolute;
            right: 28px;
            top: 50%;
            transform: translateY(-50%) rotate(0deg);
            font-size: 28px;
            color: #fff;
            font-weight: 400;
            transition: transform 0.3s ease;
            line-height: 1;
        }

body.galv-freeres .faq-question.active::after {
            transform: translateY(-50%) rotate(90deg);
        }

body.galv-freeres .faq-answer {
            background-color: var(--accent-blue);
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease, padding 0.4s ease;
            padding: 0 28px;
            font-size: 20px;
            line-height: 30px;
            font-weight: 400;
            color: var(--primary-blue);
        }

body.galv-freeres .faq-answer.active {
            max-height: 800px;
            padding: 20px 28px;
        }

body.galv-freeres .faq-answer a {
            color: var(--bg-navy);
            font-weight: 600;
        }

/* ===== RESPONSIVE ===== */
@media (max-width:1024px) {
body.galv-freeres .container {
                padding: 0 40px;
            }

body.galv-freeres .intro-cards, body.galv-freeres .get-grid, body.galv-freeres .instr-grid {
                grid-template-columns: 1fr;
            }

body.galv-freeres .card-grid.cols-3 .txt-card, body.galv-freeres .card-grid.cols-6 .txt-card {
                flex: 0 1 calc((100% - 30px) / 2);
            }

body.galv-freeres .team-grid {
                grid-template-columns: repeat(2, 1fr);
                max-width: 620px;
            }

body.galv-freeres .hero h1 {
                font-size: 40px;
            }
}

@media (max-width:768px) {
body.galv-freeres .container {
                padding: 0 20px;
            }

body.galv-freeres section {
                padding: 44px 0;
            }

body.galv-freeres .ace-name {
                font-size: 18px;
                line-height: 29px;
            }

body.galv-freeres .ace-country {
                font-size: 16px;
                line-height: 26px;
            }

body.galv-freeres .hero {
                padding: 40px 0 140px;
            }

body.galv-freeres .hero h1 {
                font-size: 32px;
            }

body.galv-freeres .hero .hero-sub {
                font-size: 18px;
            }

body.galv-freeres .stats-bar {
                grid-template-columns: 1fr;
                justify-items: center;
                text-align: center;
                padding: 28px 22px;
                gap: 18px;
                margin: -120px auto 30px;
            }

body.galv-freeres .ets-text {
                font-size: 18px;
                line-height: 1.5;
            }

body.galv-freeres .ambassador-logo-box {
                justify-content: center;
            }

body.galv-freeres .ambassador-img {
                max-height: 60px;
            }

body.galv-freeres .sec-h2, body.galv-freeres .cta-band h2 {
                font-size: 24px;
            }

body.galv-freeres .article .article-intro-title, body.galv-freeres .article h2, body.galv-freeres .article h2.challenges-title {
                font-size: 24px;
                line-height: 38px;
            }

body.galv-freeres .article h3 {
                font-size: 20px;
                line-height: 29px;
            }

body.galv-freeres .sec-h3 {
                font-size: 22px;
            }

body.galv-freeres .card-grid.cols-3 .txt-card, body.galv-freeres .card-grid.cols-6 .txt-card {
                flex: 0 1 100%;
            }

body.galv-freeres .team-grid {
                grid-template-columns: 1fr;
                max-width: 320px;
            }

body.galv-freeres .faq-layout {
                grid-template-columns: 1fr;
            }

body.galv-freeres .faq-image-col {
                display: none;
            }

body.galv-freeres .faq-title {
                font-size: 24px;
                line-height: 34px;
            }

body.galv-freeres .faq-question {
                font-size: 16px;
                line-height: 26px;
            }

body.galv-freeres .faq-answer {
                font-size: 16px;
                line-height: 26px;
            }
}

/* ===== CALLBACK FORM (added 2026-07-08, NOT from comp — ported from the toefl-mock-test skin;
   restores the callback/Nova lead-capture the direct-to-app practice-test comp dropped) ===== */
body.galv-freeres .contact-form{ padding: 60px 0; background-color: var(--bg-navy); }
body.galv-freeres .contact-form .sec-h2{ color: var(--text-white); margin-bottom: 30px; }
body.galv-freeres .contact-form-wrapper{ display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
body.galv-freeres .contact-form-left{ display: flex; align-items: center; justify-content: center; }
body.galv-freeres .contact-form-left img{ width: 100%; height: auto; border-radius: 20px; display: block; }
body.galv-freeres .contact-form-right{ display: flex; flex-direction: column; justify-content: center; }
@media (max-width:768px){
    body.galv-freeres .contact-form-wrapper{ grid-template-columns: 1fr; }
    body.galv-freeres .contact-form-left{ display: none; }
}
