/* ============================================
   CSS VARIABLES & RESET
============================================ */
:root {
    --color-primary: #FF5f2D;
    --color-primary-hover: #EA580C;
    --color-text-black: #000;
    --color-text-dark: #1D1D1F;
    --color-text-gray: #3D3D3D;
    --color-text-light: #4E4E50;
    --color-text-lighter: #ABACB0;
    --color-bg-white: #FFFFFF;
    --color-bg-blue: #F5F5F7;
    --color-bg-light: #F9FAFB;
    --color-bg-gray: #5b5d627a;
    --color-border: #E5E7EB;
    --color-border-light: #F3F4F6;

    --font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --border-radius-full: 9999px;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 350ms ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-weight: 400;
    line-height: 1.34;
    letter-spacing: -1px;
    color: var(--color-text-dark);
    background-color: var(--color-bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ============================================
   UTILITY CLASSES
============================================ */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: 8rem 0;
}

.section-title {
    font-size: 2.8125rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--color-text-dark);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--border-radius-full);
    transition: all var(--transition-normal);
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    font-weight: bold;
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    border: 2px solid var(--color-text-gray);
    color: var(--color-text-gray);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--color-text-gray);
    color: white;
}

.btn-white {
    background: transparent;
    border: 2px solid white;
    color: white;
}

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

@media (min-width: 768px) {

    .section-title {
        font-size: 3.5rem;
    }
}

/* ============================================
   HEADER / NAVIGATION
============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border-light);
    transition: box-shadow var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    max-width: 180px;
}

.nav-desktop {
    display: none;
}

.nav-desktop ul {
    display: flex;
    align-items: center;
    gap: var(--spacing-2xl);
}

.nav-desktop a {
    font-size: 1rem;
    font-weight: bold;
    color: var(--color-text-dark);
    transition: color var(--transition-fast);
}

.nav-desktop a:hover {
    color: var(--color-primary);
}

.header-cta {
    display: none;
    font-weight: bold;
    color: white !important;
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--color-text-dark);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-md);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.mobile-menu a {
    display: block;
    padding: var(--spacing-sm);
    font-size: 1rem;
    color: var(--color-text-gray);
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
}

.mobile-menu a:hover {
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
}

.mobile-menu .btn {
    width: 100%;
    margin-top: var(--spacing-sm);
}

@media (min-width: 768px) {


    .nav-desktop {
        display: block;
    }

    .header-cta {
        display: block;
        margin-right: 2rem;
    }

    .mobile-menu-toggle {
        display: none;
    }
}
@media (min-width: 1024px) {
    .logo {
        max-width: 200px;
    }
}

/* ============================================
   HERO SECTION
============================================ */
.hero {
    padding-top: calc(40px + var(--spacing-2xl));
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center; 
}

.hero-content {
    text-align: left;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-dark);
}

.hero-subtitle {
    font-size: 2rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
}

.hero-visual {
    position: relative;
    margin-bottom: -100px; 
    z-index: 10;
    max-width: 70%;
    margin: auto;
}

@media (min-width: 768px) {
    .hero {
        padding-top: calc(72px + var(--spacing-2xl));
    }

    .hero-inner {
        flex-direction: row;
    }

    .hero-content {
        margin-left: 8rem;
        margin-top: 3rem;
    }
    .hero-title {
    font-size: 5.5rem;
    }
    .hero-subtitle {
        font-size: 3rem;
    }

    .hero-visual {
        max-width: 75%;
    }
}

/* ============================================
   PROBLEMS SECTION
============================================ */
.problems {
    background-color: var(--color-bg-white);
    margin-top: var(--spacing-2xl);
}

.problems-intro {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center
}

.problems-intro h2 {
    font-size: 2.8125rem;
    font-weight: 600;
    color: var(--color-text-dark);
    text-align: center;
}

.problems-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
    margin-left: 1rem;
    margin-right: 1rem;
}

.problem-card {
    background: var(--color-bg-blue);
    border-radius: var(--border-radius-xl);
    padding: 3rem 2rem;
    text-align: center;
}

.problem-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto var(--spacing-lg);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    color: var(--color-text-dark);
}

.problem-card p {
    font-size: 1.125rem;
    color: var(--color-text-light);
    line-height: 1.6;
    text-align: justify;
    font-weight: bold;
}

.problems-conclusion {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center
}

.problems-conclusion h3 {
    font-size: 2.8125rem;
    font-weight: 600;
    color: var(--color-text-dark);
    text-align: center;
}

@media (min-width: 768px) {
    .problems-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .problem-card {
        padding: 5rem 3rem;
    }

    .problems-intro h2 {
        font-size: 3.5rem;
    }

    .problems-conclusion h3 {
        font-size: 3.5rem;
    }
}

/* ============================================
   SERVICES SECTION
============================================ */
.services {
    background: var(--color-bg-blue);
}

.services h2 .break {
    display: inline;
}

.services-tabs {
    display: flex;
    flex-direction: row;
    gap: var(--spacing-xs);
    margin: 0 auto var(--spacing-2xl);
    background-color: var(--color-bg-gray);
    width: fit-content;
    padding: 0.1rem 0.5rem;
    border-radius: var(--border-radius-full);
    position: sticky;
    top: 75px;
    z-index: 100;
    transition: box-shadow var(--transition-normal);
}

.services-tabs.is-sticky {
    box-shadow: var(--shadow-md);
}

.tab-btn {
    padding: 0.15rem 0.2rem;
    font-size: 0.9em;
    font-weight: 700;
    color: white;
    border-radius: var(--border-radius-full);
    transition: all var(--transition-normal);
}

@media (min-width: 768px) {
    .services h2 .break {
        display: block;
    }

    .services-tabs {
        margin-top: var(--spacing-2xl);
        margin-bottom: var(--spacing-3xl);
        width: 80%;
        justify-content: space-between;
        gap: var(--spacing-xs);
        padding: 0.125rem 2.5rem;
        border-radius: var(--border-radius-full);
        top: 90px;
    }

    .tab-btn {
        padding: 0.25rem 2rem;
        font-size: 1.2rem;
    }
}

.tab-btn:hover {
    background-color: #FFF;
    color: var(--color-text-lighter);
}

.tab-btn.active {
    background-color: #FFF;
    color: var(--color-text-lighter);
}

.tab-content {
    display: block;
    scroll-margin-top: 180px;
    padding: var(--spacing-2xl) 0;
}

.tab-content + .tab-content {
    border-top: 1px solid var(--color-border-light);
}

@media (max-width: 767px) {
    .tab-content {
        scroll-margin-top: 220px;
    }
}

.service-item {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.service-visual {
    margin: auto;
    max-width: 100%;
}

.service-visual.portrait{
    max-width: 50%;
}

.service-content {
    max-width: 100%;
    margin-top: 2rem;
}

.service-content h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-dark);
    line-height: normal;
    text-align: center;
}

.service-content p {
    text-align: justify;
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--color-text-light);
    line-height: 1.3;
    margin-bottom: var(--spacing-lg);
}

.btn-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.service-item.full .service-content {
    max-width: 100%;
}

.full-frame {
    margin-top: var(--spacing-2xl);
}

.full-frame img {
    margin: auto;
}

/* Creation mockups: responsive display */
.full-frame.creation-mockups img:first-child {
    display: none;
}

.full-frame.creation-mockups img:nth-child(2),
.full-frame.creation-mockups img:nth-child(3) {
    display: block;
}

.full-frame.short img {
    width: 100%;
}

.divider {
    margin-top: 3rem;
    margin-bottom: 3rem;
    background: #FFF;
    width: 100%;
    height: 4px;
}

@media (min-width: 768px) {

    .service-item.reverse {
        direction: rtl;
    }

    .service-item {
        flex-direction: row;
        margin-left: 3rem;
        margin-right: 3rem;
    }

    .service-item.full {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .service-content {
        margin-top: 0;
        max-width: 50%;
    }
    .service-content h3 {
        text-align: justify;
        font-size: 2.875rem;
    }

    .service-visual{
        max-width: 50%;
    }
     
    .full-frame.short img {
        width: 70%;
    }

    /* Creation mockups: show first image, hide others on desktop */
    .full-frame.creation-mockups img:first-child {
        display: block;
    }

    .full-frame.creation-mockups img:nth-child(2),
    .full-frame.creation-mockups img:nth-child(3) {
        display: none;
    }

}

/* ============================================
   ABOUT SECTION
============================================ */

.about h2 {
    font-size: 2.8125rem;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
    margin-left: 1rem;
    margin-right: 1rem;
}

.about-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--color-bg-blue);
    border-radius: var(--border-radius-xl);
}

.about-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    color: var(--color-text-black);
}

.about-card p {
    font-size: 1.125rem;
    color: var(--color-text-light);
    text-align: justify;
    font-weight: 600;
}

@media (min-width: 768px) {
    .about h2 {
        font-size: 3.5rem;
    }
    .about-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-card {
        padding: 5rem 3rem;
    }
}

/* ============================================
   TESTIMONIALS SECTION
============================================ */
.testimonials {
    background-color: var(--color-bg-white);
}

.testimonials h2 {
    font-size: 2.8125rem;
    margin-bottom: 8rem;
}

.testimonials-icon {
    width: 150px;
    margin: auto;
    margin-top: 8rem;
    margin-bottom: 2rem;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: var(--spacing-lg);
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 0 var(--spacing-sm);
}

.testimonial-inner {
    background: var(--color-bg-blue);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.testimonial-inner img {
    width: 100px;
}

.testimonial-text {
    font-size: 0,963rem;
    line-height: 1.7;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-md);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.8375rem;
    color: var(--color-text-light);
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xs);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-border);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.dot.active {
    background-color: var(--color-primary);
    width: 24px;
    border-radius: 4px;
}

.testimonials-link {
    text-align: center;
    margin-top: var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonials-link img {
    width: 30px;
}

.testimonials-link a {
    color: #1E87F9;
    font-weight: 600;
    font-size: 0.875rem;
}

.testimonials-link a:hover {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .testimonials h2 {
        font-size: 3.5rem;
    }
    .testimonial-card {
        flex: 0 0 50%;
        min-width: 50%;
    }
}

@media (min-width: 1024px) {
    .testimonial-card {
        flex: 0 0 33.333%;
        min-width: 33.333%;
    }
    .testimonials-dots {
    display: none;
}
}

/* ============================================
   OFFERS SECTION
============================================ */

.offers h2 {
    font-size: 2.8125rem;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center
}

.offers-grid {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--spacing-lg);
    min-height: 100vh;
    margin: 0 auto var(--spacing-2xl);
}

.offer-card {
    background: var(--color-bg-blue);
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    font-weight: 600;
    color: var(--color-text-gray);
    height: 100%;
    max-width: 500px;
}

.offer-card:hover {
    border: solid 1px var(--color-text-dark);
}

.offer-card.featured {
    background: var(--color-text-dark);
    color: var(--color-bg-white);
    position: relative;
}

.offer-card.featured:hover {
    border: solid 1px var(--color-bg-blue);
}

.offer-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto var(--spacing-md);
}

.offer-icon svg {
    width: 100%;
    height: 100%;
    color: var(--color-primary);
}

.offer-card h3 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.offer-card .subtitle {
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
}

.offer-card p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
}

.offer-card .price {
    font-size: 1rem;
    margin-bottom: var(--spacing-lg);
}

.offer-card .btn {
    font-size: 1rem;
    font-weight: bold;
    width: fit-content;
    align-self: center;
    padding: 0.8rem 1rem;
}

.offers-note {
    text-align: center;
    font-size: 1.15rem;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto;
}

.offers-note strong {
    color: var(--color-primary);
}

@media (min-width: 768px) {
    .offers h2 {
        font-size: 3.5rem;
    }
    .offers-grid {
        flex-direction: row;
    }
}

/* ============================================
   PROOF SECTION (Before/After)
============================================ */
.proof {
    background-color: var(--color-bg-white);
}

.proof h2 {
    font-size: 2.8125rem;
    margin-bottom: 8rem;
}

.proof-comparison {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
}

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

.proof-item img {
    margin: auto;
}

.proof-label {
    margin-top: var(--spacing-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: #666869;
}

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

.proof-link a {
    color: #1E87F9;
    font-weight: 600;
    font-size: 0.875rem;
}

.proof-link a:hover {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .proof h2 {
        font-size: 3.5rem;
    }
    .proof-comparison {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   FAQ SECTION
============================================ */

.faq h2 {
    font-size: 2.8125rem;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-bg-blue);
    border-radius: var(--border-radius-md);
    margin-bottom: var(--spacing-md);
    overflow: hidden;
    border: 1px solid var(--color-border-light);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 1.09375rem;
    font-weight: bold;
    color: var(--color-text-dark);
    text-align: left;
    transition: background-color var(--transition-fast);
}

.faq-question:hover {
    background-color: var(--color-bg-light);
}

.faq-icon {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
    transition: transform var(--transition-normal);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-answer-inner {
    padding: 0 var(--spacing-lg) var(--spacing-md);
    font-size: 0.9375rem;
    color: var(--color-text-gray);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}


@media (min-width: 768px) {
    .faq h2 {
        font-size: 3.5rem;
    }
}

/* ============================================
   CTA SECTION
============================================ */
.cta {
    color: var(--color-text-dark);
    text-align: center;
    padding: var(--spacing-2xl) 0;
}

.cta h2 {
    font-size: 1.525rem;
    font-weight: 600;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
}

/* ============================================
   FOOTER
============================================ */
.footer {
    background-color: var(--color-bg-blue);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
    border-top: 1px solid var(--color-border-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

.footer-brand .logo img {
    margin-bottom: var(--spacing-md);   
    max-width: 120px;
}

.footer-contact p {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-gray);
    margin-bottom: var(--spacing-xs);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
}

.footer-contact .svg {
    width: 18px;
    height: 18px;   
}

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

.footer h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-text-gray);
    margin-bottom: var(--spacing-md);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-column a {
    font-size: 1rem;
    color: var(--color-text-gray);
}

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

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
    justify-content: center;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-bg-light);
    border-radius: var(--border-radius-sm);
    color: var(--color-text-gray);
    transition: all var(--transition-fast);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-border-light);
    font-size: 0.8125rem;
    color: var(--color-text-light);
}

.footer-bottom a {
    color: var(--color-text-light);
}

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

.footer-legal {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* ============================================
   ANIMATIONS
============================================ */
@media (prefers-reduced-motion: no-preference) {
    .fade-in {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Hero title directional fade animations */
    .title-line {
        display: block;
        opacity: 0;
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .title-line.fade-right {
        transform: translateX(50px);
    }

    .title-line.fade-left {
        transform: translateX(-50px);
    }

    .title-line.visible {
        opacity: 1;
        transform: translateX(0);
    }

    /* Staggered delays */
    .title-line:nth-child(1) {
        transition-delay: 0.1s;
    }

    .title-line:nth-child(2) {
        transition-delay: 0.3s;
    }

    .title-line:nth-child(3) {
        transition-delay: 0.5s;
    }
}

/* ============================================
   CONTACT MODAL
============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
    padding: var(--spacing-md);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--color-bg-blue);
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-xl);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
    transform: translateY(-20px) scale(0.95);
    transition: transform var(--transition-normal);
}

.modal-content::-webkit-scrollbar {
    display: none;
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--color-text-gray);
    border-radius: var(--border-radius-sm);
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.modal-close:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--color-text-dark);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    min-width: 0;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--color-text-dark);
    text-align: center;
}

.form-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
    font-weight: bold;
    font-family: var(--font-family);
    background-color: #1D1D1F2E;
    color: var(--color-bg-white);
    border: none;
    border-radius: var(--border-radius-md);
    transition: box-shadow var(--transition-fast);
    box-sizing: border-box;
}

.form-group input::placeholder {
    color: var(--color-bg-white);
    opacity: 1;
}

.form-group input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--color-primary);
}

.form-submit {
    margin-top: var(--spacing-sm);
    width: 100%;
}

@media (min-width: 480px) {
    .modal-title {
        font-size: 3.3125rem;
    }
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

body.modal-open {
    overflow: hidden;
}
