/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    --blue-primary: #0A74DA;
    --blue-light: #1E90FF;
    --blue-dark: #065BAA;
    --blue-glow: rgba(30, 144, 255, 0.3);
    --orange-primary: #E8871E;
    --orange-light: #F5A623;
    --orange-dark: #D4720F;
    --orange-glow: rgba(232, 135, 30, 0.3);
    --bg-dark: #0B1120;
    --bg-darker: #060D1A;
    --bg-card: rgba(15, 23, 42, 0.7);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --text-white: #F1F5F9;
    --text-gray: #94A3B8;
    --text-light: #CBD5E1;
    --border-glass: rgba(255, 255, 255, 0.1);
    --shadow-blue: 0 0 30px rgba(10, 116, 218, 0.2);
    --shadow-orange: 0 0 30px rgba(232, 135, 30, 0.2);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Cairo', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-main);
    background: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.8;
    overflow-x: hidden;
    width: 100%;
    direction: rtl;
}

a {
    text-decoration: none;
    color: inherit;
}

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

ul { list-style: none; }

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

/* ===== SECTION COMMON ===== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-header h2 .highlight {
    color: var(--orange-primary);
}

.section-header .underline {
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-primary), var(--orange-primary));
    margin: 16px auto 0;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 16px auto 0;
}

/* ===== ANIMATED ELEMENTS ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* ===== NAVIGATION BAR ===== */
.navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(11, 17, 32, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.nav-logo img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
}

.nav-logo span {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--blue-light), var(--orange-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-primary), var(--orange-primary));
    transition: var(--transition);
    border-radius: 1px;
}

.nav-links a:hover {
    color: var(--text-white);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
    color: white !important;
    padding: 10px 24px !important;
    border-radius: var(--radius-sm);
    font-weight: 700 !important;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(10, 116, 218, 0.3);
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(10, 116, 218, 0.5);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--text-white);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(6, 13, 26, 0.92) 0%,
        rgba(11, 17, 32, 0.85) 40%,
        rgba(10, 116, 218, 0.3) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    padding-top: 100px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--orange-primary);
    font-weight: 600;
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease forwards;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--orange-primary);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 10px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero h1 .brand-en {
    display: block;
    background: linear-gradient(135deg, var(--blue-light), var(--orange-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 4rem;
    letter-spacing: 2px;
    direction: ltr;
    text-align: right;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 12px;
    animation: fadeInUp 0.8s ease 0.4s both;
    line-height: 1.9;
}

.hero-tagline {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 36px;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.hero-tagline span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-white);
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-tagline span::before {
    content: '✦';
    color: var(--orange-primary);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(10, 116, 218, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(10, 116, 218, 0.5);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-dark));
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(232, 135, 30, 0.35);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--orange-light), var(--orange-primary));
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(232, 135, 30, 0.5);
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    z-index: 3;
}

.hero-wave svg {
    display: block;
    width: 100%;
}

/* Floating particles */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: float-particle linear infinite;
    opacity: 0.15;
}

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

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== ABOUT SECTION ===== */
.about {
    background: var(--bg-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-blue);
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, var(--blue-primary), var(--orange-primary));
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-image-wrapper img {
    width: 100%;
    border-radius: var(--radius-lg);
    aspect-ratio: 1;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-dark));
    color: white;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-orange);
    z-index: 2;
}

.about-badge .number {
    font-size: 2rem;
    font-weight: 900;
    display: block;
    line-height: 1;
}

.about-badge .label {
    font-size: 0.85rem;
    font-weight: 600;
}

.about-text h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.5;
}

.about-text h3 span {
    color: var(--orange-primary);
}

.about-text p {
    color: var(--text-gray);
    font-size: 1.05rem;
    margin-bottom: 20px;
    line-height: 2;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.about-feature:hover {
    border-color: var(--blue-primary);
    background: rgba(10, 116, 218, 0.1);
}

.about-feature .icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
    border-radius: 10px;
    flex-shrink: 0;
}

.about-feature span {
    font-weight: 700;
    font-size: 0.95rem;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--blue-primary);
    box-shadow: var(--shadow-blue);
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--blue-light), var(--orange-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    direction: ltr;
}

.stat-card .stat-label {
    color: var(--text-gray);
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 4px;
}

/* ===== SERVICES SECTION ===== */
.services {
    background: var(--bg-darker);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(10, 116, 218, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-primary), var(--orange-primary));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--blue-primary);
    box-shadow: var(--shadow-blue);
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: linear-gradient(135deg, rgba(10, 116, 218, 0.15), rgba(232, 135, 30, 0.1));
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
    transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ===== PROJECTS GALLERY ===== */
.projects {
    background: var(--bg-dark);
}

.projects .gallery-grid {
    display: flex;
    overflow: hidden;
    width: 100%;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    border-radius: var(--radius-md);
}

.gallery-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: scroll-gallery 35s linear infinite;
}

.gallery-track:hover {
    animation-play-state: paused;
}

.gallery-item {
    flex-shrink: 0;
    width: 280px;
    height: 280px;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 116, 218, 0.5) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 20px;
    z-index: 2;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-overlay span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

@keyframes scroll-gallery {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 8px));
    }
}

html[dir="rtl"] .gallery-track {
    animation: scroll-gallery-rtl 35s linear infinite;
}

html[dir="rtl"] .gallery-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-gallery-rtl {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(50% + 8px));
    }
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    cursor: zoom-out;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

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

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius-md);
    object-fit: contain;
    cursor: default;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    opacity: 0;
    transform: scale(0.95);
}

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

.lightbox img.fade-out {
    opacity: 0;
    transform: scale(0.95);
}

.lightbox-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: none;
    direction: ltr;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev { right: 20px; }
.lightbox-next { left: 20px; }

/* ===== WELDING QUALITY ARTICLE ===== */
.article-section {
    background: var(--bg-darker);
    position: relative;
    overflow: hidden;
}

.article-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(232, 135, 30, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.article-container {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 48px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.article-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff4444, var(--orange-primary), var(--blue-primary));
}

.article-warning-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    padding: 10px 24px;
    border-radius: 50px;
    color: #ff6b6b;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.article-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.article-text h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #ff6b6b;
    line-height: 1.6;
}

.article-text .problem-list {
    margin: 20px 0;
}

.article-text .problem-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-glass);
    color: var(--text-light);
    font-size: 1rem;
}

.article-text .problem-item .emoji {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.article-text .solution {
    margin-top: 24px;
    padding: 20px;
    background: rgba(10, 116, 218, 0.1);
    border: 1px solid rgba(10, 116, 218, 0.2);
    border-radius: var(--radius-md);
}

.article-text .solution h4 {
    color: var(--blue-light);
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.article-text .solution .solution-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    color: var(--text-light);
}

.article-text .solution .solution-item .emoji {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.article-text .hidrotek-stamp {
    margin-top: 20px;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
    border-radius: var(--radius-sm);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
}

.article-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.article-images .img-wrap {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-glass);
}

.article-images .img-wrap:first-child {
    grid-column: span 2;
}

.article-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-images .img-wrap:hover img {
    transform: scale(1.05);
}

/* ===== VIDEOS SECTION ===== */
.videos {
    background: var(--bg-dark);
}

.videos-horizontal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.video-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-glass);
    background: var(--bg-card);
}

.video-card video {
    width: 100%;
    display: block;
    border-radius: var(--radius-md);
}

.videos-reels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.reel-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-glass);
    background: var(--bg-card);
    aspect-ratio: 9/16;
    max-height: 600px;
}

.reel-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.reel-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.reels-label {
    text-align: center;
    margin-bottom: 24px;
}

.reels-label span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 700;
    color: var(--text-light);
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: var(--bg-darker);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(10, 116, 218, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-profile {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
}

.contact-profile img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 2px solid var(--blue-primary);
}

.contact-profile-text h3 {
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--blue-light), var(--orange-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-profile-text p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-top: 4px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.contact-item:hover {
    border-color: var(--blue-primary);
    background: rgba(10, 116, 218, 0.08);
    transform: translateX(5px);
}

.contact-item .item-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item .item-icon.blue {
    background: rgba(10, 116, 218, 0.15);
}

.contact-item .item-icon.green {
    background: rgba(37, 211, 102, 0.15);
}

.contact-item .item-icon.red {
    background: rgba(255, 68, 68, 0.15);
}

.contact-item .item-icon.orange {
    background: rgba(232, 135, 30, 0.15);
}

.contact-item .item-text {
    display: flex;
    flex-direction: column;
}

.contact-item .item-text .label {
    font-size: 0.8rem;
    color: var(--text-gray);
    font-weight: 600;
}

.contact-item .item-text .value {
    font-weight: 700;
    font-size: 0.95rem;
    direction: ltr;
    text-align: right;
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-weight: 700;
    font-size: 0.9rem;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.social-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: currentColor !important;
}

.social-link.facebook {
    background: #1877F2;
    border: 1px solid #1877F2;
}
.social-link.facebook:hover {
    background: #166fe5;
    border-color: #166fe5;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
}

.social-link.tiktok {
    background: #ff0050;
    border: 1px solid #ff0050;
}
.social-link.tiktok:hover {
    background: #e00045;
    border-color: #e00045;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 0, 80, 0.4);
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border: none;
    padding: 13px 21px; /* Adjust padding to balance lack of border */
}
.social-link.instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(228, 64, 95, 0.4);
}

.social-link.blog {
    background: var(--orange-primary);
    border: 1px solid var(--orange-primary);
}
.social-link.blog:hover {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(232, 135, 30, 0.4);
}

.contact-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-glass);
    height: 200px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(10px);
}

.contact-form-wrapper h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.contact-form-wrapper .form-subtitle {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-light);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-white);
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-gray);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 3px rgba(10, 116, 218, 0.15);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394A3B8' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 16px center;
}

.form-group select option {
    background: var(--bg-dark);
    color: var(--text-white);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.btn-whatsapp {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    margin-top: 8px;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp svg {
    width: 24px;
    height: 24px;
}

/* ===== CONTACT MAP FULL-WIDTH & PHONE BUTTONS ===== */
.phone-buttons {
    display: flex;
    gap: 16px;
    width: 100%;
}

.phone-buttons .phone-btn {
    flex: 1;
    margin: 0;
}

@media (max-width: 580px) {
    .phone-buttons {
        flex-direction: column;
        gap: 12px;
    }
}

.contact-map {
    display: none;
}

.contact-map-full {
    margin-top: 48px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-glass);
    height: 380px;
    width: 100%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.contact-map-full iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-glass);
    padding: 80px 0 0;
    position: relative;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
}

.footer-logo h3 {
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--blue-light), var(--orange-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-col p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social .social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social .social-icon:hover {
    transform: translateY(-3px);
    background: var(--orange-glow);
    border-color: var(--orange-primary);
}

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-primary), var(--orange-primary));
    border-radius: 2px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-gray);
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: var(--blue-light);
    transform: translateX(-5px);
}

.footer-col ul li a::before {
    content: '←';
    opacity: 0;
    transition: var(--transition);
}

.footer-col ul li a:hover::before {
    opacity: 1;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-list li a {
    color: var(--text-gray);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-contact-list li a:hover {
    color: var(--blue-light);
}

.footer-hours {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding: 20px 0;
}

.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    color: var(--text-gray);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--orange-primary);
    font-weight: 700;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--blue-light);
}

/* ===== FLOATING BUTTONS ===== */
.floating-whatsapp {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: float-btn 3s ease-in-out infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    animation: none;
}

.floating-whatsapp svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.floating-whatsapp .tooltip {
    position: absolute;
    right: 70px;
    background: white;
    color: #333;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.floating-whatsapp:hover .tooltip {
    opacity: 1;
}

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

.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(10, 116, 218, 0.3);
}

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

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(10, 116, 218, 0.5);
}

/* ===== MOBILE MENU OVERLAY ===== */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: rgba(11, 17, 32, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-glass);
    z-index: 999;
    padding: 80px 30px 30px;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    display: block;
    padding: 14px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition);
}

.mobile-menu a:hover {
    color: var(--blue-light);
    padding-right: 10px;
}

.mobile-menu .mobile-cta {
    margin-top: 20px;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
    border-radius: var(--radius-sm);
    text-align: center;
    color: white !important;
    border: none !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrapper img {
        aspect-ratio: 16/10;
    }

    .article-content {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 1024px) {
    .navbar {
        background: rgba(11, 17, 32, 0.9);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-bottom: 1px solid var(--border-glass);
        padding: 12px 0;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero h1 .brand-en {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .btn-primary, .btn-secondary {
        justify-content: center;
        width: 100%;
    }

    .section {
        padding: 70px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .stat-card {
        padding: 20px 12px;
    }

    .stat-card .stat-number {
        font-size: 1.8rem;
    }

    .videos-horizontal {
        grid-template-columns: 1fr;
    }

    .videos-reels {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 16px;
    }

    .reel-card {
        max-height: 450px;
    }

    .about-badge {
        left: 10px;
        bottom: 10px;
    }

    html[dir="ltr"] .about-badge {
        right: 10px;
        left: auto;
    }

    .article-text .hidrotek-stamp {
        display: block;
        font-size: 0.95rem;
        padding: 12px 16px;
        text-align: center;
    }

    .article-warning-badge {
        display: flex;
        justify-content: center;
        font-size: 0.85rem;
        padding: 8px 16px;
        text-align: center;
    }

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

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

    .article-container {
        padding: 28px 20px;
    }

    .article-images {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-logo img {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }
    .nav-logo span {
        font-size: 1.2rem;
    }
    .nav-left-mobile {
        gap: 8px;
    }
    .lang-switch-mobile {
        padding: 4px 8px;
        font-size: 0.8rem;
    }
    .hamburger {
        padding: 4px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero h1 .brand-en {
        font-size: 2rem;
    }

    .hero-tagline {
        flex-direction: column;
        gap: 8px;
    }

    .hero-dynamic-text {
        font-size: 1rem;
        flex-wrap: wrap;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-card .stat-number {
        font-size: 1.5rem;
    }

    .stat-card .stat-label {
        font-size: 0.75rem;
    }

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

    .videos-reels {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 280px;
        margin: 0 auto;
    }
    .reel-card {
        max-height: 500px;
    }

    .calc-tabs {
        flex-direction: column;
    }

    .res-value {
        font-size: 1.25rem;
    }
    .res-icon {
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
    }

    .contact-profile {
        flex-direction: column;
        text-align: center;
        padding: 16px;
        gap: 12px;
    }
    .contact-profile img {
        width: 64px;
        height: 64px;
    }
    .contact-item {
        padding: 12px 16px;
        gap: 12px;
    }
    .contact-item .item-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .social-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .social-link {
        padding: 10px 12px;
        font-size: 0.85rem;
        justify-content: center;
        margin: 0;
    }

    .contact-form-wrapper {
        padding: 24px 16px;
    }
}

/* ===== CALCULATOR SECTION ===== */
.calculator-section {
    background: var(--bg-darker);
    position: relative;
    overflow: hidden;
}

.calculator-section::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(10, 116, 218, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: stretch;
}

.calc-inputs-card,
.calc-results-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.calc-inputs-card h3,
.calc-results-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 12px;
}

.calc-group {
    margin-bottom: 28px;
}

.calc-group label {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 12px;
    color: var(--text-light);
}

.calc-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.2);
    padding: 6px;
    border-radius: var(--radius-sm);
    gap: 6px;
}

.calc-tab {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: calc(var(--radius-sm) - 4px);
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-gray);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.calc-tab.active {
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(10, 116, 218, 0.25);
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.slider-label {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-light);
}

.slider-value {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--orange-primary);
    background: rgba(232, 135, 30, 0.1);
    padding: 2px 10px;
    border-radius: 4px;
}

.calc-slider {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--blue-primary);
    box-shadow: 0 0 10px rgba(10, 116, 218, 0.5);
    transition: transform 0.1s ease;
}

.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.calc-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--blue-primary);
    border: none;
    box-shadow: 0 0 10px rgba(10, 116, 218, 0.5);
    transition: transform 0.1s ease;
}

.calc-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
}

.calc-note {
    background: rgba(255, 255, 255, 0.03);
    border-right: 4px solid var(--blue-primary);
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Results Card */
.calc-results-card {
    border-color: rgba(232, 135, 30, 0.15);
    background: linear-gradient(185deg, var(--bg-card) 0%, rgba(232, 135, 30, 0.03) 100%);
}

.results-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.result-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.result-box:hover {
    border-color: var(--orange-glow);
    background: rgba(232, 135, 30, 0.02);
}

.res-icon {
    font-size: 1.8rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid var(--border-glass);
}

.res-text {
    display: flex;
    flex-direction: column;
}

.res-label {
    font-size: 0.8rem;
    color: var(--text-gray);
    font-weight: 600;
}

.res-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-white);
}

.res-sub {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.btn-calc-whatsapp {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn-calc-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

/* ===== FAQ SECTION ===== */
.faq-section {
    background: var(--bg-dark);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: transparent;
    border: none;
    outline: none;
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    text-align: right;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--text-gray);
    transition: transform 0.3s ease;
    transform: rotate(45deg);
}

.faq-item.active {
    border-color: var(--blue-primary);
    box-shadow: var(--shadow-blue);
}

.faq-item.active .faq-icon {
    transform: rotate(0deg);
    color: var(--orange-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-content {
    padding: 0 24px 24px;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
}

/* ===== 3D TILT PERSPECTIVE ===== */
.services-grid {
    perspective: 1000px;
}

.service-card {
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

/* ===== RESPONSIVE FOR NEW COMPONENTS ===== */
@media (max-width: 1024px) {
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .calc-inputs-card,
    .calc-results-card {
        padding: 24px 16px;
    }
    
    .faq-question {
        padding: 16px;
        font-size: 0.95rem;
    }
    
    .faq-answer-content {
        padding: 0 16px 16px;
    }
}

/* ===== LANGUAGE SWITCHER STYLES ===== */
.lang-switch {
    padding: 8px 14px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-white);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    font-family: var(--font-main);
    transition: var(--transition);
    margin-right: 12px;
}

.lang-switch:hover {
    background: var(--orange-primary);
    border-color: var(--orange-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(232, 135, 30, 0.3);
}

.nav-left-mobile {
    display: none;
    align-items: center;
    gap: 16px;
}

.lang-switch-mobile {
    padding: 6px 12px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-white);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    font-family: var(--font-main);
    transition: var(--transition);
}

.lang-switch-mobile:hover {
    background: var(--orange-primary);
    border-color: var(--orange-primary);
}

@media (max-width: 1024px) {
    .nav-left-mobile {
        display: flex;
    }
    .lang-switch {
        display: none;
    }
}

/* ===== LTR MODE OVERRIDES ===== */
html[dir="ltr"] body {
    direction: ltr;
    text-align: left;
}

html[dir="ltr"] .mobile-menu {
    right: auto;
    left: -280px;
    border-left: none;
    border-right: 1px solid var(--border-glass);
}

html[dir="ltr"] .mobile-menu.active {
    left: 0;
    right: auto;
}

html[dir="ltr"] .mobile-menu a:hover {
    padding-right: 0;
    padding-left: 10px;
}

html[dir="ltr"] .about-badge {
    left: auto;
    right: -20px;
}

html[dir="ltr"] .contact-item .item-text .value {
    text-align: left;
}

html[dir="ltr"] .form-group select {
    background-position: right 16px center;
}

html[dir="ltr"] .floating-whatsapp .tooltip {
    right: auto;
    left: 70px;
}

html[dir="ltr"] .faq-question {
    text-align: left;
}

html[dir="ltr"] .hero h1 .brand-en {
    text-align: left;
}

html[dir="ltr"] .footer-col h4::after {
    right: auto;
    left: 0;
}

html[dir="ltr"] .footer-col ul li a:hover {
    transform: translateX(5px);
}

html[dir="ltr"] .footer-col ul li a::before {
    content: '→';
}

html[dir="ltr"] .calc-note {
    border-right: none;
    border-left: 4px solid var(--blue-primary);
    border-radius: 8px 0 0 8px;
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 9999;
    background: transparent;
    pointer-events: none;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--orange-primary), var(--blue-light));
    box-shadow: 0 0 10px rgba(232, 135, 30, 0.8);
    transition: width 0.1s ease-out;
}

/* ===== HERO DYNAMIC TYPEWRITER ===== */
.hero-dynamic-text {
    margin-top: 16px;
    margin-bottom: 24px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.typewriter-prefix {
    color: var(--text-gray);
}

.typewriter-text {
    color: var(--orange-primary);
    border-right: 2px solid transparent;
    padding-right: 4px;
}

.typewriter-cursor {
    color: var(--orange-primary);
    font-weight: 400;
    animation: blink-cursor 0.75s step-end infinite;
}

@keyframes blink-cursor {
    from, to { color: transparent }
    50% { color: var(--orange-primary); }
}

html[dir="ltr"] .hero-dynamic-text {
    flex-direction: row;
}

/* ===== FLOATING CONTACT HUB ===== */
.floating-contact-hub {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.floating-contact-hub.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

html[dir="ltr"] .floating-contact-hub {
    left: 24px;
    right: auto;
}

.hub-trigger {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s;
    position: relative;
    z-index: 10;
}

.hub-trigger:hover {
    transform: scale(1.08) rotate(15deg);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.hub-trigger span {
    font-size: 1.5rem;
    position: absolute;
    transition: opacity 0.3s, transform 0.3s;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hub-trigger .hub-icon-wa {
    opacity: 1;
    transform: scale(1);
}

.hub-trigger .hub-icon-close {
    opacity: 0;
    transform: scale(0.5);
}

/* Active State of trigger */
.floating-contact-hub.active .hub-trigger {
    background: #ff3366;
    box-shadow: 0 4px 20px rgba(255, 51, 102, 0.4);
    transform: rotate(90deg);
}

.floating-contact-hub.active .hub-trigger .hub-icon-wa {
    opacity: 0;
    transform: scale(0.5);
}

.floating-contact-hub.active .hub-trigger .hub-icon-close {
    opacity: 1;
    transform: scale(1);
}

/* Options menu */
.hub-options {
    position: absolute;
    bottom: 72px;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(15px) scale(0.95);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    width: max-content;
}

.floating-contact-hub.active .hub-options {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0) scale(1);
}

.hub-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 30px;
    background: rgba(11, 17, 32, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transform: translateY(10px);
    opacity: 0;
    text-decoration: none;
}

.hub-option.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.hub-option.whatsapp:hover {
    background: linear-gradient(135deg, #34e073, #159c8c);
    border-color: rgba(255, 255, 255, 0.4);
}

.floating-contact-hub.active .hub-option {
    transform: translateY(0);
    opacity: 1;
}

/* Stagger animations for options */
.floating-contact-hub.active .hub-option:nth-child(1) { transition-delay: 0.05s; }
.floating-contact-hub.active .hub-option:nth-child(2) { transition-delay: 0.1s; }
.floating-contact-hub.active .hub-option:nth-child(3) { transition-delay: 0.15s; }

.hub-option:hover {
    transform: translateX(5px) scale(1.03);
    background: rgba(11, 17, 32, 0.95);
    border-color: var(--orange-primary);
}

.hub-option .icon {
    font-size: 1.2rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.hub-option.whatsapp .icon {
    background: rgba(37, 211, 102, 0.15);
    color: #25D366;
}
.hub-option.phone .icon {
    background: rgba(10, 116, 218, 0.15);
    color: #0A74DA;
}

/* Mobile tweaks */
@media (max-width: 480px) {
    .floating-contact-hub {
        bottom: 16px;
        left: 16px;
    }
    .hub-option .text {
        font-size: 0.8rem;
    }
}

/* ===== ADVANCED ENTRANCE ANIMATIONS ===== */
.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* ===== PREFERS REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-delay: -1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        background-attachment: initial !important;
        scroll-behavior: auto !important;
        transition-delay: 0s !important;
        transition-duration: 0s !important;
    }
    .particle {
        display: none !important;
    }
}
