/* ========================================
   PUCHOLS WATER TECHNOLOGIES
   Elegant, Modern, Minimalist Design
   ======================================== */

/* ---------- CSS VARIABLES ---------- */
:root {
    --primary: #00AAFF;
    --primary-dark: #0088CC;
    --primary-light: #33BBFF;
    --primary-glow: rgba(0, 170, 255, 0.15);
    --black: #000000;
    --dark: #0A0A0A;
    --dark-2: #111111;
    --dark-3: #1A1A1A;
    --gray-900: #1F1F1F;
    --gray-800: #2A2A2A;
    --gray-700: #3A3A3A;
    --gray-600: #555555;
    --gray-500: #777777;
    --gray-400: #999999;
    --gray-300: #BBBBBB;
    --gray-200: #E0E0E0;
    --gray-100: #F5F5F5;
    --white: #FFFFFF;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
    --shadow-glow: 0 0 30px rgba(0, 170, 255, 0.2);
    --radius: 4px;
    --radius-sm: 2px;
    --radius-lg: 8px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

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

/* ---------- TYPOGRAPHY ---------- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    gap: 8px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ========================================
   TOP BAR
   ======================================== */
.top-bar {
    background: var(--dark-3);
    color: var(--gray-300);
    font-size: 0.8rem;
    padding: 8px 0;
    position: relative;
    z-index: 1001;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.top-bar-info {
    display: flex;
    gap: 24px;
}

.top-bar-info a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.top-bar-info a svg {
    width: 14px;
    height: 14px;
    color: var(--primary);
}

.top-bar-info a:hover {
    color: var(--white);
}

.top-bar-quote a {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.top-bar-quote a:hover {
    color: var(--white);
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    position: fixed;
    top: 40px; /* Offset for top bar */
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 10px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 6px 0;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.nav-logo img {
    height: 118px;
    width: auto;
    transition: var(--transition);
}

.nav-logo .logo-dark {
    display: none;
}

.nav-logo .logo-white {
    display: block;
}

.navbar.scrolled .nav-logo .logo-white {
    display: none;
}

.navbar.scrolled .nav-logo .logo-dark {
    display: block;
}

.navbar.scrolled .nav-logo img {
    height: 120px;
}

.nav-menu {
    display: flex;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gray-900);
    padding: 8px 16px;
    border-radius: 4px;
    transition: var(--transition);
}

.navbar.scrolled .nav-link {
    color: var(--gray-700);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--primary);
    background: var(--primary-glow);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.15);
    color: var(--gray-900);
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.lang-toggle span {
    display: inline-flex;
    align-items: center;
}

.navbar.scrolled .lang-toggle {
    background: var(--gray-100);
    border-color: var(--gray-200);
    color: var(--gray-700);
}

.lang-toggle:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.lang-active {
    color: var(--primary);
}

.lang-toggle:hover .lang-active {
    color: var(--white);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-900);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background: var(--dark);
}

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

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

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

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../images/background_optimized.webp') center/cover no-repeat;
    z-index: 0;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 25, 0.35); /* Reduced dark wash for clearer image visibility */
    z-index: 1;
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(0, 170, 255, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 170, 255, 0.4), 0 0 16px rgba(0, 170, 255, 0.2);
    animation: float-up linear infinite;
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    padding: 10px 24px;
    background: rgba(0, 170, 255, 0.1);
    border: 1px solid rgba(0, 170, 255, 0.3);
    border-radius: 4px;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--white);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.9);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.4s;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero-title-line {
    display: block;
    white-space: nowrap;
}

.hero-title-line.accent {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--white);
    font-weight: bold;
    text-shadow: 0 2px 4px #000, 0 4px 12px #000, 0 0 20px #000, 0 0 40px #000, 0 0 80px #000;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
    text-align: justify;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.6s;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.8s;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   BRANDS MARQUEE
   ======================================== */
.brands-marquee {
    background: rgba(245, 247, 250, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.brands-marquee::before,
.brands-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
}

.brands-marquee::before {
    left: 0;
    background: linear-gradient(to right, #F5F7FA, transparent);
}

.brands-marquee::after {
    right: 0;
    background: linear-gradient(to left, #F5F7FA, transparent);
}

.marquee-content {
    display: inline-block;
    animation: marquee 88s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.brand-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 120px;
    margin: 0 40px;
    vertical-align: middle;
}

.brand-item img {
    width: 180px;
    height: 120px;
    object-fit: contain;
    transition: var(--transition);
}

.brand-item img:hover {
    transform: scale(1.05);
}

.brand-item img.logo-white-fix {
    filter: invert(0.8);
}

.brand-item.logo-scale-150 {
    width: 270px;
}

.brand-item.logo-scale-150 img {
    width: 270px;
}

.brand-item.logo-scale-115 {
    width: 207px;
}

.brand-item.logo-scale-115 img {
    width: 207px;
}

.brand-item.logo-scale-125 {
    width: 225px;
    height: 150px;
}

.brand-item.logo-scale-125 img {
    width: 225px;
    height: 150px;
}

.brand-item.logo-scale-150 {
    width: 270px;
}

.brand-item.logo-scale-150 img {
    width: 270px;
}

.brand-item.logo-scale-200 {
    width: 360px;
}

.brand-item.logo-scale-200 img {
    width: 360px;
}

.brand-item.logo-boost-5 img {
    transform: scale(1.05);
}
.brand-item.logo-boost-5 img:hover {
    transform: scale(1.10);
}

.brand-item.logo-boost-10 img {
    transform: scale(1.1);
}
.brand-item.logo-boost-10 img:hover {
    transform: scale(1.15);
}

.brand-item.logo-boost-15 img {
    transform: scale(1.15);
}
.brand-item.logo-boost-15 img:hover {
    transform: scale(1.20);
}

.brand-item.logo-boost-20 img {
    transform: scale(1.20);
}
.brand-item.logo-boost-20 img:hover {
    transform: scale(1.25);
}

.brand-item.logo-boost-25 img {
    transform: scale(1.25);
}
.brand-item.logo-boost-25 img:hover {
    transform: scale(1.30);
}

.brand-item.logo-boost-30 img {
    transform: scale(1.30);
}
.brand-item.logo-boost-30 img:hover {
    transform: scale(1.35);
}

.brand-item.logo-reduce-5 img {
    transform: scale(0.95);
}
.brand-item.logo-reduce-5 img:hover {
    transform: scale(1.0);
}

.brand-item.logo-reduce-10 img {
    transform: scale(0.9);
}
.brand-item.logo-reduce-10 img:hover {
    transform: scale(0.95);
}

.brand-item.logo-reduce-20 img {
    transform: scale(0.8);
}
.brand-item.logo-reduce-20 img:hover {
    transform: scale(0.85);
}

.brand-item.logo-reduce-30 img {
    transform: scale(0.7);
}
.brand-item.logo-reduce-30 img:hover {
    transform: scale(0.75);
}

.logo-dark-gray {
    filter: brightness(0);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.service-row-desc {
    font-weight: bold;
    text-align: justify;
}

.services .section-subtitle {
    font-weight: bold;
    white-space: normal;
    text-align: center;
    max-width: 100%;
}
/* ========================================
   SECTIONS (GLOBAL)
   ======================================== */
.section {
    padding: 120px 0;
}

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

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ========================================
   ABOUT
   ======================================== */
.about {
    background: var(--white);
}

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

.about-text p {
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.9;
    font-size: 1.05rem;
    font-weight: bold;
    text-align: justify;
}

.about-lead {
    /* Removed custom lead styling so it matches other paragraphs */
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stat-card {
    padding: 28px 32px;
    background: var(--gray-100);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.stat-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.stat-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 48px;
    height: 48px;
    color: var(--primary);
}

.stat-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    flex: 0 0 110px; /* Forces uniform width and wraps to two lines */
}

.stat-desc {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    text-align: left;
}

/* ========================================
   SERVICES
   ======================================== */
.services {
    background: var(--white);
}

.services-list {
    display: flex;
    flex-direction: column;
}

.service-row {
    display: grid;
    grid-template-columns: 80px 1.5fr 2fr;
    gap: 40px;
    padding: 48px 0;
    border-bottom: 1px solid var(--gray-200);
    align-items: center;
    transition: var(--transition);
    position: relative;
    cursor: default;
}

.service-row:first-child {
    border-top: 1px solid var(--gray-200);
}

.service-row:hover {
    padding-left: 24px;
    padding-right: 24px;
    background: var(--gray-50);
}

.service-row-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--primary);
    transition: var(--transition);
}

.service-row:hover .service-row-icon {
    color: var(--gray-400);
    transform: scale(1.1);
}

.service-row-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--dark);
    margin: 0;
    transition: var(--transition);
}

.service-row:hover .service-row-title {
    color: var(--primary);
    transform: translateX(10px);
}

.service-row-desc {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin: 0;
}

/* ========================================
   PRODUCTS
   ======================================== */
.products {
    background: var(--white);
}

.products-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.product-img {
    height: 240px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--gray-200);
}

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

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

.product-info {
    padding: 32px;
}

.product-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.product-info p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 16px;
}

.product-link {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--white);
    background: var(--primary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    transition: var(--transition);
}

.product-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.products-cta {
    text-align: center;
    padding: 48px;
    background: linear-gradient(135deg, var(--dark), var(--dark-2));
    border-radius: var(--radius-lg);
}

.products-cta p {
    color: var(--gray-400);
    margin-bottom: 24px;
    font-size: 1.05rem;
    font-weight: bold;
    text-align: center;
    max-width: 100%;
}

/* Products Section */
.products .section-subtitle {
    max-width: 900px;
    font-weight: bold;
    color: var(--gray-600);
}

.products-scope-section {
    margin-top: 40px;
    margin-bottom: 32px;
}

.products-scope-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.scope-card {
    background: var(--gray-100);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.scope-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--primary-light);
}

.scope-card h4 {
    color: var(--primary-dark);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.scope-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
    row-gap: 16px;
}

.scope-card ul li {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
}

.scope-card ul li::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url('../images/Gota.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 12px;
    margin-top: 4px;
    flex-shrink: 0;
}

/* ========================================
   CONTACT
   ======================================== */
.about .section-title,
.services .section-title,
.contact .section-title,
.alliances .section-title,
.staff .section-title,
.products .section-title {
    color: var(--primary);
}

.alliances .section-subtitle {
    font-weight: bold;
    text-align: center;
    max-width: 100%;
}

.alliances-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.alliance-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    border: 1px solid var(--gray-200);
    aspect-ratio: 1.75;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.alliance-card img {
    width: 100%;
    height: 100%;
    object-fit: fill; /* Stretch slightly to fit corners without cropping content */
    clip-path: inset(1px); /* Keep slight trim for border artifacts */
    transition: all 0.4s ease;
}

.alliance-card:hover {
    transform: scale(1.8);
    z-index: 10;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    border-color: var(--primary);
}

/* ========== STAFF ========== */
.staff .section-subtitle {
    font-weight: bold;
    text-align: justify;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.staff-card.president {
    grid-column: 1 / -1;
    max-width: 380px;
    width: 100%;
    margin: 0 auto 20px auto;
    position: relative;
}

/* Glow behind president */
.staff-card.president::before {
    content: '';
    position: absolute;
    top: -15px; right: -15px; bottom: -15px; left: -15px;
    background: var(--primary);
    filter: blur(25px);
    border-radius: var(--radius);
    z-index: -1;
    opacity: 0.15;
    transition: var(--transition-slow);
}

.staff-card.president:hover::before {
    opacity: 0.35;
    filter: blur(30px);
}

.staff-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
    aspect-ratio: 1.52;
}

/* Shine effect */
.staff-card::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-20deg);
    transition: 0.7s ease-in-out;
    z-index: 2;
    pointer-events: none;
}

.staff-card:hover::after {
    left: 150%;
}

.staff-card:hover {
    transform: scale(1.8);
    z-index: 10;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    border-color: var(--primary);
}

.staff-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
    display: block;
    transition: var(--transition-slow);
    z-index: 1;
}

/* Interactive Image Overlays */
.card-overlays {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 5;
    pointer-events: none;
}

.overlay-link {
    position: absolute;
    background: rgba(0, 170, 255, 0.0);
    transition: all 0.3s ease;
    pointer-events: auto;
    border-radius: 6px;
    z-index: 6;
}

.overlay-link:hover {
    background: rgba(0, 170, 255, 0.25);
    box-shadow: 0 0 10px rgba(0, 170, 255, 0.4);
    transform: scale(1.02);
}

.overlay-phone1 {
    top: 68%; left: 12%;
    width: 43%; height: 8%;
}

.overlay-phone2 {
    top: 79%; left: 12%;
    width: 43%; height: 8%;
}

.president .overlay-phone2 {
    top: 82%;
}

.overlay-email {
    top: 88.5%; left: 12%;
    width: 70%; height: 8%;
}

.contact {
    background: var(--gray-100);
}

.contact .section-subtitle {
    font-weight: bold;
    text-align: center;
    max-width: 100%;
}

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

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    box-shadow: none;
}

.contact-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.contact-item h4 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.contact-item a,
.contact-item p {
    font-size: 1rem;
    color: var(--dark);
    font-weight: 500;
}

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

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


.social-link {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    box-shadow: none;
    transition: var(--transition);
}

.social-link svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
    transition: var(--transition);
}

.social-text span {
    font-weight: 500;
    color: var(--dark);
    font-size: 1rem;
}

.contact-social span {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.95rem;
}

.social-link:hover {
    transform: translateY(-3px);
}

.social-link:hover svg {
    color: var(--dark);
}

.facebook-text {
    font-weight: 500;
    font-size: 1rem;
    color: #111;
    text-decoration: none;
    transition: var(--transition);
}

.facebook-text:hover {
    color: var(--primary);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--dark);
    background: var(--gray-100);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    outline: none;
    transition: var(--transition);
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.form-group label {
    position: absolute;
    top: 16px;
    left: 20px;
    font-size: 0.95rem;
    color: var(--gray-500);
    pointer-events: none;
    transition: var(--transition);
}

.form-group input:focus~label,
.form-group input:not(:placeholder-shown)~label,
.form-group textarea:focus~label,
.form-group textarea:not(:placeholder-shown)~label {
    top: -10px;
    left: 16px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--white);
    padding: 2px 8px;
    border-radius: 4px;
}

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

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--white);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--gray-200);
}

.footer-logo {
    height: 180px;
    width: auto;
    margin-bottom: 24px;
}

.footer-brand p {
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.8;
    max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-900);
    margin-bottom: 24px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-800);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-contact p {
    margin-bottom: 8px;
}

.footer-contact a {
    color: var(--gray-800);
    font-size: 1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact .contact-icon {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.footer-social {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 16px;
}

@media (max-width: 768px) {
    .footer-social {
        justify-content: space-between;
    }
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    margin-top: 24px;
}

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

/* ========================================
   WHATSAPP FLOAT
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    color: var(--white);
}

@keyframes whatsappPulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
    }
}

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

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

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

    .about-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stat-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 24px 16px;
    }

    .stat-title {
        flex: auto;
    }

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

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }

    /* Hero */
    .hero-title-line {
        white-space: normal;
    }

    .hero-subtitle {
        text-align: justify;
        text-justify: inter-word;
        hyphens: auto;
        -webkit-hyphens: auto;
        font-size: 1.1rem;
    }

    /* Top Bar Mobile */
    .top-bar {
        padding: 8px 0;
    }
    .top-bar .nav-container {
        flex-direction: column;
        gap: 8px;
        align-items: center;
        text-align: center;
    }
    .top-bar-info {
        gap: 16px;
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
        font-size: 0.75rem;
    }
    .top-bar-quote {
        display: none;
    }

    /* Nav */
    .navbar {
        position: absolute;
        top: auto;
        width: 100%;
        background: transparent;
    }
    .navbar.scrolled {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: #ffffff !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
        padding: 10px 0 !important;
        z-index: 9999 !important;
    }
    .navbar .nav-container {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    .nav-actions {
        position: absolute;
        left: 24px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1002;
    }
    .nav-toggle {
        display: flex;
        position: relative;
        left: 0;
    }
    .nav-logo {
        margin: 0;
    }
    .nav-logo img {
        height: 85px;
    }
    .navbar.scrolled .nav-logo img {
        height: 75px;
    }
    .nav-actions > .lang-toggle {
        display: none; /* Hide original in header */
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        right: auto;
        transform: none;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 32px 32px;
        gap: 4px;
        transition: var(--transition-slow);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.open {
        left: 0;
    }

    .nav-link {
        color: var(--gray-700);
        font-size: 0.9rem;
        padding: 12px 16px;
    }

    .mobile-lang-toggle {
        display: block !important;
        margin-top: 16px;
    }

    /* Services */
    .service-row {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 32px 0;
    }
    .service-row:hover {
        padding-left: 0;
        padding-right: 0;
        background: transparent;
    }
    .service-row:hover .service-row-title {
        transform: none;
    }

    /* Products */
    .products-showcase {
        grid-template-columns: 1fr;
    }

    .scope-card ul {
        grid-template-columns: 1fr;
    }

    /* Staff */
    .staff-grid {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-form {
        padding: 32px 24px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .footer-brand {
        display: flex;
        justify-content: center;
    }
    
    .footer-contact a {
        justify-content: center;
    }

    /* About Stats */
    .about-stats {
        grid-template-columns: 1fr;
    }

    /* Hero */
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 64px 0;
    }

    .service-card {
        padding: 32px 24px;
    }

    .hero-badge {
        font-size: 0.6rem;
        letter-spacing: 2px;
    }

    .hero-title {
        font-size: clamp(1.5rem, 8vw, 2.2rem);
    }
}