/* ===== Google Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Raleway:wght@300;400;500;600;700&display=swap');

/* ===== Custom Properties ===== */
:root {
    --charcoal: #2C2C2C;
    --charcoal-light: #3D3D3D;
    --charcoal-dark: #1A1A1A;
    --off-white: #F5F2EB;
    --off-white-dark: #E8E4DB;
    --cream: #FAF8F3;
    --gold: #BFA060;
    --gold-dark: #A8883F;
    --gold-light: #D4BC82;
    --overlay-dark: rgba(44, 44, 44, 0.55);
    --overlay-darker: rgba(44, 44, 44, 0.7);
    --overlay-light: rgba(44, 44, 44, 0.35);

    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Raleway', 'Helvetica Neue', Arial, sans-serif;

    --transition-smooth: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: 0.3s ease;
    --transition-panel: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    --header-height: 80px;
    --max-width: 1400px;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--charcoal);
    background-color: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul,
ol {
    list-style: none;
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.text-gold {
    color: var(--gold);
}

.text-italic {
    font-style: italic;
}

/* ===== Page Transition Overlay ===== */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--charcoal-dark);
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
}

/* ===== Header / Navigation ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(1.5rem, 4vw, 4rem);
    background: transparent;
    transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

.site-header.scrolled,
.site-header.light-header {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.site-logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 600;
    color: var(--off-white);
    letter-spacing: 0.05em;
}

.site-logo span {
    color: var(--gold);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--off-white);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.language-toggle {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--off-white);
    background: rgba(245, 242, 235, 0.08);
    border: 1px solid rgba(245, 242, 235, 0.35);
    border-radius: 999px;
    padding: 0.45rem 0.7rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.language-toggle:hover,
.language-toggle:focus-visible {
    color: var(--charcoal);
    background: var(--gold);
    border-color: var(--gold);
    outline: none;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 5px;
}

.burger-menu span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--off-white);
    transition: all var(--transition-fast);
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== Hero Section — Triple Panel ===== */
.hero-panels {
    display: flex;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-panel {
    flex: 1;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: flex var(--transition-panel);
}

.hero-panel:hover {
    flex: 1.6;
}

.hero-panel-bg {
    position: absolute;
    top: -15%; /* Offset for parallax */
    left: 0;
    width: 100%;
    height: 115%; /* Extra height for parallax */
    background-size: cover;
    background-position: center;
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-panel:hover .hero-panel-bg {
    transform: scale(1.08);
}

.hero-panel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-dark);
    transition: background var(--transition-smooth);
}

.hero-panel:hover .hero-panel-overlay {
    background: var(--overlay-light);
}

.hero-panel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem 2rem 6.5rem; /* Increased bottom padding to prevent overlap with CTA */
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
    transition: all var(--transition-smooth);
    pointer-events: none; /* Let clicks pass through empty space */
}

/* Let the clickable elements re-enable pointer events */
.hero-panel-explore, 
.hero-panel-title,
.hero-panel-tagline {
    pointer-events: auto;
}

.hero-panel.is-visible .hero-panel-content {
    transform: translateY(0);
    opacity: 1;
}

.hero-panel-number {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--gold);
    margin-bottom: 1rem;
}

.hero-panel-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 500;
    color: var(--off-white);
    margin-bottom: 0.75rem;
}

.hero-panel-divider {
    width: 40px;
    height: 1px;
    background: var(--gold);
    margin-bottom: 1rem;
    transition: width var(--transition-smooth);
}

.hero-panel:hover .hero-panel-divider {
    width: 80px;
}

.hero-panel-tagline {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--off-white-dark);
    letter-spacing: 0.05em;
    max-width: 280px;
}

.hero-panel-explore {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-smooth);
}

.hero-panel:hover .hero-panel-explore {
    opacity: 1;
    transform: translateY(0);
}

.hero-panel-explore svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.hero-panel:hover .hero-panel-explore svg {
    transform: translateX(6px);
}

/* ===== Hero Tagline Overlay ===== */
.hero-tagline-overlay {
    position: absolute;
    top: 38%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    text-align: center;
    pointer-events: none;
    opacity: 0;
}

.hero-tagline-text {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3.5vw, 2.8rem);
    font-weight: 400;
    font-style: italic;
    color: var(--off-white);
    letter-spacing: 0.04em;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

/* ===== Hero CTA Overlay ===== */
.hero-cta {
    position: absolute;
    bottom: clamp(2rem, 5vh, 4rem);
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 0.8rem;
    align-items: center;
    opacity: 0;
    pointer-events: auto; /* Ensure clicks go to CTA when overlapping */
}

.hero-cta .btn-primary,
.hero-cta .btn-outline {
    font-size: 0.72rem;
    padding: 0.75rem 1.6rem;
    white-space: nowrap;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.hero-cta .btn-outline {
    border-color: rgba(245, 242, 235, 0.5);
    color: var(--off-white);
}

.hero-cta .btn-outline:hover {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--charcoal);
}

/* ===== Trust Bar ===== */
.trust-bar {
    background: var(--charcoal);
    padding: 1.2rem 2rem;
}

.trust-bar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--off-white-dark);
    letter-spacing: 0.03em;
}

.trust-clients-item {
    grid-column: 1;
    justify-content: flex-end;
}

.trust-check {
    color: var(--gold);
    font-size: 0.9rem;
}

.trust-price {
    grid-column: 2;
    justify-content: center;
    text-align: center;
    color: var(--gold-light);
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
}

.trust-turnaround-item {
    grid-column: 3;
    justify-content: flex-start;
}

.trust-editing-item {
    display: none;
}

.trust-separator {
    display: none;
    width: 1px;
    height: 18px;
    background: rgba(245, 242, 235, 0.15);
}

/* ===== Mini About Section ===== */
.mini-about {
    background: var(--off-white);
    padding: 3rem 2rem;
}

.mini-about-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.mini-about-divider {
    width: 40px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto 2rem;
}

.mini-about-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 1.25rem;
}

.mini-about-text {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    color: var(--charcoal-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.mini-about-cta {
    margin-top: 0.5rem;
}

/* ===== Gallery Page Header ===== */
.gallery-header {
    padding: calc(var(--header-height) + 4rem) 2rem 3rem;
    text-align: center;
    background: var(--charcoal);
    color: var(--off-white);
    position: relative;
    overflow: hidden;
}

.gallery-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(191, 160, 96, 0.08), transparent);
    pointer-events: none;
}

.gallery-header h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    margin-bottom: 1rem;
    position: relative;
}

.gallery-header-divider {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto 1.5rem;
}

.gallery-header p {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--off-white-dark);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== Masonry Gallery Grid ===== */
.gallery-section {
    padding: 4rem clamp(1.5rem, 4vw, 4rem);
    max-width: var(--max-width);
    margin: 0 auto;
}

.masonry-grid {
    columns: 3;
    column-gap: 1.5rem;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(transparent, rgba(26, 26, 26, 0.85));
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay span {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--off-white);
    font-style: italic;
}

/* ===== Book a Session CTA ===== */
.cta-section {
    padding: 6rem 2rem;
    text-align: center;
    background: var(--charcoal);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: var(--gold);
}

.cta-section h2 {
    color: var(--off-white);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.cta-section p {
    color: var(--off-white-dark);
    font-size: 1.05rem;
    font-weight: 300;
    max-width: 500px;
    margin: 0 auto 2.5rem;
}

.cta-section .starting-price {
    display: inline-block;
    color: var(--gold-light);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-top: 1px solid rgba(191, 160, 96, 0.4);
    border-bottom: 1px solid rgba(191, 160, 96, 0.4);
    padding: 0.85rem 1rem;
    margin: -0.75rem auto 2rem;
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--charcoal);
    background: var(--gold);
    padding: 1rem 2.5rem;
    border: 2px solid var(--gold);
    border-radius: 0;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-primary:hover {
    background: transparent;
    color: var(--gold);
}

.btn-outline {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    background: transparent;
    padding: 1rem 2.5rem;
    border: 2px solid var(--gold);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--charcoal);
}

/* ===== Floating Back Button ===== */
.back-home-btn {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--off-white);
    background: var(--charcoal);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-fast);
    opacity: 0;
    transform: translateY(20px);
}

.back-home-btn.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-home-btn:hover {
    background: var(--gold);
    color: var(--charcoal);
}

.back-home-btn svg {
    width: 16px;
    height: 16px;
}

/* ===== Inquiry Page ===== */
.inquiry-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-height) + 3rem) 2rem 4rem;
    background: var(--off-white);
}

.inquiry-container {
    width: 100%;
    max-width: 680px;
}

.inquiry-container h1 {
    text-align: center;
    margin-bottom: 0.75rem;
}

.inquiry-subtitle {
    text-align: center;
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--charcoal-light);
    margin-bottom: 0.5rem;
}

.inquiry-divider {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto 3rem;
}

/* ===== Book Instantly (Calendly) ===== */
.inquiry-book-cta {
    text-align: center;
    margin: 0 auto 2.5rem;
    max-width: 520px;
}

.inquiry-book-text {
    font-size: 1rem;
    font-weight: 300;
    color: var(--charcoal-light);
    margin-bottom: 1.25rem;
}

.inquiry-book-cta .btn-primary {
    display: inline-block;
}

.inquiry-book-or {
    margin-top: 2rem;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--charcoal-light);
    opacity: 0.7;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--charcoal);
    background: var(--cream);
    border: 1px solid var(--off-white-dark);
    border-radius: 2px;
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(191, 160, 96, 0.15);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #c0392b;
}

.form-error-message {
    font-size: 0.8rem;
    color: #c0392b;
    margin-top: 0.4rem;
    display: none;
}

.form-group input.error~.form-error-message,
.form-group select.error~.form-error-message,
.form-group textarea.error~.form-error-message {
    display: block;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-submit {
    text-align: center;
    margin-top: 1rem;
}

.form-submit .btn-primary {
    min-width: 240px;
}

/* Thank You Message */
.thank-you-message {
    text-align: center;
    padding: 4rem 2rem;
    display: none;
}

.thank-you-message.visible {
    display: block;
}

.thank-you-message h2 {
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.thank-you-message p {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--charcoal-light);
    max-width: 500px;
    margin: 0 auto 2rem;
}

.thank-you-message a {
    color: var(--gold-dark);
    text-decoration: underline;
}

.thank-you-checkmark {
    width: 80px;
    height: 80px;
    border: 3px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.thank-you-checkmark svg {
    width: 36px;
    height: 36px;
    color: var(--gold);
}

/* ===== Footer ===== */
.site-footer {
    background: var(--charcoal-dark);
    color: var(--off-white-dark);
    padding: 4rem clamp(1.5rem, 4vw, 4rem) 2rem;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--off-white);
    margin-bottom: 1rem;
}

.footer-brand h3 span {
    color: var(--gold);
}

.footer-brand p {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.7;
    max-width: 350px;
}

.footer-nav h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.footer-nav a,
.footer-contact p {
    display: block;
    font-size: 0.9rem;
    font-weight: 300;
    margin-bottom: 0.75rem;
    transition: color var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--gold);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(245, 242, 235, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.footer-actions a {
    width: auto;
    height: auto;
    border-radius: 999px;
    padding: 0.7rem 1rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--off-white);
}

.footer-social a:hover {
    border-color: var(--gold);
    background: var(--gold);
}

.footer-social a svg {
    width: 18px;
    height: 18px;
    fill: var(--off-white-dark);
    transition: fill var(--transition-fast);
}

.footer-social a:hover svg {
    fill: var(--charcoal);
}

.footer-contact a {
    color: inherit;
}

.footer-contact a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(245, 242, 235, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-bottom p {
    font-size: 0.8rem;
    font-weight: 300;
}

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Lightbox ===== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 2px;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.lightbox-close:hover {
    border-color: var(--gold);
    background: var(--gold);
}

.lightbox-close svg {
    width: 20px;
    height: 20px;
    stroke: var(--off-white);
}

.lightbox-close:hover svg {
    stroke: var(--charcoal);
}

/* ===== Responsive — Tablet ===== */
@media (max-width: 1024px) {
    .masonry-grid {
        columns: 2;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===== Responsive — Mobile ===== */
@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--charcoal-dark);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        gap: 2rem;
        transition: right var(--transition-smooth);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1rem;
        letter-spacing: 0.15em;
    }

    .hero-panels {
        flex-direction: column;
    }

    .hero-panel {
        flex: 1;
        min-height: 28vh;
    }

    .hero-panel:hover {
        flex: 1.3;
    }

    /* The last (bottom) panel sits directly above the stacked CTA buttons
       and needs extra bottom clearance for its tagline/Explore link, so
       it gets a bigger share of the hero height than panels 1-2. */
    .hero-panel:last-of-type {
        flex: 1.6;
        min-height: 40vh;
    }

    .hero-panel-content {
        padding: 2rem 1.5rem;
    }

    .hero-panel:last-of-type .hero-panel-content {
        padding-bottom: 8.5rem;
    }

    .hero-panel-title {
        font-size: 1.5rem;
    }

    /* Always show Explore on mobile (no hover dependency) */
    .hero-panel-explore {
        opacity: 0.85;
        transform: translateY(0);
    }

    /* Hero CTA mobile */
    .hero-cta {
        flex-direction: column;
        bottom: 1.5rem;
        gap: 0.7rem;
    }

    .hero-cta .btn-primary,
    .hero-cta .btn-outline {
        font-size: 0.72rem;
        padding: 0.7rem 1.6rem;
        min-width: 180px;
        text-align: center;
    }

    /* Hero tagline mobile */
    .hero-tagline-overlay {
        top: 6%;
    }

    .hero-tagline-text {
        font-size: 1.2rem;
    }

    /* Trust bar mobile */
    .trust-bar-inner {
        flex-direction: column;
        display: flex;
        gap: 0.6rem;
    }

    .trust-separator {
        display: none;
    }

    .trust-clients-item {
        justify-content: center;
    }

    .trust-turnaround-item,
    .trust-editing-item {
        display: flex;
        justify-content: center;
    }

    .trust-price {
        white-space: normal;
    }

    /* Mini about mobile */
    .mini-about {
        padding: 3.5rem 1.5rem;
    }

    .masonry-grid {
        columns: 1;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .gallery-header {
        padding-top: calc(var(--header-height) + 2rem);
    }
}

/* ===== Responsive — Tablet (iPad, 3-column hero still active) ===== */
@media (min-width: 769px) and (max-width: 1024px) {
    /* At these widths the hero panel columns are narrow enough that the
       tagline wraps to two lines, which eats into the buffer meant to
       keep the Explore link clear of the centered CTA buttons below. */
    .hero-panel-content {
        padding-bottom: 9.5rem;
    }
}

/* ===== Responsive — Small Mobile ===== */
@media (max-width: 480px) {
    .site-logo {
        font-size: 1.1rem;
    }

    .hero-panel-tagline {
        display: none;
    }

    .hero-tagline-overlay {
        display: none;
    }

    .hero-cta {
        bottom: 1rem;
    }

    .hero-cta .btn-primary,
    .hero-cta .btn-outline {
        font-size: 0.68rem;
        padding: 0.6rem 1.4rem;
        min-width: 160px;
    }

    .cta-section {
        padding: 4rem 1.5rem;
    }

    .back-home-btn {
        bottom: 1rem;
        left: 1rem;
        font-size: 0.7rem;
        padding: 0.7rem 1.2rem;
    }
}

/* ===== Utilities ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
