/* ==========================================================================
   Treends Nursery - site styles
   Brand palette: leaf green #71a22e and forest green #253a1b
   ========================================================================== */

:root {
    --wl-dark: #253a1b;
    --wl-dark-soft: #324c25;
    --wl-sage: #71a22e;
    --wl-sage-light: #8bbf4b;
    --wl-gold: #cfe2a2;
    --wl-gold-dark: #71a22e;
    --wl-cream: #f4f8ec;
    --wl-body: #3f4a39;
    --font-serif: "Playfair Display", Georgia, serif;
    --font-sans: "Inter", system-ui, -apple-system, sans-serif;
    --shadow-soft: 0 0.75rem 2.5rem rgba(28, 37, 34, 0.08);
    --shadow-lift: 0 1.25rem 3rem rgba(28, 37, 34, 0.16);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

/* Clip on both html and body: mobile browsers ignore body-only overflow-x,
   letting AOS slide-in animations cause sideways panning. */
html,
body {
    overflow-x: hidden;
}

@supports (overflow-x: clip) {
    html,
    body {
        overflow-x: clip;
    }
}

body {
    font-family: var(--font-sans);
    color: var(--wl-body);
    line-height: 1.7;
}

h1, h2, h3, .font-serif {
    font-family: var(--font-serif);
    color: var(--wl-dark);
}

a {
    color: var(--wl-sage);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--wl-dark);
}

img {
    max-width: 100%;
}

.section {
    padding: 5.5rem 0;
}

.section-alt {
    background-color: var(--wl-cream);
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--wl-gold-dark);
    margin-bottom: 0.75rem;
}

.section-heading {
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-heading-sm {
    font-size: clamp(1.5rem, 2.5vw, 1.9rem);
    font-weight: 600;
}

.section-lead {
    font-size: 1.1rem;
    color: var(--wl-sage);
    max-width: 46rem;
}

.body-copy {
    font-size: 1.05rem;
}

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

.btn {
    border-radius: 2rem;
    padding: 0.65rem 1.6rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn-lg {
    padding: 0.85rem 2.1rem;
}

.btn-gold {
    background-color: var(--wl-sage);
    border-color: var(--wl-sage);
    color: #fff;
}

.btn-gold:hover,
.btn-gold:focus {
    background-color: var(--wl-dark);
    border-color: var(--wl-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.btn-dark-green {
    background-color: var(--wl-sage);
    border-color: var(--wl-sage);
    color: #fff;
}

.btn-dark-green:hover,
.btn-dark-green:focus {
    background-color: var(--wl-dark);
    border-color: var(--wl-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.btn-outline-light:hover {
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Navbar
   -------------------------------------------------------------------------- */

.site-navbar {
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.navbar-solid,
.site-navbar.scrolled {
    background-color: rgba(28, 37, 34, 0.97);
    box-shadow: 0 0.25rem 1.5rem rgba(0, 0, 0, 0.18);
}

.site-navbar.scrolled {
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
}

.navbar-transparent {
    background-color: transparent;
}

/* White panel behind the logo (the logo artwork is dark) - runs from the
   left edge of the screen to just past the brand, with an angled edge.
   Desktop only: on mobile the whole bar is white instead. */
.site-navbar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: calc(50% - 120px);
    background-color: #fff;
    clip-path: polygon(0 0, 100% 0, calc(100% - 30px) 100%, 0 100%);
}

/* Keep the navbar content painted above the white panel */
.site-navbar > .container {
    position: relative;
    z-index: 1;
}

/* Widths track the centered Bootstrap container so the panel always
   clears the logo: (50% - container/2) + ~360px of brand room. */
@media (min-width: 1200px) {
    .site-navbar::before {
        width: calc(50% - 210px);
    }
}

@media (min-width: 1400px) {
    .site-navbar::before {
        width: calc(50% - 300px);
    }
}

.brand-mark {
    width: 180px;
    height: auto;
}

.brand-text {
    font-family: var(--font-serif);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--wl-dark);
    line-height: 1;
}

@media (min-width: 1200px) {
    .brand-mark {
        width: 150px;
    }
}

.site-navbar .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    margin: 0 0.35rem;
    position: relative;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus,
.site-navbar .nav-link.active {
    color: #fff;
}

.site-navbar .dropdown-toggle:focus,
.site-navbar .dropdown-toggle:focus-visible {
    outline: none;
    box-shadow: none;
}

.site-navbar .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.1rem;
    height: 2px;
    background-color: var(--wl-gold);
}

.site-navbar .dropdown-menu {
    background-color: var(--wl-dark-soft);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lift);
    overflow: hidden;
    margin-top: 0;
}

.site-navbar .dropdown-item {
    color: rgba(255, 255, 255, 0.85);
    padding: 0.55rem 1.25rem;
}

.site-navbar .dropdown-item:hover,
.site-navbar .dropdown-item:focus {
    background-color: var(--wl-sage);
    color: #fff;
}

.site-navbar .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.12);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.35);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn-nav-cta {
    padding: 0.5rem 1.3rem;
    white-space: nowrap;
}

/* Mobile / collapsed nav: simple white bar - logo left, hamburger right */
@media (max-width: 1199.98px) {
    .site-navbar,
    .site-navbar.scrolled {
        background-color: #fff;
        box-shadow: 0 0.25rem 1.5rem rgba(28, 37, 34, 0.12);
    }

    .site-navbar::before {
        display: none;
    }

    .brand-mark {
        width: 130px;
    }

    .navbar-toggler {
        border-color: rgba(28, 37, 34, 0.25);
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2828, 37, 34, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .site-navbar .navbar-collapse {
        padding: 1rem 0 0.5rem;
    }

    /* Expanded menu sits on the white bar, so links go dark */
    .site-navbar .nav-link {
        color: var(--wl-dark);
    }

    .site-navbar .nav-link:hover,
    .site-navbar .nav-link:focus,
    .site-navbar .nav-link.active {
        color: var(--wl-sage);
    }

    .site-navbar .dropdown-menu {
        background-color: var(--wl-cream);
        border: 1px solid rgba(28, 37, 34, 0.08);
    }

    .site-navbar .dropdown-item {
        color: var(--wl-dark);
    }

    .site-navbar .dropdown-divider {
        border-color: rgba(28, 37, 34, 0.12);
    }
}

/* Push content below fixed navbar on pages without a hero */
body:not(.has-hero-nav) main {
    padding-top: 140px;
}

@media (min-width: 1200px) {
    body:not(.has-hero-nav) main {
        padding-top: 162px;
    }
}

/* --------------------------------------------------------------------------
   Home hero
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    animation: heroZoom 18s ease-out forwards;
}

@keyframes heroZoom {
    from { transform: scale(1.12); }
    to { transform: scale(1); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(105deg, rgba(28, 37, 34, 0.92) 0%, rgba(28, 37, 34, 0.72) 45%, rgba(28, 37, 34, 0.35) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    /* top/bottom only - the shorthand was wiping out the .container gutters */
    padding-top: 9rem;
    padding-bottom: 6rem;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--wl-gold);
    margin-bottom: 1.25rem;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.18;
    margin-bottom: 1.5rem;
}

.hero-title em {
    font-style: italic;
    color: var(--wl-sage-light);
}

.hero-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 38rem;
    margin-bottom: 2.25rem;
}

.hero-scroll {
    position: absolute;
    z-index: 2;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.6rem;
    animation: heroBounce 2.2s ease-in-out infinite;
}

@keyframes heroBounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 10px); }
}

/* --------------------------------------------------------------------------
   What We Grow - full-screen category mosaic
   -------------------------------------------------------------------------- */

.grow-section {
    position: relative;
}

.grow-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
}

/* Desktop: fill the viewport, two rows of equal height */
@media (min-width: 992px) {
    .grow-mosaic {
        height: 100vh;
        min-height: 640px;
    }
}

@media (max-width: 991.98px) {
    .grow-mosaic {
        grid-template-columns: repeat(2, 1fr);
    }

    .grow-cell-intro {
        grid-column: 1 / -1;
    }

    .grow-tile {
        aspect-ratio: 1 / 1;
    }

    /* Odd tile out spans the full width so the row never leaves a gap */
    .grow-tile:last-child {
        grid-column: 1 / -1;
        aspect-ratio: 16 / 7;
    }
}

@media (max-width: 575.98px) {
    .grow-mosaic {
        grid-template-columns: 1fr;
    }

    .grow-tile,
    .grow-tile:last-child {
        grid-column: auto;
        aspect-ratio: 4 / 3;
    }
}

.grow-cell {
    position: relative;
    overflow: hidden;
    min-height: 0;
    min-width: 0;
}

/* Branded intro cell */
.grow-cell-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem;
    color: #fff;
    background:
        radial-gradient(circle at 80% 10%, rgba(113, 162, 46, 0.35), transparent 60%),
        linear-gradient(150deg, var(--wl-dark) 0%, var(--wl-dark-soft) 100%);
}

.grow-cell-intro .section-eyebrow {
    color: var(--wl-gold);
}

.grow-intro-title {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 2.2vw, 2.1rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 0.9rem;
}

.grow-intro-text {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 1.5rem;
}

.grow-intro-link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--wl-gold);
}

.grow-intro-link:hover {
    color: #fff;
}

.grow-intro-link i {
    transition: transform 0.25s ease;
}

.grow-intro-link:hover i {
    transform: translateX(5px);
}

/* Category image tiles */
.grow-tile {
    display: flex;
    color: #fff;
}

.grow-tile-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.01);
    transition: transform 0.7s ease;
}

.grow-tile:hover .grow-tile-img,
.grow-tile:focus-visible .grow-tile-img {
    transform: scale(1.1);
}

.grow-tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(28, 37, 34, 0.88) 0%, rgba(28, 37, 34, 0.35) 45%, rgba(28, 37, 34, 0.05) 75%);
    transition: background 0.4s ease;
}

.grow-tile:hover .grow-tile-overlay,
.grow-tile:focus-visible .grow-tile-overlay {
    background: linear-gradient(to top, rgba(37, 58, 27, 0.94) 0%, rgba(37, 58, 27, 0.55) 55%, rgba(113, 162, 46, 0.28) 100%);
}

.grow-tile-content {
    position: relative;
    z-index: 2;
    margin-top: auto;
    width: 100%;
    padding: 1.75rem;
}

.grow-tile-title {
    display: block;
    font-family: var(--font-serif);
    font-size: clamp(1.3rem, 1.8vw, 1.6rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    transition: transform 0.4s ease;
}

.grow-tile-text,
.grow-tile-link {
    display: block;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease, max-height 0.4s ease, margin 0.4s ease;
}

.grow-tile-text {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.88);
}

.grow-tile-link {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--wl-gold);
}

.grow-tile-link i {
    transition: transform 0.25s ease;
}

.grow-tile:hover .grow-tile-title,
.grow-tile:focus-visible .grow-tile-title {
    transform: translateY(-0.25rem);
}

.grow-tile:hover .grow-tile-text,
.grow-tile:focus-visible .grow-tile-text,
.grow-tile:hover .grow-tile-link,
.grow-tile:focus-visible .grow-tile-link {
    opacity: 1;
    max-height: 6rem;
    transform: translateY(0);
    margin-top: 0.6rem;
}

.grow-tile:hover .grow-tile-link i,
.grow-tile:focus-visible .grow-tile-link i {
    transform: translateX(5px);
}

/* Thin separators so the touching tiles stay crisp */
.grow-cell::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    z-index: 3;
}

/* On touch devices reveal the detail text without a hover */
@media (hover: none) {
    .grow-tile-text,
    .grow-tile-link {
        opacity: 1;
        max-height: 6rem;
        transform: none;
        margin-top: 0.6rem;
    }
}

/* --------------------------------------------------------------------------
   Inner page hero
   -------------------------------------------------------------------------- */

.page-hero {
    position: relative;
    padding: 11rem 0 5rem;
    overflow: hidden;
    color: #fff;
}

.page-hero-img {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.page-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(110deg, rgba(28, 37, 34, 0.94) 0%, rgba(28, 37, 34, 0.78) 55%, rgba(28, 37, 34, 0.5) 100%);
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero .breadcrumb {
    margin-bottom: 1rem;
}

.page-hero .breadcrumb-item,
.page-hero .breadcrumb-item a,
.page-hero .breadcrumb-item.active,
.page-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
}

.page-hero .breadcrumb-item a:hover {
    color: var(--wl-gold);
}

.page-hero-title {
    font-size: clamp(2rem, 4.5vw, 3.1rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
}

.page-hero-lead {
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 44rem;
    margin-bottom: 0;
}

.lead-capture-hero {
    padding-bottom: 6rem;
}

.lead-capture-hero .contact-form-card {
    box-shadow: var(--shadow-lift);
}

.lead-capture-hero .section-eyebrow {
    color: var(--wl-gold-dark);
}

.lead-capture-hero .text-white-50.section-eyebrow {
    color: rgba(255, 255, 255, 0.72) !important;
}

.lead-capture-hero .contact-form-card iframe {
    max-width: 100%;
}

/* --------------------------------------------------------------------------
   Practice area cards
   -------------------------------------------------------------------------- */

/* Offset jump-link targets so the fixed navbar doesn't cover the card */
.practice-card[id],
.inventory-card[id] {
    scroll-margin-top: 220px;
}

.practice-card {
    background-color: #fff;
    border: 1px solid rgba(28, 37, 34, 0.07);
    border-radius: 1rem;
    padding: 2.25rem 1.9rem;
    height: 100%;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.practice-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lift);
}

.practice-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--wl-cream);
    color: var(--wl-sage);
    font-size: 1.7rem;
    margin-bottom: 1.4rem;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.practice-card:hover .practice-card-icon {
    background-color: var(--wl-sage);
    color: #fff;
    transform: scale(1.06);
}

.practice-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.65rem;
}

.practice-card-title a {
    color: var(--wl-dark);
}

.practice-card-title a:hover {
    color: var(--wl-sage);
}

.practice-card p {
    margin-bottom: 1.25rem;
}

.practice-card .btn {
    margin-top: 1.25rem;
}

.nursery-brochure-btn {
    margin-top: 20px;
}

.inventory-card {
    height: 100%;
    padding: 1.75rem;
    border: 1px solid rgba(28, 37, 34, 0.08);
    border-radius: 1rem;
    background-color: #fff;
    box-shadow: var(--shadow-soft);
}

.inventory-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(28, 37, 34, 0.08);
}

.inventory-card-header h3 {
    margin-bottom: 0;
    font-size: 1.35rem;
    font-weight: 600;
}

.inventory-card-header a {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--wl-cream);
    color: var(--wl-sage);
}

.inventory-list {
    columns: 2;
    column-gap: 1.75rem;
    padding-left: 1.15rem;
    margin-bottom: 0;
    color: var(--wl-muted);
}

.inventory-list li {
    break-inside: avoid;
    margin-bottom: 0.45rem;
}

@media (max-width: 575.98px) {
    .inventory-list {
        columns: 1;
    }
}

.practice-card-link {
    margin-top: auto;
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--wl-gold-dark);
}

.practice-card-link i {
    transition: transform 0.25s ease;
    vertical-align: middle;
}

.practice-card:hover .practice-card-link i {
    transform: translateX(5px);
}

/* --------------------------------------------------------------------------
   Stats band
   -------------------------------------------------------------------------- */

.stats-band {
    background-color: var(--wl-dark);
    color: #fff;
    padding: 4.5rem 0;
    position: relative;
    overflow: hidden;
}

.stats-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 15%, rgba(164, 156, 139, 0.14), transparent 55%);
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-value {
    font-family: var(--font-serif);
    font-size: clamp(2.6rem, 5vw, 3.6rem);
    font-weight: 700;
    color: var(--wl-gold);
    line-height: 1.1;
}

.stat-label {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    margin-top: 0.4rem;
}

.stat-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    max-width: 18rem;
    margin: 0.5rem auto 0;
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */

.testimonial-card {
    background-color: #fff;
    border-radius: 1rem;
    padding: 2.5rem 2.25rem;
    height: 100%;
    box-shadow: var(--shadow-soft);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
}

.testimonial-quote-icon {
    font-size: 2.4rem;
    color: var(--wl-gold);
    line-height: 1;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--wl-body);
}

.testimonial-author {
    font-weight: 700;
    color: var(--wl-dark);
    margin-bottom: 0;
}

.testimonial-author::before {
    content: "";
    display: inline-block;
    width: 2rem;
    height: 2px;
    background-color: var(--wl-gold);
    vertical-align: middle;
    margin-right: 0.75rem;
}

/* --------------------------------------------------------------------------
   Team cards
   -------------------------------------------------------------------------- */

.team-card {
    text-align: center;
    background-color: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lift);
}

.team-card-photo {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.team-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-card-photo img {
    transform: scale(1.05);
}

.team-card-body {
    padding: 1.6rem 1.25rem 1.9rem;
}

.team-card-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.team-card-name a {
    color: var(--wl-dark);
}

.team-card-name a:hover {
    color: var(--wl-sage);
}

.team-card-role {
    color: var(--wl-gold-dark);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0;
}

/* Attorney bio pages */

.bio-photo {
    border-radius: 1rem;
    box-shadow: var(--shadow-lift);
    width: 100%;
    object-fit: cover;
}

.bio-contact-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.25rem;
    background-color: var(--wl-cream);
    border-radius: 0.75rem;
    margin-bottom: 0.85rem;
}

.bio-contact-item i {
    font-size: 1.3rem;
    color: var(--wl-sage);
}

.bio-contact-item a {
    font-weight: 600;
    color: var(--wl-dark);
}

.bio-contact-item a:hover {
    color: var(--wl-sage);
}

/* --------------------------------------------------------------------------
   Checklists, accordions, sidebars
   -------------------------------------------------------------------------- */

.checklist li {
    display: flex;
    gap: 0.85rem;
    margin-bottom: 0.9rem;
    font-size: 1.03rem;
}

.checklist i {
    color: var(--wl-gold-dark);
    font-size: 1.15rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.faq-accordion .accordion-item {
    border: 1px solid rgba(28, 37, 34, 0.08);
    border-radius: 0.75rem !important;
    margin-bottom: 0.85rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.faq-accordion .accordion-button {
    font-weight: 600;
    color: var(--wl-dark);
    background-color: #fff;
    padding: 1.15rem 1.4rem;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background-color: var(--wl-cream);
    color: var(--wl-dark);
    box-shadow: none;
}

.faq-accordion .accordion-button:focus {
    border-color: var(--wl-gold);
    box-shadow: 0 0 0 0.2rem rgba(164, 156, 139, 0.25);
}

.faq-accordion .accordion-body {
    padding: 1.15rem 1.4rem;
}

.sidebar-sticky {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background-color: #fff;
    border: 1px solid rgba(28, 37, 34, 0.07);
    border-radius: 1rem;
    padding: 1.9rem 1.7rem;
    box-shadow: var(--shadow-soft);
    margin-bottom: 1.5rem;
}

.sidebar-card-dark {
    background-color: var(--wl-dark);
    border: none;
    color: rgba(255, 255, 255, 0.85);
}

.sidebar-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.9rem;
}

.sidebar-card-dark .sidebar-card-title {
    color: #fff;
}

.sidebar-links li {
    margin-bottom: 0.55rem;
}

.sidebar-links a {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 500;
    color: var(--wl-body);
}

.sidebar-links a:hover {
    color: var(--wl-sage);
    transform: translateX(3px);
}

.sidebar-links a,
.sidebar-links a:hover {
    transition: color 0.2s ease, transform 0.2s ease;
}

.sidebar-links i {
    color: var(--wl-gold-dark);
    font-size: 1.2rem;
}

/* --------------------------------------------------------------------------
   Vision / landscape process
   -------------------------------------------------------------------------- */

.vision-intro {
    max-width: 44rem;
}

.vision-title {
    color: var(--wl-sage);
    margin-bottom: 1rem;
}

.vision-lead {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--wl-dark);
    margin-bottom: 1.75rem;
}

.vision-highlights {
    display: inline-flex;
    flex-direction: column;
    gap: 0.65rem;
    margin: 0 auto;
    text-align: left;
}

.vision-highlights li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--wl-sage);
}

.vision-highlights i {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--wl-sage-light);
}

.vision-steps {
    max-width: 880px;
    margin: 3.75rem auto 0;
    position: relative;
}

.vision-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    column-gap: 3rem;
    position: relative;
}

.vision-step + .vision-step {
    margin-top: 2.75rem;
}

.vision-step-media {
    width: 250px;
    height: 250px;
    justify-self: center;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid #fff;
    box-shadow: var(--shadow-lift);
}

.vision-step-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vision-step:hover .vision-step-media img {
    transform: scale(1.06);
}

.vision-step-body {
    padding: 0 0.5rem;
}

.vision-step--reverse .vision-step-media {
    order: 2;
}

.vision-step--reverse .vision-step-body {
    order: 1;
    text-align: right;
}

.vision-step-num {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--wl-gold-dark);
    margin-bottom: 0.35rem;
}

.vision-step-title {
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    font-weight: 600;
    color: var(--wl-sage);
    margin-bottom: 0.6rem;
}

.vision-step-body p {
    font-size: 1.02rem;
    margin-bottom: 0;
    color: var(--wl-body);
}

/* Dashed connectors zigzagging between the circular photos (desktop only) */
@media (min-width: 768px) {
    .vision-step:not(:last-child)::after {
        content: "";
        position: absolute;
        left: 25%;
        right: 25%;
        top: calc(100% + 1.375rem);
        border-top: 3px dashed var(--wl-sage-light);
    }

    .vision-step:not(.vision-step--reverse):not(:last-child)::after {
        transform: rotate(7deg);
    }

    .vision-step--reverse:not(:last-child)::after {
        transform: rotate(-7deg);
    }
}

@media (max-width: 767.98px) {
    .vision-step {
        grid-template-columns: 1fr;
        row-gap: 1.25rem;
        text-align: center;
    }

    .vision-step + .vision-step {
        margin-top: 3rem;
    }

    .vision-step-media {
        width: 210px;
        height: 210px;
    }

    .vision-step--reverse .vision-step-media {
        order: 0;
    }

    .vision-step--reverse .vision-step-body {
        order: 0;
        text-align: center;
    }
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
    background:
        linear-gradient(rgba(28, 37, 34, 0.93), rgba(28, 37, 34, 0.93)),
        var(--wl-dark);
    color: #fff;
    padding: 5rem 0;
}

.cta-band-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
}

.cta-band-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

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

.contact-info-card {
    background-color: #fff;
    border-radius: 1rem;
    padding: 2.25rem 1.9rem;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
}

.contact-info-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--wl-cream);
    color: var(--wl-sage);
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
}

.contact-info-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.map-wrap {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    line-height: 0;
}

.map-wrap iframe {
    width: 100%;
    height: 420px;
    border: 0;
}

/* Form styling (UI only - to be replaced by Jotform embed) */

.contact-form-card {
    background-color: #fff;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
}

.contact-form-card .form-label {
    font-weight: 600;
    color: var(--wl-dark);
    font-size: 0.92rem;
}

.contact-form-card .form-control {
    border-radius: 0.6rem;
    border-color: rgba(28, 37, 34, 0.15);
    padding: 0.75rem 1rem;
}

.contact-form-card .form-control:focus {
    border-color: var(--wl-sage);
    box-shadow: 0 0 0 0.2rem rgba(78, 97, 90, 0.15);
}

/* --------------------------------------------------------------------------
   Privacy pages
   -------------------------------------------------------------------------- */

.privacy-content h2 {
    font-size: 1.4rem;
    margin: 2.25rem 0 0.85rem;
}

.privacy-content ul li,
.privacy-content ol li {
    margin-bottom: 0.5rem;
}

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

.site-footer {
    position: relative;
    color: rgba(255, 255, 255, 0.72);
    background:
        radial-gradient(circle at 88% 0%, rgba(113, 162, 46, 0.28), transparent 55%),
        radial-gradient(circle at 0% 100%, rgba(113, 162, 46, 0.12), transparent 45%),
        linear-gradient(160deg, var(--wl-dark) 0%, var(--wl-dark-soft) 100%);
}

/* Sage-to-gold accent line that ties the footer to the category mosaic */
.site-footer::before {
    content: "";
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--wl-sage) 0%, var(--wl-gold) 50%, var(--wl-sage) 100%);
}

.footer-main {
    padding: 5rem 0 3.5rem;
}

/* White card behind the brand column (the logo artwork is dark) */
.footer-brand-card {
    background-color: #fff;
    border-radius: 1.25rem;
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow-lift);
}

.footer-logo {
    max-width: 180px;
    height: auto;
}

.footer-logo-text {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--wl-dark);
}

.footer-mission {
    font-size: 0.96rem;
    line-height: 1.8;
    color: var(--wl-body);
    margin-bottom: 1.5rem;
}

.footer-brand-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    border-radius: 50%;
    background-color: var(--wl-cream);
    border: 1px solid rgba(28, 37, 34, 0.08);
    color: var(--wl-sage);
    font-size: 1.15rem;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.footer-social:hover {
    background-color: var(--wl-sage);
    color: #fff;
    transform: translateY(-3px);
}

.footer-heading {
    position: relative;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
    padding-bottom: 0.7rem;
}

.footer-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2.25rem;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--wl-sage), var(--wl-gold));
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.96rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
    color: var(--wl-gold);
    transform: translateX(4px);
}

/* Category chips that mirror the home page mosaic tiles */
.footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.9rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-tag:hover {
    color: #fff;
    background-color: var(--wl-sage);
    border-color: var(--wl-sage);
    transform: translateY(-2px);
}

/* Contact list with circular icon badges */
.footer-contact {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.5rem;
    border-radius: 0.75rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    line-height: 1.45;
    transition: background-color 0.2s ease, color 0.2s ease;
}

a.footer-contact-item:hover {
    background-color: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.footer-contact-item--static {
    cursor: default;
}

.footer-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border-radius: 50%;
    background-color: rgba(207, 226, 162, 0.12);
    color: var(--wl-gold);
    font-size: 1rem;
}

a.footer-contact-item:hover .footer-contact-icon {
    background-color: var(--wl-sage);
    color: #fff;
}

.footer-contact-label {
    display: block;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.4rem 0;
    font-size: 0.88rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.65);
}

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

.footer-bottom .footer-credit-link {
    color: var(--wl-gold);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-shadow: 0 0 14px rgba(212, 167, 98, 0.2);
}

.footer-bottom .footer-credit-link:hover {
    color: #fff;
}

.footer-divider {
    margin: 0 0.6rem;
    color: rgba(255, 255, 255, 0.3);
}

/* --------------------------------------------------------------------------
   Mobile click-to-call
   -------------------------------------------------------------------------- */

.floating-call-btn {
    position: fixed;
    bottom: 1.4rem;
    right: 1.4rem;
    z-index: 1040;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--wl-sage);
    color: #fff;
    font-size: 1.4rem;
    box-shadow: var(--shadow-lift);
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-call-btn:hover,
.floating-call-btn:focus-visible {
    background-color: var(--wl-dark);
    color: var(--wl-gold);
    transform: scale(1.06);
    box-shadow: 0 1.5rem 3.5rem rgba(28, 37, 34, 0.22);
}

@media (min-width: 992px) {
    .floating-call-btn {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        bottom: 1.75rem;
        right: 1.75rem;
    }
}

/* --------------------------------------------------------------------------
   Misc
   -------------------------------------------------------------------------- */

.img-rounded-shadow {
    border-radius: 1rem;
    box-shadow: var(--shadow-lift);
}

.site-photo {
    display: block;
    width: 100%;
    min-height: 340px;
    border-radius: 1rem;
    box-shadow: var(--shadow-lift);
    object-fit: cover;
}

.site-photo-sm {
    min-height: 220px;
    max-height: 260px;
}

.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.error-code {
    font-family: var(--font-serif);
    font-size: clamp(5rem, 12vw, 8rem);
    font-weight: 700;
    color: var(--wl-gold);
    line-height: 1;
}

.thank-you-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.thank-you-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background-color: var(--wl-sage);
    color: #fff;
    font-size: 2.6rem;
    box-shadow: var(--shadow-soft);
}

.placeholder-image {
    min-height: 340px;
    border-radius: 1rem;
    box-shadow: var(--shadow-lift);
    background:
        linear-gradient(135deg, rgba(37, 58, 27, 0.16), rgba(113, 162, 46, 0.34)),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.42) 0 12px, rgba(255, 255, 255, 0.16) 12px 24px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wl-dark);
    text-align: center;
    padding: 2rem;
}

.placeholder-image span {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.25rem;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-bg.placeholder-hero,
.page-hero.placeholder-hero {
    background:
        linear-gradient(105deg, rgba(37, 58, 27, 0.9) 0%, rgba(37, 58, 27, 0.72) 45%, rgba(113, 162, 46, 0.36) 100%),
        radial-gradient(circle at 75% 20%, rgba(207, 226, 162, 0.35), transparent 28%),
        linear-gradient(135deg, #253a1b, #71a22e);
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg img,
    .hero-scroll {
        animation: none;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}
