/* === Variables === */
:root {
    --bg-primary: #f7f7fc;
    --bg-white: #ffffff;
    --bg-dark: #16163c;
    --bg-darker: #0b0b1e;
    --bg-step: #f3f3f3;
    --bg-badge: #f0f0fa;

    --text-primary: #080816;
    --text-secondary: #6e6e7c;
    --text-white: #eff6fe;

    --border-light: #e0e0f5;

    --font-heading: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;

    --max-width: 1360px;
    --radius: 8px;
    --transition: 0.2s ease;
}

/* === Reset === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

ul {
    list-style-position: inside;
}

/* === Title Reveal === */
.reveal-line {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}

.reveal-inner {
    display: inline-block;
    transform: translateY(100%);
    transition: transform 0.78s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-word {
    display: inline-block;
    white-space: nowrap;
}

.reveal-char {
    display: inline-block;
    transform: rotate(25deg);
    transform-origin: bottom left;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.revealed .reveal-inner {
    transform: translateY(0);
}

.revealed .reveal-char {
    transform: rotate(0deg);
}

.hero-title,
.section-heading,
.dark-title {
    word-break: normal;
    overflow-wrap: break-word;
}

/* === Container === */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 24px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    line-height: 18px;
    cursor: pointer;
    transition: opacity var(--transition);
    border: none;
}

.btn:hover {
    opacity: 0.85;
}

.btn-primary {
    background-color: var(--bg-dark);
    color: var(--text-white);
}

.btn-ghost {
    background-color: transparent;
    color: var(--text-primary);
    transition: background-color var(--transition);
}

.btn-ghost:hover {
    background-color: var(--border-light);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    transition: background-color var(--transition), color var(--transition);
}

.btn-outline:hover {
    background-color: var(--border-light);
}

.btn-white {
    background-color: var(--bg-white);
    color: var(--text-primary);
}

.full-width {
    width: 100%;
}

/* === Navigation === */
.navbar {
    background-color: var(--bg-primary);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 96px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent;
    transition: height 0.3s ease, border-color 0.3s ease;
}

body {
    padding-top: 96px;
}

.navbar.scrolled {
    height: 72px;
    border-bottom-color: #E0E0F5;
}

.nav-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 14px;
    width: 175px;
}

.footer-logo {
    height: 14px;
    width: 175px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-weight: 600;
    font-size: 15px;
    line-height: 18px;
    color: var(--text-secondary);
    transition: color var(--transition);
}

.nav-link:hover {
    color: var(--text-primary);
}

/* === Hamburger === */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* === Hero === */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    padding: 140px 0 80px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: var(--max-width);
    padding: 0 40px;
}

.hero-title {
    font-size: 52px;
    letter-spacing: -2.08px;
    margin-bottom: 0;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-top: 16px;
}

.hero-actions {
    display: flex;
    gap: 8px;
    margin-top: 32px;
}

.hero-gallery {
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    overflow-x: clip;
}

@keyframes gallerySlideUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item {
    width: 225px;
    height: 300px;
    flex-shrink: 0;
    will-change: transform;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: gallerySlideUp 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.gallery-item:nth-child(1) img,
.gallery-item:nth-child(7) img {
    animation-delay: 0s;
}

.gallery-item:nth-child(2) img,
.gallery-item:nth-child(6) img {
    animation-delay: 0.12s;
}

.gallery-item:nth-child(3) img,
.gallery-item:nth-child(5) img {
    animation-delay: 0.24s;
}

.gallery-item:nth-child(4) img {
    animation-delay: 0.36s;
}

/* === Problem Section === */
.problem-section {
    padding: 40px 0 50px;
}

.section-heading {
    font-size: 40px;
    letter-spacing: -1.2px;
    margin-bottom: 40px;
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.problem-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

.problem-card::before,
.problem-card::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-color: var(--border-light);
    border-style: solid;
    transition: width 0.5s ease, height 0.5s ease;
    pointer-events: none;
}

.problem-card::before {
    top: 0;
    left: 0;
    border-width: 1px 0 0 1px;
}

.problem-card::after {
    bottom: 0;
    right: 0;
    border-width: 0 1px 1px 0;
}

.problem-card:hover::before,
.problem-card:hover::after {
    width: 50%;
    height: 50%;
}

.card-icon {
    width: 24px;
    height: 24px;
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card-title {
    font-size: 20px;
    letter-spacing: -0.4px;
}

.card-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.arrow-decoration {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
    margin-right: -3px;
}

.arrow-decoration img {
    width: 111px;
    height: 30px;
}

/* === Solution Section === */
.solution-section {
    background-color: var(--bg-white);
    padding: 80px 0;
}

.solution-header {
    margin-bottom: 100px;
}

.overline {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.solution-header .section-heading {
    margin-bottom: 0;
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 100px;
}

.step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.step-icon {
    width: 160px;
    height: 160px;
    border-radius: var(--radius);
    overflow: hidden;
}

.step-icon img {
    width: 160px;
    height: 160px;
}

.step-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-badge);
    padding: 0 8px;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    line-height: 1.5;
    font-feature-settings: 'lnum' 1, 'pnum' 1;
}

.step-title {
    font-size: 20px;
    letter-spacing: -0.4px;
}

.step-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Features grid */
.features-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom: 40px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.feature-image {
    width: 300px;
    height: 400px;
    flex-shrink: 0;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.features-list {
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 400px;
}

.feature-item {
    flex: 1;
    border: 1px solid #e0e0f5;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.feature-title {
    font-size: 18px;
    letter-spacing: -0.36px;
}

.feature-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.section-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
}

/* === Dark Section === */
.dark-section {
    background-color: var(--bg-darker);
    padding: 120px 0;
}

.dark-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.dark-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #1a1a2d;
    border: 1px solid #393951;
    color: #dbdbe1;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.dark-title {
    font-size: 40px;
    color: #ffffff;
    letter-spacing: -1.2px;
    font-feature-settings: 'lnum' 1, 'pnum' 1;
}

.dark-text {
    max-width: 800px;
    color: #b3b3bc;
    font-size: 18px;
    line-height: 1.5;
}

.dark-text p + p {
    margin-top: 1em;
}

/* === Pricing === */
.pricing-section {
    padding: 80px 0;
}

.pricing-section .section-heading {
    margin-bottom: 40px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 16px;
    overflow: hidden;
}

.price-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transform: translateY(40px);
    opacity: 0;
    transition: transform 1.17s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 1.17s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-grid.revealed .price-card {
    transform: translateY(0);
    opacity: 1;
}

.pricing-grid.revealed .price-card:nth-child(1) { transition-delay: 0s; }
.pricing-grid.revealed .price-card:nth-child(2) { transition-delay: 0.25s; }

.price-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.plan-badge {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-badge);
    padding: 0 8px;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    line-height: 1.5;
    font-feature-settings: 'lnum' 1, 'pnum' 1;
}

.plan-price {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: -0.56px;
    font-feature-settings: 'lnum' 1, 'pnum' 1;
}

/* Calculator */
.calculator-slider {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.calculator-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    font-feature-settings: 'lnum' 1, 'pnum' 1;
}

.calculator-count {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    font-feature-settings: 'lnum' 1, 'pnum' 1;
}

.calculator-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.calculator-per-photo {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Range slider styling */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: var(--border-light);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--bg-dark);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--bg-dark);
    border-radius: 50%;
    border: none;
    cursor: pointer;
}

.plan-body {
    flex: 1;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.plan-list {
    flex: 1;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.plan-list li {
    margin-bottom: 4px;
    margin-left: 8px;
}

/* Custom CTA */
.custom-cta {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 24px 40px;
    border: 1px solid var(--border-light);
}

.cta-text {
    flex: 1;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* === Sessions Page === */
.sessions-hero {
    padding: 80px 0;
}

.sessions-hero-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.sessions-hero-desc {
    max-width: 480px;
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.5;
    padding-top: 8px;
}

.sessions-gallery {
    background: var(--bg-white);
    padding: 80px 0;
}

.session-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.session-row {
    display: flex;
    gap: 8px;
    height: 400px;
}

.session-img {
    overflow: hidden;
    transform: translateY(40px);
    opacity: 0;
    transition: transform 1.17s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 1.17s cubic-bezier(0.16, 1, 0.3, 1);
}

.session-row.revealed .session-img:nth-child(1) { transition-delay: 0s; }
.session-row.revealed .session-img:nth-child(2) { transition-delay: 0.15s; }
.session-row.revealed .session-img:nth-child(3) { transition-delay: 0.3s; }

.session-row.revealed .session-img {
    transform: translateY(0);
    opacity: 1;
}

.session-img--wide {
    flex: 1;
}

.session-img--narrow {
    width: 300px;
    flex-shrink: 0;
}

.session-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.session-divider {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 56px 0;
}

.nav-link--active {
    color: var(--text-primary);
}

.btn.nav-link--active {
    color: var(--text-white);
}

/* === Contact Page === */
.contact-section {
    padding: 80px 0;
}

.contact-section .hero-title {
    margin-bottom: 60px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-info-title {
    font-size: 20px;
    letter-spacing: -0.4px;
}

.contact-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-step {
    display: flex;
    align-items: flex-start;
}

.contact-step-title {
    font-size: 15px;
    letter-spacing: -0.3px;
    margin-bottom: 4px;
}

.contact-step-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.contact-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-secondary);
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.contact-phone-label {
    font-weight: 400;
    margin-right: 6px;
}

.contact-phone svg {
    flex-shrink: 0;
}

/* Contact Form */
.contact-form-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    padding: 32px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    font-feature-settings: 'lnum' 1, 'pnum' 1;
}

.form-input,
.form-select,
.form-textarea {
    font-family: var(--font-body);
    font-size: 15px;
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    background: var(--bg-primary);
    color: var(--text-primary);
    outline: none;
    transition: border-color var(--transition);
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
    border-color: #A1A1B5;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #0B0B1E;
    border-width: 2px;
    padding: 11px 15px;
}

.form-textarea:focus {
    padding: 11px 15px;
}

.form-input--error {
    border-color: #e53935;
}

.form-select {
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236e6e7c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-select:focus {
    padding-right: 39px;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

.form-error {
    font-size: 13px;
    color: #e53935;
    min-height: 0;
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding: 60px 32px;
}

.form-success-title {
    font-size: 24px;
    letter-spacing: -0.48px;
}

.form-success-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* === Footer === */
.footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-light);
    padding: 80px 0;
}

.footer .nav-container {
    align-items: flex-start;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.footer-logo {
    height: 14px;
    width: auto;
}

.copyright {
    font-size: 15px;
    color: var(--text-secondary);
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.footer-links {
    display: flex;
    gap: 16px;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 2px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 4px;
}

.lang-option {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 6px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    line-height: 18px;
    color: var(--text-secondary);
    transition: color var(--transition);
}

.lang-option:hover {
    color: var(--text-primary);
}

.lang-option--active {
    background: var(--bg-white);
    color: var(--text-primary);
    border-radius: 4px;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.16);
}

.lang-option--active:hover {
    opacity: 1;
}

/* === Responsive === */
@media (max-width: 1100px) {
    .hero-gallery {
        overflow: clip visible;
        justify-content: center;
    }
}

@media (max-width: 1024px) {
    .problem-cards,
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 768px) {
    /* Fix 1: Hamburger + slide-in menu */
    .hamburger {
        display: flex;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 99;
    }

    .nav-overlay.nav-open {
        display: block;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 80%;
        max-width: 320px;
        background-color: var(--bg-primary);
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 32px;
        padding-left: 32px;
        z-index: 100;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .nav-links.nav-open {
        transform: translateX(0);
    }

    .nav-links .nav-link {
        font-family: 'Syne', sans-serif;
        font-size: 24px;
        font-weight: 700;
    }

    .hamburger.active .hamburger-line:first-child {
        transform: translateY(4px) rotate(45deg);
    }

    .hamburger.active .hamburger-line:last-child {
        transform: translateY(-4px) rotate(-45deg);
    }

    .navbar {
        height: 64px;
    }

    .navbar.scrolled {
        height: 64px;
    }

    body {
        padding-top: 64px;
    }

    /* Fix 4: Padding 20px on mobile */
    .nav-container {
        padding: 0 20px;
    }

    .hero-content {
        padding: 0 20px;
    }

    /* Hero */
    .hero {
        padding: 48px 0;
    }

    .hero-title {
        font-size: 36px;
        letter-spacing: -1.4px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-subtitle br {
        display: none;
    }

    /* Fix 4: Word breaking - handled in JS (isMobile skips <br> splitting) */

    /* Fix 2: Hero buttons stacked */
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    /* Fix 3: Hero gallery */
    .hero-gallery {
        gap: 8px;
        overflow: clip visible;
        justify-content: center;
    }

    .gallery-item {
        width: 120px;
        height: 160px;
    }

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(7) {
        margin-bottom: 60px !important;
    }

    .gallery-item:nth-child(2),
    .gallery-item:nth-child(6) {
        margin-bottom: 30px !important;
    }

    .gallery-item:nth-child(3),
    .gallery-item:nth-child(5) {
        margin-bottom: 10px !important;
    }

    .section-heading {
        font-size: 28px;
    }

    .solution-header {
        margin-bottom: 48px;
    }

    .solution-section {
        padding-bottom: 48px;
    }

    .pricing-section {
        padding-top: 48px;
    }

    .problem-cards,
    .steps-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .custom-cta {
        flex-direction: column;
        text-align: center;
        gap: 24px;
        padding: 24px;
    }

    /* Fix 5: Features carousel */
    .features-grid {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
        padding: 0 20px;
        justify-content: flex-start;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .features-grid::-webkit-scrollbar {
        display: none;
    }

    .features-grid > * {
        scroll-snap-align: center;
    }

    .feature-image {
        width: 280px;
        height: auto;
        align-self: stretch;
    }

    .features-list {
        width: 280px;
        height: auto;
        order: -1;
    }

    /* Fix 3: Section actions stacked */
    .section-actions {
        flex-direction: column;
        width: 100%;
    }

    .section-actions .btn {
        width: 100%;
        text-align: center;
    }

    /* Fix 6: Footer centered */
    .footer .nav-container {
        flex-direction: column;
        gap: 32px;
        align-items: center;
        text-align: center;
    }

    .footer-left {
        align-items: center;
    }

    .footer-right {
        align-items: center;
    }

    .dark-section {
        padding: 48px 0;
    }

    .dark-title {
        font-size: 28px;
    }

    .dark-text {
        font-size: 16px;
    }

    .container {
        padding: 0 20px;
    }

    .contact-section {
        padding-top: 48px;
    }

    /* Fix 7: Contact form first */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-card {
        order: -1;
    }

    .contact-phone {
        margin-top: 0;
    }

    .sessions-hero {
        padding: 48px 0;
    }

    .sessions-hero-content {
        flex-direction: column;
        gap: 24px;
    }

    .sessions-hero-desc {
        max-width: 100%;
        font-size: 16px;
    }

    .session-row {
        flex-direction: column;
        height: auto;
    }

    .session-img--narrow {
        width: 100%;
    }

    .session-img {
        height: 250px;
    }
}

/* Fix 3: Very small screens */
@media (max-width: 480px) {
    .gallery-item:first-child,
    .gallery-item:last-child {
        display: none;
    }

    .gallery-item {
        width: 100px;
        height: 133px;
    }

    .hero-gallery {
        gap: 6px;
    }
}
