/* styles.css */

/* CSS Custom Properties */
:root {
    --color-bg: #181818;
    --color-surface: #262626;
    --color-surface-light: #2a2a2a;
    --color-accent: #D2673B;
    --color-accent-gradient: linear-gradient(135deg, #ff6b35, #ff8c42);
    --color-text: #ffffff;
    --color-text-muted: #b0b0b0;
    --color-border: #333333;
    --color-error: #ff4444;
    --color-success: #44ff44;
    --button-primary-gradient-color: linear-gradient(24deg, #D2673B, #F0945B, #D2673B);

    --font-primary: 'Poppins', 'Inter', sans-serif;
    --font-size-base: 16px;

    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-xxl: 64px;

    --border-radius: 12px;
    --hero-border-radius: 19px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Hero-specific variables */
    --hero-image-width: 93%;
    --hero-section-height: 32.625rem;
    --hero-image-gradient: linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(218, 91, 0, 0.301) 100%);
    --hero-image-corner-radius: 46px;
    --hero-icon-size: 3.5rem;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.25rem;
}

p {
    color: var(--color-text-muted);
}

a {
    color: var(--color-accent);
    text-decoration: none;
}

.container {
    max-width: 90%;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Shared Button Styles */
.btn,
.primary-button,
.btn-primary-send {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

/* Standard Buttons */
.btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 50px;
}

.btn-primary {
    background: var(--color-accent-gradient);
    color: var(--color-text);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

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

.btn-secondary:hover {
    background: var(--color-accent);
    color: var(--color-bg);
}

/* Hero/Model Button */
.primary-button {
    color: #fff;
    font-weight: 400;
    font-size: 18px;
    width: 15.3rem;
    height: 2.3rem;
    padding: 0.75rem 2rem;
    border-radius: 47px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    background-image: var(--button-primary-gradient-color);
}

.primary-button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

/* Form Send Button */
.btn-primary-send {
    display: block;
    /* ⬅ ESSENCIAL */
    margin: 2rem auto 0;
    /* auto esquerda/direita */
    width: 65%;
    padding: 1rem 0;
    background: #ffffff;
    color: #D2673B;
    font-size: 18px;
    border-radius: 999px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.full-width {
    width: 100%;
}

.centered {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Header */
.header {
    position: relative;
    width: 100%;
    margin: 2rem auto;
    z-index: 1000;
}

.header .container {
    max-width: 93%;
    background: var(--color-surface);
    border-radius: var(--hero-border-radius);
    padding: 1.313rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 79px;
}

.logo,
.logo-footer {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.logo {
    color: var(--color-text);
    font-weight: 700;
    font-size: 1.5rem;
    height: 2.313rem;
}

.logo-footer {
    height: 3.313rem;
}

.nav,
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu {
    list-style: none;
    gap: 1.813rem;
}

.menu-toggle {
    display: none;
    /* Hidden on desktop */
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    z-index: 1001;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition);
    transform-origin: center;
}

.nav-menu a {
    color: var(--color-text);
    transition: var(--transition);
    font-weight: 400;
}

.nav-menu a:hover {
    color: transparent;
    background: radial-gradient(circle at center, #e47f54 0%, #D56C3F 20% 70%, #6F3821 100%);
    background-clip: text;
    -webkit-background-clip: text;
}

/* Hero Section */
.hero-section {
    position: relative;
    max-width: var(--hero-image-width);
    height: var(--hero-section-height);
    margin: 2.875rem auto 5.125rem auto;
    border-radius: var(--hero-image-corner-radius);
    overflow: hidden;
    padding: 3rem 1.5rem;
    background-image: var(--hero-image-gradient), url('images/HeroBanner/hero-image.svg');
    background-size: cover;
    background-position: top;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin-left: 3rem;
    text-align: left;
}

.hero-icon {
    width: var(--hero-icon-size);
    height: var(--hero-icon-size);
    margin: 0 0 4.5rem 0;
}

.hero-icon img {
    width: 150%;
    height: 150%;
    object-fit: contain;
}

.hero-content h1 {
    font-family: Poppins, sans-serif;
    font-size: 50px;
    font-weight: 900;
    margin-top: 1rem;
    color: var(--color-text);
}

.hero-content .subheading {
    font-family: Poppins, sans-serif;
    font-size: 25px;
    font-weight: 300;
    margin-bottom: 1rem;
    opacity: 0.95;
    color: var(--color-text);
}

.hero-content .features {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 2.75rem;
    color: var(--color-text-muted);
}

.hero-content .features strong {
    font-weight: 600;
    color: var(--color-text);
}

/* Highlight Strip */
.highlight-strip {
    text-align: center;
}

.section-title {
    font-size: 50px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: var(--spacing-md);
}

.highlight-word {
    color: var(--color-accent);
    font-weight: 600;
}

.section-text {
    font-size: 25px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

/* Cases Grid (Mosaic) */
.cases {
    padding: var(--spacing-xxl) 0;
}

.mosaic-background {
    inset: 0;
    z-index: 0;
    background: url("images/mosaic/Background-Mosaic.svg") center / 50% no-repeat;
}

.cases .container {
    position: relative;
    z-index: 1;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.case-image {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #000;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.case-image:hover img {
    transform: scale(1.06);
}

.case-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.6) 100%);
}

.case-image.large {
    grid-column: span 2;
    grid-row: span 2;
}

.case-image.medium {
    grid-column: span 2;
    grid-row: span 1;
}

.case-image.small {
    grid-column: span 1;
    grid-row: span 1;
}

/* Model Section */
.model-section {
    padding: 6rem 0;
}

.model-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 4rem;
}

.model-text {
    max-width: 640px;
}

.model-text .section-title {
    font-size: 50px;
    font-weight: 800;
    margin-bottom: 1.25rem;
    text-transform: none;
}

.model-text .primary-button {
    width: auto;
    padding: 0.9rem 2.5rem;
}

.model-description {
    font-size: 25px;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 2.5rem;
}

.model-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.model-visual img {
    width: 420px;
    max-width: 100%;
    opacity: 0.95;
}

/* Partners */
.partners {
    position: relative;
    padding: 7rem 0 8rem;
    text-align: center;
    background: linear-gradient(180deg, #181818 0%, #5A3620 10%, #C7652B 25%, #F77B30 45%, #C7652B 77%, #5A3620 91%, #181818 99%);
    color: #ffffff;
    overflow: hidden;
}

.partners::before,
.partners::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 120px;
    pointer-events: none;
    z-index: 1;
}

.partners::before {
    top: 0;
    background: linear-gradient(to bottom, #181818, rgba(0, 0, 0, 0));
}

.partners::after {
    bottom: 0;
    background: linear-gradient(to top, #181818, rgba(0, 0, 0, 0));
}

.partners .container,
.decorative-arrow {
    position: relative;
    z-index: 2;
}

.decorative-arrow {
    display: block;
    margin: 2.5rem auto;
    width: 36px;
    height: auto;
    opacity: 0.9;
}

.text-arrow {
    display: inline-block;
    margin-top: 1rem;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: 2.5rem;
}

.partners .section-title {
    font-size: 50px;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.partners .section-text {
    margin: 0 auto 3rem;
    font-size: 25px;
    line-height: 1.8;
    color: #fff;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem;
    justify-content: center;
}

.partner-logo {
    background: #ffffff;
    width: 234px;
    height: 153px;
    padding: 1.4rem 2.2rem;
    border-radius: 14px;
    font-weight: 600;
    min-width: 160px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

/* =========================================
   SERVICES SECTION (Final Version)
   ========================================= */
.services {
    padding: var(--spacing-xxl) 0;
    position: relative;
    overflow-x: hidden;
}

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

.highlight-text {
    color: var(--color-accent);
}

.services-timeline {
    display: flex;
    flex-direction: column;
    gap: 0rem;
    /* Reduced gap because lines create the visual spacing */
    margin-top: 4rem;
    position: relative;
}

/* Service Row Layout */
.service-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    z-index: 2;
    padding: 2rem 0;
    /* Add vertical breathing room */
}

/* Text Content Area */
.service-content {
    flex: 1;
    max-width: 500px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Ensures content aligns left */
}

/* Orange Number Bubble */
.service-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #D2673B;
    color: #fff;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(210, 103, 59, 0.4);
}

.service-content h3 {
    font-size: 1.5rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 2rem;
    /* Space for button in item 3 */
}

.service-content strong {
    color: #fff;
    font-weight: 700;
}

/* Visual Area */
.service-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.service-img {
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    width: 380px;
    margin-top: 100px;
    /* Adjusted size slightly larger */
}

/* The Grey Circle Backdrop */
.image-backdrop {
    position: absolute;
    width: 320px;
    height: 320px;
    background: rgba(255, 255, 255, 0.1);
    /* Semi-transparent white/grey */
    border-radius: 50%;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
}

/* CONNECTOR LINES 
   Positioned absolute relative to the .services-timeline container
*/
.connector-line {
    position: absolute;
    z-index: 1;
    /* Behind content */
    width: 100%;
    pointer-events: none;
    display: flex;
    justify-content: center;
}

/* Line 1 Positioning (Between Item 1 and Item 2) */
.line-1-pos {
    top: 250px;
    /* Moves line down to overlap bottom of item 1 and top of item 2 */
    left: 0;
}

/* Line 2 Positioning (Between Item 2 and Item 3) */
.line-2-pos {
    top: 750px;
    /* Moves line down to overlap bottom of item 2 and top of item 3 */
    left: 0;
}

.line-svg {
    width: 100%;
    max-width: 800px;
    /* Limits the spread */
    opacity: 0.8;
}

/* Button Styling (Gradient Pill) */
.btn-pill-orange {
    display: inline-block;
    background: linear-gradient(90deg, #D2673B 0%, #F0945B 100%);
    color: #fff;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: capitalize;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(210, 103, 59, 0.3);
    text-decoration: none;
}

.btn-pill-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(210, 103, 59, 0.5);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .service-row {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    /* Ensure order is correct on mobile (Text then Image) */
    .service-row:nth-child(even) {
        flex-direction: column;
    }

    .service-content {
        align-items: center;
        /* Center align on mobile */
        max-width: 100%;
    }

    .connector-line {
        display: none;
        /* Hide complex lines on mobile */
    }

    .image-backdrop {
        width: 260px;
        height: 260px;
    }
}

.innovation {
    background: radial-gradient(circle at left, #1b1b1b, #0b0b0b);
    padding: 120px 0;
    color: #fff;
    overflow: hidden;
}

.innovation-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.5fr;
    gap: 80px;
    align-items: center;
}

.innovation-content h2 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 28px;
}

.innovation-description {
    font-size: 16px;
    line-height: 1.7;
    color: #d0d0d0;
    margin-bottom: 24px;
}

.innovation-subtitle {
    margin-bottom: 28px;
    font-size: 15px;
    color: #bcbcbc;
}

/* LISTA */
.innovation-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 0;
}

.innovation-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 122, 47, 0.15);
    padding: 16px 18px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
}

.icon {
    min-width: 42px;
    height: 42px;
    background: linear-gradient(90deg,
            #D66F40 0%,
            #EB8A55 53%,
            #D2693A 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.innovation-list p {
    font-size: 14.5px;
    line-height: 1.6;
    color: #e0e0e0;
}

/* VISUAL */
.innovation-visual {
    position: relative;
}

.innovation-visual img {
    width: 120%;
    max-width: 2000px;
    opacity: 0.95;
    filter: drop-shadow(0 0 30px rgba(255, 122, 47, 0.25));
    overflow: visible;
}

/* RESPONSIVO */
@media (max-width: 960px) {
    .innovation-grid {
        grid-template-columns: 1fr;
    }

    .innovation-visual {
        order: -1;
        text-align: center;
    }

    .innovation-visual img {
        max-width: 360px;
        margin: 0 auto 40px;
    }
}


/* Contact */
.contact {
    padding: var(--spacing-xxl) 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
}

.contact-info p {
    margin-bottom: var(--spacing-md);
}

.contact-details {
    margin-top: var(--spacing-lg);
}

.contact-details a {
    color: var(--color-accent);
    transition: var(--transition);
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-form-container {
    max-width: 620px;
    background: linear-gradient(180deg, #D2673B 0%, #F0945B 49%, #D2673B 100%);
    padding: var(--spacing-md);
    border-radius: 28px;
    border: 1px solid var(--color-border);
}

.contact-form .form-group {
    margin-bottom: var(--spacing-md);
}

.contact-form label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-size: 0.875rem;
    color: var(--color-text);
}

.contact-form input {
    width: 100%;
    padding: var(--spacing-sm);
    background: #713714;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    color: var(--color-text);
    font-family: inherit;
    transition: var(--transition);
}

.contact-form input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.2);
}

.error-message {
    color: var(--color-error);
    font-size: 0.75rem;
    margin-top: 4px;
    display: none;
}

.form-success {
    color: var(--color-success);
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    background: rgba(68, 255, 68, 0.1);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
}

/* Footer Container */
.footer {
    background-color: #0d0d0d;
    padding: var(--spacing-xxl) 0 var(--spacing-xl) 0;
    margin-top: var(--spacing-xxl);
    border-top: 1px solid #1a1a1a;
}

/* 3-Column Grid Layout */
.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    align-items: start;
    margin-bottom: var(--spacing-xxl);
}

/* Base Styles for Columns */
.footer-col {
    display: flex;
    flex-direction: column;
}

/* --- Column 1: Brand/Address --- */
.brand-col {
    gap: var(--spacing-md);
    max-width: 320px;
}

.brand-col address {
    font-style: normal;
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

.brand-col address a {
    color: var(--color-text);
    text-decoration: none;
}

/* --- Column 2: Navigation (The Middle) --- */
.nav-col {
    justify-self: center;
}

.nav-col h3,
.social-col h3 {
    color: var(--color-accent);
    /* Orange */
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.nav-col ul {
    list-style: none;
}

.nav-col li {
    margin-bottom: 12px;
}

.nav-col a {
    color: var(--color-text);
    font-size: 1rem;
    transition: var(--transition);
}

.nav-col a:hover {
    color: var(--color-accent);
}

/* --- Column 3: Socials --- */
.social-col {
    padding-left: var(--spacing-sm);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: transform 0.2s ease;
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-3px);
}

/* Instagram Gradient */
.social-icon.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

/* Whatsapp Green */
.social-icon.whatsapp {
    background-color: #2cd46b;
}

/* Bottom Section */
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xl);
}

.privacy-link {
    color: var(--color-text);
    font-size: 1rem;
    margin-bottom: 10px;
}

.copyright {
    font-size: 0.75rem;
    color: #888;
    text-align: center;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .brand-col {
        max-width: 100%;
    }
}

/* 
=========================================
   RESPONSIVE MEDIA QUERIES
========================================= 
*/

@media (max-width: 1024px) {
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }

    .case-image.large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .grid-3x2,
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 900px) {
    .model-split {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .model-visual {
        order: -1;
        margin-bottom: 2rem;
    }

    .model-text {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {

    /* Header & Nav */
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-surface);
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
        gap: 0;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-menu li {
        padding: var(--spacing-sm) 0;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: var(--spacing-xs) 0;
    }

    /* Hero */
    .hero-section {
        justify-content: center;
        padding: 2.5rem 1.5rem;
        height: auto;
        min-height: 28rem;
        margin: 1.5rem auto 3rem auto;
    }

    .hero-content {
        margin-left: 0;
        max-width: 100%;
        text-align: center;
    }

    .hero-icon {
        margin: 0 auto 1.5rem auto;
    }

    .primary-button {
        align-self: center;
    }

    .hero-content h1 {
        font-size: 3.2rem;
    }

    .hero-content .subheading {
        font-size: 1.6rem;
    }

    .hero-content .features {
        font-size: 1.25rem;
    }

    /* Partners */
    .partners {
        padding: 5rem 0 6rem;
    }

    .partners .section-title {
        font-size: 2.2rem;
    }

    .partners .section-text {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .partner-logo {
        min-width: 140px;
        padding: 1.2rem 1.8rem;
    }
}

@media (min-width: 769px) {
    .nav-menu {
        display: flex;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .grid-3x2,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .innovation-features {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .cases-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }

    .case-image.large,
    .case-image.medium,
    .case-image.small {
        grid-column: span 1;
        grid-row: span 1;
    }
}