/* ================================================================
   TECGYM BRAND COLOR SYSTEM
   Primary: #FF8400 | Gray: #807E7E
   ================================================================ */

:root {
    --brand-orange: #FF8400;
    --brand-orange-hover: #E87500;
    --brand-orange-active: #CC6A00;
    --brand-orange-light: #FFF3E6;
    --brand-orange-extra-light: #FFF8F2;
    --brand-gray: #807E7E;
    --brand-gray-dark: #666666;
    --brand-gray-medium: #A3A3A3;
    --brand-gray-light: #E5E5E5;
    --brand-gray-bg: #F8F8F8;
    --neutral-white: #FFFFFF;
    --neutral-heading: #1F2937;
    --neutral-paragraph: #4B5563;
    --neutral-muted: #6B7280;
    --neutral-border: #E5E7EB;
    --neutral-divider: #F2F2F2;
    --neutral-footer: #111827;
    --neutral-bg: #FAFAFA;
    --shadow-soft: 0 2px 12px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-orange: 0 8px 30px rgba(255, 132, 0, 0.20);
    --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.08);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-btn: 50px;
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --font-weight-heading: 700;
    --font-weight-body: 400;
}

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

body {
    font-family: var(--font-primary);
    background: var(--neutral-white);
    color: var(--neutral-paragraph);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--neutral-heading);
    font-weight: var(--font-weight-heading);
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ================================================================
   BUTTONS – Unified
   ================================================================ */
.btn {
    padding: 12px 32px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
}

.btn-primary {
    background: var(--brand-orange);
    color: var(--neutral-white);
    box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
    background: var(--brand-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 132, 0, 0.35);
    color: var(--neutral-white);
}
.btn-primary:active {
    background: var(--brand-orange-active);
    transform: translateY(0);
}

.btn-cta {
    background: var(--brand-orange);
    color: var(--neutral-white);
    padding: 10px 28px;
    border-radius: 40px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-cta:hover {
    background: var(--brand-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 132, 0, 0.25);
    color: var(--neutral-white);
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--brand-orange);
    outline-offset: 2px;
}

/* ================================================================
   HEADER – Dark Unified
   ================================================================ */
.hdr-6 {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: #141e2b;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hdr-6 .main {
    padding: 0 2rem;
    background: #141e2b;
    position: relative;
    z-index: 2;
}
.hdr-6 .inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    position: relative;
}
.hdr-6 .logo-img {
    height: 44px;
    width: auto;
    display: block;
    flex-shrink: 0;
}
.hdr-6 .nav {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}
.hdr-6 .nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    transition: all 0.25s;
}
.hdr-6 .nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}
.hdr-6 .nav a.active {
    color: var(--brand-orange);
    font-weight: 600;
    background: rgba(255, 132, 0, 0.06);
}
.hdr-6 .btn-cta {
    background: var(--brand-orange);
    color: #fff !important;
    padding: 0.4rem 1.6rem !important;
    border-radius: 40px !important;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}
.hdr-6 .btn-cta:hover {
    background: var(--brand-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 132, 0, 0.25);
}
.hdr-6 .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
}
.hdr-6 .hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: #fff;
    border-radius: 4px;
    transition: 0.3s ease;
    transform-origin: center;
}

@media (max-width: 768px) {
    .hdr-6 .inner {
        flex-wrap: wrap;
        height: auto;
        padding: 10px 0;
        gap: 10px;
    }
    .hdr-6 .hamburger {
        display: flex;
        order: 2;
        margin-left: auto;
    }
    .hdr-6 .btn-cta {
        order: 1;
        padding: 0.3rem 1rem !important;
        font-size: 0.8rem;
        margin-left: auto;
    }
    .hdr-6 .logo-img {
        height: 38px;
        order: 0;
        margin-right: auto;
    }
    .hdr-6 .nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        order: 3;
        padding: 0.8rem 0 0.3rem 0;
        gap: 0.2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.04);
        margin-top: 8px;
    }
    .hdr-6 .nav.open {
        display: flex;
    }
    .hdr-6 .nav a {
        font-size: 1rem;
        padding: 0.7rem 1rem;
        text-align: center;
        border-radius: 8px;
        color: rgba(255, 255, 255, 0.8);
    }
    .hdr-6 .nav a:hover {
        background: rgba(255, 255, 255, 0.04);
    }
    .hdr-6 .nav a.active {
        color: var(--brand-orange);
        background: rgba(255, 132, 0, 0.08);
    }
    .hdr-6 .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    .hdr-6 .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    .hdr-6 .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
}
@media (max-width: 480px) {
    .hdr-6 .btn-cta {
        font-size: 0.7rem;
        padding: 0.2rem 0.7rem !important;
    }
    .hdr-6 .logo-img {
        height: 32px;
    }
    .hdr-6 .hamburger span {
        width: 22px;
        height: 2px;
    }
}

/* ================================================================
   FEATURES MEGA MENU
   ================================================================ */
.features-mega {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #FFFFFF;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-top: 3px solid var(--brand-orange);
    padding: 30px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1030;
}
.features-mega.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.features-mega__inner {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.features-mega__accent {
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-orange);
    text-transform: uppercase;
    letter-spacing: 2px;
    writing-mode: vertical-lr;
    text-orientation: mixed;
    padding-right: 20px;
    border-right: 2px solid var(--brand-orange-light);
}
.features-mega__panel {
    flex: 1;
}
.features-mega__header h4 {
    font-weight: 700;
    color: var(--neutral-heading);
}
.features-mega__underline {
    display: block;
    width: 60px;
    height: 3px;
    background: var(--brand-orange);
    border-radius: 4px;
    margin-top: 8px;
}
.features-mega__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 24px;
    margin-top: 20px;
}
.features-mega__item {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--neutral-paragraph);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}
.features-mega__item:hover {
    background: var(--brand-orange-extra-light);
    color: var(--brand-orange);
    transform: translateX(4px);
}
.features-mega__item i {
    color: var(--brand-orange);
    font-size: 1.1rem;
}
.features-mega__card {
    background: var(--brand-orange-extra-light);
    padding: 24px;
    border-radius: var(--radius-sm);
    min-width: 220px;
    max-width: 280px;
}
.features-mega__card h5 {
    color: var(--neutral-heading);
}
.features-mega__card .btn-tecgym {
    background: var(--brand-orange);
    color: #FFFFFF;
    border: none;
    padding: 12px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    transition: all 0.3s ease;
}
.features-mega__card .btn-tecgym:hover {
    background: var(--brand-orange-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-orange);
}
@media (max-width: 992px) {
    .features-mega__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-mega__inner {
        flex-direction: column;
        gap: 20px;
    }
    .features-mega__accent {
        writing-mode: horizontal-tb;
        border-right: none;
        border-bottom: 2px solid var(--brand-orange-light);
        padding-bottom: 10px;
        padding-right: 0;
    }
    .features-mega__card {
        max-width: 100%;
        width: 100%;
    }
}
@media (max-width: 576px) {
    .features-mega__grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   HOW IT WORKS SECTION
   ================================================================ */
.how-it-works-section {
    padding: 80px 0;
    background: var(--neutral-white);
}
.how-it-works-header {
    text-align: center;
    margin-bottom: 60px;
}
.how-it-works-header h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--neutral-heading);
    margin-bottom: 15px;
}
.how-it-works-header p {
    font-size: 16px;
    color: var(--brand-orange);
    font-weight: 600;
}
.steps-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
}
.step-card {
    text-align: center;
    position: relative;
    border: 2px solid var(--neutral-border);
    border-radius: var(--radius);
    padding: 32px 24px 28px;
    background-color: var(--neutral-white);
    box-shadow: var(--shadow-soft);
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}
.step-card:hover {
    transform: translateY(-8px);
    border-color: var(--brand-orange);
    box-shadow: var(--shadow-hover);
}
.step-number {
    font-size: 18px;
    font-weight: 700;
    color: var(--brand-orange);
    background: var(--brand-orange-extra-light);
    padding: 4px 14px;
    border-radius: 30px;
    margin-bottom: 16px;
    display: inline-block;
}
.step-icon {
    font-size: 48px;
    color: var(--brand-orange);
    margin-bottom: 20px;
    display: block;
}
.step-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--neutral-heading);
    margin-bottom: 15px;
}
.step-card p {
    font-size: 14px;
    color: var(--neutral-paragraph);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 20px;
}
.step-btn {
    display: inline-block;
    margin-top: 0;
    padding: 8px 28px;
    background-color: var(--brand-orange);
    color: var(--neutral-white);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}
.step-btn:hover {
    background-color: var(--brand-orange-hover);
    color: var(--neutral-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 132, 0, 0.3);
}

/* ================================================================
   CTA SECTION
   ================================================================ */
.cta-section {
    padding: 60px 0;
    background: var(--neutral-white);
}
.cta-banner {
    background: linear-gradient(135deg, var(--brand-orange) 0%, #FFA940 100%) !important;
    border-radius: var(--radius) !important;
    padding: 50px 40px !important;
    color: var(--neutral-white) !important;
    box-shadow: var(--shadow-orange);
    text-align: center;
}
.cta-banner h2 {
    color: var(--neutral-white) !important;
}
.cta-banner p {
    color: rgba(255, 255, 255, 0.9) !important;
}
.cta-banner .cta-button {
    background: var(--neutral-white) !important;
    color: var(--brand-orange) !important;
    padding: 12px 36px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
}
.cta-banner .cta-button:hover {
    background: #f0f0f0 !important;
    color: var(--brand-orange-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* ================================================================
   VIDEO MODAL
   ================================================================ */
.video-modal .modal-content {
    background: #000;
    border: none;
}
.video-modal .modal-header {
    border: none;
    padding: 0.5rem 1rem;
}
.video-modal .modal-header .btn-close {
    filter: invert(1);
}
.video-modal .modal-body {
    padding: 0;
}
.video-modal .ratio {
    aspect-ratio: 16 / 9;
}
.video-modal .ratio iframe {
    width: 100%;
    height: 100%;
}

/* ================================================================
   QUOTE MODALS – EXACT MATCH with index.html
   ================================================================ */
.quote-modal .modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    background: #1a1a2e;
}
.quote-modal .modal-header {
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 20px 25px 10px 25px;
}
.quote-modal .modal-header .modal-title {
    color: #FFFFFF;
    font-weight: 700;
    font-size: 1.4rem;
}
.quote-modal .modal-header .btn-close {
    filter: invert(1) brightness(2);
    opacity: 0.7;
}
.quote-modal .modal-header .btn-close:hover {
    opacity: 1;
}
.quote-modal .modal-body {
    padding: 20px 25px 30px 25px;
}
.quote-modal .form-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 3px;
    letter-spacing: 0.3px;
}
.quote-modal .form-control {
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    color: #FFFFFF !important;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    width: 100%;
    transition: border-color 0.3s ease;
}
.quote-modal .form-control:focus {
    border-color: var(--brand-orange) !important;
    box-shadow: 0 0 0 2px rgba(255,132,0,0.15);
    background: rgba(255,255,255,0.08) !important;
}
.quote-modal .form-control::placeholder {
    color: #9CA3AF !important;
}
.quote-modal .form-control.is-invalid {
    border-color: #dc3545 !important;
}
.quote-modal .field-error {
    color: #ff6b6b;
    font-size: 0.7rem;
    display: none;
    margin-top: 2px;
}
.quote-modal .btn-primary {
    background: var(--brand-orange) !important;
    color: var(--neutral-white) !important;
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    width: 100%;
}
.quote-modal .btn-primary:hover {
    background: var(--brand-orange-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,132,0,0.25);
}
.quote-modal .btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.quote-success-modal .modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.quote-success-modal .modal-header {
    border-bottom: none;
    padding: 25px 30px 0 30px;
}
.quote-success-modal .modal-header .btn-close {
    font-size: 1.5rem;
    opacity: 0.7;
}
.quote-success-modal .modal-header .btn-close:hover {
    opacity: 1;
}
.quote-success-modal .modal-body {
    padding: 10px 30px 30px 30px;
    text-align: center;
}
.quote-success-modal .modal-body .success-icon {
    font-size: 4rem;
    color: var(--brand-orange);
    display: block;
    margin-bottom: 15px;
}
.quote-success-modal .modal-body h4 {
    font-weight: 700;
    color: var(--neutral-heading);
    margin-bottom: 10px;
}
.quote-success-modal .modal-body p {
    color: var(--neutral-paragraph);
    font-size: 1rem;
    margin-bottom: 0;
}

/* ================================================================
   FOOTER – Unified Dark with Get Quote Button
   ================================================================ */
.site-footer .footer-main {
    background: var(--neutral-footer) !important;
}
.site-footer .footer__heading {
    color: var(--neutral-white) !important;
}
.site-footer .footer__link {
    color: #D1D5DB !important;
    text-decoration: none;
    transition: color 0.3s ease;
}
.site-footer .footer__link:hover {
    color: var(--brand-orange) !important;
}
.site-footer .footer-bottom {
    background: var(--neutral-footer) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.site-footer .footer-bottom p {
    color: #9CA3AF !important;
}
.site-footer .footer__list {
    list-style: none;
    padding: 0;
}
.site-footer .footer__social-link {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    color: var(--brand-orange) !important;
}
.site-footer .footer__social-link:hover {
    border-color: var(--brand-orange-hover) !important;
    color: var(--brand-orange) !important;
    transform: translateY(-2px);
}

.btn-quote-modal {
    background: var(--brand-orange);
    color: #FFFFFF;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-orange);
    width: 100%;
    max-width: 320px;
}
.btn-quote-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 132, 0, 0.35);
    color: #FFFFFF;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 768px) {
    .how-it-works-section {
        padding: 40px 0;
    }
    .how-it-works-header h1 {
        font-size: 28px;
    }
    .steps-grid {
        gap: 30px;
    }
    .step-card {
        max-width: 100%;
        padding: 24px 18px;
    }
    .step-icon {
        font-size: 36px;
    }
    .cta-banner {
        padding: 30px 20px !important;
    }
    .cta-banner h2 {
        font-size: 1.8rem !important;
    }
    .site-footer .footer__heading {
        font-size: 1rem !important;
    }
    .site-footer .footer__link {
        font-size: 0.85rem !important;
    }
    .site-footer h2 {
        font-size: 1.5rem !important;
    }
    .site-footer .footer__social-link {
        width: 34px !important;
        height: 34px !important;
        font-size: 0.9rem !important;
    }
    .btn-quote-modal {
        max-width: 100%;
        font-size: 0.9rem;
        padding: 10px 24px;
    }
    .quote-modal .modal-body {
        padding: 15px 18px 20px 18px;
    }
    .quote-modal .modal-header {
        padding: 15px 18px 5px 18px;
    }
    .quote-modal .modal-header .modal-title {
        font-size: 1.2rem;
    }
    .quote-modal .form-control {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
    .quote-modal .btn-primary {
        font-size: 0.85rem;
        padding: 10px 20px;
    }
}
@media (max-width: 576px) {
    .how-it-works-header h1 {
        font-size: 24px;
    }
    .step-card h3 {
        font-size: 18px;
    }
    .step-card p {
        font-size: 13px;
    }
    .cta-banner {
        padding: 25px 16px !important;
    }
    .cta-banner h2 {
        font-size: 1.4rem !important;
    }
    .site-footer .footer__heading {
        font-size: 0.9rem !important;
    }
    .site-footer .footer__link {
        font-size: 0.8rem !important;
    }
    .site-footer h2 {
        font-size: 1.2rem !important;
    }
    .site-footer .footer__social-link {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.8rem !important;
    }
    .btn-quote-modal {
        font-size: 0.8rem;
        padding: 8px 18px;
    }
    .quote-modal .modal-body {
        padding: 12px 14px 16px 14px;
    }
    .quote-modal .modal-header {
        padding: 12px 14px 5px 14px;
    }
    .quote-modal .modal-header .modal-title {
        font-size: 1rem;
    }
    .quote-modal .form-control {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
    .quote-modal .btn-primary {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
    .quote-modal .form-label {
        font-size: 0.65rem;
    }
}