/* ============================================
   J B Art and Plants — Styles
   Fresh, airy, forest green + off-white
   ============================================ */

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

:root {
    --green-900: #1a3a28;
    --green-800: #2D5A3D;
    --green-700: #3d7a52;
    --green-600: #4A8B5C;
    --green-500: #6aab7e;
    --green-400: #7FB88A;
    --green-300: #a8d4b0;
    --green-200: #d0e8d8;
    --green-100: #e8f3ea;
    --green-50: #f4f9f5;

    --off-white: #FAFAF7;
    --cream: #F5F5F0;
    --warm-white: #FDFCFA;
    --sand: #EDECE6;
    --sand-light: #F7F6F2;

    --text-dark: #1a2e22;
    --text-body: #2d3a30;
    --text-muted: #5a6b5e;
    --text-light: #8a9a8e;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 1px 3px rgba(45, 90, 61, 0.06), 0 1px 2px rgba(45, 90, 61, 0.04);
    --shadow-md: 0 4px 16px rgba(45, 90, 61, 0.08), 0 2px 4px rgba(45, 90, 61, 0.04);
    --shadow-lg: 0 12px 40px rgba(45, 90, 61, 0.1), 0 4px 12px rgba(45, 90, 61, 0.05);
    --shadow-xl: 0 24px 60px rgba(45, 90, 61, 0.12);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background-color: var(--off-white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background pattern */
.bg-pattern {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5C22 5 15 12 15 20c0 6 3 11 8 14l7-9 7 9c5-3 8-8 8-14 0-8-7-15-15-15z' fill='%232D5A3D'/%3E%3C/svg%3E");
    background-size: 60px 60px;
}

/* ========== NAVIGATION ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(250, 250, 247, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(45, 90, 61, 0.08);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    transition: var(--transition);
}

.nav.scrolled .nav-inner {
    padding: 14px 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--green-800);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.nav-logo-icon {
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 100px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--green-800);
    background: var(--green-50);
}

.btn-nav {
    background: var(--green-800) !important;
    color: white !important;
    font-weight: 600 !important;
}

.btn-nav:hover {
    background: var(--green-700) !important;
    color: white !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--green-800);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--green-800);
    color: white;
    box-shadow: 0 4px 16px rgba(45, 90, 61, 0.25);
}

.btn-primary:hover {
    background: var(--green-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 90, 61, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--green-800);
    border: 1.5px solid var(--green-200);
}

.btn-ghost:hover {
    background: var(--green-50);
    border-color: var(--green-400);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ========== HERO ========== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--warm-white) 0%, var(--green-50) 50%, var(--sand-light) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 70%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(74, 139, 92, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--off-white), transparent);
    pointer-events: none;
}

.hero-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-text {
    max-width: 560px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: 24px;
    background: var(--green-100);
    padding: 8px 16px;
    border-radius: 100px;
}

.hero-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--green-500);
    border-radius: 50%;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-title em {
    font-style: italic;
    color: var(--green-700);
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 480px;
}

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

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

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-stat-num {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--green-800);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.78rem;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--green-200);
}

/* Hero Image Stack */
.hero-visual {
    position: relative;
    height: 600px;
}

.hero-img-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-img {
    position: absolute;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.hero-img-1 {
    width: 72%;
    height: 82%;
    top: 0;
    right: 0;
    z-index: 1;
}

.hero-img-2 {
    width: 55%;
    height: 55%;
    bottom: 12%;
    left: 0;
    z-index: 2;
    border: 4px solid var(--off-white);
}

.hero-img-3 {
    width: 30%;
    height: 30%;
    bottom: 0;
    right: 10%;
    z-index: 3;
    border: 4px solid var(--off-white);
    border-radius: var(--radius-md);
}

.hero-badge {
    position: absolute;
    bottom: 38%;
    right: -8%;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 12px 20px;
    border-radius: 100px;
    box-shadow: var(--shadow-md);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--green-800);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    z-index: 2;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ========== SECTION COMMON ========== */
section {
    position: relative;
    z-index: 1;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: 16px;
}

.section-eyebrow::before {
    content: '';
    width: 24px;
    height: 1.5px;
    background: var(--green-400);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.section-title em {
    font-style: italic;
    color: var(--green-700);
}

.section-title--center {
    text-align: center;
}

/* ========== ABOUT ========== */
.about {
    padding: 120px 24px;
    background: var(--off-white);
}

.about-layout {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-col {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.about-img-accent {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 50%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--off-white);
}

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

.about-content-col {
    padding: 20px 0;
}

.about-content-col .lead {
    font-size: 1.15rem;
    color: var(--text-body);
    line-height: 1.85;
    margin-bottom: 20px;
}

.about-content-col p:not(.lead) {
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 32px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 40px;
}

.about-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.about-feature-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: var(--green-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-feature h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 0 !important;
}

/* ========== GALLERY ========== */
.gallery {
    padding: 100px 24px 120px;
    background: var(--sand-light);
}

.gallery-header {
    max-width: 600px;
    margin-bottom: 60px;
}

.gallery-grid {
    max-width: 1280px;
    margin: 0 auto 60px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 58, 40, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay span {
    color: white;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
}

.gallery-item--tall {
    grid-column: span 4;
    grid-row: span 2;
}

.gallery-item--wide {
    grid-column: span 6;
}

.gallery-item:nth-child(2),
.gallery-item:nth-child(3),
.gallery-item:nth-child(5),
.gallery-item:nth-child(6),
.gallery-item:nth-child(7) {
    grid-column: span 3;
}

.gallery-cta {
    text-align: center;
}

/* ========== SERVICES ========== */
.services {
    padding: 120px 24px;
    background: linear-gradient(160deg, var(--green-50) 0%, var(--warm-white) 60%, var(--sand-light) 100%);
    overflow: hidden;
}

.services-bg-leaves {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.leaf-deco {
    position: absolute;
    opacity: 0.04;
    color: var(--green-800);
}

.leaf-deco-1 {
    width: 400px;
    top: -50px;
    left: -100px;
    transform: rotate(-30deg);
}

.leaf-deco-2 {
    width: 300px;
    bottom: -30px;
    right: -60px;
    transform: rotate(20deg);
}

.services-inner {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.services-inner > .section-eyebrow {
    text-align: center;
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.services-inner > .section-eyebrow::before {
    display: none;
}

.services-inner > .section-title {
    margin-bottom: 60px;
}

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

.service-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(45, 90, 61, 0.06);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green-400), var(--green-600));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--green-100);
    line-height: 1;
    margin-bottom: 16px;
    transition: var(--transition);
}

.service-card:hover .service-card-num {
    color: var(--green-200);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.75;
}

/* ========== VISIT ========== */
.visit {
    padding: 120px 24px;
    background: var(--off-white);
}

.visit-layout {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.visit-info {
    padding-top: 20px;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin: 40px 0 48px;
}

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

.visit-detail-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: var(--green-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.visit-detail h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.visit-detail p,
.visit-detail a {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
    text-decoration: none;
}

.visit-detail a:hover {
    color: var(--green-700);
    text-decoration: underline;
}

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.visit-visual {
    position: relative;
}

.visit-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.visit-quote-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    right: -20px;
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    box-shadow: var(--shadow-lg);
}

.visit-quote-card svg {
    margin-bottom: 12px;
}

.visit-quote-card p {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 12px;
}

.visit-quote-card span {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
    letter-spacing: 0.04em;
}

/* ========== CONTACT ========== */
.contact {
    padding: 120px 24px;
    background: linear-gradient(160deg, var(--sand-light) 0%, var(--green-50) 100%);
}

.contact-inner {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-text {
    padding-top: 10px;
}

.contact-text p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.contact-form {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(45, 90, 61, 0.06);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-body);
    background: var(--sand-light);
    border: 1.5px solid transparent;
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    transition: var(--transition);
    outline: none;
    width: 100%;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green-400);
    background: white;
    box-shadow: 0 0 0 3px rgba(74, 139, 92, 0.1);
}

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

.form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 20px;
    background: var(--green-50);
    border: 1px solid var(--green-200);
    border-radius: var(--radius-sm);
    color: var(--green-800);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-success svg {
    flex-shrink: 0;
    color: var(--green-600);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--green-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 24px 0;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ========== SCROLL REVEAL ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-visual {
        height: 450px;
        order: -1;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-sub {
        max-width: 100%;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-img-accent {
        right: 20px;
        bottom: -20px;
    }

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

    .visit-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .visit-quote-card {
        left: 0;
        right: auto;
        width: 80%;
    }

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 280px;
        background: var(--off-white);
        flex-direction: column;
        align-items: stretch;
        padding: 100px 32px 40px;
        gap: 4px;
        box-shadow: var(--shadow-xl);
        transform: translateX(100%);
        transition: var(--transition);
        z-index: 999;
    }

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

    .nav-links a {
        padding: 14px 16px;
        font-size: 1rem;
        border-radius: var(--radius-sm);
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 24px 60px;
        min-height: auto;
    }

    .hero-visual {
        height: 350px;
    }

    .hero-img-1 {
        width: 75%;
        height: 75%;
    }

    .hero-img-2 {
        width: 55%;
        height: 45%;
    }

    .hero-img-3 {
        width: 30%;
        height: 30%;
    }

    .hero-badge {
        right: 0;
        font-size: 0.78rem;
        padding: 10px 14px;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stat-num {
        font-size: 1.4rem;
    }

    .hero-scroll {
        display: none;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: minmax(140px, auto);
    }

    .gallery-item--tall {
        grid-column: span 2;
        grid-row: span 1;
    }

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

    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(6),
    .gallery-item:nth-child(7) {
        grid-column: span 1;
    }

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

    .footer-top {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        justify-content: center;
    }

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

    .hero-stat-divider {
        display: none;
    }

    .service-card {
        padding: 28px;
    }

    .contact-form {
        padding: 28px;
    }

    .visit-quote-card {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        width: 100%;
        margin-top: 16px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .hero-scroll {
        animation: none;
    }
}
