/** !
Theme Name: Elms Gardens
Theme URI: https://www.elmsgardens.com/
Description: Bespoke Theme for Elms Gardens using WordPress. Gutenberg compatible. Using Bootstrap 5 and Font Awesome 6.
Author: Elms Creative
Author URI: https://www.elmscreative.com/
Version: 2.0
Text Domain: elmscreative
*/

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */

:root {
    /* Brand */
    --green: #6bbf3e;
    --green-dark: #1a3320;
    --green-mid: #2e5c37;
    --green-light: #edf7e6;

    /* Surfaces */
    --cream: #faf9f5;
    --warm-white: #f6f5f1;
    --stone: #e4e1d9;
    --surface-alt: #ffffff;

    /* Text */
    --text: #1a1f1b;
    --text-muted: #5a6358;

    /* Navbar */
    --navbar-bg: #fff;
    --navbar-border: rgba(0, 0, 0, 0.06);
    --navbar-shadow: rgba(0, 0, 0, 0.09);

    /* Cards */
    --card-bg: #ffffff;
    --card-border: rgba(0, 0, 0, 0.05);
    --card-shadow: rgba(0, 0, 0, 0.05);

    /* Forms */
    --input-bg: #faf9f5;
    --input-border: rgba(0, 0, 0, 0.1);
    --input-placeholder: rgba(0, 0, 0, 0.5);
    --input-focus-bg: #ffffff;

    /* Typography */
    --ff-head: "Montserrat", sans-serif;
    --ff-serif: "Lora", serif;
}

[data-theme="dark"] {
    --green-light: #161a17;

    /* Surfaces */
    --cream: #111613;
    --warm-white: #111613;
    --stone: #2a2e2b;
    --surface-alt: #000;

    /* Text */
    --text: #e8ede9;
    --text-muted: #8a9e8c;

    /* Navbar */
    --navbar-bg: #000;
    --navbar-border: rgba(255, 255, 255, 0.06);
    --navbar-shadow: rgba(0, 0, 0, 0.4);

    /* Cards */
    --card-bg: #1e231f;
    --card-border: rgba(255, 255, 255, 0.06);
    --card-shadow: rgba(0, 0, 0, 0.2);

    /* Forms */
    --input-bg: #161a17;
    --input-border: rgba(255, 255, 255, 0.1);
    --input-placeholder: rgba(255, 255, 255, 0.35);
    --input-focus-bg: #1e231f;
}

/* ==========================================================================
   Elements
   ========================================================================== */

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

html {
    min-height: 100%;
    background: var(--cream);
    overflow: auto;
    scroll-behavior: smooth;
}

html,
body {
    height: auto;
}

body {
    background: var(--cream);
    color: var(--text);
    font-family: var(--ff-head);
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 0.5em;
    color: var(--text);
    text-transform: capitalize;
    font-family: var(--ff-head);
    font-weight: 800;
    position: relative;
    letter-spacing: -1px;
}

p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
}
p > strong {
    font-weight: 600;
    color: var(--text);
}
p.lead {
    font-size: 1.45rem;
    font-weight: 400;
    line-height: 1.6;
}

ul,
ol {
    padding: 0 0 0 2em;
}
ul > li,
ol > li {
    font-size: 1rem;
}

hr {
    border-top: var(--stone) 1px solid;
}

svg {
    color: var(--green);
}
span {
    color: var(--green);
}

label {
    margin-bottom: 0.25em !important;
    color: var(--text) !important;
}

input[type="text"],
input[type="url"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea {
    height: auto !important;
    padding: 0.75em 1em !important;
    color: var(--text) !important;
    font-size: 0.95rem !important;
    background-color: var(--input-bg) !important;
    border: 1.5px solid var(--input-border) !important;
    border-radius: 4px !important;
    font-family: var(--ff-head) !important;
}
input[type="file"] {
    color: var(--text) !important;
}

select {
    font-family: var(--ff-head) !important;
    height: 45px !important;
    padding: 0.75em 1em !important;
    color: var(--text) !important;
    font-size: 0.95rem !important;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none !important;
    border-radius: 4px !important;
    background: var(--input-bg);
    border: 1.5px solid var(--input-border);
}
.forminator-ui.forminator-design--flat
    .forminator-select2
    + .forminator-select
    .selection
    .select2-selection--single[role="combobox"]
    .select2-selection__rendered {
    color: var(--text) !important;
}
.forminator-ui.forminator-design--flat
    .forminator-select2
    + .forminator-select
    .selection
    .select2-selection--single[role="combobox"]:hover,
.forminator-select-dropdown-container--open
    .forminator-dropdown--flat
    .select2-results
    .select2-results__options
    .select2-results__option:not(
        .select2-results__option--selected
    ).select2-results__option--highlighted,
.forminator-select-dropdown-container--open
    .forminator-dropdown--flat
    .select2-results
    .select2-results__options
    .select2-results__option:not(
        .select2-results__option--selected
    ).select2-results__option--highlighted
    span:not(.forminator-checkbox-box),
.forminator-ui.forminator-design--flat
    .forminator-select2
    + .forminator-select
    .selection
    .select2-selection--single[role="combobox"]:focus,
.forminator-ui.forminator-design--flat
    .forminator-select2
    + .forminator-select.select2-container--open
    .selection
    .select2-selection--single[role="combobox"],
.forminator-ui.forminator-custom-form[data-design="flat"]
    select.forminator-select2
    + .forminator-select
    .selection
    span[role="combobox"].select2-selection--multiple,
.forminator-ui.forminator-custom-form[data-design="flat"]
    select.forminator-select2
    + .forminator-select
    .selection
    span[role="combobox"].select2-selection--single {
    color: var(--text) !important;
    background-color: var(--input-bg) !important;
}

.forminator-select-dropdown-container--open
    .forminator-dropdown--flat
    .select2-results
    .select2-results__options
    .select2-results__option.select2-results__option--selected,
.forminator-select-dropdown-container--open
    .forminator-dropdown--flat
    .select2-results
    .select2-results__options
    .select2-results__option.select2-results__option--selected
    span:not(.forminator-checkbox-box) {
    color: var(--text) !important;
}

.forminator-select-dropdown-container--open
    .forminator-dropdown--flat
    .select2-results
    .select2-results__options
    .select2-results__option.select2-results__option--highlighted {
    outline: 1.5px solid var(--input-border) !important;
}

.forminator-select-dropdown-container--open
    .forminator-dropdown--flat
    .select2-results
    .select2-results__options
    .select2-results__option.select2-results__option--selected,
.forminator-select-dropdown-container--open
    .forminator-dropdown--flat
    .select2-results
    .select2-results__options
    .select2-results__option.select2-results__option--selected
    span:not(.forminator-checkbox-box),
.forminator-select-dropdown-container--open .forminator-dropdown--flat {
    background-color: var(--input-bg) !important;
}

textarea {
    min-height: 125px !important;
    max-height: 125px !important;
    padding: 0.75em 1em !important;
    font-size: 0.95rem !important;
    background-color: var(--cream) !important;
    border: 1.5px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 4px !important;
    font-family: var(--ff-head) !important;
}

input::placeholder,
textarea::placeholder,
select::placeholder {
    color: var(--input-placeholder) !important;
    font-style: normal;
}

input[type="submit"] {
    width: auto !important;
    padding: 0.55em 2em !important;
    display: inline-block !important;
    font-size: 1rem !important;
    position: relative !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-align: center !important;
    text-transform: capitalize !important;
    border-radius: 4px !important;
    border: var(--green) 1px solid !important;
    transition:
        background 0.22s,
        transform 0.22s !important;
    background: var(--green) !important;
}
input[type="submit"]:hover {
    color: #fff !important;
    text-decoration: none !important;
    background-color: #58a82e !important;
    border-color: #58a82e !important;
    transform: translateY(-1px);
}

/* Bootstrap form controls — focus states */
.form-control,
.form-select {
    border-radius: 4px;
    font-family: var(--ff-head);
    font-size: 0.9rem;
    color: var(--text);
    background: var(--input-bg);
    border: 1.5px solid var(--input-border);
    padding: 11px 14px;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}
.form-control:focus,
.form-select:focus {
    border-color: var(--green);
    background: var(--input-focus-bg);
    box-shadow: 0 0 0 3px rgba(107, 191, 62, 0.12);
}
textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn,
.wp-element-button,
.forminator-ui.forminator-design--flat .forminator-button-submit,
.btn-primary-eg {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    width: auto !important;
    padding: 11px 26px !important;
    font-size: 0.78rem !important;
    font-family: var(--ff-head) !important;
    font-weight: 700 !important;
    letter-spacing: 0.07em;
    text-transform: uppercase !important;
    text-decoration: none !important;
    color: #fff !important;
    text-align: center !important;
    cursor: pointer;
    border: none !important;
    border-radius: 4px !important;
    background: var(--green) !important;
    box-shadow: none !important;
    transition:
        background 0.22s,
        transform 0.22s !important;
}
.btn:hover,
.wp-element-button:hover,
.forminator-ui.forminator-design--flat .forminator-button-submit:hover,
.btn-primary-eg:hover {
    color: #fff !important;
    text-decoration: none !important;
    background: #58a82e !important;
    transform: translateY(-1px);
}

.btn-inverted {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    width: auto !important;
    padding: 11px 26px !important;
    font-size: 0.78rem !important;
    font-family: var(--ff-head) !important;
    font-weight: 700 !important;
    letter-spacing: 0.07em;
    text-transform: uppercase !important;
    text-decoration: none !important;
    color: #fff !important;
    border-radius: 4px !important;
    background: var(--green-dark) !important;
    border: var(--green-dark) 1px solid !important;
    transition:
        background 0.22s,
        transform 0.22s !important;
}
.btn-inverted:hover {
    color: #fff !important;
    background: var(--green-mid) !important;
    border-color: var(--green-mid) !important;
    transform: translateY(-1px);
}

.btn-outline-eg {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 26px;
    border-radius: 4px;
    font-family: var(--ff-head);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.7);
    transition:
        background 0.22s,
        border-color 0.22s;
}
.btn-outline-eg:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
}

/* ==========================================================================
   Structure
   ========================================================================== */

.section {
    padding: 5em 0;
    position: relative;
    z-index: 5;
}
.section-mini {
    padding: 2.5em 0;
    position: relative;
    z-index: 5;
}
.section-very-mini {
    padding: 1em 0;
    position: relative;
    z-index: 5;
}
.section-none {
    padding: 0;
    position: relative;
    z-index: 5;
}

/* Section label & title utilities */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 14px;
}
.section-label::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--green);
}
.section-label-light {
    color: #8ed46a;
}
.section-label-light::before {
    background: #8ed46a;
}

.section-title {
    font-family: var(--ff-head);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text);
}
.section-title-light {
    color: #fff;
}

.border-bottom {
    border-bottom: 1px solid var(--stone) !important;
}

[data-theme="dark"] {
    .border-bottom {
        border-bottom: 1px solid var(--green-dark) !important;
    }
}

/* ==========================================================================
   Links and Navigation
   ========================================================================== */

/* Navbar */
#navbar {
    transition:
        height 0.35s ease,
        box-shadow 0.3s,
        background 0.3s;
    background: var(--navbar-bg) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--navbar-border);
    padding: 0 !important;
    height: 72px;
}
#navbar .container-xl {
    height: 100%;
    transition: height 0.35s ease;
}

/* Compact (scrolled) state */
#navbar.compact {
    height: 54px;
    top: 0 !important;
    box-shadow: 0 2px 24px var(--navbar-shadow);
}
#navbar.compact .navbar-brand img {
    height: 32px;
}
#navbar.compact .nav-link {
    font-size: 0.72rem !important;
}
#navbar.compact .btn-primary-eg {
    padding: 8px 18px !important;
    font-size: 0.72rem !important;
}

/* Logo transition */
.navbar-brand img {
    height: 44px;
    width: auto;
    transition: height 0.35s ease;
}

.nav-link {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--text) !important;
    position: relative;
    padding: 0 4px !important;
    margin: 0 12px;
    transition: color 0.2s;
}
.nav-link::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s;
}
.nav-link:hover {
    color: var(--green) !important;
}
.nav-link:hover::after {
    transform: scaleX(1);
}

/* Hamburger / close buttons in the navbar bar */
#mobile-nav-open,
#theme-toggle-mobile-bar {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
    font-size: 1.1rem;
    padding: 6px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}
#mobile-nav-open:hover,
#theme-toggle-mobile-bar:hover {
    color: var(--green);
}

/* Overlay container */
#mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: var(--navbar-bg);
    display: flex;
    flex-direction: column;
    /* Hidden state */
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    transition:
        opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* Open state — toggled via JS */
#mobile-nav.is-open {
    opacity: 1;
    pointer-events: all;
    transform: translateX(0);
}

/* Subtle decorative element */
#mobile-nav::before {
    content: "";
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 60px solid rgba(107, 191, 62, 0.07);
    pointer-events: none;
}
#mobile-nav::after {
    content: "";
    position: absolute;
    top: -60px;
    left: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 40px solid rgba(107, 191, 62, 0.05);
    pointer-events: none;
}

/* Inner layout */
#mobile-nav-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Header row */
#mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-controls {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Theme toggle inside overlay */
#theme-toggle-mobile,
#mobile-nav-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text) !important;
    font-size: 1.1rem;
    padding: 8px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}
#theme-toggle-mobile:hover,
#mobile-nav-close:hover {
    color: var(--text) !important;
}
#mobile-nav-close {
    font-size: 1.3rem;
}

/* Nav links area */
#mobile-nav-links {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile menu list */
.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobile-nav-menu .nav-item {
    margin: 1em 0;
    overflow: hidden;
}

.mobile-nav-menu .nav-link {
    display: inline-block;
    font-family: var(--ff-head) !important;
    font-size: clamp(2rem, 6vw, 3rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
    text-transform: uppercase !important;
    color: var(--text) !important;
    padding: 0.15em 0 !important;
    margin: 0 !important;
    text-decoration: none;
    line-height: 1.1;
    position: relative;
    transition: color 0.2s;
}

.mobile-nav-menu .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.mobile-nav-menu .nav-link:hover {
    color: var(--green) !important;
}
.mobile-nav-menu .nav-link:hover::after,
.mobile-nav-menu .nav-item.active > .nav-link::after {
    transform: scaleX(1);
}

/* Stagger animation for links */
#mobile-nav.is-open .mobile-nav-menu .nav-item {
    animation: mobile-link-in 0.4s ease forwards;
    opacity: 0;
}
#mobile-nav.is-open .mobile-nav-menu .nav-item:nth-child(1) {
    animation-delay: 0.08s;
}
#mobile-nav.is-open .mobile-nav-menu .nav-item:nth-child(2) {
    animation-delay: 0.14s;
}
#mobile-nav.is-open .mobile-nav-menu .nav-item:nth-child(3) {
    animation-delay: 0.2s;
}
#mobile-nav.is-open .mobile-nav-menu .nav-item:nth-child(4) {
    animation-delay: 0.26s;
}
#mobile-nav.is-open .mobile-nav-menu .nav-item:nth-child(5) {
    animation-delay: 0.32s;
}
#mobile-nav.is-open .mobile-nav-menu .nav-item:nth-child(6) {
    animation-delay: 0.38s;
}

@keyframes mobile-link-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer area */
#mobile-nav-footer {
    flex-shrink: 0;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.mobile-nav-cta {
    font-size: 0.82rem !important;
    padding: 13px 32px !important;
}

.mobile-nav-tagline {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
}

/* Prevent body scroll when nav is open */
body.mobile-nav-active {
    overflow: hidden;
}

/* Only show the overlay on mobile — hide on desktop */
@media (min-width: 992px) {
    #mobile-nav {
        display: none !important;
    }
    #mobile-nav-open,
    #theme-toggle-mobile-bar {
        display: none !important;
    }
}

/* Theme toggle button */
#theme-toggle,
#theme-toggle-mobile {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
    font-size: 1rem;
    padding: 4px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}
#theme-toggle:hover,
#theme-toggle-mobile:hover {
    color: var(--green);
}
#navbar.compact #theme-toggle {
    font-size: 0.85rem;
}

a {
    color: var(--green);
    text-decoration: none;
}
a:hover {
    color: var(--green-mid);
}

/* Back to top */
#back-to-top {
    display: none;
    position: fixed;
    bottom: 18px;
    right: 20px;
    z-index: 99;
    border: none;
    outline: none;
    padding: 5px 10px 7.5px;
    background-color: var(--green-dark);
    cursor: pointer;
    border-radius: 50%;
    font-size: 18px;
    transition: background-color 0.3s;
}
#back-to-top > svg {
    color: #fff;
    position: relative;
    top: 2px;
}
#back-to-top:hover {
    background-color: var(--green);
}

/* ==========================================================================
   Hero
   ========================================================================== */

#hero {
    position: relative;
    padding: 140px 72px 100px;
    height: 100vh;
    min-height: 640px;
    overflow: hidden;
}

#hero.other {
    height: auto;
    min-height: 440px;
}

.hero-right {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: -1px;
    background-image: url("assets/images/cover.jpg");
    background-size: cover;
    background-position: center;
    transform: scale(1.03);
    transition: transform 8s ease;
}
#hero:hover .hero-bg {
    transform: scale(1.07);
}

.hero-left {
    position: absolute;
    z-index: 10;
    background: var(--green-dark);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 72px 80px 80px 72px;
    clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
    width: 58%;
    height: auto;
    bottom: 5em;
    right: 2em;
}

.hero-ghost {
    position: absolute;
    top: 50%;
    left: -0.04em;
    transform: translateY(-50%);
    font-family: var(--ff-head);
    font-size: clamp(9rem, 16vw, 15rem);
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.06);
    line-height: 0.85;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    letter-spacing: -0.02em;
}

.hero-rule {
    position: absolute;
    top: 72px;
    bottom: 80px;
    left: 44px;
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
}
.hero-rule::before {
    content: "";
    position: absolute;
    top: 0;
    left: -2px;
    width: 5px;
    height: 40px;
    background: var(--green);
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 24px;
}
.hero-label::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 2px;
    background: var(--green);
}

.hero-title {
    font-family: var(--ff-head);
    font-size: clamp(3rem, 3.2vw, 4.4rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 20px;
    max-width: 10em;
}
.hero-title em {
    font-style: normal;
    color: var(--green);
}

.hero-sub {
    font-size: 0.96rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 360px;
}

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

.hero-scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 1);
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    animation: hero-bounce 2.2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes hero-bounce {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    55% {
        transform: translateX(-50%) translateY(7px);
    }
}

/* ==========================================================================
   About
   ========================================================================== */

#about {
    background: var(--surface-alt);
    padding: 100px 0;
}

.about-img-wrap {
    position: relative;
}
.about-img-wrap img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.about-badge {
    position: absolute;
    bottom: -24px;
    left: -24px;
    width: 130px;
    height: 130px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    font-family: var(--ff-head);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}
.about-badge .big {
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1;
}
.about-badge .small {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 4px;
    opacity: 0.9;
}

.stat-num {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--green);
    line-height: 1;
}
.stat-desc {
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ==========================================================================
   Services
   ========================================================================== */

#services {
    background: var(--warm-white);
    padding: 100px 0;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 6px;
    overflow: hidden;
    transition:
        transform 0.28s,
        box-shadow 0.28s;
    height: 100%;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.service-body {
    padding: 28px;
}

.service-icon {
    width: 46px;
    height: 46px;
    background: var(--green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.1rem;
    color: var(--green);
}

.service-body h3 {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}
.service-body p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 0;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--green);
    text-decoration: none;
    transition: gap 0.2s;
}
.service-link:hover {
    gap: 12px;
    color: var(--green);
}

/* ==========================================================================
   CTA
   ========================================================================== */

#cta {
    background: var(--green-dark);
    padding: 100px 0;
}
#cta p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.02rem;
    line-height: 1.75;
}

.cta-phone {
    font-size: 3.25rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
}
.cta-phone-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

/* ==========================================================================
   Contact
   ========================================================================== */

#contact {
    background: var(--cream);
    padding: 100px 0;
}
#contact .lead {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.detail-icon {
    width: 46px;
    height: 46px;
    background: var(--green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
    color: var(--green);
}
.detail-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.detail-value {
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--text);
    margin-top: 2px;
}

.contact-form-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: 0 4px 24px var(--card-shadow);
    border-radius: 8px;
    padding: 44px;
}
.contact-form-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 28px;
}

.form-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
    background: var(--surface-alt);
    padding: 56px 0 28px;
}

.footer-brand p {
    font-size: 0.86rem;
    line-height: 1.75;
    color: var(--text);
    margin-top: 16px;
    max-width: 28em;
}

.footer-col h5 {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 18px;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    font-size: 0.86rem;
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-col ul li a:hover {
    color: var(--green);
}

.footer-divider {
    border-color: var(--stone);
}

.footer-copy,
.footer-copy > p {
    font-size: 0.78rem;
    color: var(--text);
}
.footer-copy a {
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
}
.footer-copy a:hover {
    color: var(--green);
}

/* Social icons */
.social-links {
    display: flex;
    align-items: center;
    gap: 14px;
}
.social-links a {
    color: var(--green);
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1;
}
.social-links > a > svg {
    color: var(--green);
}
.social-links > a:hover > svg,
.social-links > a > svg:hover {
    color: var(--green-dark);
}

/* ==========================================================================
   Misc
   ========================================================================== */

/* Google reCAPTCHA v3 — hide the badge */
.grecaptcha-badge {
    display: none !important;
}

/* ==========================================================================
   Media Queries: Bootstrap breakpoints
   ========================================================================== */

/* xs — phones */
@media (max-width: 575.98px) {
    .hero-left {
        width: 93%;
        margin: 0 1em;
        padding: 3.25em;
        right: 0;
        background: rgba(15, 35, 18, 0.88);
    }
    .hero-rule {
        position: absolute;
        top: 57px;
        bottom: 52px;
        left: 34px;
        width: 1px;
        background: rgba(255, 255, 255, 0.12);
    }
    .hero-title {
        font-size: clamp(2rem, 3.2vw, 4.4rem);
        margin-bottom: 10px;
    }
    .hero-sub {
        margin-bottom: 15px;
    }
    #about,
    #services,
    #cta,
    #contact {
        padding: 2em 1em;
    }
    footer {
        padding: 56px 1em 28px;
    }
    .about-badge {
        width: 110px;
        height: 110px;
        bottom: -18px;
        left: -12px;
    }
    .about-img-wrap img {
        height: 320px;
    }
    .about-img-wrap {
        margin-bottom: 0;
    }
    .cta-phone {
        font-size: 2.9rem;
    }
    .contact-form-card {
        padding: 2em;
    }
    .footer-copy,
    .footer-copy > p {
        font-size: 0.68rem;
        text-align: center;
    }
}

/* sm — landscape phones */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-left {
        width: 93%;
        margin: 0 1em;
        padding: 3.25em;
        right: 0;
        background: rgba(15, 35, 18, 0.88);
    }
    .hero-rule {
        position: absolute;
        top: 57px;
        bottom: 52px;
        left: 34px;
        width: 1px;
        background: rgba(255, 255, 255, 0.12);
    }
    .hero-title {
        font-size: clamp(2rem, 3.2vw, 4.4rem);
        margin-bottom: 10px;
    }
    .hero-sub {
        margin-bottom: 15px;
    }
    #about,
    #services,
    #cta,
    #contact {
        padding: 2em 1em;
    }
    footer {
        padding: 56px 1em 28px;
    }
    .about-badge {
        width: 110px;
        height: 110px;
        bottom: -18px;
        left: -12px;
    }
    .about-img-wrap img {
        height: 320px;
    }
    .about-img-wrap {
        margin-bottom: 0;
    }
    .cta-phone {
        font-size: 2.9rem;
    }
    .contact-form-card {
        padding: 2em;
    }
    .footer-copy,
    .footer-copy > p {
        font-size: 0.68rem;
        text-align: center;
    }
}

/* md — tablets */
@media (max-width: 991px) {
    .hero-left {
        width: 93%;
        margin: 0 1em;
        padding: 3.25em;
        right: 0;
        background: rgba(15, 35, 18, 0.88);
    }
    .hero-rule {
        position: absolute;
        top: 57px;
        bottom: 52px;
        left: 34px;
        width: 1px;
        background: rgba(255, 255, 255, 0.12);
    }
    .hero-title {
        font-size: clamp(2rem, 3.2vw, 4.4rem);
        margin-bottom: 10px;
    }
    .hero-sub {
        margin-bottom: 15px;
    }
    #about,
    #services,
    #cta,
    #contact {
        padding: 2em 1em;
    }
    footer {
        padding: 56px 1em 28px;
    }
    .about-badge {
        width: 110px;
        height: 110px;
        bottom: -18px;
        left: -12px;
    }
    .about-img-wrap img {
        height: 320px;
    }
    .about-img-wrap {
        margin-bottom: 0;
    }
    .cta-phone {
        font-size: 2.9rem;
    }
    .contact-form-card {
        padding: 2em;
    }
    .footer-copy,
    .footer-copy > p {
        font-size: 0.68rem;
        text-align: center;
    }
}

/* lg — desktops */
@media (min-width: 992px) and (max-width: 1199.98px) {
    #about,
    #services,
    #cta,
    #contact {
        padding: 100px 1em;
    }
    footer {
        padding: 56px 1em 28px;
    }
}

/* xl */
@media (min-width: 1200px) and (max-width: 1399.98px) {
}

/* xxl */
@media (min-width: 1400px) {
}

/* ==========================================================================
   Print
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: var(--text) !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    a,
    a:visited {
        text-decoration: underline;
    }
    a[href]:after {
        content: " (" attr(href) ")";
    }
    abbr[title]:after {
        content: " (" attr(title) ")";
    }
    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    thead {
        display: table-header-group;
    }
    tr,
    img {
        page-break-inside: avoid;
    }
    img {
        max-width: 100% !important;
    }
    @page {
        margin: 0.5cm;
    }
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }
    h2,
    h3 {
        page-break-after: avoid;
    }
}
