/* ========================================
   McRae Laser & Engraving — Main Styles
   ======================================== */

:root {
    --black: #0a0a0a;
    --black-soft: #111111;
    --black-card: #161616;
    --black-elevated: #1c1c1c;
    --gold: #c9a84c;
    --gold-light: #dbbf6a;
    --gold-dark: #a68832;
    --white: #f5f5f5;
    --gray: #999999;
    --gray-dark: #666666;
    --border: rgba(201, 168, 76, 0.2);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --font-serif: "Cormorant Garamond", Georgia, serif;
    --font-sans: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
    --container: 1200px;
    --header-height: 80px;
    --transition: 0.25s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--white);
    background-color: var(--black);
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.narrow {
    max-width: 760px;
}

.text-gold {
    color: var(--gold);
}

.text-muted {
    color: var(--gray);
}

/* ---- Buttons ---- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
    white-space: nowrap;
}

.btn-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-primary {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

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

.btn-outline {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.btn-outline:hover {
    background: rgba(201, 168, 76, 0.1);
    transform: translateY(-1px);
}

.btn-full {
    width: 100%;
}

.btn-nav {
    padding: 10px 20px;
    font-size: 0.75rem;
}

/* ---- Header ---- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.logo-mark {
    width: 48px;
    height: 48px;
    color: var(--gold);
    flex-shrink: 0;
}

.logo-mark svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-name {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--gold);
    line-height: 1.2;
}

.logo-tagline {
    font-size: 0.65rem;
    color: var(--gray);
    line-height: 1.3;
    max-width: 260px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--gold);
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

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

.nav-list {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    transition: color var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
}

.nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
}

/* ---- Hero ---- */

.hero {
    padding: 60px 0 40px;
    background: linear-gradient(180deg, var(--black-soft) 0%, var(--black) 100%);
}

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

.hero-title {
    font-family: var(--font-sans);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero-line {
    display: block;
}

.hero-accent {
    color: var(--gold);
}

.hero-text {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-showcase {
    position: relative;
    width: min(100%, 560px);
    min-height: 500px;
    margin: 0 auto;
    overflow: visible;
}

.hero-showcase::before {
    content: "";
    position: absolute;
    top: 10%;
    left: 15%;
    right: 5%;
    bottom: 18%;
    background: radial-gradient(ellipse at center, rgba(201, 168, 76, 0.18) 0%, transparent 72%);
    pointer-events: none;
    z-index: 0;
}

/* ---- Featured hero spotlight ---- */

.hero-feature {
    position: relative;
    z-index: 2;
    margin: 0 auto;
    width: min(100%, 460px);
}

.hero-feature-frame {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(201, 168, 76, 0.55);
    background: var(--black-card);
    box-shadow:
        0 28px 60px rgba(0, 0, 0, 0.65),
        0 0 48px rgba(201, 168, 76, 0.14);
    aspect-ratio: 1 / 1;
    width: 100%;
}

.hero-feature-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.hero-feature-caption {
    margin-top: 14px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
    color: var(--gold);
}

/* ---- Supporting product cards ---- */

.hero-supporting {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.hero-support-card {
    position: absolute;
    margin: 0;
    width: 120px;
    pointer-events: auto;
    transition: transform var(--transition), box-shadow var(--transition);
}

.hero-support-frame {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(201, 168, 76, 0.4);
    background: var(--black-card);
    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.55),
        0 0 20px rgba(201, 168, 76, 0.08);
    aspect-ratio: 1 / 1;
    width: 100%;
}

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

.hero-support-card figcaption {
    padding: 8px 4px 0;
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    color: var(--gold);
    line-height: 1.3;
}

.hero-support-card--one {
    top: 12px;
    left: -8px;
    transform: rotate(-5deg);
}

.hero-support-card--one:hover {
    transform: rotate(-3deg) translateY(-3px);
}

.hero-support-card--two {
    top: 36px;
    right: -10px;
    transform: rotate(5deg);
}

.hero-support-card--two:hover {
    transform: rotate(3deg) translateY(-3px);
}

.hero-support-card--three {
    bottom: 56px;
    left: 4px;
    width: 112px;
    transform: rotate(-4deg);
}

.hero-support-card--three:hover {
    transform: rotate(-2deg) translateY(-3px);
}

.hero-support-card--four {
    bottom: 56px;
    right: -8px;
    width: 112px;
    transform: rotate(5deg);
}

.hero-support-card--four:hover {
    transform: rotate(3deg) translateY(-3px);
}

/* ---- Placeholder Images ---- */

.placeholder-image {
    background: linear-gradient(135deg, var(--black-card) 0%, var(--black-elevated) 50%, rgba(201, 168, 76, 0.08) 100%);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.placeholder-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(201, 168, 76, 0.03) 20px,
        rgba(201, 168, 76, 0.03) 21px
    );
}

.placeholder-label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold);
    position: relative;
    z-index: 1;
}

.placeholder-sub {
    font-size: 0.75rem;
    color: var(--gray-dark);
    position: relative;
    z-index: 1;
}

/* ---- Features ---- */

.features {
    padding: 32px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    background: var(--black-soft);
}

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

.feature-item {
    text-align: center;
    padding: 16px 8px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    color: var(--gold);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-item h3 {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

/* ---- Sections ---- */

.section {
    padding: 80px 0;
}

.section-dark {
    background: var(--black-soft);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    text-align: center;
    color: var(--gold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 48px;
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

.cta-note {
    color: var(--gray);
    margin-bottom: 20px;
}

/* ---- Product Cards ---- */

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

.product-card {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    transition: transform var(--transition), border-color var(--transition);
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--border);
}

.card-image {
    aspect-ratio: 4 / 3;
    border: none;
    border-radius: 0;
    overflow: hidden;
}

.card-image img,
.gallery-image img,
.product-detail-image img,
.image-zoom-trigger img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-feature-frame .image-zoom-trigger img,
.hero-feature-img {
    object-fit: contain;
}

.image-zoom-trigger {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    background: transparent;
    cursor: zoom-in;
    font: inherit;
}

.image-zoom-trigger:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.hero-feature-frame .image-zoom-trigger,
.hero-support-frame .image-zoom-trigger {
    width: 100%;
    height: 100%;
}

.card-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

/* ---- CTA Banner ---- */

.cta-banner {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--black-elevated) 0%, rgba(201, 168, 76, 0.06) 100%);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.cta-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cta-banner h2 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.cta-banner p {
    color: var(--gray);
    max-width: 520px;
}

/* ---- Page Hero ---- */

.page-hero {
    padding-top: 60px;
    padding-bottom: 20px;
    background: linear-gradient(180deg, var(--black-soft) 0%, var(--black) 100%);
}

.eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.page-title {
    font-family: var(--font-sans);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
}

.page-lead {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ---- About ---- */

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

.about-content h2 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.about-content p {
    color: var(--gray);
    margin-bottom: 16px;
}

.check-list {
    margin-top: 24px;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--white);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
}

.about-image {
    aspect-ratio: 4 / 5;
    border-radius: 8px;
}

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

.info-card {
    padding: 32px;
    background: var(--black-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    transition: border-color var(--transition);
}

.info-card:hover {
    border-color: var(--border);
}

.info-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 12px;
}

.info-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ---- Products Page ---- */

.product-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.product-detail {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: center;
    padding: 24px;
    background: var(--black-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    transition: border-color var(--transition);
}

.product-detail:hover {
    border-color: var(--border);
}

.product-detail-image {
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    overflow: hidden;
}

.product-detail-body h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 12px;
}

.product-detail-body p {
    color: var(--gray);
}

/* ---- Gallery ---- */

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

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    transition: transform var(--transition), border-color var(--transition);
}

.gallery-item:hover {
    transform: translateY(-4px);
    border-color: var(--border);
}

.gallery-image {
    aspect-ratio: 1 / 1;
    border: none;
    border-radius: 0;
    overflow: hidden;
}

.gallery-caption {
    padding: 14px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    background: var(--black-card);
    text-align: center;
}

/* ---- Form ---- */

.form-container {
    max-width: 720px;
}

.quote-form {
    padding: 40px;
    background: var(--black-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

.label-optional {
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: none;
    color: var(--gray);
}

.file-upload {
    position: relative;
}

.file-upload input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 16px;
    background: var(--black);
    border: 1px dashed rgba(201, 168, 76, 0.35);
    border-radius: 4px;
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
}

.file-upload-label:hover,
.file-upload input[type="file"]:focus + .file-upload-label {
    border-color: var(--gold);
    background: rgba(201, 168, 76, 0.04);
}

.file-upload-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    text-transform: none;
    letter-spacing: 0;
}

.file-upload-hint {
    font-size: 0.78rem;
    color: var(--gray-dark);
    text-transform: none;
    letter-spacing: 0;
}

.file-upload-name {
    margin-top: 10px;
    font-size: 0.82rem;
    color: var(--gold);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--white);
    background: var(--black);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-dark);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a84c' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--black);
}

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray-dark);
    margin-top: 16px;
}

.form-error {
    margin-top: 16px;
    padding: 12px 14px;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #ffb4b4;
    text-align: center;
    background: rgba(255, 80, 80, 0.08);
    border: 1px solid rgba(255, 120, 120, 0.25);
    border-radius: 4px;
}

.form-success {
    text-align: center;
    padding: 60px 40px;
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--black);
    background: var(--gold);
    border-radius: 50%;
}

.form-success h2 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--gold);
    margin-bottom: 12px;
}

.form-success p {
    color: var(--gray);
    margin-bottom: 28px;
}

/* ---- Contact ---- */

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

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

.contact-info .btn {
    align-self: flex-start;
    margin-top: 8px;
}

.contact-email {
    color: var(--gold);
    transition: color var(--transition);
}

.contact-email:hover {
    color: var(--gold-light);
}

.contact-map {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
}

/* ---- Footer ---- */

.site-footer {
    padding: 48px 0 32px;
    background: var(--black-soft);
    border-top: 1px solid var(--border-subtle);
}

.footer-inner {
    text-align: center;
}

.footer-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--gold);
    margin-bottom: 8px;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 24px;
}

.footer-links a {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--gray-dark);
}

/* ---- Responsive ---- */

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .site-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 24px;
        background: rgba(10, 10, 10, 0.98);
        transform: translateX(100%);
        transition: transform var(--transition);
        overflow-y: auto;
    }

    .site-nav.open {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-link {
        display: block;
        padding: 16px 0;
        border-bottom: 1px solid var(--border-subtle);
    }

    .nav-link.active::after {
        display: none;
    }

    .btn-nav {
        margin-top: 24px;
        text-align: center;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero {
        padding: 40px 0 32px;
    }

    .hero-visual {
        order: -1;
    }

    .hero-showcase {
        width: 100%;
        max-width: 400px;
        min-height: auto;
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .hero-showcase::before {
        top: 0;
        left: 0;
        right: 0;
        bottom: 40%;
    }

    .hero-feature {
        width: 100%;
        max-width: none;
    }

    .hero-supporting {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        pointer-events: auto;
    }

    .hero-support-card,
    .hero-support-card--one,
    .hero-support-card--two,
    .hero-support-card--three,
    .hero-support-card--four {
        position: static;
        width: auto;
        transform: none;
    }

    .hero-support-card--one:hover,
    .hero-support-card--two:hover,
    .hero-support-card--three:hover,
    .hero-support-card--four:hover {
        transform: translateY(-3px);
    }

    .hero-support-card figcaption {
        font-size: 0.52rem;
    }

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

    .card-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

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

    .product-detail {
        grid-template-columns: 1fr;
    }

    .cta-banner-inner {
        flex-direction: column;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .quote-form {
        padding: 24px;
    }

    .logo-tagline {
        display: none;
    }
}

@media (min-width: 1100px) {
    .hero-feature {
        max-width: 480px;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }
}

/* ---- Image lightbox ---- */

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.image-lightbox[hidden] {
    display: none;
}

.image-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(4px);
}

.image-lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 1100px);
    max-height: calc(100vh - 48px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.image-lightbox-image {
    width: auto;
    max-width: 100%;
    max-height: calc(100vh - 120px);
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid rgba(201, 168, 76, 0.45);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.65),
        0 0 40px rgba(201, 168, 76, 0.12);
    background: var(--black-card);
}

.image-lightbox-caption {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    text-align: center;
}

.image-lightbox-close {
    position: absolute;
    top: -12px;
    right: -4px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(201, 168, 76, 0.45);
    border-radius: 50%;
    background: var(--black-card);
    color: var(--gold);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}

.image-lightbox-close:hover {
    background: var(--gold);
    color: var(--black);
}

@media (max-width: 768px) {
    .image-lightbox {
        padding: 16px;
    }

    .image-lightbox-close {
        top: 8px;
        right: 8px;
        position: fixed;
        z-index: 2;
    }
}
