/* 
  BB Real Estate - Ultra-Premium V3 (TREF Inspired)
  Author: AI Assistant
*/

:root {
    --bg-dark: #050505;
    --bg-deep: #000000;
    --bg-card: #0a0a0a;
    --text-primary: #F5F5F3;
    --text-secondary: #A0A0A0;
    --accent-gold: #C5A059;

    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Outfit', sans-serif;

    --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-medium: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.8s cubic-bezier(0.25, 1, 0.5, 1);

    --section-spacing: 15vh;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
.font-serif {
    font-family: var(--font-serif);
    font-weight: 300;
}

p {
    font-weight: 300;
    color: var(--text-secondary);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: var(--section-spacing) 0;
}

.text-center {
    text-align: center;
}

.mb-60 {
    margin-bottom: 60px;
}

.mt-60 {
    margin-top: 60px;
}

.mt-40 {
    margin-top: 40px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-0 {
    margin-top: 0;
}

/* --- Preloader --- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-deep);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s;
}

.preloader-text {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--accent-gold);
    letter-spacing: 5px;
    animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
        transform: scale(0.98);
    }

    100% {
        opacity: 1;
        transform: scale(1.02);
    }
}

/* --- Header & Navigation (V3) --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2000;
    transition: transform 0.4s ease;
}

.header.hidden {
    transform: translateY(-100%);
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 2px;
    z-index: 2001;
    /* Above overlay */
}

/* Hamburger V3 */
.menu-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    z-index: 2001;
}

.menu-btn span {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition-medium);
}

.hamburger {
    width: 30px;
    height: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger .line {
    width: 100%;
    height: 1px;
    background-color: var(--text-primary);
    transition: var(--transition-medium);
}

.hamburger .line:last-child {
    width: 60%;
    align-self: flex-end;
}

/* Fullscreen Overlay V3 */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    clip-path: circle(0% at top right);
    transition: all 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
    clip-path: circle(150% at top right);
}

.menu-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding-top: 20px;
    padding-bottom: 20px;
}

.menu-bg-image {
    display: none;
}

.menu-items {
    list-style: none;
    text-align: center;
}

.menu-items li {
    margin: 10px 0;
    overflow: hidden;
}

.menu-link {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-primary);
    text-decoration: none;
    display: inline-block;
    position: relative;
    transition: var(--transition-medium);
    transform: translateY(100%);
    opacity: 0;
}

.menu-overlay.active .menu-link {
    transform: translateY(0);
    opacity: 1;
}

/* Stagger animation for links */
.menu-overlay.active li:nth-child(1) .menu-link {
    transition-delay: 0.1s;
}

.menu-overlay.active li:nth-child(2) .menu-link {
    transition-delay: 0.15s;
}

.menu-overlay.active li:nth-child(3) .menu-link {
    transition-delay: 0.2s;
}

.menu-overlay.active li:nth-child(4) .menu-link {
    transition-delay: 0.25s;
}

.menu-overlay.active li:nth-child(5) .menu-link {
    transition-delay: 0.3s;
}

.menu-overlay.active li:nth-child(6) .menu-link {
    transition-delay: 0.35s;
}

.menu-link:hover {
    color: var(--accent-gold);
}

/* --- Hero --- */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg {
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4);
    will-change: transform;
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* Gold prominent Name  */
.gold-animated-name {
    font-size: 1.8rem;
    font-family: var(--font-serif);
    font-style: normal;
    color: var(--accent-gold);
    display: inline-block;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-family: var(--font-serif);
    font-weight: normal;
    font-style: normal;
    color: var(--accent-gold);
    display: inline-block;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-label {
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 30px;
    display: inline-block;
}

.hero-title {
    font-size: clamp(4rem, 8vw, 7rem);
    line-height: 1.1;
}

.hero-title .line {
    display: block;
}

.italic {
    font-style: italic;
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    transform: rotate(-90deg);
    transform-origin: left center;
}

.scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-indicator .line {
    width: 60px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.scroll-indicator .line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    transform: translateX(-100%);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Elegant slow pan background for About Image */
@keyframes subtlePan {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.08);
    }
}

.about-bg {
    animation: subtlePan 20s infinite alternate ease-in-out;
}

/* --- Section Headings --- */
.section-heading {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 20px;
}

.big-heading {
    font-size: clamp(3rem, 8vw, 7.5rem);
    margin-bottom: 10px;
    color: #fff;
}

.subtitle {
    font-size: 1.5rem;
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--accent-gold);
}

/* --- About --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 80px;
}

.big-text {
    font-size: 1.5rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.stats-row {
    display: flex;
    gap: 50px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--accent-gold);
    line-height: 1;
}

.stat-desc {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.image-strip {
    width: 100%;
    aspect-ratio: 2 / 1;
    /* 2x width to 1x height */
    overflow: hidden;
    position: relative;
}

.about-bg {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    background-size: cover;
    background-position: center 20%;
    will-change: transform;
}

/* --- Services V3 (Interactive 2x2 Grid) --- */
.service-grid-v3 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.service-card-v3 {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 350px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color var(--transition-medium);
}

.service-card-v3:hover {
    border-color: rgba(197, 160, 89, 0.4);
}

.service-front,
.service-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.6s cubic-bezier(0.8, 0, 0.2, 1), opacity 0.6s ease;
}

.service-front {
    z-index: 2;
    transform: translateY(0);
}

.service-back {
    background: #111;
    z-index: 1;
    transform: translateY(100%);
    opacity: 0;
    justify-content: center;
}

.service-card-v3.active .service-front {
    transform: translateY(-50px);
    opacity: 0;
}

.service-card-v3.active .service-back {
    transform: translateY(0);
    opacity: 1;
    z-index: 3;
}

.service-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: auto;
    /* Push to top */
}

.service-card-v3 h3 {
    font-size: 2.5rem;
}

.service-back h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--accent-gold);
}

.service-back p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.service-plus,
.service-close {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: var(--transition-medium);
}

.service-card-v3:hover .service-plus {
    color: var(--accent-gold);
    transform: rotate(90deg);
}

.service-close {
    display: none;
}

/* --- Properties V3 (Showcase Cards) --- */
.section-dark {
    background-color: var(--bg-deep);
}

.portfolio-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    text-align: left;
}

.property-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.property-img-wrap {
    position: relative;
    height: 400px;
    overflow: hidden;
    margin-bottom: 20px;
}

.property-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
}

/* Premium placeholder patterns */
.pattern-1 {
    background: linear-gradient(135deg, #1a1a1a 25%, transparent 25%) -50px 0, linear-gradient(225deg, #1a1a1a 25%, transparent 25%) -50px 0, linear-gradient(315deg, #1a1a1a 25%, transparent 25%), linear-gradient(45deg, #1a1a1a 25%, transparent 25%);
    background-size: 100px 100px;
    background-color: #0f0f0f;
}

.pattern-2 {
    background: radial-gradient(circle, #1a1a1a 10%, transparent 10%), radial-gradient(circle, #1a1a1a 10%, transparent 10%);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
    background-color: #0d0d0d;
}

.pattern-3 {
    background: repeating-linear-gradient(45deg, #1a1a1a, #1a1a1a 10px, #0f0f0f 10px, #0f0f0f 20px);
}

.property-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-medium);
}

.btn-gold-outline {
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 12px 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    transform: translateY(20px);
    transition: var(--transition-medium);
}

.property-card:hover .property-image {
    transform: scale(1.05);
}

.property-card:hover .property-overlay {
    opacity: 1;
}

.property-card:hover .btn-gold-outline {
    transform: translateY(0);
    background: var(--accent-gold);
    color: #000;
}

.property-info h4 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.property-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.v3-btn {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.v3-btn .btn-circle {
    background-color: var(--accent-gold);
}

.v3-btn:hover {
    color: #000;
}

/* Buttons General */
.magnetic-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
    transition: color 0.3s;
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-circle {
    position: absolute;
    width: 150%;
    height: 0;
    padding-bottom: 150%;
    border-radius: 50%;
    background-color: #fff;
    transform: translate(-50%, -50%) scale(0);
    top: 50%;
    left: 50%;
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.magnetic-btn:hover .btn-circle {
    transform: translate(-50%, -50%) scale(1);
}

.magnetic-btn:hover {
    color: #000;
}


/* --- Testimonials V3 (Grid of 4) --- */
.testimonials {
    background: var(--bg-deep);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.testimonial-item {
    background: var(--bg-card);
    padding: 50px 40px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition-medium);
    display: flex;
    flex-direction: column;
}

.testimonial-item:hover {
    border-color: rgba(197, 160, 89, 0.2);
}

.stars-container {
    display: flex;
    gap: 5px;
    margin-bottom: 25px;
}

.star-icon {
    font-size: 1.2rem;
    background: linear-gradient(45deg, #C5A059, #FFF, #C5A059, #FFF, #C5A059);
    background-size: 300% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: goldShine 15s linear infinite;
}

.quote-icon {
    font-size: 2rem;
    color: var(--accent-gold);
    opacity: 0.3;
    margin-bottom: 30px;
}

.testimonial-text {
    font-size: 1.2rem;
    font-family: var(--font-serif);
    line-height: 1.6;
    margin-bottom: 40px;
    color: var(--text-primary);
    min-height: 120px;
}

.testimonial-author {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    display: flex;
    flex-direction: column;
}

.author-name {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--accent-gold);
}

.author-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-top: 5px;
}

.review-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-serif);
    font-size: 1.4rem;
    border-bottom: 1px solid var(--accent-gold);
    padding-bottom: 5px;
    transition: opacity 0.3s;
}

.review-btn:hover {
    opacity: 0.7;
}

/* --- Contact V3 --- */
.contact {
    position: relative;
    overflow: hidden;
}

/* Interactive Dots Background Container */
#contact-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact-v3-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.compact-links {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.contact-link .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.contact-link .value {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--text-primary);
    transition: var(--transition-medium);
}

.contact-link:hover .value {
    color: var(--accent-gold);
}

/* Force email to single line */
.email-line {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* On mobile, font size handled in media query */
}

/* Designer Map */
.address-map-block {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.address-text {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--text-primary);
}

.map-wrapper {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: #000;
}

/* Socials V3 */
.v3-socials {
    display: flex;
    gap: 15px;
}

.social-btn {
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--bg-card);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition-medium);
}

.social-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* Form Area */
.form-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.minimal-form .form-group {
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.minimal-form input,
.minimal-form textarea {
    width: 100%;
    background: transparent;
    border: none;
    padding: 15px 0;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    resize: none;
}

.minimal-form input:focus,
.minimal-form textarea:focus {
    outline: none;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-bottom: none !important;
    margin-top: 10px;
}

/* Custom GDPR Checkbox */
.checkbox-group input.custom-chk {
    appearance: none;
    -webkit-appearance: none;
    background-color: transparent !important;
    margin: 0;
    font: inherit;
    color: currentColor;
    width: 1.15em !important;
    height: 1.15em !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 2px;
    display: grid;
    place-content: center;
    cursor: pointer;
    transition: var(--transition-medium);
    margin-top: 3px;
    padding: 0 !important;
}

.checkbox-group input.custom-chk::before {
    content: "";
    width: 0.65em;
    height: 0.65em;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
    transform: scale(0);
    transform-origin: bottom left;
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em var(--accent-gold);
    background-color: var(--accent-gold);
}

.checkbox-group input.custom-chk:checked {
    border-color: var(--accent-gold) !important;
}

.checkbox-group input.custom-chk:checked::before {
    transform: scale(1);
}

.checkbox-group label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1.4;
}

.submit-btn {
    background: transparent;
    border: none;
    color: var(--accent-gold);
    font-family: var(--font-serif);
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition-medium);
}

.submit-btn:hover {
    gap: 25px;
}

/* --- Footer --- */
.footer {
    background-color: var(--bg-dark);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
}

.back-to-top-btn {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-medium);
}

.back-to-top-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}


/* --- Animations (Reveal) --- */
.reveal-up {
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.8s ease-out;
}

.reveal-up.in-view {
    transform: translateY(0);
    opacity: 1;
}

.reveal-left {
    transform: translateX(-50px);
    opacity: 0;
    transition: all 0.8s ease-out;
}

.reveal-left.in-view {
    transform: translateX(0);
    opacity: 1;
}

.reveal-right {
    transform: translateX(50px);
    opacity: 0;
    transition: all 0.8s ease-out;
}

.reveal-right.in-view {
    transform: translateX(0);
    opacity: 1;
}

.reveal-scale {
    transform: scale(0.95);
    opacity: 0;
    transition: all 1s ease-out;
}

.reveal-scale.in-view {
    transform: scale(1);
    opacity: 1;
}

.reveal-text {
    opacity: 0;
    transform: translateY(20px);
    animation: textFadeUp 0.8s forwards;
    animation-play-state: paused;
}

.in-view .reveal-text,
.reveal-text.in-view {
    animation-play-state: running;
}

@keyframes textFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --- Responsiveness V3 --- */

@media (max-width: 900px) {
    .menu-link {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }

    .about-grid,
    .contact-v3-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .portfolio-showcase,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .property-img-wrap {
        height: 300px;
    }

    .stats-row {
        flex-wrap: wrap;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .image-strip {
        height: 400px;
    }

    .v3-socials {
        justify-content: center;
        margin-top: 20px;
    }

    /* Ensure email fits on single line */
    .contact-link .value.email-line {
        font-size: clamp(1rem, 4vw, 1.5rem);
    }
}

@media (max-width: 600px) {

    /* Stack services on mobile */
    .service-grid-v3 {
        grid-template-columns: 1fr;
    }

    .service-card-v3 {
        height: 300px;
    }

    .menu-link {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    section {
        padding: 80px 0;
    }
}