:root {
    --primary-red: #F53939;
    --primary-red-hover: #E02E2E;
    --bg-warm: #FAFAF7;
    --bg-card: #FFFFFF;
    --bg-hero: linear-gradient(180deg, #FAFAFA 0%, #F5F5F0 100%);
    --bg-footer: linear-gradient(180deg, #FAFAFA 0%, #F5F5F0 100%);
    --text-dark: #1A1A1A;
    --text-secondary: #555555;
    --text-muted: #888888;
    --border-light: #EAEAEA;
    --border-card: rgba(0,0,0,0.04);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
    --shadow-xl: 0 12px 48px rgba(0,0,0,0.1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --texture-dot: rgba(0,0,0,0.03);
    --img-bg: #f0f0f0;
    --btn-white-bg: #FFFFFF;
    --btn-white-border: #EAEAEA;
    --social-bg: #f0f0f0;
    --scroll-thumb: #ccc;
}

[data-theme="dark"] {
    --primary-red: #FF5252;
    --primary-red-hover: #E02E2E;
    --bg-warm: #0B0B0E;
    --bg-card: #16161C;
    --bg-hero: linear-gradient(180deg, #0F0F13 0%, #0B0B0E 100%);
    --bg-footer: linear-gradient(180deg, #0F0F13 0%, #0B0B0E 100%);
    --text-dark: #F0F0F5;
    --text-secondary: #B0B0C5;
    --text-muted: #9A9AAF;
    --border-light: #2A2A35;
    --border-card: rgba(255,255,255,0.06);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.35);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.4);
    --shadow-xl: 0 12px 48px rgba(0,0,0,0.5);
    --texture-dot: rgba(255,255,255,0.04);
    --img-bg: #1c1c24;
    --btn-white-bg: #1E1E28;
    --btn-white-border: #2E2E3A;
    --social-bg: #1E1E28;
    --scroll-thumb: #444;
}

/* Hide by default (phones) */
.btn.desktop-only { display: none; }
@media (min-width: 768px) {
    .btn.desktop-only { display: inline-block; }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background-color: var(--bg-warm);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-warm); }
::-webkit-scrollbar-thumb { background: var(--scroll-thumb); border-radius: 4px; }

/* Utilities */
.text-red { color: var(--primary-red); }
.bg-red { background-color: var(--primary-red); }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
@media (min-width: 768px) {
    .container { padding: 0 40px; }
}

/* Fade Up */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav-wrapper {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 20px 0 0;
    transition: all 0.4s ease;
}
.nav-wrapper.scrolled { padding: 12px 0 0; }

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}
@media (min-width: 768px) {
    .nav-inner { padding: 0 40px; }
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    --tw-backdrop-blur: blur(var(--blur-xl));
    backdrop-filter: var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);
    border: 0px transparent;
    border-radius: 30px;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 12px;
    padding-right: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
    width: 187%;
    transition: all 0.4s ease;
}

.nav-wrapper.scrolled .navbar {
    background: rgba(255,255,255,0.75);
    border-color: var(--border-light);
    box-shadow: var(--shadow-md);
}
[data-theme="dark"] .nav-wrapper.scrolled .navbar {
    background: rgba(22, 22, 28, 0.85);
    border-color: var(--border-card);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: -0.3px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: transparent;
}
.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--primary-red); }

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: background 0.2s ease;
}
.theme-toggle:hover { background: rgba(128,128,128,0.12); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-red {
    background: var(--primary-red);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px rgba(245, 57, 57, 0.25);
}
.btn-red:hover {
    background: var(--primary-red-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(245, 57, 57, 0.35);
}

.btn-white {
    background: var(--btn-white-bg);
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    border: 1px solid var(--btn-white-border);
    box-shadow: var(--shadow-sm);
}
.btn-white:hover {
    border-color: var(--text-muted);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn-lg { padding: 14px 28px; font-size: 15px; }

.btn-light-red {
    background: rgba(245, 57, 57, 0.08);
    color: var(--primary-red);
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
}
[data-theme="dark"] .btn-light-red {
    background: rgba(245, 57, 57, 0.15);
}
.btn-light-red:hover {
    background: rgba(245, 57, 57, 0.15);
    transform: translateY(-1px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px; height: 40px;
    color: var(--text-dark);
    transition: color 0.3s ease;
}
.mobile-menu-btn:focus { outline: none; }

/* Mobile Nav Overlay & Panel */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.mobile-nav-overlay.active { opacity: 1; pointer-events: all; }

.mobile-nav {
    position: fixed;
    top: 0; right: 0;
    width: 280px; height: 100vh;
    background: var(--bg-card);
    z-index: 999;
    padding: 100px 32px 32px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: var(--shadow-xl);
}
.mobile-nav.active { transform: translateX(0); }

.mobile-nav a {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
    transition: color 0.2s ease;
}
.mobile-nav a:last-of-type { border-bottom: none; margin-top: 8px; }
.mobile-nav a:hover { color: var(--primary-red); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
    background: var(--bg-hero);
    transition: background 0.3s ease;
}

.hero-bg-texture {
    position: absolute;
    inset: 0;
    opacity: 0.5;
    background-image: radial-gradient(circle at 1px 1px, var(--texture-dot) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
    text-align: center;
    justify-items: center;
}

.hero-content { max-width: 720px; margin: 0 auto; }

.hero-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-red);
    margin-bottom: 20px;
    padding: 6px 14px;
    background: rgba(245, 57, 57, 0.08);
    border-radius: var(--radius-full);
}
[data-theme="dark"] .hero-label {
    background: rgba(245, 57, 57, 0.15);
}

.hero-title {
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -1.5px;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    justify-content: center;
}



/* ============================================
   SECTION LABELS
   ============================================ */
.section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-red);
    margin-bottom: 16px;
    display: inline-block;
}

.section-title {
    font-size: clamp(28px, 3.5vw, 40px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-dark);
}

/* ============================================
   SERVICES
   ============================================ */
.services { padding: 100px 0 60px; position: relative; }

.services-header {
    text-align: center;
    margin-bottom: 64px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-bottom: 28px;
    padding-bottom: 10px;
}

.service-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.35s ease;
    border: 1px solid var(--border-card);
    overflow: hidden;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-card-img {
    width: 100%;
    height: 180px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 20px;
    background: var(--img-bg);
}
.service-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.05); }

.service-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.service-card-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    transition: gap 0.2s ease;
}
.service-card-link:hover { gap: 10px; color: var(--primary-red); }
.service-card-link svg { width: 16px; height: 16px; }

/* ============================================
   SUCCESS BLUEPRINT
   ============================================ */
.blueprint { padding: 100px 0; position: relative; }

.blueprint-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 60px;
}
@media (min-width: 768px) {
    .blueprint-header { grid-template-columns: 1fr 1fr; gap: 60px; }
}

.blueprint-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    padding-top: 0;
}
@media (min-width: 768px) {
    .blueprint-desc { padding-top: 32px; }
}

.blueprint-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
}

.step-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-card);
    transition: all 0.35s ease;
    text-align: center;
}
.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--primary-red);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: 0 4px 12px rgba(245, 57, 57, 0.3);
}

.step-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.step-desc {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.blueprint-cta { text-align: center; margin-top: 48px; }

/* ============================================
   PRODUCTS
   ============================================ */
.products { padding: 100px 0; position: relative; }

.products-header { text-align: center; margin-bottom: 64px; }

.product-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 24px;
    border: 1px solid var(--border-card);
    align-items: center;
    transition: all 0.35s ease;
}
@media (min-width: 768px) {
    .product-card {
        grid-template-columns: 1.1fr 1fr;
        gap: 48px;
        padding: 32px;
    }
}
.product-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

.product-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 280px;
    background: var(--img-bg);
}
@media (min-width: 768px) {
    .product-image { height: 380px; }
}
.product-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-image img { transform: scale(1.03); }

.product-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.product-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.product-features { list-style: none; margin-bottom: 28px; }
.product-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-dark);
    padding: 8px 0;
    font-weight: 500;
}
.product-features li svg {
    width: 20px; height: 20px;
    color: var(--primary-red);
    flex-shrink: 0;
}

.product-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    transition: gap 0.2s ease;
    margin-top: 32px;
}
.view-all-link:hover { gap: 10px; color: var(--primary-red); }

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio { padding: 100px 0; position: relative; }
.portfolio-header { margin-bottom: 48px; }

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.portfolio-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-card);
    transition: all 0.4s ease;
}
.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.portfolio-card-img {
    height: 280px;
    overflow: hidden;
    background: var(--img-bg);
}
.portfolio-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.portfolio-card:hover .portfolio-card-img img { transform: scale(1.05); }

.portfolio-card-content { padding: 28px; }
.portfolio-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}
.portfolio-card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ============================================
   TEAM
   ============================================ */
.team { padding: 100px 0; position: relative; }
.team-header { text-align: center; margin-bottom: 64px; }

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.team-member { text-align: center; transition: transform 0.3s ease; }
.team-member:hover { transform: translateY(-4px); }

.team-avatar {
    width: 160px; height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid var(--bg-card);
    box-shadow: var(--shadow-lg);
    transition: box-shadow 0.3s ease;
}
.team-member:hover .team-avatar { box-shadow: var(--shadow-xl); }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }

.team-name { font-size: 18px; font-weight: 700; margin-bottom: 4px; color: var(--text-dark); }
.team-role { font-size: 14px; color: var(--text-secondary); margin-bottom: 14px; font-weight: 500; }

.team-socials {
    display: flex;
    justify-content: center;
    gap: 12px;
}
.team-socials a {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background: var(--social-bg);
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
    text-decoration: none;
}
.team-socials a:hover {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
    transform: translateY(-2px);
}
.team-socials a svg { width: 16px; height: 16px; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-footer);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

.footer-gradient {
    position: absolute;
    bottom: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(245, 57, 57, 0.08) 0%, transparent 70%);
    pointer-events: none;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 60px;
}
@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
}

.footer-brand .logo { margin-bottom: 16px; font-size: 16px; }
.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
    max-width: 280px;
}

.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
    text-decoration: none;
}
.footer-socials a:hover {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
    transform: translateY(-2px);
}
.footer-socials a svg { width: 16px; height: 16px; }

.footer-column h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-column ul { list-style: none; }
.footer-column li { margin-bottom: 10px; }
.footer-column a {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.footer-column a:hover { color: var(--primary-red); }
.footer-column a svg { width: 14px; height: 14px; }

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}
@media (min-width: 768px) {
    .footer-bottom { flex-direction: row; }
}

.footer-copyright { font-size: 13px; color: var(--text-muted); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 13px; color: var(--text-muted); text-decoration: none; transition: color 0.2s ease; }
.footer-legal a:hover { color: var(--text-dark); }

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact { padding: 100px 0; position: relative; }

.contact-header { text-align: center; margin-bottom: 64px; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
}
@media (min-width: 768px) {
    .contact-grid { grid-template-columns: 1fr 1.3fr; gap: 64px; }
}

.contact-info {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--border-card);
    box-shadow: var(--shadow-sm);
    height: 100%;
}
.contact-info h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}
.contact-info > p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.contact-details { list-style: none; }
.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}
.contact-details li:last-child { border-bottom: none; }

.contact-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(245, 57, 57, 0.08);
    color: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
[data-theme="dark"] .contact-icon {
    background: rgba(245, 57, 57, 0.15);
}
.contact-icon svg { width: 20px; height: 20px; }

.contact-details li strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.contact-details li a,
.contact-details li span {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}
.contact-details li a:hover { color: var(--primary-red); }

.contact-socials {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}
.contact-socials a {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
    text-decoration: none;
    font-size: 16px;
}
.contact-socials a:hover {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
    transform: translateY(-2px);
}

.contact-form-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--border-card);
    box-shadow: var(--shadow-sm);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
@media (min-width: 768px) {
    .contact-form .form-row { grid-template-columns: 1fr 1fr; }
}

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

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    background: var(--bg-warm);
    color: var(--text-dark);
    font-family: var(--font-sans);
    font-size: 14px;
    transition: all 0.2s ease;
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(245, 57, 57, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

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

.btn-submit {
    width: 100%;
    padding: 16px 28px;
    font-size: 15px;
    margin-top: 8px;
}
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; }

.btn-loader {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-loader svg {
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   PAGE HERO (smaller variant for subpages)
   ============================================ */
.page-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
    background: var(--bg-hero);
    transition: background 0.3s ease;
}
.page-hero .hero-bg-texture {
    position: absolute;
    inset: 0;
    opacity: 0.5;
    background-image: radial-gradient(circle at 1px 1px, var(--texture-dot) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */
.about-story {
    padding: 80px 0;
    position: relative;
}
.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}
@media (min-width: 768px) {
    .story-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.story-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 400px;
    background: var(--img-bg);
    box-shadow: var(--shadow-lg);
}
.story-image img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.story-content h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}
.story-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    margin-top: 48px;
}
.value-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-card);
    transition: all 0.35s ease;
    text-align: center;
}
.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.value-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: rgba(245, 57, 57, 0.08);
    color: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.value-icon svg { width: 24px; height: 24px; }
.value-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}
.value-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ============================================
   COURSES PAGE STYLES
   ============================================ */
.courses { padding: 80px 0; position: relative; }
.courses-header { text-align: center; margin-bottom: 64px; }

.course-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-card);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}
.course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.course-card-img {
    height: 220px;
    overflow: hidden;
    background: var(--img-bg);
}
.course-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.course-card:hover .course-card-img img { transform: scale(1.05); }

.course-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.course-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary-red);
    margin-bottom: 12px;
    padding: 4px 10px;
    background: rgba(245, 57, 57, 0.08);
    border-radius: var(--radius-full);
}
.course-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}
.course-card-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex: 1;
}
.course-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--text-muted);
}
.course-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ============================================
   TRAINING PAGE STYLES
   ============================================ */
.training-why {
    padding: 80px 0;
    position: relative;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-top: 48px;
}
.why-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-card);
    transition: all 0.35s ease;
}
.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.why-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}
.why-card h3 svg {
    width: 20px; height: 20px;
    color: var(--primary-red);
    flex-shrink: 0;
}
.why-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.training-schedule {
    padding: 80px 0;
    position: relative;
}
.schedule-table-wrap {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid var(--border-card);
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
}
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.schedule-table th,
.schedule-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}
.schedule-table th {
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12px;
}
.schedule-table td {
    color: var(--text-secondary);
}
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table .tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}
.tag-red {
    background: rgba(245, 57, 57, 0.08);
    color: var(--primary-red);
}
.tag-green {
    background: rgba(34, 197, 94, 0.08);
    color: #22c55e;
}

/* ============================================
   START PROJECT PAGE
   ============================================ */
.project-types {
    padding: 80px 0;
    position: relative;
}
.project-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 48px;
}
.project-type-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-card);
    transition: all 0.35s ease;
    cursor: pointer;
    text-align: center;
}
.project-type-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(245, 57, 57, 0.2);
}
.project-type-card.active {
    border-color: var(--primary-red);
    box-shadow: 0 4px 20px rgba(245, 57, 57, 0.12);
}
.project-type-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: rgba(245, 57, 57, 0.08);
    color: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.project-type-icon svg { width: 24px; height: 24px; }
.project-type-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}
.project-type-card p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 767px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; align-items: center; justify-content: center; }
    .hero { padding: 120px 0 60px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .services-grid { grid-template-columns: 1fr; }
    .blueprint-steps { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; max-width: 320px; }
    .contact-info { padding: 28px; }
    .contact-form-card { padding: 28px; }
    .page-hero { padding: 120px 0 60px; min-height: 40vh; }
    .story-image { height: 280px; }
    .schedule-table-wrap { padding: 20px; }
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials { padding: 100px 0; position: relative; }
.testimonials-header { text-align: center; margin-bottom: 64px; }
.testimonials-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-top: 12px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.testimonial-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 40px 32px 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-card);
    transition: all 0.35s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}
.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.testimonial-quote-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: rgba(245, 57, 57, 0.08);
    color: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.testimonial-quote-icon svg { width: 22px; height: 22px; }
[data-theme="dark"] .testimonial-quote-icon {
    background: rgba(245, 57, 57, 0.15);
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 24px;
    flex: 1;
    font-weight: 500;
}

.testimonial-project {
    margin-bottom: 20px;
}
.project-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary-red);
    padding: 4px 10px;
    background: rgba(245, 57, 57, 0.08);
    border-radius: var(--radius-full);
    margin-bottom: 6px;
}
[data-theme="dark"] .project-tag {
    background: rgba(245, 57, 57, 0.15);
}
.project-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}
.author-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}
.author-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}
.author-info p {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.testimonial-result {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.08);
    padding: 10px 14px;
    border-radius: var(--radius-md);
}
.testimonial-result svg {
    width: 18px; height: 18px;
    flex-shrink: 0;
}
[data-theme="dark"] .testimonial-result {
    background: rgba(34, 197, 94, 0.12);
}
