/* ============================================
   Navayuga Apps — Design System
   Mobile-first • Dark Premium UI
   ============================================ */

/* ─── CSS Reset ──────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover { color: var(--secondary); }

ul, ol { list-style: none; }

/* ─── Skip Link ──────────────────────────── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    padding: .8rem 1.5rem;
    background: var(--primary);
    color: #fff;
    z-index: 10000;
    font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ─── Container ──────────────────────────── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ─── Typography ─────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.15rem; }

.section__label {
    display: inline-block;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: .5rem;
}

.section__title {
    margin-bottom: .75rem;
}

.section__subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto 2.5rem;
}

.text-center { text-align: center; }
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── Buttons ────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .8rem 1.8rem;
    border: none;
    border-radius: 50px;
    font-family: inherit;
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.35s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: linear-gradient(135deg, #C51D24, #E50914);
    color: #fff;
    box-shadow: 0 4px 20px rgba(197,29,36,.4);
}
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(229,9,20,.55);
    color: #fff;
}

.btn--outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(0,0,0,.15);
}
.btn--outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn--secondary {
    background: linear-gradient(135deg, #FFFFFF, #E5E5E5);
    color: #0A0A0A;
    box-shadow: 0 4px 20px rgba(255,255,255,.15);
}
.btn--secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(255,255,255,.25);
    color: #0A0A0A;
}

.btn--accent {
    background: linear-gradient(135deg, #C51D24, #FF3B3B);
    color: #fff;
}

.btn--sm { padding: .55rem 1.3rem; font-size: .85rem; }
.btn--lg { padding: 1rem 2.5rem; font-size: 1.05rem; }

/* ─── Cards ──────────────────────────────── */
.card {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,.08);
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #C51D24, #E50914);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(197,29,36,.3);
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
}

.card:hover::before { opacity: 1; }

.card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(197,29,36,.15), rgba(229,9,20,.08));
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
}

.card__title {
    font-size: 1.2rem;
    margin-bottom: .6rem;
}

.card__text {
    color: var(--text-secondary);
    font-size: .95rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.card__link {
    font-weight: 600;
    font-size: .9rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}
.card__link i { transition: transform 0.3s; }
.card__link:hover i { transform: translateX(4px); }

/* ─── Header / Nav ───────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.35s ease;
    background: transparent;
}

.site-header.scrolled {
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: .6rem 0;
    box-shadow: 0 4px 30px rgba(0,0,0,.08);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo { display: flex; align-items: center; }

.nav__logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #C51D24, #E50914);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -.5px;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: .2rem;
}

.nav__link {
    padding: .55rem 1rem;
    color: var(--text-secondary);
    font-size: .9rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s;
}
.nav__link:hover,
.nav__link.active {
    color: var(--text-primary);
    background: rgba(0,0,0,.04);
}
.nav__link.active { color: var(--primary); }

.nav__cta-wrap { margin-left: .8rem; }
.nav__cta { white-space: nowrap; }

/* Mobile nav toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: .5rem;
    z-index: 1001;
}
.nav__toggle-bar {
    width: 24px;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s;
}

.nav__toggle.active .nav__toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav__toggle.active .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav__toggle.active .nav__toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── Sections ───────────────────────────── */
.section {
    padding: 5rem 0;
    position: relative;
}
.section--alt { background: rgba(0,0,0,.02); }

/* ─── Hero Section ───────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197,29,36,.12), transparent 70%);
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -15%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229,9,20,.08), transparent 70%);
    animation: float 10s ease-in-out 2s infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem 1.2rem;
    border-radius: 50px;
    background: rgba(197,29,36,.12);
    border: 1px solid rgba(197,29,36,.3);
    color: var(--primary);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero__title {
    margin-bottom: 1.2rem;
    font-weight: 800;
}

.hero__subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero__buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Floating particles */
.hero__particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: .3;
    animation: rise 6s ease-in-out infinite;
}
.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 25%; animation-delay: 1.5s; width: 3px; height: 3px; }
.particle:nth-child(3) { left: 45%; animation-delay: 3s; }
.particle:nth-child(4) { left: 65%; animation-delay: .8s; width: 5px; height: 5px; background: var(--secondary); }
.particle:nth-child(5) { left: 80%; animation-delay: 2.5s; }
.particle:nth-child(6) { left: 90%; animation-delay: 4s; width: 3px; height: 3px; background: var(--accent); }

@keyframes rise {
    0% { bottom: -5%; opacity: 0; }
    50% { opacity: .4; }
    100% { bottom: 105%; opacity: 0; }
}

/* ─── Services Grid ──────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* ─── Products Grid ──────────────────────── */
.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.product-card {
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,.08);
    overflow: hidden;
    transition: all 0.4s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0,0,0,.3);
    border-color: rgba(197,29,36,.3);
}

.product-card__image {
    position: relative;
    background: linear-gradient(135deg, rgba(197,29,36,.06), rgba(197,29,36,.02));
    padding: 2.5rem;
    text-align: center;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card__image img {
    max-height: 180px;
    border-radius: 12px;
}

.product-card__image .product-icon {
    font-size: 4rem;
    color: var(--primary);
    opacity: .5;
}

.product-card__body { padding: 2rem; }

.product-card__title {
    font-size: 1.4rem;
    margin-bottom: .6rem;
}

.product-card__desc {
    color: var(--text-secondary);
    font-size: .95rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.product-card__features {
    margin-bottom: 1.5rem;
}

.product-card__features li {
    padding: .35rem 0;
    color: var(--text-secondary);
    font-size: .9rem;
    display: flex;
    align-items: flex-start;
    gap: .6rem;
}
.product-card__features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--secondary);
    font-size: .75rem;
    margin-top: .35rem;
    flex-shrink: 0;
}

/* ─── About Preview ──────────────────────── */
.about-preview {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-preview__content { order: 2; }
.about-preview__visual {
    order: 1;
    position: relative;
}

.about-preview__visual-box {
    background: linear-gradient(135deg, rgba(197,29,36,.04), rgba(197,29,36,.01));
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    border: 1px solid rgba(0,0,0,.08);
    position: relative;
    overflow: hidden;
}

.about-preview__visual-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='g' width='60' height='60' patternUnits='userSpaceOnUse'%3E%3Cpath d='M0 30h60M30 0v60' stroke='rgba(255,255,255,.03)' fill='none'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23g)'/%3E%3C/svg%3E");
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
}

.stat-item__number {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: .4rem;
}

.stat-item__label {
    font-size: .85rem;
    color: var(--text-secondary);
}

/* ─── CTA Section ────────────────────────── */
.cta-section {
    text-align: center;
    padding: 5rem 0;
    position: relative;
}

.cta-section__box {
    background: linear-gradient(135deg, rgba(197,29,36,.06), rgba(197,29,36,.02));
    border: 1px solid rgba(197,29,36,.2);
    border-radius: 24px;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta-section__box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(197,29,36,.08), transparent 70%);
    pointer-events: none;
}

.cta-section__title {
    margin-bottom: .8rem;
    position: relative;
}

.cta-section__subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    position: relative;
}

/* ─── Contact Form ───────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: .9rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: .5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: .9rem 1.2rem;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 12px;
    background: rgba(0,0,0,.02);
    color: var(--text-primary);
    font-family: inherit;
    font-size: .95rem;
    transition: all 0.3s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(197,29,36,.06);
    box-shadow: 0 0 0 3px rgba(197,29,36,.15);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-info__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(197,29,36,.15), rgba(229,9,20,.08));
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info__text h4 {
    font-size: 1rem;
    margin-bottom: .25rem;
}

.contact-info__text p {
    color: var(--text-secondary);
    font-size: .9rem;
}

.contact-info__text a {
    color: var(--text-secondary);
}

/* Form feedback */
.form-message {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: .9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    display: none;
}
.form-message--success {
    background: rgba(0,200,150,.1);
    border: 1px solid rgba(0,200,150,.3);
    color: #00C896;
    display: block;
}
.form-message--error {
    background: rgba(255,101,132,.1);
    border: 1px solid rgba(255,101,132,.3);
    color: var(--accent);
    display: block;
}

/* ─── Service Detail ─────────────────────── */
.service-detail {
    padding-top: 8rem;
}

.service-detail__hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.service-detail__content h1 { margin-bottom: 1rem; }
.service-detail__content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.service-detail__image {
    background: linear-gradient(135deg, rgba(197,29,36,.06), rgba(197,29,36,.02));
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    border: 1px solid rgba(0,0,0,.08);
}

.service-detail__image .detail-icon {
    font-size: 5rem;
    color: var(--primary);
    opacity: .6;
}

/* Other services sidebar */
.other-services {
    margin-top: 3rem;
}

.other-services__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.other-services__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.08);
    transition: all 0.3s;
}

.other-services__item:hover {
    border-color: rgba(197,29,36,.3);
    transform: translateX(4px);
}

.other-services__item i {
    color: var(--primary);
    font-size: 1.2rem;
    width: 40px;
    text-align: center;
}

.other-services__item span {
    font-weight: 500;
    color: var(--text-secondary);
}

/* ─── Product Detail ─────────────────────── */
.product-detail {
    padding-top: 8rem;
}

.product-detail__hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.product-detail__content h1 { margin-bottom: 1rem; }
.product-detail__content > p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.feature-list, .benefit-list {
    margin-bottom: 2rem;
}

.feature-list h3, .benefit-list h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.feature-list li, .benefit-list li {
    padding: .5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-size: .95rem;
}

.feature-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--secondary);
    font-size: .75rem;
    margin-top: .35rem;
}

.benefit-list li::before {
    content: '\f0e7';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent);
    font-size: .75rem;
    margin-top: .35rem;
}

/* ─── Portfolio Grid ─────────────────────── */
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.portfolio-card {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,.08);
    overflow: hidden;
    transition: all 0.4s;
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,.3);
}

.portfolio-card__image {
    position: relative;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, rgba(197,29,36,.06), rgba(197,29,36,.02));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.portfolio-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.portfolio-card:hover .portfolio-card__overlay { opacity: 1; }

.portfolio-card__body { padding: 1.5rem; }
.portfolio-card__category {
    font-size: .75rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: .4rem;
}

.portfolio-card__title { font-size: 1.1rem; margin-bottom: .4rem; }
.portfolio-card__desc { color: var(--text-secondary); font-size: .9rem; }

/* ─── About Page ─────────────────────────── */
.about-hero {
    padding-top: 8rem;
    text-align: center;
}

.about-hero p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 700px;
    margin: 1rem auto 0;
    line-height: 1.8;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* ─── 404 Page ───────────────────────────── */
.page-404 {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 0;
}

.page-404__code {
    font-size: 8rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1rem;
}

.page-404 p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* ─── Page Header ────────────────────────── */
.page-header {
    padding-top: 8rem;
    padding-bottom: 3rem;
    text-align: center;
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #C51D24, #E50914);
    border-radius: 2px;
}

/* ─── Empty State ────────────────────────── */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 3rem;
    color: rgba(0,0,0,.1);
    margin-bottom: 1rem;
}

/* ─── Footer ─────────────────────────────── */
.site-footer {
    background: rgba(0,0,0,.02);
    border-top: 1px solid rgba(0,0,0,.08);
    padding: 4rem 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}

.footer__brand {
    max-width: 350px;
}

.footer__logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer__desc {
    color: var(--text-secondary);
    font-size: .9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer__social {
    display: flex;
    gap: .8rem;
}

.footer__social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(0,0,0,.05);
    color: var(--text-secondary);
    font-size: .9rem;
    transition: all 0.3s;
}

.footer__social a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.footer__heading {
    font-size: 1rem;
    margin-bottom: 1.2rem;
    position: relative;
}

.footer__links ul li { margin-bottom: .6rem; }
.footer__links ul li a {
    color: var(--text-secondary);
    font-size: .9rem;
    transition: all 0.3s;
}
.footer__links ul li a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    color: var(--text-secondary);
    font-size: .9rem;
}
.footer__contact li i {
    color: var(--primary);
    margin-top: .25rem;
    width: 16px;
    text-align: center;
}

.footer__bottom {
    border-top: 1px solid rgba(0,0,0,.08);
    padding: 1.5rem 0;
    text-align: center;
}
.footer__bottom p {
    color: var(--text-secondary);
    font-size: .85rem;
}

/* ─── Animations ─────────────────────────── */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered animations */
.stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { transition-delay: .1s; }
.stagger.visible > *:nth-child(3) { transition-delay: .2s; }
.stagger.visible > *:nth-child(4) { transition-delay: .3s; }
.stagger.visible > *:nth-child(5) { transition-delay: .4s; }
.stagger.visible > *:nth-child(6) { transition-delay: .5s; }
.stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* Shimmer */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Pulse glow */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(197,29,36,.4); }
    50% { box-shadow: 0 0 0 12px rgba(197,29,36,0); }
}

.pulse { animation: pulse-glow 2s ease-in-out infinite; }

/* ─── Responsive: Tablet ─────────────────── */
@media (min-width: 768px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr 1fr; }
    .footer__grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .about-preview { grid-template-columns: 1fr 1fr; }
    .about-preview__content { order: 1; }
    .about-preview__visual { order: 2; }
    .service-detail__hero { grid-template-columns: 1fr 1fr; }
    .product-detail__hero { grid-template-columns: 1fr 1fr; }
    .other-services__list { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Responsive: Desktop ────────────────── */
@media (min-width: 1024px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
    .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
    .values-grid { grid-template-columns: repeat(3, 1fr); }
    .other-services__list { grid-template-columns: repeat(3, 1fr); }
}

/* ─── Responsive: Mobile Nav ─────────────── */
@media (max-width: 767px) {
    .nav__toggle { display: flex; }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(255,255,255,.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        gap: .3rem;
        transition: right 0.4s cubic-bezier(.4,0,.2,1);
        box-shadow: -20px 0 60px rgba(0,0,0,.1);
        z-index: 999;
    }

    .nav__menu.open { right: 0; }

    .nav__link {
        width: 100%;
        padding: .8rem 1rem;
        font-size: 1rem;
    }

    .nav__cta-wrap {
        margin-left: 0;
        margin-top: 1rem;
        width: 100%;
    }

    .nav__cta {
        width: 100%;
        text-align: center;
    }

    /* Overlay */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.3);
        z-index: 998;
    }
    .nav-overlay.visible { display: block; }

    .hero__buttons { flex-direction: column; }
    .hero__buttons .btn { width: 100%; }
}

/* ─── Scrollbar ──────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb {
    background: rgba(197,29,36,.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(197,29,36,.5); }

/* ─── Selection ──────────────────────────── */
::selection {
    background: rgba(197,29,36,.3);
    color: #fff;
}

/* ─── Loading spinner ────────────────────── */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(255,255,255,.2);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ─── Service Schema Section ─────────────── */
.schema-services { display: none; }
