/* Reset and Base */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

html { scroll-behavior: smooth; }

/* ── Top Bar ── */
.top-bar {
    background: #1a1a2e;
    color: #bbb;
    padding: 0.45rem 0;
    font-size: 0.84rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-bar span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.top-bar a { color: #fff; text-decoration: none; transition: color 0.2s; }
.top-bar a:hover { color: #667eea; }

/* ── Header ── */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.9rem 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: white;
}

.logo-img { height: 55px; width: auto; object-fit: contain; }

.logo-text h1 { font-size: 1.65rem; line-height: 1.2; margin-bottom: 0.1rem; }
.logo-text p  { font-size: 0.78rem; opacity: 0.88; }

nav ul {
    display: flex;
    list-style: none;
    gap: 0.3rem;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    transition: background 0.25s;
}

nav a:hover,
nav a.active {
    background: rgba(255,255,255,0.2);
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.22);
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    color: white;
    white-space: nowrap;
    transition: background 0.3s;
}

.header-phone:hover { background: rgba(255,255,255,0.38); }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    background: none;
    border: none;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s;
}

/* ── Phone Ringing Animation ── */
.phone-ring-icon {
    display: inline-block;
    transform-origin: center;
    animation: phone-ring 3s ease-in-out 1.2s infinite;
}

@keyframes phone-ring {
    0%         { transform: rotate(0deg) scale(1); }
    4%         { transform: rotate(-28deg) scale(1.2); }
    8%         { transform: rotate(26deg) scale(1.2); }
    12%        { transform: rotate(-24deg) scale(1.18); }
    16%        { transform: rotate(20deg) scale(1.15); }
    20%        { transform: rotate(-14deg) scale(1.08); }
    24%        { transform: rotate(8deg) scale(1.03); }
    28%        { transform: rotate(-3deg) scale(1.01); }
    32%, 100%  { transform: rotate(0deg) scale(1); }
}

/* Glow pulse on hero phone number */
@keyframes phone-glow {
    0%, 100% { text-shadow: 0 0 0 transparent; }
    50%      { text-shadow: 0 0 18px rgba(255,215,0,0.55), 0 0 35px rgba(255,215,0,0.25); }
}

.hero-phone a {
    animation: phone-glow 2.2s ease-in-out infinite;
}

/* ── Three.js Canvas ── */
#hero-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ── Hero (Home) ── */
.hero {
    background: linear-gradient(rgba(20,15,50,0.62), rgba(102,126,234,0.55)),
                url('images/1.jpg') center/cover no-repeat;
    color: white;
    padding: 9rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
    line-height: 1.25;
}

.hero-content > p {
    font-size: 1.25rem;
    margin-bottom: 0.7rem;
    opacity: 0.95;
}

.hero-phone {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 2.2rem;
}

.hero-phone a { color: #ffd700; text-decoration: none; }
.hero-phone a:hover { text-decoration: underline; }

.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Page Hero (inner pages) ── */
.page-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5rem 0 4rem;
    text-align: center;
}

.page-hero h1 { font-size: 2.7rem; margin-bottom: 0.5rem; }
.page-hero > .container > p { font-size: 1.1rem; opacity: 0.88; max-width: 580px; margin: 0 auto; }

.breadcrumb { margin-top: 1rem; font-size: 0.88rem; opacity: 0.75; }
.breadcrumb a { color: white; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ── Buttons ── */
.btn {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 0.85rem 2.4rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.25);
}

.btn-purple {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover { background: white; color: #667eea; }

.btn-green { background: #25D366; color: white; }
.btn-green:hover { background: #1ebe5d; color: white; }

/* ── Section Titles ── */
.section-title {
    text-align: center;
    font-size: 2.3rem;
    margin-bottom: 1rem;
    color: #667eea;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 80px; height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.05rem;
}

/* ── About Preview (Home) ── */
.about-preview { padding: 5rem 0; background: white; }

.about-preview .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 { font-size: 2.1rem; color: #222; margin-bottom: 1.4rem; line-height: 1.3; }
.about-text h2 span { color: #667eea; }
.about-text p { color: #555; margin-bottom: 1.1rem; font-size: 1.03rem; line-height: 1.8; }
.about-text .btn { margin-top: 0.5rem; }

.about-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(102,126,234,0.2);
}

.about-image img { width: 100%; height: 400px; object-fit: cover; display: block; }

/* ── Why Choose Us ── */
.why-us { padding: 5rem 0; background: #f8f9fa; }

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
    border-top: 4px solid #667eea;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102,126,234,0.15);
}

.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.feature-card h3 { color: #333; margin-bottom: 0.7rem; font-size: 1.15rem; }
.feature-card p { color: #666; font-size: 0.93rem; line-height: 1.6; }

/* ── Products Grid (Home Preview) ── */
.products { padding: 5rem 0; background: white; }

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

.product-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(102,126,234,0.15);
    background: white;
}

.product-icon { font-size: 2.7rem; margin-bottom: 1rem; }
.product-card h3 { color: #667eea; margin-bottom: 0.7rem; font-size: 1.15rem; }
.product-card p { color: #666; line-height: 1.6; font-size: 0.93rem; }

/* ── Gallery ── */
.gallery { padding: 5rem 0; background: #f8f9fa; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.4rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
    display: block;
}

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

/* ── CTA Section ── */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.cta-section h2 { font-size: 2.3rem; margin-bottom: 1rem; }
.cta-section > .container > p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 0.8rem; }

.cta-phone {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.cta-phone a { color: #ffd700; text-decoration: none; }
.cta-phone a:hover { text-decoration: underline; }

.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── About Page ── */
.about-story { padding: 5rem 0; background: white; }

.about-story .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text h2 { font-size: 2rem; color: #222; margin-bottom: 1.4rem; line-height: 1.3; }
.story-text h2 span { color: #667eea; }
.story-text p { color: #555; margin-bottom: 1.2rem; line-height: 1.8; }

.story-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(102,126,234,0.2);
}

.story-image img { width: 100%; height: 420px; object-fit: cover; display: block; }

/* Stats */
.stats-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 0;
    color: white;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item h3 { font-size: 2.8rem; font-weight: 700; color: #ffd700; margin-bottom: 0.3rem; }
.stat-item p { font-size: 0.95rem; opacity: 0.85; }

/* Mission/Vision */
.mission-vision { padding: 5rem 0; background: #f8f9fa; }

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.mv-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
    border-left: 5px solid #667eea;
}

.mv-card:last-child { border-left-color: #764ba2; }

.mv-card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.mv-card h3 { font-size: 1.5rem; color: #333; margin-bottom: 1rem; }
.mv-card p { color: #555; line-height: 1.8; }

/* Values */
.our-values { padding: 5rem 0; background: white; }

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.value-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: transform 0.3s;
}

.value-card:hover { transform: translateY(-4px); }
.value-card .value-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.value-card h3 { color: #667eea; margin-bottom: 0.5rem; font-size: 1.1rem; }
.value-card p { color: #666; font-size: 0.9rem; line-height: 1.6; }

/* ── Services Page ── */
.services-section { padding: 5rem 0; background: white; }

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

.service-card {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(102,126,234,0.18);
}

.service-card-img { height: 200px; overflow: hidden; }

.service-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
    display: block;
}

.service-card:hover .service-card-img img { transform: scale(1.06); }

.service-card-body { padding: 1.8rem; }
.service-card-icon { font-size: 2rem; margin-bottom: 0.7rem; }
.service-card-body h3 { color: #667eea; font-size: 1.25rem; margin-bottom: 0.7rem; }
.service-card-body p { color: #555; line-height: 1.7; font-size: 0.95rem; margin-bottom: 1rem; }

.service-features { list-style: none; }
.service-features li { color: #555; padding: 0.2rem 0; font-size: 0.9rem; }
.service-features li::before { content: '✓ '; color: #667eea; font-weight: bold; }

/* Process */
.process-section { padding: 5rem 0; background: #f8f9fa; }

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.process-step { text-align: center; }

.step-number {
    width: 62px; height: 62px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.process-step h3 { color: #333; margin-bottom: 0.5rem; font-size: 1.1rem; }
.process-step p { color: #666; font-size: 0.9rem; line-height: 1.6; }

/* ── Contact Page ── */
.contact-section { padding: 5rem 0; background: #f8f9fa; }

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-top: 4px solid #667eea;
    transition: transform 0.3s;
}

.contact-card:hover { transform: translateY(-5px); }
.contact-card-icon { font-size: 2.5rem; margin-bottom: 0.8rem; }
.contact-card h3 { color: #667eea; margin-bottom: 0.5rem; font-size: 1.1rem; }
.contact-card p { color: #555; font-size: 0.95rem; line-height: 1.6; }
.contact-card a { color: #555; text-decoration: none; }
.contact-card a:hover { color: #667eea; }

.contact-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form-wrap {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.contact-form-wrap h3 { color: #667eea; margin-bottom: 1.5rem; font-size: 1.5rem; }

.contact-form-wrap input,
.contact-form-wrap textarea,
.contact-form-wrap select {
    width: 100%;
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.97rem;
    background: #fafafa;
    transition: border-color 0.3s, background 0.3s;
}

.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus,
.contact-form-wrap select:focus {
    outline: none;
    border-color: #667eea;
    background: white;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(102,126,234,0.4);
}

.contact-info-wrap { display: flex; flex-direction: column; gap: 1.4rem; }

.info-block {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.07);
    border-left: 4px solid #667eea;
}

.info-block h4 { color: #333; margin-bottom: 0.35rem; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.5px; }
.info-block p, .info-block a { color: #555; text-decoration: none; font-size: 1rem; line-height: 1.5; }
.info-block a:hover { color: #667eea; }

.whatsapp-cta {
    background: #25D366;
    color: white;
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    font-weight: 600;
    font-size: 1.05rem;
    transition: background 0.3s, transform 0.3s;
}

.whatsapp-cta:hover { background: #1ebe5d; transform: translateY(-2px); }

/* ── Footer ── */
footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #bbb;
    padding: 3.5rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1.3fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-brand { color: white; margin-bottom: 1rem; }
.footer-brand img { height: 50px; }
.footer-brand h2 { font-size: 1.4rem; margin-top: 0.5rem; }
.footer-brand p { font-size: 0.75rem; opacity: 0.85; }
.footer-about-text { font-size: 0.9rem; line-height: 1.7; margin: 1rem 0 1.2rem; }

.footer-phone-big {
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffd700;
    text-decoration: none;
    margin-bottom: 0.2rem;
}

.footer-phone-big:hover { color: #fff; }
.footer-call-text { font-size: 0.82rem; color: #888; }

.footer-col h4 {
    color: white;
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #667eea;
    display: inline-block;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { color: #aaa; text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: #667eea; }

.footer-contact-list { list-style: none; }
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.9rem;
    font-size: 0.88rem;
    color: #aaa;
    line-height: 1.5;
}

.footer-contact-list a { color: #aaa; text-decoration: none; }
.footer-contact-list a:hover { color: #667eea; }
.footer-contact-list .icon { flex-shrink: 0; margin-top: 0.05rem; }

.footer-bottom {
    border-top: 1px solid #2a2a4e;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.83rem;
    color: #777;
}

.footer-bottom p { margin: 0.3rem 0; }

/* ── WhatsApp Float ── */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 999;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: wa-pulse 2.5s infinite;
    /* card shadow like the icon image */
    box-shadow:
        0 2px 6px rgba(0,0,0,0.18),
        0 6px 24px rgba(37,211,102,0.55),
        inset 0 1px 0 rgba(255,255,255,0.25);
}

.whatsapp-float svg {
    width: 38px;
    height: 38px;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

.whatsapp-float:hover {
    transform: scale(1.13);
    box-shadow:
        0 4px 10px rgba(0,0,0,0.22),
        0 10px 32px rgba(37,211,102,0.7),
        inset 0 1px 0 rgba(255,255,255,0.3);
}

@keyframes wa-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.55); }
    70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ── Gallery Page Grid ── */
.gallery-page { padding: 5rem 0; background: #f8f9fa; }

.gallery-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.4rem;
}

.gallery-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    aspect-ratio: 4/3;
    cursor: pointer;
    display: block;
}

.gallery-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
    display: block;
}

.gallery-thumb:hover img { transform: scale(1.08); }

.gallery-thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(102,126,234,0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.gallery-thumb:hover .gallery-thumb-overlay { background: rgba(102,126,234,0.45); }

.gallery-thumb-overlay .zoom-icon {
    color: white;
    font-size: 2.2rem;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.3s, transform 0.3s;
}

.gallery-thumb:hover .zoom-icon { opacity: 1; transform: scale(1); }

/* ── Lightbox ── */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.lightbox.active { opacity: 1; pointer-events: all; }

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.93);
    cursor: pointer;
}

.lightbox-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1rem;
    max-width: 96vw;
}

#lb-img {
    max-width: min(82vw, 1000px);
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    display: block;
    transition: opacity 0.2s;
}

.lb-close {
    position: absolute;
    top: -44px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2.6rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    transition: color 0.2s, transform 0.25s;
}

.lb-close:hover { color: #667eea; transform: rotate(90deg); }

.lb-prev, .lb-next {
    background: rgba(255,255,255,0.12);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    width: 52px; height: 52px;
    border-radius: 50%;
    font-size: 1.7rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.2s;
    line-height: 1;
    padding: 0;
}

.lb-prev:hover, .lb-next:hover {
    background: rgba(102,126,234,0.7);
    transform: scale(1.1);
}

.lb-counter {
    position: absolute;
    bottom: -36px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.65);
    font-size: 0.88rem;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

@media (max-width: 600px) {
    .lb-prev, .lb-next { width: 40px; height: 40px; font-size: 1.3rem; }
    #lb-img { max-width: 92vw; max-height: 80vh; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .top-bar-right { display: none; }
    .top-bar .container { justify-content: center; }

    .hamburger { display: flex; }

    nav {
        display: none;
        width: 100%;
        order: 10;
    }

    nav.open { display: block; }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0.4rem 0;
    }

    nav ul li a {
        display: block;
        padding: 0.65rem 0.5rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }

    .header-phone { font-size: 0.82rem; padding: 0.35rem 0.8rem; }

    .hero { padding: 6rem 0; }
    .hero-content h2 { font-size: 2rem; }
    .hero-content > p { font-size: 1rem; }
    .hero-phone { font-size: 1.25rem; }

    .page-hero h1 { font-size: 2rem; }
    .section-title { font-size: 1.9rem; }

    .about-preview .container,
    .about-story .container,
    .contact-main { grid-template-columns: 1fr; }

    .story-image { order: -1; }
    .about-image img, .story-image img { height: 260px; }

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

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

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

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

@media (max-width: 480px) {
    .hero-content h2 { font-size: 1.7rem; }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .contact-cards { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .cta-phone { font-size: 1.5rem; }
}
