/* ==========================================================================
   Wag n Run - Outdoor Rustic Modern Design
   A warm, honest aesthetic that feels like your trusted neighborhood dog expert
   ========================================================================== */

/* --------------------------------------------------------------------------
   Font Imports - Distinctive typography choices
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@400;600;700;800&family=Source+Sans+3:wght@400;500;600&display=swap');

/* --------------------------------------------------------------------------
   CSS Variables
   -------------------------------------------------------------------------- */
:root {
    /* Primary Palette - Dark brown & earth tones */
    --forest: #2d5a4a;
    --forest-light: #6B4F2A;
    --terracotta: #df463c;
    --terracotta-dark: #ca3930;
    --rust: #8b4513;

    /* Warm neutrals */
    --cream: #f7f3eb;
    --cream-dark: #ebe5d9;
    --bark: #3d3229;
    --bark-light: #5c4a3d;
    --stone: #9c9488;

    /* Typography */
    --font-display: 'Heebo', -apple-system, sans-serif;
    --font-body: 'Source Sans 3', -apple-system, sans-serif;

    /* Spacing - generous, breathable */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    /* Layout */
    --container-max: 1280px;
    --container-text: 720px;

    /* Curves - organic, soft */
    --radius-sm: 4px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-xl: 40px;
    --radius-organic: 60% 40% 50% 50% / 50% 50% 40% 60%;

    /* Timing */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--bark);
    background-color: var(--cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Subtle paper texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.03;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)'/%3E%3C/svg%3E");
}

::selection {
    background-color: var(--terracotta);
    color: var(--cream);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--forest);
    text-decoration: none;
    transition: color 0.3s var(--ease-out);
}

a:hover {
    color: var(--terracotta);
}

ul,
ol {
    list-style: none;
}

/* --------------------------------------------------------------------------
   Typography - Warm, characterful
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.15;
    color: var(--forest);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw + 1rem, 4rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(1.875rem, 3vw + 0.5rem, 2.75rem);
}

h3 {
    font-size: clamp(1.375rem, 2vw + 0.25rem, 1.75rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--space-sm);
}

p:last-child {
    margin-bottom: 0;
}

.lead {
    font-size: 1.25rem;
    color: var(--bark-light);
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container--text {
    max-width: var(--container-text);
}

.section {
    padding: var(--space-2xl) 0;
    position: relative;
}

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

.section--forest h2,
.section--forest h3,
.section--forest h4 {
    color: var(--cream);
}

.section--bark {
    background-color: var(--bark);
    color: var(--cream);
    position: relative;
}

.section--bark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/stock-photo-portrait-of-happy-healthy-dog-lying-on-gray-rug-floor-carpet-indoors-in-living-room-at-home-cute-2546786425.jpg');
    background-size: cover;
    background-position: top center;
    opacity: 0.12;
    z-index: 0;
}

.section--bark>.container {
    position: relative;
    z-index: 1;
}

.section--bark h2,
.section--bark h3,
.section--bark h4 {
    color: var(--cream);
}

.section--bark .section-header__eyebrow {
    color: var(--cream);
    opacity: 0.7;
}

.section--bark .section-header__text {
    color: rgba(247, 243, 235, 0.8);
}

.section--bark .process::before {
    background: linear-gradient(90deg, rgba(247, 243, 235, 0.4) 0%, rgba(247, 243, 235, 0.2) 100%);
    opacity: 1;
}

.section--bark .process-step__number {
    background: var(--cream);
    border-color: var(--cream);
    color: var(--bark);
}

.section--bark .process-step__title {
    color: var(--cream);
}

.section--bark .process-step__text {
    color: rgba(247, 243, 235, 0.85);
}

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

/* --------------------------------------------------------------------------
   Header - Clean, confident
   -------------------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-sm) 0;
    transition: all 0.4s var(--ease-out);
}

.header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--cream);
    opacity: 1;
    transition: box-shadow 0.4s var(--ease-out);
    box-shadow: none;
}

.header.is-scrolled::before {
    box-shadow: 0 2px 20px rgba(26, 58, 47, 0.08);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.header__logo {
    display: flex;
    align-items: center;
}

.header__logo img {
    height: 125px;
    width: auto;
}

.header__logo:hover {
    opacity: 0.9;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav__link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--bark);
    padding: var(--space-xs) 0;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--terracotta);
    transition: width 0.3s var(--ease-out);
}

.nav__link:hover::after,
.nav__link--active::after {
    width: 100%;
}

.nav__link:hover {
    color: var(--forest);
}

.nav__link--active {
    color: var(--forest);
}

.nav__btn {
    padding: 0.75rem 1.5rem;
    margin-left: var(--space-sm);
}

/* Mobile Navigation */
.nav__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
    width: 44px;
    height: 44px;
    position: relative;
}

.nav__toggle-icon {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--forest);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: background-color 0.2s;
}

.nav__toggle-icon::before,
.nav__toggle-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--forest);
    left: 0;
    transition: transform 0.3s var(--ease-out);
}

.nav__toggle-icon::before {
    top: -8px;
}

.nav__toggle-icon::after {
    bottom: -8px;
}

/* --------------------------------------------------------------------------
   Hero - Bold, welcoming
   -------------------------------------------------------------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: calc(var(--space-3xl) + 100px) 0 var(--space-2xl);
    overflow: hidden;
    background-color: var(--cream-dark)
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: url('../images/stock-photo-breed-american-bully-dog-with-dumbbell-660817960.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 0 0 0 40%;
    z-index: 0;
}

/* Decorative organic shape */
.hero::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 120px;
    height: 120px;
    border: 3px solid var(--forest);
    border-radius: var(--radius-organic);
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__content {
    max-width: 540px;
}

.hero__content {
    animation: slideUp 0.8s var(--ease-out) both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--bark-light);
    margin-bottom: var(--space-md);
}

.hero__eyebrow::before {
    content: '';
    width: 32px;
    height: 2px;
    background: var(--bark-light);
}

.hero__title {
    margin-bottom: var(--space-md);
    color: var(--forest);
}

.hero__title span {
    color: var(--forest-light);
    font-style: italic;
}

.hero__text {
    font-size: 1.125rem;
    color: var(--bark-light);
    margin-bottom: var(--space-lg);
    max-width: 480px;
}

.hero__cta {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.hero__image-wrapper {
    position: relative;
    animation: slideUp 0.8s var(--ease-out) 0.2s both;
}

.hero__image {
    border-radius: var(--radius-xl);
    box-shadow: 0 30px 60px rgba(26, 58, 47, 0.25);
    position: relative;
    z-index: 1;
}

.hero__image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 3px solid var(--cream);
    border-radius: var(--radius-xl);
    z-index: 0;
}

/* Secondary hero for inner pages */
.hero--secondary {
    min-height: 50vh;
    background: var(--forest);
    padding: calc(var(--space-3xl) + 120px) 0 var(--space-2xl);
}

.hero--secondary::before {
    display: none;
}

.hero--secondary::after {
    border-color: rgba(247, 243, 235, 0.2);
    top: 20%;
    left: auto;
    right: 10%;
}

.hero--secondary .hero__inner {
    display: block;
    text-align: center;
}

.hero--secondary .hero__eyebrow {
    color: var(--cream);
    justify-content: center;
}

.hero--secondary .hero__eyebrow::before {
    background: var(--cream);
}

.hero--secondary .hero__title {
    color: var(--cream);
    max-width: 700px;
    margin: 0 auto var(--space-md);
}

.hero--secondary .hero__text {
    color: rgba(247, 243, 235, 0.85);
    margin: 0 auto;
    max-width: 560px;
    font-size: 1.5rem;
}

/* --------------------------------------------------------------------------
   Buttons - Tactile, confident
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn:hover::before {
    opacity: 1;
}

.btn--primary {
    background: var(--terracotta);
    color: var(--cream);
    box-shadow: 0 4px 14px rgba(196, 101, 58, 0.35);
}

.btn--primary:hover {
    background: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 101, 58, 0.4);
    color: var(--cream);
}

.btn--secondary {
    background: var(--cream);
    color: var(--forest);
    box-shadow: 0 4px 14px rgba(26, 58, 47, 0.1);
}

.btn--secondary:hover {
    background: var(--cream-dark);
    transform: translateY(-2px);
    color: var(--forest);
}

.btn--outline {
    background: var(--cream);
    color: var(--forest);
    border: 2px solid var(--terracotta);
}

.btn--outline:hover {
    background: var(--terracotta);
    color: var(--cream);
}

.btn--outline-light {
    background: transparent;
    color: var(--cream);
    border: 2px solid var(--terracotta);
}

.btn--outline-light:hover {
    background: var(--terracotta);
    color: var(--cream);
}

.btn--large {
    padding: 1.125rem 2.5rem;
    font-size: 1rem;
}

/* --------------------------------------------------------------------------
   Feature Cards - Elevated, distinct
   -------------------------------------------------------------------------- */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.feature {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    position: relative;
    transition: all 0.4s var(--ease-out);
    border: 1px solid transparent;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: var(--space-lg);
    right: var(--space-lg);
    height: 3px;
    background: var(--forest);
    border-radius: 0 0 3px 3px;
    transform: scaleX(0);
    transition: transform 0.3s var(--ease-out);
}


.feature__icon {
    width: 56px;
    height: 56px;
    background: var(--forest);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--cream);
    transition: all 0.3s var(--ease-out);
}


.feature__title {
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
}

.feature__text {
    font-size: 0.9375rem;
    color: var(--bark-light);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Content Blocks - Asymmetric, interesting
   -------------------------------------------------------------------------- */
.content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.content-split--reverse {
    direction: rtl;
}

.content-split--reverse>* {
    direction: ltr;
}

.content-split__media {
    position: relative;
}

.content-split__image {
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 50px rgba(26, 58, 47, 0.15);
}

.content-split__media::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--forest);
    border-radius: var(--radius-xl);
    top: 20px;
    left: -20px;
    z-index: -1;
    opacity: 0.15;
}

.content-split__text h2 {
    margin-bottom: var(--space-md);
}

.content-split__text p {
    margin-bottom: var(--space-md);
    color: var(--bark-light);
}

/* --------------------------------------------------------------------------
   Process Steps - Clear, sequential
   -------------------------------------------------------------------------- */
.process {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    position: relative;
}

.process::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: var(--forest);
    opacity: 0.3;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step__number {
    width: 80px;
    height: 80px;
    background: #533C1D;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--cream);
    position: relative;
    z-index: 1;
}


.process-step__title {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

.process-step__text {
    color: var(--bark-light);
    font-size: 0.9375rem;
}

/* Process steps on forest backgrounds */
.section--forest .process::before {
    background: linear-gradient(90deg, rgba(247, 243, 235, 0.4) 0%, rgba(247, 243, 235, 0.2) 100%);
    opacity: 1;
}

.section--forest .process-step__title {
    color: var(--cream);
}

.section--forest .process-step__text {
    color: rgba(247, 243, 235, 0.85);
}

/* --------------------------------------------------------------------------
   Section Headers
   -------------------------------------------------------------------------- */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-xl);
}

.section-header--full-width {
    max-width: none;
}

.section-header__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--bark-light);
    margin-bottom: var(--space-sm);
}

.section-header__title {
    margin-bottom: var(--space-sm);
}

.section-header__text {
    color: var(--bark-light);
    font-size: 1.125rem;
}

.section--forest .section-header__eyebrow {
    color: var(--cream);
    opacity: 0.7;
}

.section--forest .section-header__text {
    color: rgba(247, 243, 235, 0.8);
}

/* --------------------------------------------------------------------------
   Service Items
   -------------------------------------------------------------------------- */
.services-grid {
    display: grid;
    gap: var(--space-md);
}

.service-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--cream);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--forest);
    transition: all 0.3s var(--ease-out);
}

.service-card:hover {
    transform: translateX(8px);
    box-shadow: 0 10px 30px rgba(26, 58, 47, 0.08);
}

.service-card__icon {
    width: 52px;
    height: 52px;
    background: var(--forest);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    flex-shrink: 0;
}

.service-card__title {
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
}

.service-card__text {
    color: var(--bark-light);
    font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   Benefits Grid - Stylized 2x2 layout
   -------------------------------------------------------------------------- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.benefit-card {
    background: var(--cream-dark);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.benefit-card__icon {
    width: 64px;
    height: 64px;
    background: var(--forest);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    margin-bottom: var(--space-md);
}

.benefit-card__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--forest);
    margin-bottom: var(--space-sm);
}

.benefit-card__text {
    color: var(--bark-light);
    font-size: 0.9375rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   Membership Cards - Text-focused proof points
   -------------------------------------------------------------------------- */
.membership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.membership-card {
    background: rgba(247, 243, 235, 0.08);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    position: relative;
    transition: all 0.4s var(--ease-out);
    border-left: 3px solid var(--cream);
}

.membership-card:hover {
    background: rgba(247, 243, 235, 0.12);
    transform: translateX(8px);
}

.membership-card__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: var(--space-xs);
}

.membership-card__text {
    color: rgba(247, 243, 235, 0.8);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Contact Section
   -------------------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-2xl);
}

.contact-info h2 {
    margin-bottom: var(--space-lg);
}

.contact-list {
    display: grid;
    gap: var(--space-md);
}

.contact-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.contact-item__icon {
    width: 48px;
    height: 48px;
    background: var(--forest);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    flex-shrink: 0;
}

.contact-item__label {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--forest);
    margin-bottom: 4px;
}

.contact-item__value {
    color: var(--bark-light);
    line-height: 1.53;
}

.contact-item__value a {
    color: var(--bark-light);
}

.contact-item__value a:hover {
    color: var(--terracotta);
}

.contact-info__image {
    margin-top: var(--space-lg);
    border-radius: var(--radius-xl);
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(26, 58, 47, 0.12);
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-card {
    background: var(--cream);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 50px rgba(26, 58, 47, 0.1);
}

.form-card h2 {
    margin-bottom: var(--space-lg);
}

.form__group {
    margin-bottom: var(--space-md);
}

.form__label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: var(--space-xs);
    color: var(--forest);
}

.form__label--required::after {
    content: ' *';
    color: var(--forest);
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--bark);
    background: var(--cream-dark);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    transition: all 0.3s var(--ease-out);
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: var(--stone);
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--forest);
    background: var(--cream);
    box-shadow: 0 0 0 4px rgba(26, 58, 47, 0.1);
}

.form__textarea {
    min-height: 140px;
    resize: vertical;
}

.form__submit {
    width: 100%;
    margin-top: var(--space-sm);
}

/* --------------------------------------------------------------------------
   FAQ Section
   -------------------------------------------------------------------------- */
.faq-list {
    max-width: var(--container-text);
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--cream-dark);
    padding: var(--space-md) 0;
}

.faq-item:first-child {
    border-top: 1px solid var(--cream-dark);
}

.faq-item__question {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--forest);
    margin-bottom: var(--space-sm);
}

.faq-item__answer {
    color: var(--bark-light);
    padding-left: var(--space-md);
    border-left: 2px solid var(--forest);
}

/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.cta {
    background: var(--forest);
    position: relative;
    overflow: hidden;
    padding: var(--space-2xl) 0;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: 5%;
    width: 500px;
    height: 500px;
    border: 2px solid rgba(247, 243, 235, 0.1);
    border-radius: 50%;
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: 5%;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(247, 243, 235, 0.05);
    border-radius: 50%;
}

.cta__inner {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta h2 {
    color: var(--cream);
    margin-bottom: var(--space-sm);
}

.cta p {
    color: rgba(247, 243, 235, 0.85);
    font-size: 1.125rem;
    margin-bottom: var(--space-lg);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
    background: var(--cream-dark);
    color: #533C1D;
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-xl);
}

.footer__logo {
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
}

.footer__logo img {
    height: 125px;
    width: auto;
}

.footer__tagline {
    color: #533C1D;
    margin-bottom: var(--space-xs);
}

.footer__nav-title {
    font-family: var(--font-display);
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: #533C1D;
}

.footer__nav-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer__nav-link {
    color: var(--terracotta);
    transition: color 0.3s;
}

.footer__nav-link:hover {
    color: var(--terracotta-dark);
}

.footer__contact {
    color: #533C1D;
}

.footer__contact p {
    margin-bottom: var(--space-xs);
}

.footer__contact a {
    color: var(--terracotta);
}

.footer__contact a:hover {
    color: var(--terracotta-dark);
}

.footer__bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(83, 60, 29, 0.2);
    text-align: center;
    color: #533C1D;
    font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.mt-sm {
    margin-top: var(--space-sm);
}

.mt-md {
    margin-top: var(--space-md);
}

.mt-lg {
    margin-top: var(--space-lg);
}

.mt-xl {
    margin-top: var(--space-xl);
}

.mb-sm {
    margin-bottom: var(--space-sm);
}

.mb-md {
    margin-bottom: var(--space-md);
}

.mb-lg {
    margin-bottom: var(--space-lg);
}

.mb-xl {
    margin-bottom: var(--space-xl);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --------------------------------------------------------------------------
   Responsive Design
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero::before {
        width: 100%;
        height: 40%;
        top: auto;
        bottom: 0;
        right: 0;
        border-radius: 40% 40% 0 0;
    }

    .hero__content {
        max-width: 100%;
    }

    .hero__text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__cta {
        justify-content: center;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-split {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .content-split--reverse {
        direction: ltr;
    }

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

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

@media (max-width: 768px) {
    html {
        font-size: 16px;
    }

    .header {
        padding: var(--space-xs) 0;
    }

    .header::before {
        opacity: 1;
    }

    .nav__toggle {
        display: block;
    }

    .nav__list {
        display: none;
        position: absolute;
        top: calc(100% + var(--space-xs));
        left: var(--space-md);
        right: var(--space-md);
        background: var(--cream);
        border-radius: var(--radius-lg);
        padding: var(--space-md);
        box-shadow: 0 20px 40px rgba(26, 58, 47, 0.15);
        flex-direction: column;
        gap: 0;
    }

    .nav__list.is-active {
        display: flex;
    }

    .nav__link {
        display: block;
        padding: var(--space-sm);
        border-radius: var(--radius-sm);
    }

    .nav__link:hover {
        background: var(--cream-dark);
    }

    .nav__link::after {
        display: none;
    }

    .nav__btn {
        margin-left: 0;
        margin-top: var(--space-sm);
        text-align: center;
    }

    .hero::before {
        height: 35%;
        border-radius: 10%;
    }

    .hero::after {
        display: none;
    }

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

    .process {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .process::before {
        display: none;
    }

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

    .footer__inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-xl);
    }

    .footer__logo {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }

    .section {
        padding: var(--space-xl) 0;
    }

    .btn--large {
        padding: 1rem 1.75rem;
        font-size: 0.9375rem;
    }

    .hero__cta {
        flex-direction: column;
    }

    .hero__cta .btn {
        width: 100%;
    }
}