/* ========================================
   ALPHA MEDIA - MAIN STYLESHEET
   ======================================== */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    /* Colors */
    --clr-primary: #E63946;
    --clr-primary-dark: #c0313c;
    --clr-primary-light: #ff4d5a;
    --clr-secondary: #1D3557;
    --clr-secondary-light: #264673;
    --clr-accent: #F4A261;
    --clr-accent-light: #f7b97d;

    --clr-bg: #0a0f1a;
    --clr-bg-alt: #0f1623;
    --clr-surface: #141c2e;
    --clr-surface-light: #1a2640;
    --clr-surface-border: rgba(255, 255, 255, 0.06);

    --clr-text: #e8ecf4;
    --clr-text-muted: #8692a8;
    --clr-text-light: #a0aec0;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #E63946 0%, #F4A261 100%);
    --gradient-hero: linear-gradient(135deg, #0a0f1a 0%, #1D3557 50%, #0a0f1a 100%);
    --gradient-card: linear-gradient(135deg, rgba(230, 57, 70, 0.08) 0%, rgba(244, 162, 97, 0.08) 100%);
    --gradient-glow: radial-gradient(circle, rgba(230, 57, 70, 0.15) 0%, transparent 70%);

    /* Typography */
    --ff-heading: 'Montserrat', sans-serif;
    --ff-body: 'Inter', sans-serif;

    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-md: 1.125rem;
    --fs-lg: 1.25rem;
    --fs-xl: 1.5rem;
    --fs-2xl: 2rem;
    --fs-3xl: 2.5rem;
    --fs-4xl: 3.5rem;
    --fs-5xl: 4.5rem;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(230, 57, 70, 0.2);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Layout */
    --container-max: 1200px;
    --header-height: 80px;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--ff-body);
    font-size: var(--fs-base);
    line-height: 1.7;
    color: var(--clr-text);
    background-color: var(--clr-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.page-loaded {
    opacity: 1;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    color: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ===== UTILITIES ===== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto var(--space-4xl);
}

.section-tag {
    display: inline-block;
    font-family: var(--ff-heading);
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--clr-primary);
    background: rgba(230, 57, 70, 0.1);
    border: 1px solid rgba(230, 57, 70, 0.2);
    padding: 0.35em 1.2em;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

.section-title {
    font-family: var(--ff-heading);
    font-size: var(--fs-3xl);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.section-title--left {
    text-align: left;
}

.section-desc {
    font-size: var(--fs-md);
    color: var(--clr-text-muted);
    line-height: 1.8;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    font-family: var(--ff-heading);
    font-weight: 600;
    font-size: var(--fs-base);
    padding: 0.9em 2em;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn--primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(230, 57, 70, 0.5);
}

.btn--primary:active {
    transform: translateY(0);
}

.btn--outline {
    border: 2px solid rgba(255, 255, 255, 0.15);
    color: var(--clr-text);
    backdrop-filter: blur(10px);
}

.btn--outline:hover {
    border-color: var(--clr-primary);
    color: var(--clr-primary);
    background: rgba(230, 57, 70, 0.05);
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    transition: all var(--transition-base);
}

.header.scrolled {
    background: rgba(10, 15, 26, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo__img {
    height: 76px; /* Increased by ~30% from 58px */
    width: auto;
}

/* Navigation */
.nav__list {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav__link {
    font-family: var(--ff-heading);
    font-size: var(--fs-sm);
    font-weight: 500;
    padding: 0.5em 1em;
    border-radius: var(--radius-full);
    color: var(--clr-text-muted);
    transition: all var(--transition-base);
    position: relative;
}

.nav__link:hover,
.nav__link.active {
    color: var(--clr-text);
}

.nav__link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--clr-primary);
}

.nav__link--cta {
    background: var(--gradient-primary);
    color: white !important;
    padding: 0.5em 1.5em;
    margin-left: var(--space-xs);
    box-shadow: 0 2px 15px rgba(230, 57, 70, 0.25);
}

.nav__link--cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.4);
}

.nav__link--cta.active::after {
    display: none;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
    padding: 5px;
}

.hamburger__line {
    width: 24px;
    height: 2px;
    background: var(--clr-text);
    border-radius: 2px;
    transition: all var(--transition-base);
    transform-origin: center;
}

.hamburger.active .hamburger__line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger__line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger__line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
}

.hero__gradient {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 0;
}

.hero__gradient::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.12) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.hero__gradient::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244, 162, 97, 0.1) 0%, transparent 70%);
    animation: float 10s ease-in-out infinite reverse;
}

.hero__particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 850px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    font-family: var(--ff-heading);
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--clr-text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.5em 1.5em;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-xl);
    backdrop-filter: blur(10px);
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--clr-primary);
    animation: pulse-dot 2s ease-in-out infinite;
}

.hero__title {
    font-family: var(--ff-heading);
    font-size: var(--fs-5xl);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-xl);
}

.hero__subtitle {
    font-size: var(--fs-lg);
    color: var(--clr-text-muted);
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto var(--space-2xl);
}

.hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-4xl);
}

/* Hero Stats */
.hero__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2xl);
    padding: var(--space-xl) var(--space-2xl);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
}

.hero__stat {
    text-align: center;
}

.hero__stat-number {
    font-family: var(--ff-heading);
    font-size: var(--fs-3xl);
    font-weight: 800;
    color: var(--clr-text);
    line-height: 1;
}

.hero__stat-plus {
    font-family: var(--ff-heading);
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--clr-primary);
}

.hero__stat-label {
    display: block;
    font-size: var(--fs-sm);
    color: var(--clr-text-muted);
    margin-top: 0.3em;
}

.hero__stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Scroll */
.hero__scroll {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero__scroll-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5em;
    font-size: var(--fs-xs);
    color: var(--clr-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    animation: scroll-bounce 2s ease-in-out infinite;
}

.hero__scroll-mouse {
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 11px;
    position: relative;
}

.hero__scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--clr-primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s ease-in-out infinite;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: var(--space-5xl) 0;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

/* Service Card */
.service-card {
    position: relative;
    background: var(--clr-surface);
    border: 1px solid var(--clr-surface-border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    transition: all var(--transition-slow);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-card);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(230, 57, 70, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(230, 57, 70, 0.05);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card__glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity var(--transition-slow);
    pointer-events: none;
}

.service-card:hover .service-card__glow {
    opacity: 1;
}

.service-card__icon {
    position: relative;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(230, 57, 70, 0.1);
    border: 1px solid rgba(230, 57, 70, 0.15);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    transition: all var(--transition-base);
}

.service-card__icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--clr-primary);
    transition: all var(--transition-base);
}

.service-card:hover .service-card__icon {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.service-card:hover .service-card__icon svg {
    stroke: white;
}

.service-card__title {
    position: relative;
    font-family: var(--ff-heading);
    font-size: var(--fs-xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.service-card__desc {
    position: relative;
    font-size: var(--fs-sm);
    color: var(--clr-text-muted);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.service-card__list {
    position: relative;
}

.service-card__list li {
    font-size: var(--fs-sm);
    color: var(--clr-text-light);
    padding: 0.35em 0;
    padding-left: 1.5em;
    position: relative;
}

.service-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--clr-primary);
}

/* ===== PRODUCTS SECTION ===== */
.products {
    padding: var(--space-5xl) 0;
    background: var(--clr-bg-alt);
    position: relative;
}

.products__filter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-3xl);
    flex-wrap: wrap;
}

.filter-btn {
    font-family: var(--ff-heading);
    font-size: var(--fs-sm);
    font-weight: 500;
    padding: 0.6em 1.5em;
    border-radius: var(--radius-full);
    color: var(--clr-text-muted);
    border: 1px solid transparent;
    transition: all var(--transition-base);
}

.filter-btn:hover {
    color: var(--clr-text);
    background: rgba(255, 255, 255, 0.05);
}

.filter-btn.active {
    color: white;
    background: var(--gradient-primary);
    box-shadow: 0 2px 15px rgba(230, 57, 70, 0.25);
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

/* Product Card */
.product-card {
    background: var(--clr-surface);
    border: 1px solid var(--clr-surface-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-slow);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-color: rgba(230, 57, 70, 0.15);
}

.product-card.hidden {
    display: none;
}

.product-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-card__image img {
    transform: scale(1.08);
}

.product-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 26, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.product-card:hover .product-card__overlay {
    opacity: 1;
}

.product-card__view {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all var(--transition-base);
}

.product-card__view svg {
    width: 22px;
    height: 22px;
    stroke: white;
}

.product-card__view:hover {
    background: var(--clr-primary);
    border-color: var(--clr-primary);
    transform: scale(1.1);
}

.product-card__info {
    padding: var(--space-lg);
}

.product-card__tag {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--clr-accent);
    background: rgba(244, 162, 97, 0.1);
    padding: 0.25em 0.75em;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
}

.product-card__title {
    font-family: var(--ff-heading);
    font-size: var(--fs-lg);
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.product-card__desc {
    font-size: var(--fs-sm);
    color: var(--clr-text-muted);
    line-height: 1.6;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: var(--space-5xl) 0;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-4xl);
    align-items: flex-start; /* Aligned to top the image and header */
}

.about__image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.about__image-wrapper img {
    width: 100%;
    height: 380px; /* Reduced from 450px to save space */
    object-fit: cover;
    display: block;
}

.about__image-accent {
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: var(--radius-xl);
    background: linear-gradient(var(--clr-surface), var(--clr-surface)) padding-box,
                var(--gradient-primary) border-box;
    pointer-events: none;
    opacity: 0.5;
}

.about__experience-badge {
    position: absolute;
    bottom: 20px; /* Shifted UP to overlay the image directly instead of hanging below it */
    right: -20px;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--gradient-primary);
    color: white;
    padding: var(--space-lg) var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.3);
}

.about__experience-number {
    font-family: var(--ff-heading);
    font-size: var(--fs-3xl);
    font-weight: 900;
    line-height: 1;
}

.about__experience-text {
    font-size: var(--fs-sm);
    font-weight: 600;
    line-height: 1.3;
}

.about__image {
    position: relative;
}

.about__text {
    font-size: var(--fs-md);
    color: var(--clr-text-muted);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.about__text strong {
    color: var(--clr-text);
}

.about__values {
    margin-top: var(--space-2xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.about__value {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.about__value-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(230, 57, 70, 0.1);
    border: 1px solid rgba(230, 57, 70, 0.15);
    border-radius: var(--radius-md);
}

.about__value-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--clr-primary);
}

.about__value h4 {
    font-family: var(--ff-heading);
    font-size: var(--fs-base);
    font-weight: 600;
    margin-bottom: 0.15em;
}

.about__value p {
    font-size: var(--fs-sm);
    color: var(--clr-text-muted);
}

.about__counters {
    display: flex;
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--clr-surface-border);
}

.counter {
    text-align: left;
}

.counter__number {
    font-family: var(--ff-heading);
    font-size: var(--fs-2xl);
    font-weight: 800;
    line-height: 1;
}

.counter__plus {
    font-family: var(--ff-heading);
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--clr-primary);
}

.counter__label {
    display: block;
    font-size: var(--fs-sm);
    color: var(--clr-text-muted);
    margin-top: 0.3em;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: var(--space-5xl) 0;
    background: var(--clr-bg-alt);
    position: relative;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: var(--space-3xl);
    align-items: start;
}

.contact__info-card {
    background: var(--clr-surface);
    border: 1px solid var(--clr-surface-border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
}

.contact__info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--clr-surface-border);
}

.contact__info-item:first-child {
    padding-top: 0;
}

.contact__info-item:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.contact__info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(230, 57, 70, 0.1);
    border: 1px solid rgba(230, 57, 70, 0.15);
    border-radius: var(--radius-md);
}

.contact__info-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--clr-primary);
}

.contact__info-item h4 {
    font-family: var(--ff-heading);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--clr-text-muted);
    margin-bottom: 0.2em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact__info-item a,
.contact__info-item p {
    font-size: var(--fs-base);
    color: var(--clr-text);
    transition: color var(--transition-fast);
}

.contact__info-item a:hover {
    color: var(--clr-primary);
}

.contact__socials {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--clr-surface-border);
}

.contact__social {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.contact__social svg {
    width: 18px;
    height: 18px;
}

.contact__social:hover {
    background: var(--clr-primary);
    border-color: var(--clr-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

/* Contact Form */
.contact__form {
    background: var(--clr-surface);
    border: 1px solid var(--clr-surface-border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-family: var(--ff-heading);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--clr-text-light);
    margin-bottom: 0.5em;
}

.form-input {
    width: 100%;
    padding: 0.85em 1.2em;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    color: var(--clr-text);
    font-size: var(--fs-base);
    transition: all var(--transition-base);
    outline: none;
}

.form-input::placeholder {
    color: var(--clr-text-muted);
}

.form-input:focus {
    border-color: var(--clr-primary);
    background: rgba(230, 57, 70, 0.03);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.form-input.error {
    border-color: #ff4d4d;
    box-shadow: 0 0 0 3px rgba(255, 77, 77, 0.1);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238692a8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2em center;
    padding-right: 3em;
    cursor: pointer;
}

.form-select option {
    background: var(--clr-surface);
}

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

.form-error {
    display: block;
    font-size: var(--fs-xs);
    color: #ff4d4d;
    margin-top: 0.3em;
    min-height: 1em;
}

/* ===== FOOTER ===== */
.footer {
    padding: var(--space-4xl) 0 var(--space-xl);
    border-top: 1px solid var(--clr-surface-border);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid var(--clr-surface-border);
}

.footer__desc {
    font-size: var(--fs-sm);
    color: var(--clr-text-muted);
    margin-top: var(--space-md);
    line-height: 1.7;
}

.footer__title {
    font-family: var(--ff-heading);
    font-size: var(--fs-base);
    font-weight: 700;
    margin-bottom: var(--space-lg);
}

.footer__links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer__links a {
    font-size: var(--fs-sm);
    color: var(--clr-text-muted);
    transition: color var(--transition-fast);
}

.footer__links a:hover {
    color: var(--clr-primary);
}

.footer__contact p,
.footer__contact a {
    font-size: var(--fs-sm);
    color: var(--clr-text-muted);
    margin-bottom: var(--space-xs);
    display: block;
}

.footer__contact a:hover {
    color: var(--clr-primary);
}

.footer__bottom {
    text-align: center;
    padding-top: var(--space-xl);
}

.footer__bottom p {
    font-size: var(--fs-sm);
    color: var(--clr-text-muted);
}

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox__content {
    max-width: 90vw;
    max-height: 85vh;
}

.lightbox__content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    transform: scale(0.9);
    transition: transform var(--transition-spring);
}

.lightbox.active .lightbox__content img {
    transform: scale(1);
}

.lightbox__close {
    position: absolute;
    top: var(--space-xl);
    right: var(--space-xl);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all var(--transition-base);
}

.lightbox__close svg {
    width: 20px;
    height: 20px;
    stroke: white;
}

.lightbox__close:hover {
    background: var(--clr-primary);
    transform: rotate(90deg);
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    transition: all var(--transition-base);
}

.lightbox__nav svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox__prev {
    left: var(--space-xl);
}

.lightbox__next {
    right: var(--space-xl);
}

/* ===== TOAST ===== */
.toast {
    position: fixed;
    bottom: calc(var(--space-2xl) + 60px);
    right: var(--space-2xl);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--clr-surface);
    border: 1px solid rgba(74, 222, 128, 0.3);
    color: #4ade80;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transform: translateX(calc(100% + 3rem));
    transition: transform var(--transition-spring);
    z-index: 5000;
    max-width: 90vw;
}

.toast.show {
    transform: translateX(0);
}

.toast__icon svg {
    width: 22px;
    height: 22px;
    stroke: #4ade80;
}

.toast__message {
    font-family: var(--ff-heading);
    font-weight: 600;
    font-size: var(--fs-sm);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: var(--space-2xl);
    right: var(--space-2xl);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(230, 57, 70, 0.5);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
    stroke: white;
}

/* ===== ANIMATIONS ===== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.7); }
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

@keyframes scroll-wheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

@keyframes particle-float {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

/* Scroll Animations */
[data-animate] {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate="fade-up"] {
    transform: translateY(40px);
}

[data-animate="fade-down"] {
    transform: translateY(-30px);
}

[data-animate="fade-right"] {
    transform: translateX(-40px);
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate].animated {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    :root {
        --fs-5xl: 3.5rem;
        --fs-4xl: 2.5rem;
        --fs-3xl: 2rem;
    }

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

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

    .about__grid {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .about__image {
        order: -1;
    }

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

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

@media (max-width: 768px) {
    :root {
        --fs-5xl: 2.5rem;
        --fs-4xl: 2rem;
        --fs-3xl: 1.75rem;
        --space-5xl: 5rem;
        --space-4xl: 4rem;
    }

    .hamburger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--clr-surface);
        border-left: 1px solid var(--clr-surface-border);
        padding: calc(var(--header-height) + var(--space-xl)) var(--space-xl);
        transition: right var(--transition-base);
        z-index: 1000;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    }

    .nav.open {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .nav__link {
        display: block;
        padding: 0.75em 1em;
        font-size: var(--fs-base);
    }

    .nav__link.active::after {
        display: none;
    }

    .nav__link--cta {
        margin-left: 0;
        margin-top: var(--space-sm);
        text-align: center;
    }

    .hero__title {
        font-size: 2.2rem;
    }

    .hero__subtitle {
        font-size: var(--fs-base);
    }

    .hero__actions {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero__stats {
        flex-direction: column;
        gap: var(--space-lg);
        padding: var(--space-lg);
    }

    .hero__stat-divider {
        width: 60px;
        height: 1px;
    }

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

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

    .products__filter {
        gap: 0.3rem;
    }

    .filter-btn {
        font-size: var(--fs-xs);
        padding: 0.5em 1em;
    }

    .about__image-wrapper img {
        height: 300px;
    }

    .about__experience-badge {
        right: 10px;
        bottom: 15px;
        padding: var(--space-md) var(--space-lg);
    }

    .about__experience-number {
        font-size: var(--fs-2xl);
    }

    .about__counters {
        gap: var(--space-lg);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .lightbox__nav {
        width: 40px;
        height: 40px;
    }

    .lightbox__prev {
        left: var(--space-sm);
    }

    .lightbox__next {
        right: var(--space-sm);
    }
}

@media (max-width: 480px) {
    :root {
        --fs-5xl: 2rem;
        --space-5xl: 4rem;
    }

    .container {
        padding: 0 var(--space-md);
    }

    .hero__title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: var(--fs-xl);
    }

    .service-card {
        padding: var(--space-lg);
    }
}

/* One screen per section layout (Desktop) */
@media (min-width: 992px) {
    .services, .products, .about, .contact {
        min-height: calc(100vh - var(--header-height));
        display: flex;
        flex-direction: column;
        justify-content: center;
        /* Padding to prevent edge clinging if content approaches boundary */
        padding-top: var(--space-2xl); 
        padding-bottom: var(--space-2xl);
    }
    
    /* Scale down elements by 10% so large sections fit inside 1 scroll page without clipping */
    .services .container, .products .container, .about .container, .contact .container {
        zoom: 0.9;
    }
    
    /* Align about image to H2 (bypass section tag offset) */
    .about__image {
        margin-top: 54px;
    }
    
    /* Compact Contact section to fit strictly in 1 scroll screen */
    .contact {
        padding: var(--space-xl) 0;
    }
    .contact__info-card, .contact__form {
        padding: var(--space-lg);
    }
    .contact__info-item {
        padding: var(--space-sm) 0;
    }
    .contact__socials {
        margin-top: var(--space-md);
        padding-top: var(--space-md);
    }
    .form-group {
        margin-bottom: var(--space-md);
    }
    .form-textarea {
        min-height: 80px;
    }
}
