/* ============================================================
   CEILAN SOLUTIONS — Premium Design System
   ============================================================ */

/* --- Design Tokens --- */
:root {
    --primary: #00b4d8;
    --primary-light: #48cae4;
    --primary-dark: #0096c7;
    --accent: #ff6b6b;
    --accent-glow: rgba(255, 107, 107, 0.3);
    --gold: #f9c74f;
    --surface: #0a0e17;
    --surface-raised: #111827;
    --surface-card: rgba(17, 24, 39, 0.65);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(0, 180, 216, 0.3);
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(0, 180, 216, 0.15);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Light Mode Overrides --- */
:root.light-mode {
    --surface: #f8fafc;
    --surface-raised: #ffffff;
    --surface-card: rgba(255, 255, 255, 0.8);
    --border: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 180, 216, 0.4);
    --text: #0f172a;
    --text-muted: #475569;
    --text-dim: #64748b;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 40px rgba(0, 180, 216, 0.1);
}

:root.light-mode .bg-ambient {
    opacity: 0.4;
}

:root.light-mode .hero-bg::after {
    background: linear-gradient(135deg,
            rgba(248, 250, 252, 0.95) 0%,
            rgba(248, 250, 252, 0.8) 50%,
            rgba(248, 250, 252, 0.9) 100%);
}

:root.light-mode .glass-nav {
    background: rgba(248, 250, 252, 0.8);
}

:root.light-mode .glass-nav.scrolled {
    background: rgba(248, 250, 252, 0.98);
}

:root.light-mode .nav-links.active {
    background: rgba(248, 250, 252, 0.98);
}

:root.light-mode .site-footer {
    background: rgba(241, 245, 249, 0.95);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--surface);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

/* --- Ambient Background --- */
.bg-ambient {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: orbFloat 25s ease-in-out infinite alternate;
}

.bg-orb--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-dark), transparent 70%);
    top: -15%;
    left: -10%;
}

.bg-orb--2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #7c3aed, transparent 70%);
    bottom: -10%;
    right: -8%;
    animation-delay: -8s;
    opacity: 0.25;
}

.bg-orb--3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-light), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -15s;
    opacity: 0.15;
}

@keyframes orbFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -20px) scale(1.08);
    }

    100% {
        transform: translate(-20px, 30px) scale(0.95);
    }
}

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

.container--wide {
    max-width: 1400px;
}

/* --- Typography --- */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--primary);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.7;
}

.text-center {
    text-align: center;
}

.text-center .section-subtitle {
    margin: 0 auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 20px rgba(0, 180, 216, 0.35);
}

.btn-primary::before {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 180, 216, 0.5);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 2px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary-light);
    box-shadow: var(--shadow-glow);
    transform: translateY(-3px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    border: 1px solid var(--border);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

/* --- Glass Card --- */
.glass-card {
    background: var(--surface-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.glass-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* --- Navigation --- */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 14, 23, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0;
    transition: var(--transition);
}

.glass-nav.scrolled {
    background: rgba(10, 14, 23, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 0.5rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.nav-links a.active {
    color: var(--primary-light);
    background: rgba(0, 180, 216, 0.1);
}

/* Contact Button in Header */
.nav-links li:last-child a {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}

.nav-links li:last-child a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 180, 216, 0.4);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 8px;
}

/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--surface), transparent);
    z-index: 2;
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
    filter: saturate(0.5);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(10, 14, 23, 0.95) 0%,
            rgba(10, 14, 23, 0.7) 50%,
            rgba(10, 14, 23, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-text {
    max-width: 600px;
}

.hero-text .subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-text .main-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 480px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual img,
.hero-visual video {
    width: 100%;
    max-width: 500px;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.hero-visual::before {
    content: '';
    position: absolute;
    inset: -3px;
    max-width: 506px;
    height: 426px;
    border-radius: calc(var(--radius-xl) + 3px);
    background: linear-gradient(135deg, var(--primary), transparent 60%);
    opacity: 0.3;
    z-index: -1;
    margin: 0 auto;
}

/* --- Page Header --- */
.page-header {
    padding-top: 140px;
    padding-bottom: 40px;
    text-align: center;
}

.page-header .main-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 550px;
    margin: 0 auto;
}

/* --- Stat Badges / Metrics --- */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 0;
    flex-wrap: wrap;
    padding: 2.5rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-light), var(--gold));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-dim);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

/* --- Grid Utilities --- */
.grid {
    display: grid;
    gap: 2rem;
}

.grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid--auto {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid--auto-sm {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* --- Strengths Section --- */
.section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.strength-card {
    text-align: center;
    padding: 2.5rem 2rem;
}

.strength-card .icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.15), rgba(0, 180, 216, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--primary);
    border: 1px solid rgba(0, 180, 216, 0.1);
    transition: var(--transition);
}

.strength-card:hover .icon-wrap {
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.25), rgba(0, 180, 216, 0.1));
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 180, 216, 0.2);
}

.strength-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.strength-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- About Snippet (Home) --- */
.about-snippet {
    position: relative;
}

.about-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-row .text-content .section-title {
    font-size: 2.2rem;
}

.about-row .text-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.about-row .image-content {
    position: relative;
}

.about-row .image-content img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.about-row .image-content::after {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 180, 216, 0.15);
    pointer-events: none;
}

/* --- Project Cards (Clientele) --- */
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--surface-card);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.project-card__image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-card__image img {
    transform: scale(1.08);
}

.project-card__image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, var(--surface-card), transparent);
    pointer-events: none;
}

.project-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.project-card__badge--solar {
    background: rgba(249, 199, 79, 0.2);
    color: var(--gold);
    border: 1px solid rgba(249, 199, 79, 0.3);
}

.project-card__badge--infra {
    background: rgba(0, 180, 216, 0.2);
    color: var(--primary-light);
    border: 1px solid rgba(0, 180, 216, 0.3);
}

.project-card__badge--intl {
    background: rgba(124, 58, 237, 0.2);
    color: #a78bfa;
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.project-card__body {
    padding: 1.5rem 2rem 2rem;
}

.project-card__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.project-card__subtitle {
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.project-card__details {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 12px;
    font-size: 0.85rem;
}

.project-card__details dt {
    color: var(--text-dim);
    font-weight: 500;
}

.project-card__details dd {
    color: var(--text-muted);
}

.project-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
}

.project-card__list li {
    padding: 6px 0;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.project-card__list li:last-child {
    border-bottom: none;
}

.project-card__list li::before {
    content: '→';
    color: var(--primary);
    font-weight: 600;
    flex-shrink: 0;
}

/* --- Category Header --- */
.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    margin-top: 4rem;
}

.category-header:first-child {
    margin-top: 0;
}

.category-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.category-icon--solar {
    background: linear-gradient(135deg, rgba(249, 199, 79, 0.2), rgba(249, 199, 79, 0.05));
    color: var(--gold);
    border: 1px solid rgba(249, 199, 79, 0.15);
}

.category-icon--infra {
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.2), rgba(0, 180, 216, 0.05));
    color: var(--primary);
    border: 1px solid rgba(0, 180, 216, 0.15);
}

.category-icon--intl {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(124, 58, 237, 0.05));
    color: #a78bfa;
    border: 1px solid rgba(124, 58, 237, 0.15);
}

.category-header h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.category-header p {
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* --- Service Cards --- */
.service-card {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.service-card__image {
    height: 200px;
    overflow: hidden;
}

.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-card__image img {
    transform: scale(1.05);
}

.service-card__body {
    padding: 2rem;
}

.service-card__title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-card__title i {
    color: var(--primary);
    font-size: 1.1rem;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 10px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li i {
    color: var(--primary);
    margin-top: 4px;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* --- Product Cards --- */
.product-card {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.product-card__image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-card__image img {
    transform: scale(1.05);
}

.product-card__body {
    padding: 1.5rem 2rem 2rem;
}

.product-card__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-card__list {
    list-style: none;
    padding: 0;
    font-size: 0.85rem;
}

.product-card__list li {
    padding: 5px 0;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-card__list li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
}

/* --- Team Cards (About) --- */
.team-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.team-card__avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 3px solid rgba(0, 180, 216, 0.2);
    transition: var(--transition);
}

.team-card:hover .team-card__avatar {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 180, 216, 0.2);
}

.team-card__name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.team-card__role {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-card__bio {
    font-size: 0.82rem;
    color: var(--text-dim);
    line-height: 1.6;
}

/* --- Quality Policy / Vision-Mission --- */
.policy-list {
    list-style: none;
    padding: 0;
}

.policy-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.95rem;
    color: var(--text-muted);
}

.policy-list li:last-child {
    border-bottom: none;
}

.policy-list li i {
    color: var(--primary);
    margin-top: 4px;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
}

.contact-info-item {
    display: flex;
    gap: 1.2rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-item .icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.15), rgba(0, 180, 216, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
    border: 1px solid rgba(0, 180, 216, 0.1);
}

.contact-info-item h3 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.contact-info-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

.form-input::placeholder {
    color: var(--text-dim);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

/* --- Footer --- */
.site-footer {
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 1rem;
    padding-bottom: 1rem;
}

.footer-col h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.footer-col p {
    color: var(--text-dim);
    font-size: 0.88rem;
    margin-bottom: 0.25rem;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col p a {
    color: inherit;
    transition: var(--transition);
}

.footer-col p a:hover {
    color: var(--primary-light);
}

.footer-col p i {
    color: var(--primary);
    width: 18px;
    font-size: 0.85rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.25rem;
}

.footer-links a {
    color: var(--text-dim);
    font-size: 0.88rem;
    line-height: 1.3;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a::before {
    content: '›';
    color: var(--primary);
    font-weight: bold;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    transform: translateX(4px);
}

.footer-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-social a:hover {
    transform: translateY(-3px);
}

.footer-social a.social-whatsapp:hover {
    background: rgba(37, 211, 102, 0.15);
    border-color: rgba(37, 211, 102, 0.3);
    color: #25d366;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.15);
}

.footer-social a.social-facebook:hover {
    background: rgba(24, 119, 242, 0.15);
    border-color: rgba(24, 119, 242, 0.3);
    color: #1877f2;
    box-shadow: 0 0 20px rgba(24, 119, 242, 0.15);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 1rem 0;
    color: var(--text-dim);
    font-size: 0.8rem;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom a {
    color: inherit;
    font-weight: 600;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--primary-light);
}

@media (max-width: 768px) {
    .footer-bottom .container {
        justify-content: center;
        text-align: center;
    }
}

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text p {
        margin: 0 auto;
    }

    .hero-visual {
        margin-top: 1rem;
    }

    .hero-visual img,
    .hero-visual video {
        max-width: 100%;
        height: 280px;
    }

    .hero-visual::before {
        max-width: 100%;
        height: 286px;
    }

    .cta-group {
        justify-content: center;
    }

    .about-row {
        grid-template-columns: 1fr;
    }

    .grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .section,
    .about-snippet {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .hero-text .main-title {
        font-size: 2.5rem;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        right: -100%;
        height: calc(100vh - 72px);
        width: 100%;
        background: rgba(10, 14, 23, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        transition: right 0.4s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-toggle {
        display: block;
    }

    .grid--2,
    .grid--3,
    .grid--4 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .stats-bar {
        gap: 1.5rem;
    }

    .hero-visual img,
    .hero-visual video {
        height: 220px;
    }

    .hero-visual::before {
        height: 226px;
    }
}

/* --- Form Feedback --- */
.form-message {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    display: none;
}

.form-message--success {
    display: block;
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.25);
    color: #25d366;
}

.form-message--error {
    display: block;
    background: rgba(255, 77, 77, 0.1);
    border: 1px solid rgba(255, 77, 77, 0.25);
    color: #ff4d4d;
}

.btn--loading {
    pointer-events: none;
    opacity: 0.7;
}

/* --- Theme Toggle --- */
.theme-toggle-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

/* --- Brands Carousel --- */
.brands-section {
    padding: 3rem 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(10, 14, 23, 0.4);
}

.brands-marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-around;
    min-width: 100%;
    animation: scrollMarquee 40s linear infinite;
}

.marquee-content img {
    height: 65px;
    width: auto;
    margin: 0 4rem;
    object-fit: contain;
    /* Maintain natural colors but slightly muted */
    opacity: 0.8;
    transition: var(--transition);
}

.marquee-content img:hover {
    opacity: 1;
    transform: scale(1.05);
}

:root.light-mode .brands-section {
    background: rgba(241, 245, 249, 0.5);
}

:root.light-mode .marquee-content img {
    opacity: 0.7;
}

@keyframes scrollMarquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .brands-section {
        padding: 3.5rem 0;
    }

    .marquee-content img {
        height: 45px;
        margin: 0 2rem;
    }

    @keyframes scrollMarquee {
        from {
            transform: translateX(0);
        }

        to {
            transform: translateX(-50%);
        }
    }
}

.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.theme-toggle-btn:hover {
    background: rgba(0, 180, 216, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
}

:root.light-mode .theme-toggle-btn {
    background: rgba(0, 0, 0, 0.03);
}

.theme-toggle-btn i {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle-btn:active i {
    transform: scale(0.8) rotate(45deg);
}

@media (max-width: 768px) {
    .theme-toggle-wrap {
        justify-content: center;
        margin-top: 2rem;
    }
}