/*
Theme Name: 4T Technology
Theme URI: https://4ttimeless.com
Author: 4T Technology Co., Ltd
Author URI: https://4ttimeless.com
Description: Custom corporate theme for 4T Technology Co., Ltd — System Integration, Cloud Services, Managed Services. Bilingual Vietnamese/English, green color palette, Segoe UI typography.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fourt
Tags: corporate, business, two-columns, right-sidebar, custom-menu, featured-images, translation-ready
*/

/* ==========  RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: "Segoe UI", "Segoe UI Web", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: #0F1B17;
    background: #FFFFFF;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #008253; text-decoration: none; transition: color .2s ease; }
a:hover { color: #00df72; }
h1, h2, h3, h4, h5, h6 {
    font-family: "Segoe UI", "Segoe UI Web", Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    color: #0F1B17;
    margin: 0 0 .6em;
    line-height: 1.25;
}
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }

/* ========== VARIABLES ========== */
:root {
    --green-900: #005a3a;
    --green-700: #008253;
    --green-500: #00b864;
    --green-400: #00df72;
    --green-50: #F5FAF7;
    --ink: #0F1B17;
    --ink-2: #3A4A44;
    --muted: #6B7B75;
    --line: #E3EDE7;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(0,130,83,.06);
    --shadow-md: 0 8px 24px rgba(0,130,83,.08);
    --shadow-lg: 0 20px 48px rgba(0,130,83,.12);
    --radius: 14px;
    --container: 1200px;
    --grad: linear-gradient(135deg, #008253 0%, #00df72 100%);
}

/* ========== LAYOUT HELPERS ========== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--alt { background: var(--green-50); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head .eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--green-400);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section-head h2 { color: var(--green-700); }
.section-head h2::after {
    content: "";
    display: block;
    width: 56px; height: 4px;
    background: var(--grad);
    border-radius: 2px;
    margin: 18px auto 0;
}
.section-head p { color: var(--ink-2); font-size: 1.05rem; margin-top: 16px; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: 999px;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 15px;
    line-height: 1;
}
.btn--primary {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 10px 20px rgba(0,130,83,.25);
}
.btn--primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 14px 28px rgba(0,130,83,.32); }
.btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.6);
}
.btn--ghost:hover { background: #fff; color: var(--green-700); }
.btn--outline {
    background: transparent;
    color: var(--green-700);
    border-color: var(--green-700);
}
.btn--outline:hover { background: var(--green-700); color: #fff; }

/* ========== HEADER ========== */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.94);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 78px;
}
.site-logo img { height: 44px; width: auto; }
.main-nav ul {
    list-style: none; margin: 0; padding: 0;
    display: flex; gap: 6px;
}
.main-nav a {
    display: inline-block;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    border-radius: 8px;
    position: relative;
}
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a {
    color: var(--green-700);
    background: var(--green-50);
}
.main-nav .has-submenu { position: relative; }
.main-nav .submenu {
    position: absolute; left: 0; top: calc(100% + 8px);
    min-width: 240px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 10px;
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: all .2s ease;
    list-style: none; margin: 0;
}
.main-nav .has-submenu:hover > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .submenu a { padding: 10px 12px; font-size: 14px; }
.header-tools {
    display: flex; align-items: center; gap: 14px;
}
.lang-switch {
    display: inline-flex; align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 4px;
    background: #fff;
}
.lang-switch a {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
}
.lang-switch a.active {
    background: var(--green-700);
    color: #fff;
}
.menu-toggle {
    display: none;
    background: none; border: 0; cursor: pointer;
    width: 42px; height: 42px; padding: 0;
    border-radius: 10px;
}
.menu-toggle span {
    display: block; width: 22px; height: 2px; margin: 4px auto;
    background: var(--ink); transition: .3s;
}
.menu-toggle.is-open span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2){ opacity: 0; }
.menu-toggle.is-open span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex; align-items: center;
    overflow: hidden;
    color: #fff;
    background: var(--grad);
}
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,.18), transparent 40%),
        radial-gradient(circle at 80% 60%, rgba(0,223,114,.35), transparent 45%),
        linear-gradient(135deg, #003b25 0%, #008253 55%, #00b864 100%);
    z-index: 0;
}
.hero::after {
    content: "";
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60'><path d='M0 0h60v60' fill='none' stroke='rgba(255,255,255,0.06)' stroke-width='1'/></svg>");
    opacity: .8;
    z-index: 0;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px;
    font-size: 13px; font-weight: 600;
    letter-spacing: 1.4px; text-transform: uppercase;
    margin-bottom: 22px;
}
.hero-eyebrow::before {
    content: ""; width: 8px; height: 8px; background: #fff; border-radius: 50%;
    animation: pulse 1.8s ease infinite;
}
@keyframes pulse { 0%, 100% { opacity:1; transform:scale(1); } 50% { opacity:.4; transform:scale(.6); } }
.hero h1 { color: #fff; font-weight: 700; letter-spacing: -.5px; }
.hero-lead { font-size: 1.15rem; color: rgba(255,255,255,.92); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
    margin-top: 48px;
    display: grid; grid-template-columns: repeat(3,1fr); gap: 16px;
    max-width: 560px;
}
.hero-stat strong {
    display: block;
    font-size: 2.2rem; font-weight: 700; color: #fff;
    line-height: 1.1;
}
.hero-stat span { font-size: 13px; color: rgba(255,255,255,.8); }

.hero-art {
    position: relative; height: 460px;
    display: flex; align-items: center; justify-content: center;
}
.hero-art .glow {
    position: absolute; width: 380px; height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,223,114,.35), transparent 60%);
    filter: blur(20px);
}
.hero-art svg { position: relative; z-index: 1; width: 100%; max-width: 440px; }

/* ========== ABOUT SNAPSHOT ========== */
.about-snap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-snap .image-box {
    position: relative; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 5/4;
    background: linear-gradient(135deg, #d6f5e3, #008253);
    display: flex; align-items: center; justify-content: center;
}
.about-snap .image-box svg { width: 75%; height: 75%; }
.about-snap .eyebrow {
    color: var(--green-400); font-weight: 600; font-size: 13px;
    text-transform: uppercase; letter-spacing: 2px;
    display: block; margin-bottom: 10px;
}
.about-snap h2 { color: var(--green-700); }
.about-snap h2::after {
    content: ""; display: block; width: 56px; height: 4px;
    background: var(--grad); border-radius: 2px; margin-top: 16px;
}
.about-snap ul { list-style: none; padding: 0; margin: 20px 0 28px; }
.about-snap li {
    position: relative; padding: 8px 0 8px 30px;
    color: var(--ink-2);
}
.about-snap li::before {
    content: ""; position: absolute; left: 0; top: 14px;
    width: 18px; height: 18px; border-radius: 50%;
    background: var(--grad);
    box-shadow: 0 0 0 4px rgba(0,223,114,.15);
}
.about-snap li::after {
    content: ""; position: absolute; left: 5px; top: 18px;
    width: 8px; height: 4px;
    border-left: 2px solid #fff; border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}

/* ========== WHY CHOOSE US ========== */
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.why-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: left;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.why-icon {
    width: 60px; height: 60px;
    border-radius: 14px;
    background: var(--grad);
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; margin-bottom: 22px;
    box-shadow: 0 10px 22px rgba(0,130,83,.22);
}
.why-icon svg { width: 28px; height: 28px; }
.why-card h3 { color: var(--green-700); margin-bottom: 10px; }
.why-card p { color: var(--ink-2); margin: 0; }

/* ========== PORTFOLIO CARDS ========== */
.portfolio-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.portfolio-card {
    position: relative;
    padding: 40px 32px 36px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: all .3s ease;
}
.portfolio-card::before {
    content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px;
    background: var(--grad);
    transform: scaleX(0); transform-origin: left;
    transition: transform .4s ease;
}
.portfolio-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.portfolio-card:hover::before { transform: scaleX(1); }
.portfolio-card .num {
    font-size: 56px; font-weight: 700;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
    line-height: 1; margin-bottom: 16px; opacity: .25;
}
.portfolio-card h3 { color: var(--green-700); margin-bottom: 12px; }
.portfolio-card p { color: var(--ink-2); margin-bottom: 20px; }
.portfolio-card .learn-more {
    font-weight: 600; color: var(--green-700);
    display: inline-flex; align-items: center; gap: 6px;
}
.portfolio-card .learn-more:hover { color: var(--green-400); }
.portfolio-card .learn-more::after { content: "→"; transition: transform .2s; }
.portfolio-card .learn-more:hover::after { transform: translateX(4px); }

/* ========== DETAILED SERVICES ========== */
.detail-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.detail-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    padding: 28px;
    transition: all .25s ease;
    display: flex; gap: 18px;
    align-items: flex-start;
}
.detail-card:hover { border-color: var(--green-400); box-shadow: var(--shadow-md); }
.detail-card .icon {
    flex-shrink: 0;
    width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--green-50);
    color: var(--green-700);
    display: inline-flex; align-items: center; justify-content: center;
}
.detail-card .icon svg { width: 24px; height: 24px; }
.detail-card h4 {
    font-size: 1.1rem; font-weight: 600;
    color: var(--ink); margin: 0 0 6px;
}
.detail-card p { color: var(--ink-2); margin: 0; font-size: .95rem; }

/* ========== PARTNERS ========== */
.partner-marquee {
    overflow: hidden; position: relative;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.partner-track {
    display: flex; gap: 48px; width: max-content;
    animation: marquee 28s linear infinite;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.partner-item {
    flex-shrink: 0;
    height: 80px; min-width: 180px;
    display: flex; align-items: center; justify-content: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 24px;
    font-weight: 700;
    color: var(--ink-2);
    letter-spacing: .5px;
    filter: grayscale(1);
    opacity: .75;
    transition: all .25s ease;
    white-space: nowrap;
    font-size: 1.05rem;
}
.partner-item:hover { filter: none; opacity: 1; border-color: var(--green-400); color: var(--green-700); }

/* ========== SUCCESS STORIES ========== */
.story-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; }
.customer-grid {
    display: grid; grid-template-columns: repeat(4,1fr); gap: 16px;
}
.customer-logo {
    aspect-ratio: 16/9;
    background: #fff; border: 1px solid var(--line);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--ink-2); font-weight: 600;
    transition: all .2s ease;
    font-size: 14px; text-align: center; padding: 16px;
    overflow: hidden;
}
.customer-logo img {
    max-width: 100%; max-height: 100%;
    width: auto; height: auto;
    object-fit: contain;
    filter: grayscale(40%);
    opacity: .85;
    transition: all .25s ease;
}
.customer-logo:hover { border-color: var(--green-400); color: var(--green-700); transform: translateY(-2px); }
.customer-logo:hover img { filter: grayscale(0%); opacity: 1; }
.testimonial {
    background: var(--grad);
    color: #fff;
    padding: 36px 32px;
    border-radius: var(--radius);
    position: relative;
    box-shadow: var(--shadow-lg);
}
.testimonial::before {
    content: "“";
    font-size: 120px;
    position: absolute; top: -28px; left: 20px;
    color: rgba(255,255,255,.2);
    font-family: Georgia, serif;
    line-height: 1;
}
.testimonial blockquote {
    margin: 0 0 20px; font-size: 1.05rem; font-style: italic;
    position: relative; z-index: 1;
}
.testimonial cite { font-weight: 600; font-style: normal; display: block; }
.testimonial cite small { display: block; font-weight: 400; opacity: .85; margin-top: 2px; }

/* ========== CERTIFICATES ========== */
.certs {
    display: grid; grid-template-columns: repeat(6,1fr); gap: 16px;
}
.cert-item {
    aspect-ratio: 1/1;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 14px 10px; text-align: center;
    transition: all .25s ease;
}
.cert-item:hover { border-color: var(--green-400); transform: translateY(-3px); }
.cert-item .badge {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--grad);
    display: flex; align-items: center; justify-content: center;
    color: #fff; margin-bottom: 10px; flex-shrink: 0;
}
.cert-item .badge svg { width: 22px; height: 22px; }
.cert-item span { font-size: 12px; font-weight: 600; color: var(--ink-2); line-height: 1.2; }

/* ========== CTA BAND ========== */
.cta-band {
    background: var(--grad);
    color: #fff; text-align: center;
    padding: 72px 24px;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 15% 30%, rgba(255,255,255,.15), transparent 40%),
        radial-gradient(circle at 85% 70%, rgba(0,0,0,.10), transparent 45%);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 620px; margin: 0 auto 32px; font-size: 1.05rem; }

/* ========== FOOTER ========== */
.site-footer {
    background: #071c14;
    color: rgba(255,255,255,.78);
    padding: 72px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.4fr;
    gap: 40px;
    margin-bottom: 56px;
}
.footer-col h4 {
    color: #fff; font-size: 1rem; margin: 0 0 20px;
    text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700;
}
.footer-col p, .footer-col li { color: rgba(255,255,255,.7); font-size: 14.5px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: 6px 0; }
.footer-col a { color: rgba(255,255,255,.78); }
.footer-col a:hover { color: var(--green-400); }
.footer-col .site-logo img { height: 50px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-contact li {
    display: flex; gap: 12px; align-items: flex-start;
}
.footer-contact li svg {
    flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px;
    color: var(--green-400);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 24px;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
    font-size: 13.5px;
    color: rgba(255,255,255,.55);
}
.socials { display: flex; gap: 10px; }
.socials a {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,.08);
    display: inline-flex; align-items: center; justify-content: center;
    transition: all .2s;
}
.socials a:hover { background: var(--green-400); }
.socials svg { width: 16px; height: 16px; color: #fff; }

/* ========== INNER PAGE ========== */
.page-hero {
    background: var(--grad);
    color: #fff;
    padding: 100px 0 72px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(0,223,114,.3), transparent 50%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin: 0 0 12px; }
.page-hero .breadcrumb {
    font-size: 14px;
    color: rgba(255,255,255,.85);
}
.page-hero .breadcrumb a { color: #fff; }
.page-hero .breadcrumb a:hover { color: var(--green-400); }

.prose h2 { color: var(--green-700); margin-top: 40px; }
.prose h3 { color: var(--green-700); }
.prose ul li { margin-bottom: 8px; }

/* ========== CONTACT FORM ========== */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; }
.contact-info h3 { color: var(--green-700); }
.contact-info ul { list-style: none; padding: 0; margin: 24px 0; }
.contact-info li {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px dashed var(--line);
}
.contact-info li svg {
    width: 22px; height: 22px; color: var(--green-700); flex-shrink: 0; margin-top: 3px;
}
.contact-info li strong { display: block; color: var(--ink); margin-bottom: 2px; }
.contact-info li span { color: var(--ink-2); font-size: .95rem; }

.contact-form {
    background: #fff;
    padding: 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--line);
}
.contact-form label {
    display: block;
    font-size: 13px; font-weight: 600;
    margin-bottom: 6px; color: var(--ink);
    text-transform: uppercase; letter-spacing: .5px;
}
.contact-form input, .contact-form textarea, .contact-form select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    font-family: inherit; font-size: 15px;
    margin-bottom: 18px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
    outline: 0;
    border-color: var(--green-700);
    box-shadow: 0 0 0 4px rgba(0,130,83,.12);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note {
    font-size: 13px; color: var(--muted); margin-top: 8px;
}

/* ========== SERVICE DETAIL BLOCK ========== */
.svc-section { padding: 72px 0; }
.svc-section + .svc-section { border-top: 1px solid var(--line); }
.svc-header {
    display: grid; grid-template-columns: 1fr 2fr; gap: 48px; margin-bottom: 40px; align-items: start;
}
.svc-header .svc-num {
    font-size: 5rem; font-weight: 700;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
    line-height: 1;
}
.svc-header h2 { color: var(--green-700); margin: 0; }
.svc-header p { color: var(--ink-2); margin-top: 12px; font-size: 1.05rem; }
.svc-points { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.svc-point {
    padding: 18px 22px;
    border-left: 3px solid var(--green-400);
    background: var(--green-50);
    border-radius: 0 10px 10px 0;
}
.svc-point strong { color: var(--green-700); display: block; margin-bottom: 4px; }
.svc-point span { color: var(--ink-2); font-size: .95rem; }

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .section { padding: 64px 0; }
    .hero { min-height: auto; padding: 80px 0; }
    .hero-grid, .about-snap, .contact-grid, .story-grid, .svc-header { grid-template-columns: 1fr; gap: 40px; }
    .hero-art { height: 320px; }
    .why-grid, .portfolio-grid { grid-template-columns: 1fr; }
    .detail-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .customer-grid { grid-template-columns: repeat(3,1fr); }
    .certs { grid-template-columns: repeat(4,1fr); }

    .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .main-nav {
        position: fixed; top: 78px; left: 0; right: 0; bottom: 0;
        background: #fff;
        transform: translateX(100%); transition: transform .25s ease;
        overflow-y: auto; padding: 24px;
        z-index: 99;
    }
    .main-nav.is-open { transform: translateX(0); }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav li { border-bottom: 1px solid var(--line); }
    .main-nav a { padding: 16px 4px; display: block; font-size: 16px; }
    .main-nav .submenu {
        position: static; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: 0; padding: 0 0 8px 16px; margin: 0;
    }
    .hero-stats { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 600px) {
    .detail-grid { grid-template-columns: 1fr; }
    .customer-grid { grid-template-columns: repeat(2,1fr); }
    .certs { grid-template-columns: repeat(3,1fr); }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    h1 { font-size: 2.1rem; }
}

/* ========== UTILITIES ========== */
.text-center { text-align: center; }
.fade-up { opacity: 0; transform: translateY(24px); transition: all .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
