/* ============================================
   Hospital Cubicle Track — Bold & Industrial
   ============================================ */

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--brand-dark); }
ul { list-style: none; }

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

/* --- Header --- */
.site-header {
    background: #1a1a1a;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    min-height: 70px;
}

.logo {
    display: flex;
    flex-direction: column;
    color: #fff;
    text-decoration: none;
    margin-right: auto;
    padding: 10px 0;
}

.logo-name {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.logo-tagline {
    font-size: 0.75rem;
    color: #aaa;
    font-weight: 400;
}

.header-phone {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-right: 24px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    background: var(--brand);
    border-radius: 4px;
    transition: background 0.2s;
}

.header-phone:hover {
    background: var(--brand-dark);
    color: #fff;
}

.phone-icon { font-size: 1.2rem; }

/* --- Mobile Toggle --- */
.mobile-toggle {
    display: none;
    background: none;
    border: 2px solid #fff;
    color: #fff;
    font-size: 1.5rem;
    padding: 4px 10px;
    cursor: pointer;
    border-radius: 4px;
    line-height: 1;
}

/* --- Navigation --- */
.main-nav {
    width: 100%;
    border-top: 1px solid #333;
}

.nav-list {
    display: flex;
    gap: 0;
}

.nav-list > li { position: relative; }

.nav-link {
    display: block;
    padding: 12px 18px;
    color: #ccc;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s, background 0.2s;
    border: none;
    background: none;
    cursor: pointer;
    font-family: var(--font);
    white-space: nowrap;
}

.nav-link:hover,
.nav-list > li.active > .nav-link,
.nav-list > li.active > button.nav-link {
    color: #fff;
    background: var(--brand);
}

/* Dropdown */
.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #222;
    min-width: 260px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    z-index: 110;
}

.has-dropdown:hover .dropdown,
.has-dropdown.dropdown-open .dropdown {
    display: block;
}

.dropdown .nav-link {
    padding: 10px 18px;
    text-transform: none;
    font-size: 0.85rem;
    border-bottom: 1px solid #333;
}

.dropdown li:last-child .nav-link { border-bottom: none; }
.dropdown .nav-link:hover { background: var(--brand); color: #fff; }
.dropdown li.active .nav-link { background: var(--brand); color: #fff; }

.dropdown-toggle::after {
    content: " \25BE";
    font-size: 0.7rem;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    background: #1a1a1a;
    color: #fff;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    width: 100%;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 24px;
    color: #ddd;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font);
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--brand-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(196,2,2,0.3);
}

.btn-secondary {
    background: #fff;
    color: #333;
    border: 2px solid #ddd;
}

.btn-secondary:hover {
    border-color: var(--brand);
    color: var(--brand);
}

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

.btn-outline:hover {
    background: #fff;
    color: #333;
}

/* --- Product Grid (Homepage) --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    padding: 40px 0;
}

.product-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.product-card:hover {
    border-color: var(--brand);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card-body {
    padding: 20px;
}

.product-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #222;
}

.product-card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 16px;
}

.product-card .btn {
    padding: 10px 20px;
    font-size: 0.85rem;
    width: 100%;
}

/* --- Section Styles --- */
.section {
    padding: 60px 0;
}

.section-dark {
    background: #1a1a1a;
    color: #fff;
}

.section-light {
    background: #fff;
}

.section-grey {
    background: #f5f5f5;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 12px;
}

.section-dark .section-header h2 { color: #fff; }

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.section-dark .section-header p { color: #aaa; }

/* Red accent bar */
.section-header h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--brand);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* --- Product Page Layout --- */
.product-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    padding: 40px 0;
}

.product-image {
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid #e0e0e0;
}

.product-image img {
    width: 100%;
    height: auto;
}

.product-info h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 16px;
    line-height: 1.2;
}

.product-info h1::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--brand);
    margin-top: 12px;
    border-radius: 2px;
}

.product-info p {
    margin-bottom: 16px;
    color: #555;
}

.product-info ul {
    margin-bottom: 20px;
    padding-left: 0;
}

.product-info li {
    padding: 6px 0 6px 24px;
    position: relative;
    color: #555;
}

.product-info li::before {
    content: "\2714";
    position: absolute;
    left: 0;
    color: var(--brand);
    font-weight: 700;
}

.download-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #f5f5f5;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.2s;
    margin-top: 8px;
}

.download-link:hover {
    border-color: var(--brand);
    background: #fff;
}

.download-link::before {
    content: "\2B07";
    font-size: 1.1rem;
}

/* --- CTA Banner --- */
.cta-banner {
    background: var(--brand);
    color: #fff;
    text-align: center;
    padding: 50px 20px;
}

.cta-banner h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-banner p {
    font-size: 1.1rem;
    margin-bottom: 24px;
    opacity: 0.9;
}

.cta-banner .btn {
    background: #fff;
    color: var(--brand);
}

.cta-banner .btn:hover {
    background: #222;
    color: #fff;
}

/* --- Features Row --- */
.section-features {
    background: #2d2d2d;
    padding: 32px 0;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 16px 0;
}

.feature {
    text-align: center;
    padding: 20px 20px;
}

.feature-svg {
    width: 40px;
    height: 40px;
    color: var(--brand);
    margin: 0 auto 16px;
    stroke-width: 1.5;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--brand);
}

.feature h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.feature p {
    font-size: 0.9rem;
    color: #bbb;
}

/* --- Content Pages (About, Service, etc.) --- */
.content-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.content-page h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}

.content-page h1::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--brand);
    margin: 12px 0 24px;
    border-radius: 2px;
}

.content-page h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #222;
    margin: 32px 0 12px;
}

.content-page h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin: 24px 0 8px;
}

.content-page p {
    margin-bottom: 16px;
    color: #555;
}

.content-page ul, .content-page ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.content-page li {
    margin-bottom: 6px;
    color: #555;
}

.content-page ul li { list-style: disc; }
.content-page ol li { list-style: decimal; }

.content-page a { font-weight: 600; }

/* --- Contact Form --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px 0;
}

.contact-details h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #222;
}

.contact-details p {
    margin-bottom: 12px;
    color: #555;
}

.contact-details .detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.contact-details .detail-icon {
    font-size: 1.2rem;
    color: var(--brand);
    min-width: 24px;
    text-align: center;
    padding-top: 2px;
}

.contact-form {
    background: #fff;
    padding: 32px;
    border-radius: 6px;
    border: 2px solid #e0e0e0;
}

.contact-form h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #222;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: var(--font);
    transition: border-color 0.2s;
    background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand);
    background: #fff;
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-status {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 16px;
    font-weight: 600;
    display: none;
}

.form-status.success {
    display: block;
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.form-status.error {
    display: block;
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* --- Map placeholder --- */
.map-container {
    margin-top: 24px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid #e0e0e0;
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
}

/* --- Footer --- */
.site-footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 50px 0 0;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h3 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col p {
    margin-bottom: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-col a {
    color: #ccc;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--brand);
}

.footer-col ul li {
    margin-bottom: 6px;
}

.footer-col ul li a {
    font-size: 0.9rem;
}

.footer-address {
    font-size: 0.85rem;
    color: #999;
    line-height: 1.6;
}

.footer-bottom {
    grid-column: 1 / -1;
    border-top: 1px solid #333;
    padding: 20px 0;
    margin-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #777;
}

/* --- Utility --- */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

/* --- Responsive --- */
@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
        order: 3;
    }

    .header-phone {
        order: 2;
        font-size: 0.9rem;
        padding: 6px 12px;
        margin-right: 12px;
    }

    .main-nav {
        display: none;
        order: 4;
    }

    .main-nav.open {
        display: block;
    }

    .nav-list {
        flex-direction: column;
    }

    .nav-link {
        padding: 14px 20px;
        border-bottom: 1px solid #333;
    }

    .dropdown {
        position: static;
        box-shadow: none;
    }

    .dropdown .nav-link {
        padding-left: 36px;
        background: #181818;
    }

    .hero { min-height: 300px; }

    .hero h1 { font-size: 1.8rem; }

    .hero p { font-size: 1rem; }

    .product-page {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .section { padding: 40px 0; }

    .section-header h2 { font-size: 1.6rem; }

    .cta-banner { padding: 36px 20px; }

    .cta-banner h2 { font-size: 1.4rem; }
}

@media (max-width: 480px) {
    .header-inner { padding: 0 12px; }

    .logo-name { font-size: 1.1rem; }

    .header-phone .phone-icon { display: none; }

    .hero h1 { font-size: 1.5rem; }

    .product-card img { height: 160px; }

    .contact-form { padding: 20px; }

    .btn { padding: 12px 24px; font-size: 0.9rem; }
}

/* --- Cookie Banner --- */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: #1a1a1a;
    color: #ccc;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.3);
}

.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.4;
}

.cookie-banner a {
    color: #fff;
    text-decoration: underline;
}

.cookie-dismiss {
    background: var(--brand);
    color: #fff;
    border: none;
    padding: 8px 24px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
    font-family: var(--font);
    transition: background 0.2s;
}

.cookie-dismiss:hover {
    background: var(--brand-dark);
}

@media (max-width: 480px) {
    .cookie-banner-inner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* --- Print --- */
@media print {
    .site-header, .site-footer, .cta-banner, .mobile-toggle { display: none; }
    body { background: #fff; color: #000; }
    a { color: #000; }
    .section { padding: 20px 0; }
}
