/* ===================================
   Marbag s.r.o. — Landing Page Styles
   =================================== */

:root {
    --orange: #ffaa00;
    --orange-hover: #e69900;
    --dark: #1a1a1a;
    --text: #333333;
    --text-light: #666666;
    --gray-bg: #f4f4f4;
    --gray-border: #e0e0e0;
    --white: #ffffff;
    --font-heading: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    --font-body: 'Inter', 'Helvetica Neue', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

section[id] {
    scroll-margin-top: 72px;
}

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

.overline {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--orange);
    margin-bottom: 12px;
}

.text-accent {
    color: var(--orange);
}


/* ===================================
   Navigation
   =================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav--scrolled {
    background-color: var(--dark);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav__logo img {
    height: 36px;
    width: auto;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav__links a {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white);
    transition: color 0.2s ease;
    white-space: nowrap;
}

.nav__links a:hover {
    color: var(--orange);
}

.nav__cta {
    font-weight: 600 !important;
    color: var(--orange) !important;
}

.nav__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__check {
    display: none;
}

.nav__check:checked ~ .nav__toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav__check:checked ~ .nav__toggle span:nth-child(2) {
    opacity: 0;
}

.nav__check:checked ~ .nav__toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* ===================================
   Hero
   =================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.72) 30%, rgba(0, 0, 0, 0.25) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    width: 100%;
}

.hero h1 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.05;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 20px;
    max-width: 600px;
}

.hero__sub {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    max-width: 480px;
    margin-bottom: 36px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 28px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}

.btn--primary {
    background-color: var(--orange);
    color: var(--dark);
}

.btn--primary:hover {
    background-color: var(--orange-hover);
    transform: translateY(-1px);
}

.btn--primary svg {
    flex-shrink: 0;
}

.btn--dark {
    background-color: var(--dark);
    color: var(--white);
}

.btn--dark:hover {
    background-color: #2a2a2a;
    transform: translateY(-1px);
}


/* ===================================
   Stats Strip
   =================================== */

.stats {
    background-color: var(--dark);
    padding: 28px 0;
}

.stats__grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.stats__divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

.stats__item {
    text-align: center;
}

.stats__item strong {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--orange);
    line-height: 1.2;
}

.stats__item span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* ===================================
   About
   =================================== */

.about {
    padding: 96px 0;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

.about__image img {
    width: 100%;
    height: auto;
    max-height: 440px;
    object-fit: cover;
}

.about__text h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.25rem;
    color: var(--dark);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.about__text p {
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.7;
}

.about__text .btn {
    margin-top: 12px;
}


/* ===================================
   Services
   =================================== */

.services {
    background-color: var(--gray-bg);
    padding: 96px 0;
}

.services > .container > .overline {
    text-align: center;
}

.services > .container > h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.25rem;
    color: var(--dark);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 56px;
}

.service {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 2px;
    background: var(--white);
    overflow: hidden;
}

.service:last-child {
    margin-bottom: 0;
}

.service__image {
    overflow: hidden;
}

.service__image img {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service:hover .service__image img {
    transform: scale(1.03);
}

.service__text {
    padding: 32px 28px;
}

.service__text h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.service__text p {
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 16px;
}

.service__link {
    display: inline-block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 2px;
    border-bottom: 2px solid var(--orange);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.service__link:hover {
    color: var(--orange-hover);
    border-color: var(--orange-hover);
}


/* ===================================
   Fleet / Equipment
   =================================== */

.fleet {
    padding: 96px 0;
}

.fleet > .container > .overline {
    text-align: center;
}

.fleet > .container > h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.25rem;
    color: var(--dark);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 56px;
}

.fleet__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.fleet__item {
    text-align: center;
    padding: 24px 16px;
    background: var(--gray-bg);
    transition: box-shadow 0.2s ease;
}

.fleet__item:hover {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.fleet__item--cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 2px dashed var(--accent, #faa328);
    background: transparent;
}

.fleet__item--cta:hover {
    background: var(--gray-bg);
}

.fleet__cta-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--accent, #faa328);
    text-transform: uppercase;
}

.fleet__cta-sub {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 4px;
}

.fleet__img {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.fleet__img img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

.fleet__item h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--dark);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.fleet__type {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.fleet__specs {
    font-size: 0.85rem;
    color: var(--text);
}

.fleet__specs li {
    padding: 4px 0;
    border-top: 1px solid var(--gray-border);
}

.fleet__specs li:last-child {
    border-bottom: 1px solid var(--gray-border);
}


/* ===================================
   Gallery
   =================================== */

.gallery {
    padding: 96px 0;
    background: var(--gray-bg);
}

.gallery > .container > .overline {
    text-align: center;
}

.gallery > .container > h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.25rem;
    color: var(--dark);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 48px;
}

/* Gallery mosaic — 4col x 4row with mixed tile sizes */
.gallery__mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 150px);
    gap: 6px;
}

.gallery__tile {
    overflow: hidden;
}

.gallery__tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery__tile--cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: var(--gray-bg);
    border: 2px dashed var(--accent, #faa328);
}

.gallery__tile--cta:hover {
    background: rgba(250, 163, 40, 0.08);
}

.gallery__cta-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--accent, #faa328);
    text-transform: uppercase;
}

.gallery__cta-sub {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 4px;
}


/* ===================================
   Contact
   =================================== */

.contact {
    padding: 96px 0;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.contact__info h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.25rem;
    color: var(--dark);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.contact__intro {
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 420px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact__row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact__row svg {
    flex-shrink: 0;
    color: var(--orange);
    margin-top: 2px;
}

.contact__row strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 2px;
}

.contact__row a {
    color: var(--dark);
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact__row a:hover {
    color: var(--orange);
}

.contact__row span {
    color: var(--dark);
}

.contact__map {
    background: var(--gray-bg);
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact__map-inner {
    text-align: center;
    padding: 40px;
}

.contact__map-inner svg {
    margin-bottom: 16px;
}

.contact__map-inner p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

.contact__map-link {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--orange);
    padding-bottom: 2px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.contact__map-link:hover {
    color: var(--orange-hover);
    border-color: var(--orange-hover);
}


/* ===================================
   Footer
   =================================== */

.footer {
    background-color: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 64px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer__logo {
    height: 40px;
    width: auto;
    margin-bottom: 16px;
    opacity: 0.9;
}

.footer__brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer__col h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer__col ul li {
    margin-bottom: 8px;
}

.footer__col a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

.footer__col a:hover {
    color: var(--orange);
}

.footer__col li {
    font-size: 0.9rem;
}

.footer__equipment {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    justify-content: center;
}

.footer__equipment img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: #fff;
    border-radius: 6px;
    padding: 6px;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.footer__equipment img:hover {
    opacity: 0.8;
}

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    gap: 8px;
}

.footer__bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}


/* ===================================
   Responsive — Tablet (768px+)
   =================================== */

@media (min-width: 768px) {
    .nav__toggle {
        display: none;
    }

    .about__grid {
        grid-template-columns: 5fr 6fr;
        gap: 56px;
    }

    .about__image img {
        min-height: 360px;
    }

    .service {
        grid-template-columns: 1fr 1fr;
        margin-bottom: 2px;
    }

    .service--reverse .service__image {
        order: 2;
    }

    .service--reverse .service__text {
        order: 1;
    }

    .service__text {
        padding: 48px 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .service__image img {
        min-height: 320px;
    }

    .fleet__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact__grid {
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }

    .contact__map {
        min-height: 100%;
    }

    .footer__grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 48px;
    }
}


/* ===================================
   Responsive — Mobile (<768px)
   =================================== */

@media (max-width: 767px) {
    .nav__toggle {
        display: flex;
    }

    .nav__links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: 24px;
        gap: 0;
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }

    .nav__check:checked ~ .nav__links {
        transform: translateY(0);
    }

    .nav__links a {
        display: block;
        padding: 12px 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav__links a:last-child {
        border-bottom: none;
        padding-top: 16px;
    }

    .hero {
        min-height: 90vh;
    }

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

    .hero__overlay {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 20%, rgba(0, 0, 0, 0.3) 100%);
    }

    .hero__content {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        min-height: 90vh;
        padding-bottom: 60px;
    }

    .stats__grid {
        flex-direction: column;
        gap: 16px;
    }

    .stats__divider {
        width: 40px;
        height: 1px;
    }

    .stats {
        padding: 24px 0;
    }

    .about {
        padding: 60px 0;
    }

    .services {
        padding: 60px 0;
    }

    .fleet {
        padding: 60px 0;
    }

    .gallery {
        padding: 60px 0;
    }

    .contact {
        padding: 60px 0;
    }

    .service__text {
        padding: 24px 20px;
    }

    .fleet__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .fleet__img {
        height: 120px;
    }

    .gallery__mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        grid-auto-rows: 120px;
    }
    .gallery__mosaic .gallery__tile { grid-row: auto !important; grid-column: auto !important; }
    .gallery__mosaic .gallery__tile:first-child { grid-column: span 2 !important; grid-row: auto !important; }

    .footer__equipment img {
        height: 60px;
    }
}


/* ===================================
   Responsive — Large Desktop (1024px+)
   =================================== */

@media (min-width: 1024px) {
    .fleet__grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .about__grid {
        gap: 80px;
    }

    .service__text {
        padding: 56px 48px;
    }
}


/* ===================================
   Sub-page Styles
   =================================== */

/* Solid navigation for sub-pages */
.nav--solid {
    background-color: var(--dark);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}


/* Active nav link */
.nav__links a.active {
    color: var(--orange);
}

/* Page Hero (sub-pages) */
.page-hero {
    background: var(--dark);
    padding: 130px 0 56px;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.1;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 560px;
}

/* About Full Page */
.about-full {
    padding: 80px 0;
}

.about-full__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
}

.about-full__image img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
}

.about-full__text h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--dark);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.about-full__text p {
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 16px;
}

/* Service List Items */
.service-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.service-list li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    color: var(--text);
    line-height: 1.5;
}

.service-list li::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--orange);
    flex-shrink: 0;
    margin-top: 6px;
}

/* Equipment Detail Page */
.equipment-detail {
    padding: 80px 0;
}

.equipment-detail__item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid var(--gray-border);
}

.equipment-detail__item:last-child {
    border-bottom: none;
}

.equipment-detail__img {
    text-align: center;
}

.equipment-detail__img img {
    max-height: 360px;
    width: auto;
    margin: 0 auto;
}

.equipment-detail__info h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.equipment-detail__type {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.equipment-detail__specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.equipment-detail__spec {
    padding: 12px 16px;
    background: var(--gray-bg);
}

.equipment-detail__spec strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.equipment-detail__spec span {
    font-weight: 500;
    color: var(--dark);
}

/* Gallery Full Page */
.gallery-full {
    padding: 80px 0;
    background: var(--gray-bg);
}

.gallery-full__section-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dark);
    margin: 48px 0 16px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--orange);
    display: inline-block;
}

.gallery-full__section-title:first-child {
    margin-top: 0;
}

.gallery-full__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.gallery-full__item {
    overflow: hidden;
}

.gallery-full__item img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.gallery-full__item--wide {
    grid-column: span 2;
}

.gallery-full__item--wide img {
    max-height: 420px;
}

/* Contact Full Page */
.contact-business {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-border);
}

.contact-business h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--dark);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.contact-business__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.contact-business__item {
    padding: 16px;
    background: var(--gray-bg);
}

.contact-business__item strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact-business__item span {
    font-weight: 500;
    color: var(--dark);
    font-size: 0.95rem;
}

/* Responsive — Sub-pages — Tablet (768px+) */
@media (min-width: 768px) {
    .about-full__grid {
        grid-template-columns: 5fr 6fr;
        gap: 64px;
    }

    .equipment-detail__item {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }

    .gallery-full__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .service-list {
        grid-template-columns: 1fr 1fr;
    }
}

/* Responsive — Sub-pages — Desktop (1024px+) */
@media (min-width: 1024px) {
    .gallery-full__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .equipment-detail__item {
        grid-template-columns: 1.2fr 1fr;
    }
}

/* Responsive — Sub-pages — Mobile (<768px) */
@media (max-width: 767px) {
    .page-hero {
        padding: 100px 0 40px;
    }

    .equipment-detail__specs {
        grid-template-columns: 1fr;
    }

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

    .gallery-full__item img {
        min-height: 150px;
    }

    .gallery-full__item--wide img {
        max-height: 280px;
    }
}


/* ===================================
   Lightbox (CSS-only)
   =================================== */

.gallery-full__item a {
    display: block;
    height: 100%;
    cursor: pointer;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox:target {
    opacity: 1;
    pointer-events: auto;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
}

.lightbox__close {
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1;
    transition: color 0.2s ease;
    z-index: 1;
}

.lightbox__close:hover {
    color: var(--white);
}

.lightbox__prev,
.lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.6);
    padding: 20px;
    transition: color 0.2s ease;
    z-index: 1;
    user-select: none;
}

.lightbox__prev { left: 8px; }
.lightbox__next { right: 8px; }

.lightbox__prev:hover,
.lightbox__next:hover {
    color: var(--white);
}

@media (max-width: 767px) {
    .lightbox__prev,
    .lightbox__next {
        font-size: 1.8rem;
        padding: 12px;
    }

    .lightbox__close {
        top: 12px;
        right: 16px;
        font-size: 2rem;
    }

    .lightbox img {
        max-width: 96vw;
        max-height: 80vh;
    }
}


/* ===================================
   Contact Form
   =================================== */

.contact-form {
    margin-top: 56px;
    padding-top: 56px;
    border-top: 1px solid var(--gray-border);
    max-width: 640px;
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark);
    text-transform: uppercase;
    margin-bottom: 24px;
}

.contact-form__group {
    margin-bottom: 16px;
}

.contact-form__group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 6px;
}

.contact-form__group input,
.contact-form__group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--dark);
    background: var(--gray-bg);
    border: 1px solid var(--gray-border);
    transition: border-color 0.2s ease;
}

.contact-form__group input:focus,
.contact-form__group textarea:focus {
    outline: none;
    border-color: var(--orange);
}

.contact-form__group textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form .btn {
    margin-top: 8px;
}

@media (max-width: 767px) {
    .contact-form__row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        margin-top: 40px;
        padding-top: 40px;
    }
}


/* ===================================
   Google Maps Embed
   =================================== */

.contact__map iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: 0;
}
