/* ================================================================
   Smak English Teachers — Landing Page
   Material Design 3 Tokens + Primary #d91ac6
   ================================================================ */

/* ---- M3 Tokens ---- */
:root {
    /* Primary */
    --md-primary: #d91ac6;
    --md-on-primary: #ffffff;
    --md-primary-container: #ffd7f5;
    --md-on-primary-container: #560050;

    /* Secondary */
    --md-secondary: #6e5868;
    --md-on-secondary: #ffffff;
    --md-secondary-container: #f8daee;
    --md-on-secondary-container: #271624;

    /* Tertiary */
    --md-tertiary: #815343;
    --md-on-tertiary: #ffffff;
    --md-tertiary-container: #ffdbd0;
    --md-on-tertiary-container: #321207;

    /* Error */
    --md-error: #ba1a1a;
    --md-on-error: #ffffff;
    --md-error-container: #ffdad6;
    --md-on-error-container: #410002;

    /* Surface & Background */
    --md-surface: #fffbff;
    --md-on-surface: #1e1a1d;
    --md-surface-variant: #eedee7;
    --md-on-surface-variant: #4e444b;
    --md-surface-container-lowest: #ffffff;
    --md-surface-container-low: #faf0f5;
    --md-surface-container: #f4eaef;
    --md-surface-container-high: #efe4ea;
    --md-surface-container-highest: #e9dee4;

    /* Outline */
    --md-outline: #80747b;
    --md-outline-variant: #d0c3cb;

    /* Inverse */
    --md-inverse-surface: #342f32;
    --md-inverse-on-surface: #f8edf2;
    --md-inverse-primary: #ffabee;

    /* Elevation shadows (M3 style) */
    --md-elevation-1: 0 1px 2px rgba(0, 0, 0, .1), 0 1px 3px 1px rgba(0, 0, 0, .06);
    --md-elevation-2: 0 1px 2px rgba(0, 0, 0, .1), 0 2px 6px 2px rgba(0, 0, 0, .06);
    --md-elevation-3: 0 4px 8px 3px rgba(0, 0, 0, .06), 0 1px 3px rgba(0, 0, 0, .1);

    /* Shape (M3 large = 16px) */
    --md-shape-corner-large: 16px;
    --md-shape-corner-medium: 12px;
    --md-shape-corner-small: 8px;
    --md-shape-corner-xl: 28px;
    --md-shape-corner-full: 9999px;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 12px;
    --space-lg: 16px;
    --space-xl: 24px;
    --space-2xl: 32px;
    --space-3xl: 48px;
    --space-4xl: 64px;
    --space-5xl: 96px;

    /* Typography */
    --font-display: 'Roboto Flex', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transition */
    --transition-standard: 300ms cubic-bezier(0.2, 0, 0, 1);
    --transition-emphasized: 500ms cubic-bezier(0.2, 0, 0, 1);
}

/* ---- Georgian Typography Override ---- */
html[lang="ka"] {
    --font-display: 'Noto Sans Georgian', sans-serif;
    --font-body: 'Noto Sans Georgian', sans-serif;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--md-on-surface);
    background: var(--md-surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--md-primary);
    text-decoration: none;
    transition: color var(--transition-standard);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* ---- Reveal Animations ---- */
.section,
.feature-card,
.stat-card,
.process-step,
.case-card,
.team-card,
.pricing-card,
.testimonial-card,
.faq-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Custom Lists ---- */
.custom-list {
    list-style: none;
    margin: var(--space-md) 0 var(--space-lg);
    padding: 0;
    text-align: left;
}

.custom-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: var(--space-sm);
    line-height: 1.6;
    color: inherit;
}

.custom-list li::before {
    content: 'check_circle';
    font-family: 'Material Symbols Outlined';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--md-primary);
    font-size: 22px;
    line-height: 1;
}

/* staggered delay for grid children */
.feature-card:nth-child(2),
.process-step:nth-child(2),
.stat-card:nth-child(2) {
    transition-delay: .1s;
}

.feature-card:nth-child(3),
.process-step:nth-child(3),
.stat-card:nth-child(3) {
    transition-delay: .2s;
}

.feature-card:nth-child(4),
.process-step:nth-child(4) {
    transition-delay: .3s;
}

/* ================================================================
   BUTTONS (Material Design 3)
   ================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .02em;
    line-height: 1.15;
    padding: 12px 28px;
    border: none;
    border-radius: var(--md-shape-corner-full);
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-standard);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: currentColor;
    opacity: 0;
    transition: opacity var(--transition-standard);
    border-radius: inherit;
}

.btn:hover::after {
    opacity: .08;
}

.btn:active::after {
    opacity: .12;
}

.btn--filled {
    background: var(--md-primary);
    color: var(--md-on-primary);
    box-shadow: var(--md-elevation-1);
}

.btn--filled:hover {
    box-shadow: var(--md-elevation-2);
}

.btn--outlined {
    background: transparent;
    color: var(--md-primary);
    border: 1px solid var(--md-outline);
}

.btn--sm {
    padding: 8px 18px;
    font-size: 13px;
}

.btn--xl {
    padding: 18px 40px;
    font-size: 16px;
    border-radius: var(--md-shape-corner-full);
}

/* ---- Badge ---- */
.badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: var(--md-shape-corner-full);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: var(--space-xl);
}

.badge--error {
    background: var(--md-error-container);
    color: var(--md-on-error-container);
}

.badge--success {
    background: #d4f5d4;
    color: #0a3d0a;
}

/* ================================================================
   HEADER
   ================================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all var(--transition-standard);
    background: rgba(255, 255, 255, 0.15);
    /* More transparent for stronger blur effect */
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.header--scrolled {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.header__inner {
    display: flex;
    align-items: center;
    height: 100px;
    gap: var(--space-xl);
    width: 100%;
    max-width: 100% !important;
    margin: 0 !important;
    padding-left: 5%;
    padding-right: 5%;
}

.header__logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 20px;
    color: var(--md-primary);
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
}

.header__logo-text {
    line-height: 1;
    font-size: 19px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header__logo-icon {
    height: 81px; /* Reduced by 10% from 90px */
    width: auto;
    border-radius: 16px; /* slightly round the corners if the png is square */
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25)); /* prominent shadow */
}

.header--scrolled .header__logo {
    color: var(--md-primary);
}

.header__nav {
    display: flex;
    gap: var(--space-lg);
    margin-left: auto;
}

.header__link {
    font-size: 14px;
    font-weight: 500;
    color: var(--md-on-surface);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--md-shape-corner-small);
    transition: all var(--transition-standard);
}

.header__link:hover {
    background: var(--md-surface-variant);
    color: var(--md-primary);
}

.header__cta {
    flex-shrink: 0;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-left: var(--space-lg);
}

.header__lang {
    padding: 8px 12px;
    min-width: 44px;
    font-size: 12px;
    border-color: var(--md-outline-variant);
    color: var(--md-on-surface-variant);
    background: #ffffff;
}

.header__lang:hover {
    border-color: var(--md-primary);
    color: var(--md-primary);
    background: var(--md-primary-container);
}

.header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 200;
}

.header__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--md-on-surface);
    border-radius: 2px;
    transition: all var(--transition-standard);
}

.header__burger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header__burger.active span:nth-child(2) {
    opacity: 0;
}

.header__burger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ================================================================
   HERO (text left, image right, overlay only under text)
   ================================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* hero container inherits normal .container styles, no override needed */

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% center;
}

/* Overlay only on the left side, smooth gradient fade to transparent */
.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(255, 255, 255, .96) 0%,
            rgba(255, 255, 255, .82) 20%,
            rgba(255, 255, 255, .65) 35%,
            rgba(255, 255, 255, .10) 45%,
            transparent 55%);
}

.hero__content {
    position: relative;
    z-index: 2;
    padding-top: 140px;
    padding-bottom: 100px;
    width: 100%;
    max-width: 100% !important;
    /* Override container max-width */
    margin: 0 !important;
    /* Override container centering */
    padding-left: 5%;
    padding-right: var(--space-xl);
}

/* Limit text width so it stays on the left side */
.hero__urgency,
.hero__title,
.hero__specificity,
.hero__uniqueness,
.hero__subtitle,
.hero__cta {
    max-width: 600px;
}

.hero__urgency {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .18em;
    color: var(--md-primary);
    margin-bottom: var(--space-xl);
    text-transform: uppercase;
}

.hero__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.12;
    margin-bottom: var(--space-xl);
    width: fit-content;

    /* Text Gradient with Drop Shadow */
    background: linear-gradient(135deg, #2563eb 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0px 2px 2px rgba(24, 24, 24, 0.15));
}

.hero__specificity {
    font-size: 18px;
    color: var(--md-on-surface);
    margin-bottom: var(--space-2xl);
    font-weight: 400;
}

.hero__uniqueness {
    border-left: 4px solid var(--md-primary);
    padding: var(--space-lg) var(--space-xl);
    font-weight: 800;
    font-size: 17px;
    color: var(--md-on-surface-variant);
    margin-bottom: var(--space-2xl);
    /* Bokeh (Glassmorphism) */
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 0 var(--md-shape-corner-large) var(--md-shape-corner-large) 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-left: 4px solid var(--md-primary);
    /* Keep the primary border on the left */
}

.hero__subtitle {
    font-size: 16px;
    line-height: 1.7;
    color: var(--md-on-surface);
    margin-bottom: var(--space-3xl);
    max-width: 530px;
}

.hero__cta {
    animation: pulse 2.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(217, 26, 198, .4);
    }

    50% {
        box-shadow: 0 0 0 14px rgba(217, 26, 198, 0);
    }
}

/* ================================================================
   GENERAL SECTION
   ================================================================ */
.section {
    padding: var(--space-5xl) 0;
}

.section__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(28px, 3.5vw, 40px);
    line-height: 1.2;
    color: var(--md-on-surface);
    margin-bottom: var(--space-lg);
    text-align: center;
}

.section__text {
    font-size: 17px;
    line-height: 1.7;
    color: var(--md-on-surface-variant);
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-2xl);
}

/* ================================================================
   LEAD PROBLEM
   ================================================================ */
.lead-problem {
    background: var(--md-surface-container-low);
    text-align: center;
}

.lead-problem__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.3;
    color: var(--md-on-surface);
    max-width: 800px;
    margin: 0 auto var(--space-xl);
}

.lead-problem__text {
    font-size: 17px;
    line-height: 1.7;
    color: var(--md-on-surface-variant);
    max-width: 620px;
    margin: 0 auto var(--space-2xl);
}

/* ================================================================
   LEAD SOLUTION
   ================================================================ */
.lead-solution {
    text-align: center;
    background: linear-gradient(180deg, var(--md-surface) 0%, var(--md-primary-container) 100%);
}

.lead-solution__prom {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--md-surface-container-lowest);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--md-shape-corner-full);
    font-weight: 600;
    font-size: 15px;
    color: var(--md-primary);
    box-shadow: var(--md-elevation-1);
    margin: 0;
}

.lead-solution__actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
    margin-top: var(--space-2xl);
}

/* ================================================================
   FEATURES
   ================================================================ */
.features {
    background: var(--md-surface);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

.feature-card {
    background: var(--md-surface-container-low);
    border-radius: var(--md-shape-corner-large);
    padding: var(--space-2xl);
    text-align: center;
    transition: all var(--transition-standard);
    border: 1px solid var(--md-outline-variant);
}

.feature-card:hover {
    box-shadow: var(--md-elevation-3);
    transform: translateY(-4px);
    border-color: var(--md-primary);
}

.feature-card__icon {
    font-size: 40px;
    color: var(--md-primary);
    margin-bottom: var(--space-lg);
    display: block;
}

.feature-card__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    margin-bottom: var(--space-sm);
    color: var(--md-on-surface);
}

.feature-card__text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--md-on-surface-variant);
}

/* ================================================================
   ABOUT
   ================================================================ */
.about {
    background: var(--md-surface-container-low);
}

.about__inner {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.about__content .section__title {
    text-align: left;
}

.about__text {
    font-size: 17px;
    line-height: 1.7;
    color: var(--md-on-surface-variant);
}

.about__image-wrap {
    border-radius: var(--md-shape-corner-xl);
    overflow: hidden;
    box-shadow: var(--md-elevation-3);
}

.about__image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-emphasized);
}

.about__image-wrap:hover .about__image {
    transform: scale(1.04);
}

/* ================================================================
   STATISTICS
   ================================================================ */
.statistics {
    background: var(--md-inverse-surface);
    color: var(--md-inverse-on-surface);
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    text-align: center;
}

.stat-card {
    padding: var(--space-2xl);
}

.stat-card__value {
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(36px, 5vw, 52px);
    color: var(--md-inverse-primary);
    margin-bottom: var(--space-sm);
    line-height: 1.1;
}

.stat-card__label {
    font-size: 15px;
    opacity: .85;
}

/* ================================================================
   LEAD OFFER
   ================================================================ */
.lead-offer {
    text-align: center;
    background: var(--md-surface);
}

/* ================================================================
   PROCESS
   ================================================================ */
.process {
    background: var(--md-surface-container-low);
}

.process__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-3xl);
}

.process-step {
    text-align: center;
    padding: var(--space-xl) var(--space-sm);
    position: relative;
}

.process-step__num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--md-primary);
    color: var(--md-on-primary);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    box-shadow: var(--md-elevation-2);
}

.process-step__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    margin-bottom: var(--space-sm);
    color: var(--md-on-surface);
}

.process-step__text {
    font-size: 14px;
    color: var(--md-on-surface-variant);
    line-height: 1.6;
}

/* ================================================================
   CASES
   ================================================================ */
/* REMOVED: .cases section styles */

.case-card__icon {
    font-size: 36px;
    color: var(--md-primary);
    margin-bottom: var(--space-lg);
}

.case-card__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    margin-bottom: var(--space-sm);
    color: var(--md-on-surface);
}

.case-card__text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--md-on-surface-variant);
}

/* ================================================================
   TEAM
   ================================================================ */
.team {
    background: var(--md-surface);
}

.team__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.team-card {
    text-align: center;
    background: var(--md-surface-container-lowest);
    border-radius: var(--md-shape-corner-xl);
    padding: var(--space-3xl) var(--space-2xl);
    box-shadow: var(--md-elevation-1);
    transition: all var(--transition-standard);
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    box-shadow: var(--md-elevation-3);
    transform: translateY(-4px);
}

.team-card__photo-wrap {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto var(--space-xl);
    border: 3px solid var(--md-primary);
    padding: 6px;
    background: var(--md-surface-container-lowest);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.team-card__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    /* Keep the image itself round inside the frame */
}

.team-card__name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 20px;
    color: var(--md-on-surface);
    margin-bottom: var(--space-xs);
}

.team-card__role {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--md-primary);
    margin-bottom: var(--space-md);
}

.team-card__bio {
    font-size: 14px;
    color: var(--md-on-surface-variant);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: var(--space-xl);
}

.team-card__btn {
    width: 100%;
}

/* ================================================================
   PRICING
   ================================================================ */
.pricing {
    background: var(--md-surface-container-low);
}

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: var(--md-surface-container-low);
    border-radius: var(--md-shape-corner-xl);
    padding: var(--space-3xl) var(--space-2xl);
    text-align: center;
    border: 1px solid var(--md-outline-variant);
    transition: all var(--transition-standard);
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    box-shadow: var(--md-elevation-3);
}

.pricing-card--featured {
    border-color: var(--md-primary);
    background: var(--md-surface-container-lowest);
    box-shadow: var(--md-elevation-2);
    transform: scale(1.04);
}

.pricing-card__badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--md-primary);
    color: var(--md-on-primary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    padding: 6px 20px;
    border-radius: 0 0 var(--md-shape-corner-medium) var(--md-shape-corner-medium);
}

.pricing-card__plan {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 22px;
    margin-bottom: var(--space-lg);
    color: var(--md-on-surface);
}

.pricing-card__price {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 42px;
    color: var(--md-primary);
    margin-bottom: var(--space-2xl);
    line-height: 1;
}

.pricing-card__price span {
    font-size: 16px;
    font-weight: 400;
    color: var(--md-on-surface-variant);
}

.pricing-card__features {
    list-style: none;
    margin-bottom: var(--space-2xl);
    text-align: left;
}

.pricing-card__features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    font-size: 15px;
    color: var(--md-on-surface-variant);
    border-bottom: 1px solid var(--md-outline-variant);
}

.pricing-card__features li:last-child {
    border-bottom: none;
}

.pricing-card__features .material-symbols-outlined {
    font-size: 20px;
    color: var(--md-primary);
}

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testimonials {
    background: var(--md-surface);
}

.testimonials__nav-wrap {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: var(--space-3xl);
}

.testimonials__carousel {
    display: flex;
    overflow-x: auto;
    gap: var(--space-xl);
    padding: var(--space-md) 0 var(--space-2xl);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Hide scrollbar for Firefox */
    -ms-overflow-style: none;
    /* Hide scrollbar for IE/Edge */
}

.testimonials__carousel::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Chrome/Safari */
}

.testimonials__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--md-surface-container-highest);
    border: none;
    color: var(--md-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: var(--md-elevation-2);
    transition: all var(--transition-standard);
    opacity: 0.8;
}

.testimonials__arrow:hover {
    opacity: 1;
    background: var(--md-primary-container);
    box-shadow: var(--md-elevation-4);
}

.testimonials__arrow--prev {
    left: -64px;
}

.testimonials__arrow--next {
    right: -64px;
}

@media (max-width: 1024px) {
    .testimonials__arrow {
        display: none;
        /* Hide arrows on small tablets/mobile, keep touch scroll */
    }
}

.testimonial-card {
    background: var(--md-surface-container-lowest);
    border-radius: var(--md-shape-corner-xl);
    padding: var(--space-2xl);
    box-shadow: var(--md-elevation-1);
    transition: all var(--transition-standard);
    width: 380px;
    max-width: 380px;
    min-width: 380px;
    flex-shrink: 0;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .testimonial-card {
        width: 85vw;
        min-width: 85vw;
        max-width: 85vw;
    }
}

.testimonial-card:hover {
    box-shadow: var(--md-elevation-3);
    transform: translateY(-4px);
}

.testimonial-card__stars {
    display: flex;
    gap: 2px;
    margin-bottom: var(--space-lg);
}

.testimonial-card__stars .material-symbols-outlined {
    font-size: 20px;
    color: #f5a623;
}

.testimonial-card__review {
    font-size: 16px;
    line-height: 1.7;
    color: var(--md-on-surface);
    font-style: italic;
    margin-bottom: var(--space-xl);
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    flex: 1;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--md-primary-container);
    color: var(--md-on-primary-container);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-card__name {
    font-weight: 600;
    font-size: 15px;
    color: var(--md-on-surface);
}

/* ================================================================
   FAQ
   ================================================================ */
.faq {
    background: var(--md-surface-container-low);
}

.faq__list {
    max-width: 740px;
    margin: var(--space-3xl) auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--md-outline-variant);
}

.faq-item__question {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    padding: var(--space-xl) 0;
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 17px;
    color: var(--md-on-surface);
    transition: color var(--transition-standard);
}

.faq-item__question:hover {
    color: var(--md-primary);
}

.faq-item__question::-webkit-details-marker {
    display: none;
}

.faq-item__chevron {
    transition: transform var(--transition-standard);
    color: var(--md-on-surface-variant);
    flex-shrink: 0;
}

.faq-item[open] .faq-item__chevron {
    transform: rotate(180deg);
    color: var(--md-primary);
}

.faq-item__answer {
    padding: 0 0 var(--space-xl);
    font-size: 15px;
    line-height: 1.7;
    color: var(--md-on-surface-variant);
    max-width: 640px;
}

/* ================================================================
   FINAL CTA
   ================================================================ */
.final-cta {
    background: linear-gradient(135deg, var(--md-primary) 0%, #a315a3 60%, #6b107a 100%);
    text-align: center;
}

.final-cta__inner {
    padding: var(--space-4xl) 0;
}

.final-cta__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(28px, 4vw, 42px);
    color: #fff;
    margin-bottom: var(--space-lg);
}

.final-cta__text {
    font-size: 18px;
    color: rgba(255, 255, 255, .85);
    max-width: 550px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.6;
}

.final-cta .btn--filled {
    background: #fff;
    color: var(--md-primary);
}

.final-cta .btn--filled:hover {
    background: var(--md-primary-container);
}

/* ================================================================
   CONTACTS
   ================================================================ */
.contacts {
    background: var(--md-surface-container-low);
}

.contacts__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--md-shape-corner-full);
    background: var(--md-surface-container-lowest);
    border: 1px solid var(--md-outline-variant);
    font-size: 15px;
    font-weight: 500;
    color: var(--md-on-surface);
    transition: all var(--transition-standard);
}

.contact-item:hover {
    border-color: var(--md-primary);
    color: var(--md-primary);
    box-shadow: var(--md-elevation-1);
}

.contact-item .material-symbols-outlined {
    font-size: 20px;
    color: var(--md-primary);
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
    background: var(--md-inverse-surface);
    color: var(--md-inverse-on-surface);
    padding: var(--space-2xl) 0;
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.footer__copy {
    font-size: 13px;
    opacity: .7;
}

.footer__links {
    display: flex;
    gap: var(--space-xl);
}

.footer__links a {
    font-size: 13px;
    color: var(--md-inverse-on-surface);
    opacity: .7;
    transition: opacity var(--transition-standard);
}

.footer__links a:hover {
    opacity: 1;
    color: var(--md-inverse-primary);
}

/* ================================================================
   COOKIE BANNER
   ================================================================ */
.cookie-banner {
    position: fixed;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    background: var(--md-inverse-surface);
    color: var(--md-inverse-on-surface);
    padding: var(--space-lg) var(--space-2xl);
    border-radius: var(--md-shape-corner-large);
    box-shadow: var(--md-elevation-3);
    z-index: 200;
    transition: bottom var(--transition-emphasized);
    max-width: 90%;
}

.cookie-banner.show {
    bottom: var(--space-xl);
}

.cookie-banner p {
    font-size: 14px;
}

/* ================================================================
   FLOATING WHATSAPP
   ================================================================ */
.floating-wa {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 99;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    color: white;
}

.floating-wa svg {
    width: 34px;
    height: 34px;
    fill: currentColor;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 768px) {
    .header__nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 251, 255, .97);
        backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--space-2xl);
        z-index: 150;
    }

    .header__nav.open {
        display: flex;
    }

    .header__nav .header__link {
        font-size: 20px;
    }

    .header__inner {
        height: 70px;
        /* More compact header on mobile */
        gap: var(--space-sm);
        padding-left: var(--space-lg);
        padding-right: var(--space-lg);
    }

    .header__logo {
        font-size: 16px;
    }

    .header__logo-icon {
        height: 54px; /* Reduced by 10% from 60px */
    }

    .header__logo-text {
        font-size: 11px;
        display: flex;
    }

    .header__actions {
        margin-left: auto;
        gap: 6px;
    }

    .header__cta {
        padding: 8px 16px;
        font-size: 13px;
    }

    .header__cta-extra {
        display: none;
    }

    .header__lang {
        padding: 8px 10px;
        min-width: 38px;
        font-size: 11px;
    }

    .header__burger {
        display: none;
    }

    .hero__content {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero__title {
        font-size: clamp(28px, 7vw, 42px);
    }

    .hero__overlay {
        background: linear-gradient(180deg,
                rgba(255, 255, 255, .95) 0%,
                rgba(255, 255, 255, .90) 60%,
                rgba(255, 255, 255, .5) 100%);
    }

    .about__inner {
        display: flex;
        flex-direction: column;
        gap: var(--space-xl);
    }

    .about__content {
        display: contents;
        /* Allows children (title, text, button) to be part of the flex container */
    }

    .about__content .section__title {
        order: 1;
        text-align: center;
        width: 100%;
    }

    .about__image-wrap {
        order: 2;
        width: 100%;
    }

    .about__text {
        order: 3;
        text-align: center;
    }

    .about__content .btn {
        order: 4;
        margin: 0 auto;
    }

    .about__image {
        height: 300px;
    }

    .about__content .section__title {
        text-align: center;
    }

    .stats__grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .pricing-card--featured {
        transform: none;
    }

    .footer__inner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
    .floating-wa {
        bottom: 16px;
        right: 16px;
        width: 52px;
        height: 52px;
    }
    
    .floating-wa svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-lg);
    }

    .section {
        padding: var(--space-4xl) 0;
    }

    .btn--xl {
        padding: 16px 28px;
        font-size: 15px;
    }
}