/* ============================================
   LARA OTO LASTİK — Industrial Noir Theme
   ============================================ */

:root {
    --bg-deep: #0d0d1a;
    --bg-primary: #121225;
    --bg-secondary: #181830;
    --bg-card: #1c1c36;
    --bg-card-hover: #22223f;
    --accent: #e63946;
    --accent-glow: rgba(230, 57, 70, 0.35);
    --accent-hover: #ff4757;
    --accent-dark: #b22d37;
    --whatsapp: #25d366;
    --whatsapp-hover: #20bd5a;
    --text-primary: #f0f0f5;
    --text-secondary: #8888a8;
    --text-muted: #55556e;
    --border: rgba(255, 255, 255, 0.06);
    --border-accent: rgba(230, 57, 70, 0.25);
    --white: #ffffff;
    --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --nav-height: 72px;
    --section-padding: 100px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-secondary);
    background: var(--bg-deep);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--accent-hover); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--text-primary);
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1.1;
}

::selection {
    background: var(--accent);
    color: var(--white);
}

/* ===== GRAIN TEXTURE OVERLAY ===== */
.hero-grain,
.section-grain {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
}

/* ===== BUTTONS ===== */
.btn {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    padding: 12px 28px;
    border-radius: 6px;
    transition: all var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-accent:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--white);
    box-shadow: 0 6px 30px var(--accent-glow);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--text-primary);
    border-color: rgba(255,255,255,0.2);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.08);
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
    border-color: var(--whatsapp);
}
.btn-whatsapp:hover {
    background: var(--whatsapp-hover);
    border-color: var(--whatsapp-hover);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.8rem;
}

/* ===== NAVBAR ===== */
#mainNav {
    padding: 16px 0;
    transition: all 0.4s ease;
    background: transparent;
    z-index: 1000;
}

#mainNav.scrolled {
    background: rgba(13, 13, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

#mainNav .container {
    flex-wrap: nowrap;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 1;
    min-width: 0;
    margin-right: 8px;
    padding-top: 0;
    padding-bottom: 0;
}
.navbar-brand .brand-icon {
    color: var(--accent);
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}
.navbar-brand .brand-text {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--white);
    letter-spacing: 0.08em;
    white-space: nowrap;
    line-height: 1;
    transform: translateY(1px);
}
.navbar-brand:hover .brand-text { color: var(--white); }

.navbar-nav .nav-link {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 8px 16px;
    position: relative;
    transition: color var(--transition);
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: center;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--text-primary);
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

/* Nav links container (desktop only) */

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 2px;
    background: rgba(255,255,255,0.06);
    border-radius: 6px;
    padding: 3px;
    margin-right: 20px;
}
.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-body);
    letter-spacing: 0.05em;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition);
}
.lang-btn:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.06);
}
.lang-btn.active {
    color: var(--white);
    background: var(--accent);
}


/* ===== HERO ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(13,13,26,0.7) 0%,
        rgba(13,13,26,0.5) 40%,
        rgba(13,13,26,0.75) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 0 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(230, 57, 70, 0.12);
    border: 1px solid var(--border-accent);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 10vw, 8rem);
    color: var(--white);
    letter-spacing: 0.06em;
    line-height: 0.95;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-desc {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-phone {
    margin-top: 8px;
}
.hero-phone a {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    transition: color var(--transition);
}
.hero-phone a:hover { color: var(--accent); }

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ===== SECTIONS COMMON ===== */
.section-padding {
    padding: calc(var(--section-padding) * 0.8) 0;
    position: relative;
    background: var(--bg-primary);
}
.section-alt {
    background: var(--bg-secondary);
}

.section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
}
.label-line {
    width: 30px;
    height: 1px;
    background: var(--accent);
}

.section-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
}

/* ===== ABOUT ===== */
.about-images {
    position: relative;
    padding: 20px;
}
.about-img-main {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.about-img-main img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.about-images:hover .about-img-main img {
    transform: scale(1.03);
}

.about-img-secondary {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 45%;
    border-radius: 10px;
    overflow: hidden;
    border: 4px solid var(--bg-primary);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.about-img-secondary img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.about-img-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--accent);
    color: var(--white);
    padding: 16px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px var(--accent-glow);
}
.badge-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 0.05em;
    line-height: 1;
}
.badge-text {
    display: block;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
    opacity: 0.9;
}

.about-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-highlight {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 28px;
    padding-left: 16px;
    border-left: 3px solid var(--accent);
}

.about-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ===== SERVICES ===== */
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 32px 24px;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}
.service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: rgba(230, 57, 70, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent);
    font-size: 1.2rem;
    transition: all var(--transition);
}
.service-card:hover .service-icon {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 16px var(--accent-glow);
}

.service-card h4 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.6;
}

/* ===== CTA BANNER ===== */
.cta-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}
.cta-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(13,13,26,0.88) 0%,
        rgba(230,57,70,0.15) 100%
    );
}
.cta-content {
    position: relative;
    z-index: 2;
}
.cta-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    text-transform: uppercase;
    margin-bottom: 12px;
}
.cta-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* Fix for iOS */
@supports (-webkit-touch-callout: none) {
    .cta-bg {
        background-attachment: scroll;
    }
}

/* ===== GALLERY ===== */
.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.gallery-hover {
    position: absolute;
    inset: 0;
    background: rgba(230,57,70,0.0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    opacity: 0;
    transition: all 0.4s ease;
}
.gallery-item:hover img {
    transform: scale(1.08);
}
.gallery-item:hover .gallery-hover {
    opacity: 1;
    background: rgba(230,57,70,0.3);
}

/* ===== CONTACT ===== */
.map-wrapper {
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    min-height: 360px;
    border: 1px solid var(--border);
}
.map-wrapper iframe {
    display: block;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}
.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
    transition: all var(--transition);
}
.contact-card:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
}
.contact-card-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    background: rgba(230,57,70,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1rem;
}
.contact-card-body h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.contact-card-body p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}
.contact-card-body p a {
    color: var(--text-secondary);
}
.contact-card-body p a:hover {
    color: var(--accent);
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ===== FOOTER ===== */
#footer {
    background: var(--bg-deep);
    border-top: 1px solid var(--border);
    padding: 32px 0;
}
.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-brand .brand-icon {
    color: var(--accent);
    font-size: 1.2rem;
}
.footer-brand .brand-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--text-primary);
    letter-spacing: 0.08em;
}
.footer-phone a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
}
.footer-phone a:hover { color: var(--accent); }
.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.95);
    align-items: center;
    justify-content: center;
    padding: 20px;
    cursor: zoom-out;
}
.lightbox.active {
    display: flex;
    animation: lbFadeIn 0.3s ease;
}
@keyframes lbFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    cursor: default;
}
.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity var(--transition);
    z-index: 1;
    line-height: 1;
}
.lightbox-close:hover { opacity: 1; }

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: var(--white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.7;
    transition: all var(--transition);
    z-index: 1;
    font-size: 1rem;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: 1;
    background: var(--accent);
}

/* ===== BACK TO TOP ===== */
#back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--accent);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    z-index: 99;
    box-shadow: 0 4px 16px var(--accent-glow);
    font-size: 0.9rem;
}
#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#back-to-top:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
}

/* ===== MOBILE QUICK ACTIONS ===== */
.mobile-quick-actions {
    position: fixed;
    bottom: 20px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 98;
}
.quick-action-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: all var(--transition);
}
.quick-call {
    background: var(--accent);
}
.quick-call:hover {
    background: var(--accent-hover);
    color: var(--white);
}
.quick-whatsapp {
    background: var(--whatsapp);
}
.quick-whatsapp:hover {
    background: var(--whatsapp-hover);
    color: var(--white);
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
/* Only activate reveal animations after JS adds .reveal-ready to body */
body.reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
body.reveal-ready [data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}
body.reveal-ready [data-reveal-delay="1"] { transition-delay: 0.15s; }
body.reveal-ready [data-reveal-delay="2"] { transition-delay: 0.3s; }
body.reveal-ready [data-reveal-delay="3"] { transition-delay: 0.45s; }
body.reveal-ready [data-reveal-delay="4"] { transition-delay: 0.6s; }

/* ===== RESPONSIVE ===== */

/* Large Desktop */
/* ============================================
   FAQ — SIK SORULAN SORULAR
   ============================================ */
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: border-color var(--transition), background var(--transition);
}
.faq-item:last-child {
    margin-bottom: 0;
}
.faq-item:hover {
    border-color: var(--border-accent);
}
.faq-item[open] {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--text-primary);
    transition: color var(--transition);
}
.faq-q::-webkit-details-marker {
    display: none;
}
.faq-q::marker {
    content: "";
}
.faq-q:hover,
.faq-item[open] .faq-q {
    color: var(--accent);
}

.faq-chevron {
    flex-shrink: 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: transform var(--transition), color var(--transition);
}
.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-a {
    padding: 0 24px 22px;
}
.faq-a p {
    margin: 0;
    font-size: 0.97rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

/* ============================================
   MARKALAR
   ============================================ */
.section-padding-sm {
    position: relative;
    padding: 60px 0;
}

.brands-title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3.5vw, 1.9rem);
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.brands-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 26px;
}

.brand-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.brand-chip {
    display: inline-block;
    padding: 9px 18px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg-card);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.brand-chip:hover {
    color: var(--text-primary);
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
}

/* ============================================
   DIL ONERI CUBUGU
   ============================================ */
.lang-suggest {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    z-index: 1080;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: calc(100vw - 32px);
    padding: 12px 14px 12px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: 999px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.lang-suggest-text {
    font-size: 0.92rem;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lang-suggest-btn {
    flex-shrink: 0;
    border: 0;
    border-radius: 999px;
    padding: 7px 16px;
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--transition);
}
.lang-suggest-btn:hover {
    background: var(--accent-hover);
}

.lang-suggest-close {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--text-secondary);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    transition: color var(--transition), background var(--transition);
}
.lang-suggest-close:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.07);
}

.lang-suggest-btn:focus-visible,
.lang-suggest-close:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

@media (min-width: 1200px) {
    .section-padding {
        padding: var(--section-padding) 0;
    }
}

/* Tablet Landscape */
@media (max-width: 991px) {
    :root {
        --nav-height: 64px;
        --section-padding: 70px;
    }


    .about-images {
        max-width: 480px;
        margin: 0 auto 40px;
    }
}

/* Tablet Portrait */
@media (max-width: 767px) {
    :root {
        --section-padding: 60px;
    }

    .hero-title {
        font-size: clamp(3rem, 12vw, 4.5rem);
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }

    .about-img-secondary {
        width: 40%;
        bottom: -5px;
        right: 0;
    }

    .about-img-badge {
        padding: 12px 14px;
    }
    .badge-number {
        font-size: 1.6rem;
    }

    .about-actions {
        flex-direction: column;
    }
    .about-actions .btn {
        width: 100%;
    }

    .section-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .cta-bg {
        background-attachment: scroll;
    }
}

/* Small screens - shrink navbar elements to stay on one line */
@media (max-width: 479px) {
    .navbar-brand .brand-text {
        font-size: 1.3rem;
    }
    .navbar-brand .brand-icon {
        font-size: 1.2rem;
    }
    .navbar-brand {
        gap: 6px;
    }
    .lang-btn {
        padding: 4px 8px;
        font-size: 0.65rem;
    }
    .lang-switcher {
        gap: 1px;
        margin-right: 14px;
    }
}

/* Small Phone */
@media (max-width: 400px) {
    .navbar-brand .brand-text {
        font-size: 1.15rem;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 6px 14px;
    }

    .hero-desc {
        font-size: 0.95rem;
    }

    .service-card {
        padding: 24px 18px;
    }
}

/* Back to top: adjust for mobile quick actions */
@media (max-width: 767px) {
    #back-to-top {
        bottom: 88px;
        right: 20px;
    }
}

/* Print */
@media print {
    .hero-section { min-height: auto; padding: 40px 0; }
    .hero-bg, .hero-overlay, .hero-grain, .section-grain { display: none; }
    #mainNav, #back-to-top, .mobile-quick-actions, #lightbox-modal { display: none; }
    body { color: #000; background: #fff; }
    h1, h2, h3, h4, h5, h6 { color: #000; }
    .section-padding { padding: 30px 0; }
}

@media (max-width: 767px) {
    .faq-q {
        padding: 16px 18px;
        font-size: 0.97rem;
        gap: 12px;
    }
    .faq-a {
        padding: 0 18px 18px;
    }
    .faq-a p {
        font-size: 0.92rem;
    }
}

@media (max-width: 767px) {
    .section-padding-sm {
        padding: 44px 0;
    }
    .brand-list {
        gap: 8px;
    }
    .brand-chip {
        padding: 7px 14px;
        font-size: 0.8rem;
    }
}

@media (max-width: 575px) {
    .lang-suggest {
        left: 12px;
        right: 12px;
        bottom: 12px;
        transform: none;
        max-width: none;
        border-radius: 14px;
        padding: 12px 12px 12px 16px;
        gap: 10px;
    }
    .lang-suggest-text {
        font-size: 0.85rem;
        white-space: normal;
    }
    .lang-suggest-btn {
        padding: 7px 13px;
        font-size: 0.8rem;
    }
}
