/* ============================================
   VZ Service — Redesign
   ============================================ */

:root {
    --orange: #f0801a;
    --orange-dark: #d96d0a;
    --orange-glow: rgba(240, 128, 26, 0.25);
    --dark: #0f172a;
    --dark-soft: #1e293b;
    --dark-card: #1a2332;
    --text: #334155;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --bg: #ffffff;
    --bg-warm: #fffbf5;
    --bg-cool: #f8fafc;
    --white: #ffffff;
    --success: #10b981;
    --error: #ef4444;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-orange: 0 8px 30px rgba(240, 128, 26, 0.3);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body {
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; transition: all 0.3s; }
a:hover { color: var(--orange-dark); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 800; line-height: 1.2; color: var(--dark); }
p { margin-bottom: 1rem; }
iframe { width: 100%; border: 0; }

/* ---- Utilities ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---- Scroll Reveal ---- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---- Header ---- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s;
}
.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}

.header-top {
    background: var(--dark);
    overflow: hidden;
}
.header-top .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 36px;
    gap: 2px;
}
.header-top a {
    color: rgba(255,255,255,0.6);
    padding: 4px 14px;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.25s;
    letter-spacing: 0.02em;
}
.header-top a:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

.header-main { height: 72px; }
.header-main .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.site-logo img { height: 48px; width: auto; }
.site-logo-text {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.02em;
    transition: color 0.3s;
}
.site-logo:hover .site-logo-text { color: var(--orange); }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    border-radius: 8px;
    transition: all 0.25s;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    position: relative;
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--orange);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(-50%);
}
.main-nav a:hover { color: var(--orange); background: rgba(240,128,26,0.06); }
.main-nav a:hover::after, .main-nav a.active::after { width: 60%; }
.main-nav a.active { color: var(--orange); }
.main-nav a.nav-mobile-only { display: none; }

.mobile-toggle {
    display: none;
    background: none;
    border: 2px solid var(--border);
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    color: var(--text);
    transition: all 0.25s;
}
.mobile-toggle:hover { border-color: var(--orange); color: var(--orange); }
.mobile-toggle svg { width: 22px; height: 22px; display: block; }

/* ---- Page Header (Fancy) ---- */
.page-hero {
    text-align: center;
    padding: 72px 0 56px;
    position: relative;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(240,128,26,0.12) 0%, rgba(240,128,26,0.04) 35%, transparent 65%);
    pointer-events: none;
}
.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    position: relative;
}
.page-hero h1 span {
    background: linear-gradient(135deg, var(--orange) 0%, #e85d04 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.page-hero-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--orange), #e85d04);
    border-radius: 4px;
    margin: 0 auto;
    position: relative;
}
.page-hero-subtitle {
    margin-top: 16px;
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

/* ---- Content Body ---- */
.content-body {
    max-width: 780px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.85;
    padding-bottom: 60px;
}
.content-body h2 {
    font-size: 1.6rem;
    margin: 2.5rem 0 1rem;
    position: relative;
    padding-left: 18px;
}
.content-body h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background: linear-gradient(to bottom, var(--orange), #e85d04);
    border-radius: 4px;
}
.content-body h3 {
    font-size: 1.25rem;
    margin: 2rem 0 0.75rem;
}
.content-body p { margin-bottom: 1.25rem; }
.content-body ul, .content-body ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.content-body ul li { list-style-type: disc; margin-bottom: 0.5rem; }
.content-body ol li { list-style-type: decimal; margin-bottom: 0.5rem; }
.content-body img { border-radius: var(--radius); margin: 2rem 0; box-shadow: var(--shadow-md); }
.content-body a { text-decoration: underline; text-decoration-color: var(--orange-glow); text-underline-offset: 3px; }
.content-body a:hover { text-decoration-color: var(--orange); }
.content-body strong { font-weight: 700; color: var(--dark); }
.content-body table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.content-body table td, .content-body table th {
    padding: 12px 16px;
    vertical-align: top;
    border-bottom: 1px solid var(--border);
}

/* ---- Products ---- */
.products-section {
    padding-bottom: 80px;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.product-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    group: card;
}
.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: linear-gradient(135deg, var(--orange), #e85d04);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    z-index: 1;
}
.product-card:hover::before { opacity: 1; }
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.product-card-image {
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-cool) 0%, var(--bg-warm) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}
.product-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to top, rgba(255,255,255,0.8), transparent);
    pointer-events: none;
}
.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.08));
}
.product-card:hover .product-card-image img {
    transform: scale(1.08);
}
.product-card-body {
    padding: 18px 20px;
    text-align: center;
    position: relative;
}
.product-card-body h3 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: color 0.3s;
}
.product-card:hover .product-card-body h3 { color: var(--orange); }

.product-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--text-muted);
    transition: all 0.4s;
}
.product-card-placeholder svg {
    width: 48px;
    height: 48px;
    opacity: 0.4;
    transition: all 0.4s;
}
.product-card:hover .product-card-placeholder {
    color: var(--orange);
}
.product-card:hover .product-card-placeholder svg {
    opacity: 0.7;
    transform: scale(1.1);
}
.product-card-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-cool);
    color: var(--text-muted);
    transition: all 0.3s;
}
.product-card-arrow svg { width: 16px; height: 16px; }
.product-card:hover .product-card-arrow {
    background: var(--orange);
    color: white;
    transform: translateX(4px);
}

/* ---- Contact ---- */
.contact-section { padding-bottom: 80px; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-info {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 100%);
    border-radius: var(--radius-xl);
    padding: 48px;
    color: rgba(255,255,255,0.85);
    position: relative;
    overflow: hidden;
}
.contact-info::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--orange-glow) 0%, transparent 70%);
    pointer-events: none;
}
.contact-info h2 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 4px;
    position: relative;
}
.contact-info .company-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
    position: relative;
}
.contact-item:last-child { margin-bottom: 0; }
.contact-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(240,128,26,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-item-content h4 {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.45);
    margin-bottom: 4px;
}
.contact-item-content p {
    margin-bottom: 2px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
}
.contact-item-content a {
    color: var(--orange);
    font-weight: 600;
}

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    position: relative;
}
.contact-form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}
.contact-form-card .form-subtitle {
    color: var(--text-light);
    margin-bottom: 28px;
    font-size: 0.95rem;
}

/* ---- Forms ---- */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--bg-cool);
    border: 2px solid transparent;
    border-radius: var(--radius);
    outline: none;
    transition: all 0.3s;
    resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus,
.wpcf7 input:focus,
.wpcf7 textarea:focus {
    border-color: var(--orange);
    background: var(--white);
    box-shadow: 0 0 0 4px var(--orange-glow);
}

.wpcf7-not-valid-tip { display: none !important; }
.wpcf7-not-valid { border-color: var(--error) !important; background: #fef2f2 !important; }
.wpcf7-response-output { margin: 0 !important; }

.btn,
form input[type="submit"],
form button[type="submit"],
.wpcf7 input[type="submit"],
.wpcf7 button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 36px;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(135deg, var(--orange) 0%, #e85d04 100%);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    position: relative;
    overflow: hidden;
}
a.btn:hover,
.btn:hover,
form input[type="submit"]:hover,
form button[type="submit"]:hover,
.wpcf7 input[type="submit"]:hover,
.wpcf7 button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-orange);
    color: var(--white) !important;
    background: linear-gradient(135deg, #e85d04 0%, var(--orange-dark) 100%);
}
.btn:active, form input[type="submit"]:active, .wpcf7 input[type="submit"]:active { transform: translateY(0); }

/* ---- Flash Messages ---- */
.flash-message {
    padding: 16px 20px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.flash-message--success {
    background: #ecfdf5;
    color: #065f46;
    border-left: 4px solid var(--success);
}
.flash-message--error {
    background: #fef2f2;
    color: #991b1b;
    border-left: 4px solid var(--error);
}

/* ---- Map ---- */
.map-section { margin-top: 56px; }
.map-section .map-label {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 0.9rem;
    font-weight: 500;
}
.map-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    position: relative;
}
.map-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 2px;
    background: linear-gradient(135deg, var(--orange), transparent, var(--orange));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}
.map-wrapper iframe { display: block; height: 380px; }

/* ---- Gallery ---- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
@media (min-width: 768px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (min-width: 1024px) {
    .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}
.gallery-item {
    display: block;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    position: relative;
}
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item-inner { aspect-ratio: 1 / 1; }
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 24px 12px 10px;
    background: linear-gradient(to top, rgba(15,23,42,0.75) 0%, transparent 100%);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.3;
}

/* ---- Fotogalerie / Videa / Inzeráty (stránky se speciální šablonou) ---- */
.media-section { margin-bottom: 3rem; }
.media-empty {
    text-align: center;
    color: var(--text-light);
    padding: 3rem 0;
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 640px) {
    .video-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .video-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
.video-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.video-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.video-card-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--dark);
    overflow: hidden;
}
.video-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.video-card:hover .video-card-thumb img { transform: scale(1.05); }
.video-card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-orange);
    transition: transform 0.3s;
}
.video-card-play svg { width: 28px; height: 28px; margin-left: 4px; }
.video-card:hover .video-card-play { transform: scale(1.1); }
.video-card-title {
    padding: 16px 20px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.4;
}

.ad-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.ad-card {
    display: grid;
    grid-template-columns: 1fr;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}
@media (min-width: 768px) {
    .ad-card { grid-template-columns: minmax(260px, 2fr) 3fr; }
}
.ad-card-image {
    position: relative;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, var(--bg-cool) 0%, var(--bg-warm) 100%);
}
.ad-card-image > a:not([hidden]) { display: block; height: 100%; }
.ad-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ad-card-count {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15,23,42,0.75);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    pointer-events: none;
}
.ad-card-sold {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--dark);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    pointer-events: none;
}
.ad-card--sold .ad-card-image img { filter: grayscale(0.7); }
.ad-card-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
}
.ad-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
}
.ad-card-params {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    color: var(--text-light);
    font-size: 0.9rem;
}
.ad-card-params strong { color: var(--dark); }
.ad-card-desc {
    color: var(--text);
    line-height: 1.7;
}
.ad-card-footer {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}
.ad-card-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--orange-dark);
}
.ad-card--sold .ad-card-price {
    color: var(--text-muted);
    text-decoration: line-through;
}

/* ---- Footer ---- */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.75);
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: '';
    position: absolute;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(240,128,26,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.footer-wave {
    display: block;
    width: 100%;
    height: 80px;
    margin-bottom: -2px;
}

.footer-main { padding: 64px 0 48px; position: relative; }
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}
.footer-info h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 4px;
}
.footer-info .footer-company {
    color: var(--orange);
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.footer-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.footer-detail-col p {
    margin-bottom: 3px;
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.6);
}
.footer-detail-col a { color: var(--orange); font-weight: 600; }
.footer-detail-col strong {
    color: rgba(255,255,255,0.35);
    font-weight: 800;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-top: 18px;
    margin-bottom: 6px;
}
.footer-detail-col strong:first-child { margin-top: 0; }

.footer-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    border: 2px solid rgba(255,255,255,0.08);
    transition: all 0.4s;
}
.footer-map:hover { border-color: rgba(240,128,26,0.3); transform: translateY(-4px); }
.footer-map img { width: 100%; height: auto; display: block; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.3);
    font-weight: 500;
    letter-spacing: 0.03em;
    position: relative;
}

/* ---- Homepage Hero ---- */
.homepage-hero {
    position: relative;
    padding: 80px 24px 60px;
    overflow: hidden;
    margin: 0 -24px;
}
.homepage-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--dark) 0%, #162033 50%, var(--dark-soft) 100%);
    z-index: 0;
}
.homepage-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.homepage-hero-orb--1 {
    width: 500px;
    height: 500px;
    top: -150px;
    right: -100px;
    background: rgba(240, 128, 26, 0.15);
    animation: orbFloat 8s ease-in-out infinite;
}
.homepage-hero-orb--2 {
    width: 400px;
    height: 400px;
    bottom: -200px;
    left: -100px;
    background: rgba(240, 128, 26, 0.08);
    animation: orbFloat 10s ease-in-out infinite reverse;
}
@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -20px); }
}
.homepage-hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}
.homepage-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.homepage-hero-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    padding: 6px 16px;
    background: rgba(240, 128, 26, 0.1);
    border: 1px solid rgba(240, 128, 26, 0.2);
    border-radius: 100px;
}
.homepage-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}
.homepage-hero h1 span {
    background: linear-gradient(135deg, var(--orange) 0%, #ffb347 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.homepage-hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}
.homepage-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}
.btn--outline {
    background: transparent !important;
    border: 2px solid rgba(255,255,255,0.25);
    color: #fff !important;
}
.btn--outline::before { display: none; }
.btn--outline:hover {
    border-color: var(--orange);
    background: rgba(240, 128, 26, 0.1) !important;
    color: var(--orange) !important;
}

/* ---- Stats Bar ---- */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 48px 0;
    margin: 0 -24px;
    padding-left: 48px;
    padding-right: 48px;
    background: var(--bg-cool);
    border-bottom: 1px solid var(--border);
}
.stat-item {
    text-align: center;
    position: relative;
}
.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: var(--border);
}
.stat-item:last-child::after { display: none; }
.stat-number {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    color: var(--dark);
    line-height: 1;
    display: inline;
}
.stat-suffix {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 900;
    color: var(--orange);
    display: inline;
}
.stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 8px;
}

/* ---- Section Heading ---- */
.section-heading {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 16px;
}
.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--orange), #e85d04);
    border-radius: 4px;
}

/* ---- Services Preview ---- */
.services-preview {
    padding: 64px 0 48px;
}
.services-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    display: block;
    text-decoration: none;
    padding: 36px 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), #e85d04);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(240,128,26,0.1), rgba(240,128,26,0.05));
    color: var(--orange);
    margin-bottom: 18px;
    transition: all 0.4s;
}
.service-card-icon svg { width: 28px; height: 28px; }
.service-card:hover .service-card-icon {
    background: linear-gradient(135deg, var(--orange), #e85d04);
    color: #fff;
    transform: scale(1.1);
}
.service-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    transition: color 0.3s;
}
.service-card:hover h3 { color: var(--orange); }
.service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 0;
}

/* ---- Reference Grid (from DB content) ---- */
#reference {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 16px 0 40px;
}
#reference .clear { display: none; }
.reference-item {
    display: flex;
}
.reference-item-inside {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 120px;
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.reference-item-inside:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--orange);
}
.reference-item-inside a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.reference-item-inside img {
    max-width: 100%;
    max-height: 80px;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.4s;
}
.reference-item-inside:hover img {
    filter: grayscale(0%) opacity(1);
}

/* ---- Error Page ---- */
.error-page { text-align: center; padding: 100px 24px; }
.error-page h1 { font-size: 3rem; margin-bottom: 16px; }
.error-page p { color: var(--text-light); font-size: 1.1rem; max-width: 480px; margin: 0 auto 28px; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-details { grid-template-columns: 1fr; }
    .services-preview-grid { grid-template-columns: repeat(3, 1fr); }
    #reference { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .header-top { display: none; }
    .mobile-toggle { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        padding: 12px;
        gap: 2px;
    }
    .main-nav.open { display: flex; }
    .main-nav a {
        width: 100%;
        padding: 14px 18px;
        justify-content: flex-start;
        font-size: 0.95rem;
    }
    .main-nav a::after { display: none; }
    .main-nav a.nav-mobile-only { display: block; }
    .main-nav a.nav-mobile-first {
        margin-top: 8px;
        border-top: 1px solid var(--border);
        border-radius: 0 0 8px 8px;
    }

    .page-hero { padding: 48px 0 32px; }
    .page-hero h1 { font-size: 2rem; }

    .homepage-hero { padding: 56px 24px 40px; }
    .homepage-hero h1 { font-size: 2rem; }
    .homepage-hero-desc { font-size: 1rem; }

    .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; padding: 36px 24px; }
    .stat-item:nth-child(2)::after { display: none; }

    .services-preview-grid { grid-template-columns: 1fr; gap: 16px; }
    .service-card { text-align: left; display: flex; gap: 18px; align-items: center; padding: 24px; }
    .service-card-icon { margin-bottom: 0; flex-shrink: 0; }
    .service-card h3 { margin-bottom: 4px; }

    #reference { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .reference-item-inside { min-height: 90px; padding: 16px; }

    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .contact-grid { grid-template-columns: 1fr; gap: 28px; }
    .contact-info, .contact-form-card { padding: 32px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }

    .content-body { font-size: 1rem; }
    .map-wrapper iframe { height: 260px; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
    .container { padding: 0 16px; }
    .contact-info, .contact-form-card { padding: 24px; border-radius: var(--radius-lg); }
    .homepage-hero { padding: 40px 16px 32px; }
    .stats-bar { padding: 28px 16px; }
    #reference { grid-template-columns: 1fr 1fr; }
}
