/* ==========================================================================
   Header
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 0.6rem 0;
    z-index: 100;
    transition: var(--transition-fast);
    background-color: transparent;
}

.main-header.scrolled {
    background-color: rgba(45, 45, 45, 0.97);
    backdrop-filter: blur(12px);
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    color: #FFFFFF;
    transition: color 0.3s ease;
}

.logo span {
    font-weight: 300;
}

.desktop-nav ul {
    display: flex;
    gap: 3rem;
}

.desktop-nav a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
}

.desktop-nav a:hover {
    color: #FFFFFF;
}

/* Subtle underline animation */
.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0; width: 0%; height: 1px;
    background-color: #FFFFFF;
    transition: width 0.3s ease;
}
.desktop-nav a:hover::after { width: 100%; }

.header-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #FFFFFF;
    transition: 0.3s ease;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    color: #FFFFFF;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
}

.hero-background img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
}

.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 100%);
}

.hero-content {
    max-width: 900px;
    padding-top: 4rem;
}

.hero-content h1 {
    color: #FFFFFF;
    margin-bottom: var(--space-sm);
}

.hero-tag {
    display: block;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-md);
    border-left: 2px solid rgba(255,255,255,0.5);
    padding-left: 1rem;
    color: rgba(255,255,255,0.8);
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 650px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-lg);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

/* ==========================================================================
   Credibility Banner
   ========================================================================== */
.credibility-banner {
    background-color: var(--color-bg-alt);
    padding: 3.5rem 0;
    border-bottom: 1px solid var(--color-border);
}

.credibility-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.cred-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cred-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1;
}

.cred-num-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
}

.cred-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
    padding: var(--section-padding);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 4px;
}

.experience-badge {
    position: absolute;
    bottom: -40px;
    right: -40px;
    background-color: #FFFFFF;
    color: #1A1A1A;
    padding: 3rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.about-text-blocks {
    margin-top: var(--space-md);
    margin-bottom: var(--space-lg);
}

.about-text-blocks p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.about-text-blocks p:first-child {
    font-weight: 500;
    color: #FFFFFF;
}

/* ==========================================================================
   Services Grid (Asymmetric Editorial Style)
   ========================================================================== */
.services-section {
    padding: var(--section-padding);
}

.services-header {
    margin-bottom: var(--space-lg);
    max-width: 600px;
}

.services-asymmetric-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(300px, auto);
    gap: 2rem;
}

.service-block {
    background-color: var(--color-surface);
    padding: 3rem;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.service-block:hover {
    transform: translateY(-6px);
    border-color: rgba(255,255,255,0.15);
}

.service-content h3 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #FFFFFF;
    position: relative;
    z-index: 2;
}

.service-content p {
    color: rgba(255,255,255,0.7);
    margin: 0;
    position: relative;
    z-index: 2;
}

.service-number {
    position: absolute;
    top: auto;
    bottom: 1rem;
    right: 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: rgba(255,255,255,0.15);
    line-height: 1;
    z-index: 1;
    pointer-events: none;
    letter-spacing: -0.02em;
}

/* Grid placing */
.block-large { grid-column: 1 / 8; grid-row: 1 / 3; }
.block-medium { grid-column: 8 / 13; grid-row: 1 / 2; }
.block-vertical { grid-column: 8 / 13; grid-row: 2 / 3; }
.block-wide { grid-column: 1 / 13; grid-row: 3 / 4; display: flex; flex-direction: row; align-items: center; }

.block-wide .service-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

/* ==========================================================================
   Diferenciais — Animated Premium Glass Cards
   ========================================================================== */
.differentials-section {
    padding: var(--section-padding);
    background-color: var(--color-bg);
    overflow: hidden;
    position: relative;
    isolation: isolate;
}

.diff-watermark-logo {
    display: block;
    width: min(70%, 360px);
    margin: 3rem auto 0;
    opacity: 0.08;
    pointer-events: none;
    user-select: none;
}

@media screen and (max-width: 1024px) {
    .diff-watermark-logo {
        width: min(60%, 280px);
        margin: 2rem auto 1rem;
    }
}

.differentials-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.section-title-large {
    font-size: clamp(1.8rem, 4vw, 4rem);
    line-height: 1.1;
    color: #FFFFFF;
    position: sticky;
    top: 8rem;
}

.diff-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* --- Animated Glow Card --- */
.diff-item {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 2.5rem 2.5rem 2.5rem 2.5rem;
    overflow: hidden;
    transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s ease;
    cursor: default;
}

/* Animated gradient border */
.diff-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.15) 0%,
        rgba(255,255,255,0.03) 40%,
        rgba(255,255,255,0.08) 60%,
        rgba(255,255,255,0.15) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: background 0.4s ease;
}

/* Glow orb on hover */
.diff-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.06) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.diff-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.diff-item:hover::before {
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.3) 0%,
        rgba(255,255,255,0.05) 40%,
        rgba(255,255,255,0.1) 60%,
        rgba(255,255,255,0.3) 100%
    );
}

.diff-item:hover::after {
    opacity: 1;
}

/* Counter indicator */
.diff-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.15);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1.25rem;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.diff-item:hover .diff-counter {
    border-color: rgba(255,255,255,0.4);
    color: rgba(255,255,255,0.9);
}

.diff-item h4 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: #FFFFFF;
    padding-left: 0;
    position: relative;
}

.diff-item p {
    color: rgba(255,255,255,0.6);
    font-size: 1rem;
    margin: 0;
    line-height: 1.7;
}

/* Staggered entrance */
.diff-item:nth-child(1) { transition-delay: 0s; }
.diff-item:nth-child(2) { transition-delay: 0.08s; }
.diff-item:nth-child(3) { transition-delay: 0.16s; }

/* ==========================================================================
   Trust Marquee
   ========================================================================== */
.trust-marquee-section {
    padding: 5rem 0;
    overflow: hidden;
    background-color: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.trust-marquee-section h3 {
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Gradient fades */
.marquee-wrapper::before,
.marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 12vw;
    z-index: 2;
    pointer-events: none;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--color-bg-alt) 0%, transparent 100%);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--color-bg-alt) 0%, transparent 100%);
}

.marquee-track {
    display: flex;
    width: max-content;
    align-items: center;
    animation: marqueeScroll 35s linear infinite;
}

.marquee-item {
    padding: 0 3rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.marquee-item img {
    height: 115px;
    width: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.marquee-item:hover img {
    transform: scale(1.05);
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Portfolio
   ========================================================================== */
.portfolio-section {
    padding: var(--section-padding);
}

.portfolio-header {
    margin-bottom: var(--space-xl);
}

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

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 4rem;
}

.portfolio-item {
    display: flex;
    flex-direction: column;
}

.portfolio-item:nth-child(1) {
    grid-column: 1 / 8;
}

.portfolio-item:nth-child(2) {
    grid-column: 8 / 13;
    margin-top: 4rem; /* Asymmetrical masonry effect */
}

.port-img-wrapper {
    overflow: hidden;
    margin-bottom: 2rem;
    border-radius: 8px;
}

.port-img-wrapper img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

.portfolio-item:nth-child(1) .port-img-wrapper img { aspect-ratio: 16/9; }
.portfolio-item:nth-child(2) .port-img-wrapper img { aspect-ratio: 4/3; }

.portfolio-item:hover .port-img-wrapper img {
    transform: scale(1.05);
}

.port-category {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    display: block;
    margin-bottom: 0.5rem;
}

.port-info h3 {
    color: #FFFFFF;
}

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

/* ==========================================================================
   Process (Timeline)
   ========================================================================== */
.process-section {
    padding: var(--section-padding);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--color-border);
    padding-top: 3rem;
}

.process-step {
    position: relative;
}

.step-num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: rgba(255,255,255,0.3);
    display: block;
    margin-bottom: 1rem;
}

.process-step h4 {
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.process-step p {
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
}

/* ==========================================================================
   CTA & Footer
   ========================================================================== */
.cta-final-section {
    padding: var(--space-xl) 0;
    background-color: var(--color-bg-alt);
    text-align: center;
}

.cta-container h2 {
    max-width: 800px;
    margin: 0 auto var(--space-lg);
    text-wrap: balance;
    color: #FFFFFF;
}

.site-footer {
    background-color: var(--color-bg-alt);
    padding: 6rem 0 2rem;
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.footer-brand .logo span {
    font-weight: 300;
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 1rem;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links a, .footer-contact a {
    color: var(--color-text-muted);
    font-size: 1rem;
}

.footer-links a:hover, .footer-contact a:hover {
    color: #FFFFFF;
}

.footer-contact p {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 0.2rem;
}

.social-link {
    display: inline-block;
    padding: 1rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    width: 100%;
    color: #FFFFFF;
    font-weight: 500;
    transition: padding 0.3s ease;
}

.social-link:hover {
    padding-left: 1rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   Header Social Link
   ========================================================================== */
.header-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,0.5);
    color: rgba(255,255,255,0.85);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.header-social-link:hover {
    background-color: #FFFFFF;
    color: #1A1A1A;
    border-color: #FFFFFF;
}

.header-social-link svg {
    display: block;
    flex-shrink: 0;
}

/* ==========================================================================
   Mobile Navigation
   ========================================================================== */
.mobile-nav {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(30, 30, 30, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem 5%;
    border-top: 1px solid var(--color-border);
    z-index: 999;
}

.mobile-nav.open {
    display: block !important;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-nav ul li a {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    border-bottom: 1px solid var(--color-border);
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.mobile-nav ul li a:hover {
    color: #FFFFFF;
    padding-left: 0.5rem;
}

.mobile-nav-footer {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.mobile-social-link:hover {
    color: #FFFFFF;
}

/* ==========================================================================
   Credibility Number Suffix
   ========================================================================== */
.cred-number-suffix {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1;
}

/* ==========================================================================
   Industrial Section
   ========================================================================== */
.industrial-section {
    padding: calc(var(--section-padding) + 2rem) 0;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.industrial-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../assets/images/industrial-bg-v2.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.20;
    z-index: -2;
    pointer-events: none;
}

.industrial-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(45,45,45,0.85) 0%, rgba(45,45,45,0.65) 50%, rgba(45,45,45,0.9) 100%);
    z-index: -1;
    pointer-events: none;
}

.industrial-header {
    max-width: 700px;
    margin-bottom: var(--space-md);
}

.industrial-header p {
    color: var(--color-text-muted);
    font-size: 1.2rem;
}

.industrial-description {
    max-width: 900px;
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
}

.industrial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.industrial-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: transform 0.5s var(--ease-out-expo), border-color 0.4s ease, box-shadow 0.4s ease;
    cursor: default;
}

.industrial-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.ind-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.7);
    transition: background 0.3s ease, color 0.3s ease;
}

.industrial-card:hover .ind-icon {
    background: rgba(255,255,255,0.15);
    color: #FFFFFF;
}

.industrial-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #FFFFFF;
}

.industrial-card p {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.7;
}

/* ==========================================================================
   Portfolio Item Full Width (Industrial Card)
   ========================================================================== */
.portfolio-item-full {
    grid-column: 1 / 13;
}

.portfolio-item-full .port-img-wrapper img {
    aspect-ratio: 21/9;
    object-fit: cover;
}

/* ==========================================================================
   Service Block Background Image
   ========================================================================== */
.service-block.has-bg-image {
    position: relative;
    overflow: hidden;
}

.service-block-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.35;
    transition: opacity 0.4s ease, transform 0.8s var(--ease-out-expo);
}

.service-block.has-bg-image:hover .service-block-bg {
    opacity: 0.45;
    transform: scale(1.05);
}

.service-block-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

.service-block.has-bg-image .service-content {
    position: relative;
    z-index: 2;
}

.service-block.has-bg-image .service-number {
    z-index: 3;
}

/* ==========================================================================
   WhatsApp Floating Button
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: whatsappPulse 2s infinite ease-in-out;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7); }
}

/* ==========================================================================
   Responsive Code
   ========================================================================== */
@media screen and (max-width: 1024px) {
    .about-container,
    .differentials-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .services-asymmetric-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .block-large, .block-medium, .block-vertical {
        grid-column: 1 / -1;
        grid-row: auto;
    }
    
    .block-wide {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .block-wide .service-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .process-timeline {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .portfolio-item:nth-child(1),
    .portfolio-item:nth-child(2),
    .portfolio-item-full {
        grid-column: 1 / -1;
        margin-top: 0;
    }
    
    .portfolio-item:nth-child(1) .port-img-wrapper img,
    .portfolio-item:nth-child(2) .port-img-wrapper img,
    .portfolio-item-full .port-img-wrapper img {
        aspect-ratio: 16/9;
    }

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

@media screen and (max-width: 768px) {
    .header-actions .btn-outline {
        display: none;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .credibility-grid {
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        text-align: center;
        gap: 2.5rem;
    }

    .cred-item {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .cred-number,
    .cred-number-suffix {
        font-size: 2.2rem;
    }
    
    .diff-list {
        grid-template-columns: 1fr;
    }
    
    .process-timeline,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .experience-badge {
        right: 0;
        bottom: -20px;
        padding: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons .btn {
        text-align: center;
        width: 100%;
    }
    
    .btn-large {
        padding: 1rem 1.25rem;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }
    
    .marquee-item {
        padding: 0 1.5rem;
    }

    .industrial-grid {
        grid-template-columns: 1fr;
    }
}


