/* =========================================================
   شركة عالم الخليج للتجارة العامة — Design System
   1. Tokens  2. Base  3. Navbar  4. Hero  5. Buttons
   6. Sections  7. Cards  8. Sliders & Galleries  9. Pages
   10. Footer  11. Lightbox  12. Responsive  13. Solar tool
   ========================================================= */

/* 1. Tokens ------------------------------------------------ */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-soft: #eff6ff;
    --accent: #d97706;
    --success: #059669;
    --ink: #0f172a;
    --text: #334155;
    --muted: #64748b;
    --line: #e2e8f0;
    --bg: #f8fafc;
    --surface: #ffffff;

    --radius: 14px;
    --radius-sm: 10px;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
    --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.14);
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --section-y: clamp(56px, 8vw, 96px);
    --nav-h: 72px;
}

/* 2. Base -------------------------------------------------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3, h4 {
    color: var(--ink);
    line-height: 1.35;
}

:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.45);
    outline-offset: 2px;
}

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

/* 3. Navbar ------------------------------------------------ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}

.nav-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo img {
    height: 52px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 15.5px;
    padding: 6px 0;
    transition: color 0.25s var(--ease);
}

.nav-link::after {
    content: '';
    position: absolute;
    inset-inline: 0;
    bottom: -4px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s var(--ease);
}

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

.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

.nav-link.central-bank {
    background: var(--primary);
    color: #fff;
    padding: 9px 20px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
}

.nav-link.central-bank::after { display: none; }

.nav-link.central-bank:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.38);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    cursor: pointer;
    border-radius: var(--radius-sm);
}

.hamburger:hover { background: var(--bg); }

.hamburger .bar {
    width: 100%;
    height: 2.5px;
    background: var(--ink);
    border-radius: 3px;
    transition: transform 0.3s var(--ease), opacity 0.2s;
}

.hamburger.active .bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* 4. Hero -------------------------------------------------- */
.hero {
    position: relative;
    min-height: clamp(460px, 78vh, 680px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    background: #0f172a;
}

.hero-background,
.hero-bg-local,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-bg-local {
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: heroFade 18s infinite;
}

.hero-bg-local-1 { background-image: url('https://images.pexels.com/photos/31455879/pexels-photo-31455879.jpeg?auto=compress&cs=tinysrgb&w=1600'); animation-delay: -1s; }
.hero-bg-local-2 { width: 100%; height: 100%; object-fit: cover; animation-delay: 5s; }
.hero-bg-local-3 { background-image: url('tractor_asset/web/IMG_6150.JPG'); animation-delay: 11s; }

@keyframes heroFade {
    0%   { opacity: 0; }
    6%   { opacity: 1; }
    33%  { opacity: 1; }
    39%  { opacity: 0; }
    100% { opacity: 0; }
}

.hero-overlay {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
    padding: 0 20px;
    animation: fadeInUp 0.9s var(--ease) both;
}

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

.hero-title {
    color: #fff;
    font-size: clamp(30px, 5.4vw, 56px);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 18px;
    text-wrap: balance;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
    font-size: clamp(16px, 2.2vw, 21px);
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 36px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 5. Buttons ----------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 30px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    font: 700 16px/1.2 inherit;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.32);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.85);
}

.btn-secondary:hover { background: #fff; color: var(--primary); }

/* 6. Sections ---------------------------------------------- */
.featured-services,
.about-preview,
.product-section,
.additional-services,
.about-section,
.values-section,
.team-section,
.contact-section,
.map-section,
.stats-section {
    position: relative;
    overflow: hidden;
    padding: var(--section-y) 0;
}

.featured-services,
.about-section,
.team-section,
.contact-section { background: var(--surface); }

.about-preview,
.values-section,
.map-section,
.additional-services { background: var(--bg); }

.contact-section.contact-enhanced { background: var(--bg); }

.featured-services .container,
.about-preview .container,
.product-section .container,
.additional-services .container { position: relative; z-index: 2; }

/* One heading style for every section title */
.section-title,
.section-header h2,
.additional-services h2,
.values-section h2,
.team-section h2,
.map-section h2,
.about-text h2,
.about-text-section h2,
.contact-info h2 {
    font-size: clamp(26px, 3.6vw, 36px);
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 14px;
}

.section-title,
.additional-services h2,
.values-section h2,
.team-section h2,
.map-section h2 { text-align: center; }

.section-subtitle,
.section-header p,
.team-section > .container > p {
    max-width: 640px;
    margin: 0 auto 48px;
    text-align: center;
    color: var(--muted);
    font-size: 17px;
}

.values-section h2,
.map-section h2 { margin-bottom: 40px; }

.section-header { text-align: center; margin-bottom: 44px; }
.section-header p { margin-bottom: 0; }

.exclusive-badge {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 14px;
}

.initiative-badge { background: var(--success); }

/* Product sections: plain, alternating, no stock-photo overlays */
.product-section { background: var(--surface); }
.product-section.dvf-section { background: #fffbeb; }
.product-section.solar-initiative-section { background: var(--primary-soft); }

.video-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.bg-video,
.bg-image-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
    opacity: 0.07;
}

.video-overlay { position: absolute; inset: 0; background: inherit; opacity: 0.82; }
.product-section .video-overlay { background: var(--surface); }
.dvf-section .video-overlay { background: #fffbeb; }
.solar-initiative-section .video-overlay { background: var(--primary-soft); }

.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 5vw, 56px);
    align-items: start;
}

.product-info h3 {
    font-size: 28px;
    margin-bottom: 16px;
}

.product-info p {
    color: var(--muted);
    margin-bottom: 18px;
}

.product-features {
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 18px 22px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.product-features ul { list-style: none; }

.product-features li {
    padding: 6px 0;
    color: var(--text);
}

.document-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px;
    background: var(--primary-soft);
    color: var(--primary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    transition: background 0.25s, transform 0.25s var(--ease);
}

.document-link:hover { background: #dbeafe; transform: translateY(-2px); }
.document-link svg { width: 20px; height: 20px; }

/* Tractor section: info on top, wide gallery below */
.dvf-section .product-content { grid-template-columns: 1fr; }
.dvf-section .product-info { order: -1; max-width: 720px; margin: 0 auto; text-align: center; }
.dvf-section .product-features { text-align: start; display: inline-block; min-width: min(100%, 360px); }
.dvf-section .tractor-gallery { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-top: 0; }

/* Solar initiative block */
.initiative-content { max-width: 920px; margin: 0 auto; }

.initiative-intro {
    background: var(--surface);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    margin-bottom: 28px;
}

.initiative-intro h3 { font-size: 24px; margin-bottom: 12px; }
.initiative-intro p { color: var(--muted); }
.initiative-features { margin-bottom: 28px; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 20px;
}

.initiative-cta {
    background: var(--primary);
    padding: 38px 24px;
    border-radius: var(--radius);
    text-align: center;
    color: #fff;
    box-shadow: var(--shadow);
}

.cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary { background: #fff; color: var(--primary); box-shadow: none; }
.cta-buttons .btn-primary:hover { background: var(--primary-soft); }

/* 7. Cards -------------------------------------------------- */
.services-grid,
.values-grid,
.team-grid,
.services-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
    text-align: center;
}

.service-card,
.service-card-mini,
.feature-item,
.value-card,
.team-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.service-card:hover,
.service-card-mini:hover,
.feature-item:hover,
.value-card:hover,
.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-card { overflow: hidden; text-align: center; display: flex; flex-direction: column; }
.service-content { padding: 26px 22px 28px; display: flex; flex-direction: column; align-items: center; flex: 1; }
.service-card h3 { font-size: 22px; margin-bottom: 10px; }
.service-card p { color: var(--muted); margin-bottom: 18px; }
.service-link { margin-top: auto; }

.service-card-mini { padding: 24px; }
.service-card-mini h3 { font-size: 19px; margin-bottom: 10px; }
.service-card-mini p { color: var(--muted); }
.service-card-mini.solar-highlight { background: var(--primary-soft); border-color: var(--primary); }
.service-card-mini.solar-highlight h3 { color: var(--primary); }

.feature-item,
.value-card { padding: 30px 24px; text-align: center; }
.team-card { padding: 34px 24px; text-align: center; }
.feature-item h4 { font-size: 19px; margin-bottom: 10px; }
.value-card h3,
.team-card h3 { font-size: 20px; margin-bottom: 10px; }
.feature-item p,
.value-card p,
.team-card p { color: var(--muted); }

/* Round icon badges — one definition */
.service-icon,
.feature-icon,
.value-icon,
.team-avatar,
.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.service-icon { width: 68px; height: 68px; margin: 0 auto 18px; }
.feature-icon,
.value-icon { width: 64px; height: 64px; margin: 0 auto 18px; }
.team-avatar { width: 88px; height: 88px; margin: 0 auto 18px; }
.contact-icon { width: 48px; height: 48px; }

.service-icon svg,
.feature-icon svg,
.value-icon svg,
.team-avatar svg,
.contact-icon svg {
    width: 52%;
    height: 52%;
    stroke: #fff;
    fill: none;
}

.service-card:hover .service-icon,
.feature-item:hover .feature-icon {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.25s;
}

.service-link::after { content: ' ←'; display: inline-block; transition: transform 0.25s var(--ease); }
.service-link:hover { color: var(--primary-dark); }
.service-link:hover::after { transform: translateX(-4px); }

/* About preview */
.about-content,
.about-grid,
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 6vw, 64px);
    align-items: center;
}

.contact-grid { align-items: start; }

.about-text p,
.about-text-section p {
    color: var(--muted);
    margin-bottom: 22px;
    font-size: 16.5px;
}

.about-features {
    list-style: none;
    margin-bottom: 28px;
    display: grid;
    gap: 6px;
}

.about-features li { color: var(--text); font-weight: 600; }

.about-image,
.about-image-section { text-align: center; }

.about-image img,
.about-main-image {
    max-width: min(100%, 380px);
    height: auto;
    margin: 0 auto;
    background: var(--surface);
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
}

.mission,
.vision {
    background: var(--bg);
    border: 1px solid var(--line);
    padding: 22px;
    border-radius: var(--radius);
}

.mission h3,
.vision h3 { font-size: 19px; margin-bottom: 10px; }
.mission p,
.vision p { color: var(--muted); margin: 0; }

/* Stats */
.stats-section { background: var(--primary); color: #fff; }
.stat-item { padding: 12px; }
.stat-number { font-size: clamp(34px, 5vw, 48px); font-weight: 800; line-height: 1.2; }
.stat-label { font-size: 17px; opacity: 0.92; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); }
.reveal.in-view { opacity: 1; transform: none; }
.service-card.reveal,
.service-card-mini.reveal,
.feature-item.reveal,
.value-card.reveal,
.team-card.reveal { transition: opacity 0.6s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }

/* 8. Sliders & galleries ----------------------------------- */
.service-slider {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: var(--line);
}

.slider-wrapper { position: relative; width: 100%; height: 100%; }

.service-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.service-slide.active { opacity: 1; }

.slider-nav,
.slider-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    transition: transform 0.25s var(--ease), background 0.25s;
}

.slider-dot:hover { background: rgba(255, 255, 255, 0.85); }
.slider-dot.active { background: #fff; transform: scale(1.3); }

.gallery-slider,
.intro-slider { margin-bottom: 28px; }

.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    direction: ltr; /* keeps the slide transform and arrows consistent in RTL pages */
}

.slider-track { display: flex; transition: transform 0.5s var(--ease); }
.slider-slide { min-width: 100%; position: relative; }

.slider-media {
    width: 100%;
    height: clamp(260px, 38vw, 400px);
    object-fit: cover;
    display: block;
}

.intro-slider .slider-media { height: clamp(220px, 30vw, 300px); }

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    z-index: 10;
    transition: transform 0.25s var(--ease), background 0.25s;
}

.slider-btn:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.slider-btn svg { width: 22px; height: 22px; stroke: var(--ink); }
.slider-prev { left: 14px; }
.slider-next { right: 14px; }

.tractor-gallery,
.product-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.tractor-gallery-item,
.product-gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.tractor-gallery-item:hover,
.product-gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.tractor-gallery-item img,
.product-gallery-item img,
.product-gallery-item video {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s var(--ease);
}

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

.basinol-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 20px; }
.basinol-gallery-item { border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
.basinol-gallery-item video { width: 100%; height: 200px; object-fit: cover; }

.gallery-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

/* Small slider inside mini cards */
.mini-slider {
    position: relative;
    height: 150px;
    overflow: hidden;
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
}

.mini-slider-wrapper { position: relative; width: 100%; height: 100%; }

.mini-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.mini-slide.active { opacity: 1; }

.mini-slider-nav {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.mini-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
}

.mini-dot.active { background: #fff; transform: scale(1.2); }

/* Services page: compact service rows */
.service-row { padding: clamp(40px, 6vw, 64px) 0; background: var(--surface); }
.service-row.alt { background: var(--bg); }
.service-row-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.service-row.alt .service-row-media { order: 2; }
.service-main-media { width: 100%; height: clamp(220px, 28vw, 320px); object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--line); }
.media-thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; margin-top: 10px; }
.media-thumbs img, .media-thumbs video { width: 100%; height: 84px; object-fit: cover; border-radius: var(--radius-sm); cursor: pointer; }
.service-row-info h2 { font-size: clamp(24px, 3vw, 30px); margin-bottom: 8px; }
.service-row-info > p { color: var(--muted); margin-bottom: 14px; }
.service-bullets { list-style: none; display: grid; gap: 4px; margin-bottom: 20px; color: var(--text); font-weight: 600; }
.service-row-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.additional-services { padding: 36px 0; }
.additional-services h2 { font-size: 22px; margin-bottom: 16px; }
.support-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.support-list span { background: var(--surface); border: 1px solid var(--line); padding: 8px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; }
a.service-card { text-decoration: none; color: inherit; }
.service-slider { height: 170px; }
.service-content { padding: 18px 18px 20px; }
.service-card h3 { font-size: 20px; margin-bottom: 6px; }
.service-card p { font-size: 15px; margin-bottom: 10px; }
.featured-services { padding: clamp(44px, 6vw, 72px) 0; }
.section-subtitle { margin-bottom: 32px; }
@media (max-width: 768px) { .service-row-inner { grid-template-columns: 1fr; } .service-row.alt .service-row-media { order: 0; } }

/* 9. Page header, contact, map ----------------------------- */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #fff;
    padding: clamp(48px, 8vw, 84px) 0 clamp(40px, 6vw, 64px);
    text-align: center;
}

.page-header h1 {
    color: #fff;
    font-size: clamp(30px, 5vw, 46px);
    font-weight: 800;
    margin-bottom: 10px;
}

.page-header p {
    font-size: clamp(16px, 2.2vw, 19px);
    color: rgba(255, 255, 255, 0.9);
    max-width: 620px;
    margin: 0 auto;
}

.contact-info > p { color: var(--muted); margin-bottom: 32px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-text h3 { font-size: 17px; margin-bottom: 4px; }
.contact-text p { color: var(--muted); }

.social-links { margin-top: 32px; }
.social-links h3 { font-size: 17px; margin-bottom: 14px; }
.social-icons { display: flex; gap: 12px; }

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, transform 0.25s var(--ease);
}

.social-icon svg { width: 20px; height: 20px; stroke: var(--muted); fill: none; transition: stroke 0.25s; }
.social-icon:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-3px); }
.social-icon:hover svg { stroke: #fff; }

.contact-form-container {
    background: var(--surface);
    border: 1px solid var(--line);
    padding: clamp(24px, 4vw, 40px);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-form-container h2 { font-size: 26px; margin-bottom: 24px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-weight: 700; font-size: 14px; color: var(--ink); }

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg);
    font: 15px inherit;
    font-family: inherit;
    color: var(--ink);
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.form-group textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { width: 100%; }

.map-placeholder {
    height: 360px;
    background: var(--line);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-content { text-align: center; color: var(--muted); }
.map-content svg { width: 56px; height: 56px; margin: 0 auto 12px; }

/* 10. Footer ----------------------------------------------- */
.footer {
    background: var(--ink);
    color: #fff;
    padding: 56px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 36px;
}

.footer-section h3,
.footer-section h4 { color: #fff; font-size: 18px; margin-bottom: 16px; }
.footer-section p { color: #94a3b8; }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 8px; }

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.25s;
}

.footer-section ul li a:hover { color: #fff; }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #1e293b;
}

.footer-bottom p { color: #94a3b8; font-size: 14px; }

/* 11. Lightbox --------------------------------------------- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s var(--ease);
    transition: opacity 0.3s;
}

.lightbox-content {
    position: relative;
    max-width: 92%;
    max-height: 92%;
    animation: scaleIn 0.3s var(--ease);
}

@keyframes scaleIn {
    from { transform: scale(0.94); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.lightbox-content img {
    max-width: 100%;
    max-height: 86vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.lightbox-close {
    position: absolute;
    top: -52px;
    inset-inline-end: 0;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.25s, color 0.25s;
}

.lightbox-close:hover { background: #ef4444; color: #fff; }

/* 12. Responsive ------------------------------------------- */
@media (max-width: 900px) {
    .footer-content { grid-template-columns: 1fr 1fr; }
    .footer-content .footer-section:first-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    :root { --nav-h: 64px; }

    .hamburger { display: flex; }
    .nav-logo img { height: 44px; }

    .nav-menu {
        position: fixed;
        top: var(--nav-h);
        inset-inline: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 20px 20px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
    }

    .nav-menu.active { opacity: 1; visibility: visible; transform: translateY(0); }
    .nav-link { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); }
    .nav-link::after { display: none; }
    .nav-item:last-child .nav-link { border: 0; }
    .nav-link.central-bank { text-align: center; margin-top: 14px; }

    .about-content,
    .about-grid,
    .contact-grid,
    .product-content,
    .mission-vision { grid-template-columns: 1fr; }

    .basinol-gallery { grid-template-columns: 1fr; }
    .map-placeholder { height: 260px; }
    .slider-btn { width: 38px; height: 38px; }
}

@media (max-width: 480px) {
    .container,
    .nav-container { padding: 0 16px; }
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .hero-buttons .btn,
    .cta-buttons .btn { width: 100%; }
    .footer-content { grid-template-columns: 1fr; }
    .tractor-gallery,
    .product-gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .tractor-gallery-item img,
    .product-gallery-item img,
    .product-gallery-item video { height: 150px; }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* 13. Solar calculator (solar.html) ------------------------ */
/* Solar Page Specific Styles */
.solar-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 1000px;
    width: 100%;
    margin: 20px auto;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

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

.solar-container .logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 6px 12px;
    background: #fafbfc;
    border-bottom: 1px solid #e8eaed;
    border-radius: 8px 8px 0 0;
    height: 70px;
}

.solar-container .logo-img {
    max-width: 100px;
    max-height: 100px;
    height: auto;
    object-fit: contain;
}

.solar-container .company-name {
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
}

.solar-container .step {
    display: block;
    animation: slideIn 0.2s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.solar-container .main-content {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.solar-container .left-panel,
.solar-container .right-panel {
    flex: 1;
    padding: 16px;
    border-radius: 10px;
}

.solar-container .left-panel {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.solar-container .right-panel {
    background: white;
    border: 1px solid #e2e8f0;
}

.solar-container h2 {
    color: #1e293b;
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 600;
}

.solar-container h3 {
    color: #334155;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 600;
}

.solar-container h4 {
    color: #475569;
    font-size: 13px;
    margin-bottom: 8px;
    font-weight: 600;
}

.solar-container .result-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
}

.solar-container .result-item:last-child {
    border-bottom: none;
}

.solar-container .result-item span:first-child {
    color: #64748b;
    font-size: 13px;
}

.solar-container .value {
    color: #3b82f6;
    font-weight: 600;
    font-size: 13px;
    transition: color 0.2s ease;
}

.solar-container .value.updated {
    animation: pulse 0.3s ease;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
        color: #6366f1;
    }
}

.solar-container .warranty-section {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}

.solar-container .warranty-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
}

.solar-container .warranty-item span:first-child {
    color: #64748b;
    font-size: 13px;
}

.solar-container .selection-header {
    margin-bottom: 12px;
}

.solar-container .capacity-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.solar-container .capacity-option {
    position: relative;
}

.solar-container .capacity-option input {
    position: absolute;
    opacity: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    margin: 0;
}

.solar-container .capacity-option .card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 60px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #fff;
    transition: all 0.15s ease;
}

.solar-container .capacity-option .amp {
    font-size: 14px;
    direction: ltr;
    font-weight: 600;
    color: #1e293b;
}

.solar-container .capacity-option .panels {
    font-size: 12.5px;
    color: #64748b;
}

.solar-container .capacity-option input:hover + .card {
    border-color: #94a3b8;
    background: #f8fafc;
}

.solar-container .capacity-option input:checked + .card {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-color: #3b82f6;
    color: white;
}

.solar-container .capacity-option input:checked + .card .amp,
.solar-container .capacity-option input:checked + .card .panels {
    color: white;
}

.solar-container .capacity-option input:focus-visible + .card {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.solar-container .note {
    background: #fef3c7;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
    font-size: 12.5px;
    color: #92400e;
    border-right: 3px solid #f59e0b;
}

.solar-container .material-section {
    margin-bottom: 16px;
}

.solar-container .form-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 13px;
    color: #475569;
    background: white;
    cursor: pointer;
    margin-bottom: 8px;
    transition: border-color 0.2s ease;
}

.solar-container .form-select:focus {
    outline: none;
    border-color: #3b82f6;
}

.solar-container .option-buttons {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
}

.solar-container .option-btn {
    flex: 1;
    padding: 6px 10px;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12.5px;
    color: #64748b;
    transition: all 0.2s ease;
}

.solar-container .option-btn:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.solar-container .option-btn.active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.solar-container .model-text {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 4px;
}

.solar-container .checkbox-section {
    margin-bottom: 12px;
    padding: 10px;
    background: #f8fafc;
    border-radius: 6px;
}

.solar-container .checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: #475569;
    margin-bottom: 6px;
}

.solar-container .checkbox-label input[type="checkbox"] {
    width: 14px;
    height: 14px;
    cursor: pointer;
}

.solar-container .checkbox-desc {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.4;
    margin-top: 4px;
}

.solar-container .description {
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.solar-container .default-mode {
    background: #eff6ff;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.solar-container .mode-text {
    color: #1e40af;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 4px;
}

.solar-container .mode-detail {
    color: #64748b;
    font-size: 12.5px;
}

.solar-container .question {
    color: #475569;
    font-size: 13px;
    margin-bottom: 10px;
    font-weight: 500;
}

.solar-container .yes-no-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.solar-container .yes-no-btn {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    color: #64748b;
    transition: all 0.2s ease;
}

.solar-container .yes-no-btn.active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.solar-container .yes-no-btn:hover:not(.active) {
    background: #f8fafc;
}

.solar-container .payment-section,
.solar-container .eligibility-section,
.solar-container .contact-section,
.solar-container .notes-section {
    margin-bottom: 16px;
}

.solar-container .payment-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.solar-container .payment-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.solar-container .payment-option:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.solar-container .payment-option input[type="radio"] {
    width: 14px;
    height: 14px;
    cursor: pointer;
}

.solar-container .payment-option span {
    font-size: 13px;
    color: #475569;
}

.solar-container .payment-note {
    font-size: 13px;
    color: #92400e;
    margin-right: 20px;
    margin-top: -4px;
    margin-bottom: 8px;
}

.solar-container .eligibility-desc {
    color: #64748b;
    font-size: 12.5px;
    margin-bottom: 8px;
}

.solar-container .form-group {
    margin-bottom: 10px;
}

.solar-container .form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: #475569;
    font-weight: 500;
}

.solar-container .form-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 13px;
    color: #475569;
    transition: border-color 0.2s ease;
}

.solar-container .form-input:focus {
    outline: none;
    border-color: #3b82f6;
}

.solar-container .form-textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 13px;
    color: #475569;
    resize: vertical;
    min-height: 70px;
    font-family: inherit;
}

.solar-container .form-textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.solar-container .navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}

.solar-container .nav-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.solar-container .prev-btn {
    background: #e2e8f0;
    color: #64748b;
}

.solar-container .prev-btn:hover {
    background: #cbd5e1;
}

.solar-container .next-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.solar-container .next-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.solar-container .next-btn:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.solar-container .submit-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.solar-container .submit-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.solar-container .dots {
    display: flex;
    gap: 6px;
}

.solar-container .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e2e8f0;
    transition: all 0.2s ease;
}

.solar-container .dot.active {
    background: #3b82f6;
    transform: scale(1.15);
    box-shadow: 0 0 6px rgba(59, 130, 246, 0.4);
}

.solar-container .progress-bar {
    width: 100%;
    height: 3px;
    background: #e2e8f0;
    border-radius: 2px;
    margin-bottom: 12px;
    overflow: hidden;
}

.solar-container .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.solar-container .tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
}

.solar-container .tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
}

.solar-container .tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 6px);
}

.solar-container .loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #e2e8f0;
    border-top: 2px solid #3b82f6;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.solar-container .success-message {
    background: #10b981;
    color: white;
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
    display: none;
    animation: slideDown 0.2s ease;
}

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

.solar-container .error-message {
    background: #ef4444;
    color: white;
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
    display: none;
    animation: shake 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

.solar-container .copyright-footer {
    text-align: center;
    padding: 12px;
    margin-top: 16px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 0 0 12px 12px;
}

.solar-container .copyright-footer p {
    color: #64748b;
    font-size: 12.5px;
    margin: 4px 0;
}

.solar-container .copyright-subtitle {
    font-size: 13px;
    color: #94a3b8;
}

@media (max-width: 768px) {
    .solar-container .main-content {
        flex-direction: column;
    }

    .solar-container .capacity-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .solar-container {
        padding: 16px;
    }

    .solar-container .left-panel,
    .solar-container .right-panel {
        padding: 12px;
    }

    .solar-container .navigation {
        flex-direction: column;
        gap: 10px;
    }

    .solar-container .dots {
        order: -1;
    }
}

@media (max-width: 480px) {
    .solar-container .capacity-options {
        gap: 6px;
    }
    .solar-container .capacity-option .card {
        height: 50px;
    }
}

/* Company gallery (about) */
.company-gallery { padding: var(--section-y) 0; background: var(--bg); }
.company-gallery h2 { text-align: center; margin-bottom: 32px; }
.company-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.company-gallery-grid figure {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 5;
    background: var(--surface);
}
.company-gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (max-width: 600px) {
    .company-gallery-grid { grid-template-columns: 1fr; }
}

/* WhatsApp */
.phone-link { color: inherit; text-decoration: none; }
.phone-link:hover { text-decoration: underline; }
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    z-index: 1000;
    transition: transform 0.2s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 32px; height: 32px; }

/* Header background slideshow */
.page-header.has-slides { position: relative; overflow: hidden; }
.page-header.has-slides .container { position: relative; z-index: 1; }
.header-slides { position: absolute; inset: 0; z-index: 0; }
.header-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1.5s ease;
}
.header-slide.active { opacity: 0.4; }

/* Simplified about */
.about-section { padding: clamp(40px, 6vw, 72px) 0; }
.about-grid { grid-template-columns: 1fr 1.4fr; }
.about-main-image { max-width: 240px; }
.about-text-section h2 { margin-bottom: 12px; }
.about-text-section p { margin-bottom: 0; }
.mission-vision { margin-top: 24px; }
.values-compact { padding: 0 0 clamp(32px, 5vw, 56px); }
.values-compact ul {
    list-style: none; display: flex; flex-wrap: wrap;
    justify-content: center; gap: 12px;
}
.values-compact li {
    padding: 10px 26px; border-radius: 999px;
    background: var(--primary-soft); color: var(--primary-dark);
    font-weight: 700;
}
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; } }
video.header-slide { width: 100%; height: 100%; object-fit: cover; }

/* Mobile cleanup */
@media (max-width: 768px) {
    .solar-container {
        margin: 12px 12px 90px;
        width: auto;
        padding: 12px;
    }
    .solar-container .logo-section { display: none; }
    .solar-container .main-content { flex-direction: column-reverse; }
    .solar-container .navigation {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 10px;
    }
    .solar-container .navigation .dots { order: -1; flex: 0 0 100%; justify-content: center; }
    .solar-container .navigation .nav-btn { flex: 1; }
    .whatsapp-float { width: 52px; height: 52px; bottom: 16px; left: 16px; }
    .whatsapp-float svg { width: 28px; height: 28px; }
    img, video { max-width: 100%; }
}

/* Map embed */
.map-embed { padding: 0; overflow: hidden; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-link { text-align: center; margin-top: 20px; }
