/* e-Ranch Pro — shared structural styles for the public ranch site.
   Colors, fonts, and decorative touches come from themes/{slug}.css,
   loaded right after this file so its variables/overrides win. */

:root {
    /* Sensible defaults; every theme file overrides these. */
    --color-primary: #6b4226;
    --color-primary-dark: #4a2c17;
    --color-accent: #c98a3e;
    --color-bg: #f5f2ec;
    --color-text: #2b2b2b;
    --color-text-muted: #7d766a;
    --color-border: #e7e1d6;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: var(--font-body);
    --shadow-sm: 0 1px 3px rgba(30,20,10,.05);
    --shadow-md: 0 10px 30px rgba(40,25,10,.12);
    --radius: 12px;
    --radius-lg: 18px;
    --header-align: space-between; /* or "center" for centered-logo themes */
}

html { scroll-behavior: smooth; }
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-body); color: var(--color-text); background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-heading); }
a { color: var(--color-primary); text-decoration: none; }
img { max-width: 100%; }

/* ---------- Utility top bar ---------- */

.utility-bar { background: var(--color-primary-dark); color: rgba(255,255,255,.85); font-size: .8rem; }
.utility-bar-inner { max-width: 1200px; margin: 0 auto; padding: .45rem 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; }
.utility-bar a { color: rgba(255,255,255,.85); }
.utility-bar a:hover { color: #fff; }
.utility-bar-item { display: inline-flex; align-items: center; gap: .4rem; }
.utility-bar-item i { color: var(--color-accent); }
.site-footer-col p i { color: var(--color-accent); width: 16px; text-align: center; margin-right: .3rem; }
.site-nav-cta { display: inline-flex; align-items: center; gap: .4rem; }

.social-links { display: flex; gap: .6rem; }
.social-links a {
    width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--color-border);
    background: var(--color-bg); color: var(--color-primary);
    display: flex; align-items: center; justify-content: center;
    transition: background .15s ease, color .15s ease, transform .15s ease;
}
.social-links a:hover { background: var(--color-accent); color: #fff; transform: translateY(-2px); }

/* ---------- Header ---------- */

.site-header { border-bottom: 1px solid var(--color-border); position: sticky; top: 0; background: #fff; z-index: 40; transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.site-header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: var(--header-align); padding: 1rem 1.5rem; flex-wrap: wrap; gap: 1rem; position: relative; }
.site-brand { display: flex; align-items: center; gap: .7rem; font-size: 1.4rem; font-weight: 800; color: var(--color-primary-dark); font-family: var(--font-heading); }
.site-brand img { height: 56px; width: 56px; border-radius: 10px; object-fit: cover; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.site-nav a { color: var(--color-text); font-weight: 600; font-size: .92rem; position: relative; }
.site-nav a:hover { color: var(--color-primary); }

.site-nav-toggle {
    display: none; flex-direction: column; justify-content: center; align-items: flex-end; gap: 5px;
    width: 40px; height: 40px; border: none; background: transparent; cursor: pointer; padding: 0; margin-left: auto;
}
.site-nav-toggle span { display: block; width: 26px; height: 2px; background: var(--color-primary-dark); border-radius: 2px; transition: transform .2s ease, opacity .2s ease, width .2s ease; }
.site-nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); width: 26px; }
.site-nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.site-nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 26px; }

/* ---------- Hero ---------- */

.hero { position: relative; background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark)); color: #fff; text-align: center; padding: 6rem 1.5rem; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 85% 15%, rgba(255,255,255,.18) 0%, transparent 45%); }
.hero h1, .hero p { position: relative; }
.hero h1 { font-size: 2.7rem; font-weight: 800; margin: 0 0 .9rem; font-family: var(--font-heading); }
.hero p { font-size: 1.15rem; opacity: .92; max-width: 620px; margin: 0 auto; line-height: 1.6; }
.hero img.hero-bg { width: 100%; max-height: 440px; object-fit: cover; display: block; }
.hero-divider { width: 70px; height: 3px; background: var(--color-accent); margin: 1.25rem auto; border-radius: 3px; }
.hero-ctas { position: relative; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.75rem; }
.btn-cta-ghost { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.5); color: #fff; box-shadow: none; }
.btn-cta-ghost:hover { background: rgba(255,255,255,.18); }

/* Slim variant -- just a banner strip for a title + short subtitle,
   used by the horse detail page instead of the full-height marketing hero. */
.hero-compact { padding: 1.5rem 1.5rem; }
.hero-compact .section-eyebrow { margin-bottom: .3rem; }
.hero-compact h1 { font-size: 1.9rem; margin: 0 0 .25rem; }
.hero-compact p { font-size: .95rem; opacity: .85; margin: 0; }

/* ---------- Marquee (optional scrolling highlight strip) ---------- */

.marquee-strip { background: var(--color-primary-dark); color: #fff; overflow: hidden; white-space: nowrap; padding: .7rem 0; }
.marquee-track { display: inline-flex; animation: marquee-scroll 28s linear infinite; }
.marquee-track span { padding: 0 1.5rem; font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Trust / stats strip ---------- */

.stats-strip { background: var(--color-bg); border-bottom: 1px solid var(--color-border); }
.stats-strip-inner { max-width: 1200px; margin: 0 auto; padding: 2.25rem 1.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.5rem; text-align: center; }
.stat-item .stat-num { display: block; font-size: 1.9rem; font-weight: 800; color: var(--color-primary-dark); font-family: var(--font-heading); }
.stat-item .stat-label { font-size: .82rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: .05em; }

/* ---------- Sections ---------- */

.section { max-width: 1200px; margin: 0 auto; padding: 4.5rem 1.5rem; }
.section-eyebrow { display: block; text-align: center; color: var(--color-accent); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .07em; margin-bottom: .6rem; }
.section h2 { text-align: center; margin: 0 auto 2.5rem; color: var(--color-primary-dark); font-size: 1.9rem; font-weight: 800; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.75rem; }

.card-box {
    background: #fff; border-radius: var(--radius-lg); padding: 1.75rem; border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, transform .2s ease;
    display: flex; flex-direction: column; height: 100%;
}
.card-box:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card-box h3 { margin-top: 0; color: var(--color-primary-dark); }

.btn-request-info {
    display: block; width: 100%; margin-top: auto; text-align: center;
    background: var(--color-primary); color: #fff; font-weight: 700;
    padding: .65rem 1rem; border: none; border-radius: var(--radius); font-size: .88rem; cursor: pointer;
    box-shadow: none; transition: background .15s ease, transform .15s ease;
}
.btn-request-info:hover { background: var(--color-primary-dark); transform: translateY(-1px); }

.testimonial { text-align: center; }
.testimonial .quote-icon { display: block; color: var(--color-accent); font-size: 1.3rem; margin-bottom: .6rem; }
.testimonial .stars { color: var(--color-accent); letter-spacing: .1em; }
.gallery-note i { color: #3b5998; margin-right: .35rem; }
.testimonial img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin-bottom: .9rem; box-shadow: var(--shadow-sm); }

.faq-item { border: 1px solid var(--color-border); border-radius: var(--radius); padding: 0; margin-bottom: .75rem; overflow: hidden; }
.faq-item summary { font-weight: 600; cursor: pointer; padding: 1.1rem 1.4rem; color: var(--color-primary-dark); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--color-accent); }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item p { padding: 0 1.4rem 1.1rem; margin: 0; color: var(--color-text-muted); line-height: 1.6; }

.animal-card { overflow: hidden; padding: 0; position: relative; }
.animal-card img { width: 100%; height: 240px; object-fit: cover; display: block; flex-shrink: 0; }
.animal-card-noimg { width: 100%; height: 240px; display: flex; align-items: center; justify-content: center; font-size: 3rem; background: var(--color-bg); flex-shrink: 0; }
.animal-card .body { padding: 1.25rem; position: relative; display: flex; flex-direction: column; flex: 1; }
.animal-price { font-size: 1.25rem; font-weight: 800; color: var(--color-primary-dark); margin: 0; }
.animal-card .badge-forsale {
    position: absolute; top: .9rem; left: .9rem;
    background: var(--color-accent); color: #2b2b2b; font-size: .72rem; font-weight: 800;
    padding: .3rem .7rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em;
    box-shadow: var(--shadow-sm);
}
.animal-meta { color: var(--color-text-muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .03em; margin: .1rem 0 .6rem; }
.animal-meta i { color: var(--color-accent); }

.banner-strip { display: flex; gap: 1rem; overflow-x: auto; padding: 1.5rem; }
.banner-strip img { border-radius: var(--radius); max-height: 210px; box-shadow: var(--shadow-sm); }

/* ---------- Trainer / team spotlight ---------- */

.trainer-spotlight-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.trainer-spotlight-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); object-fit: cover; max-height: 480px; }
.trainer-spotlight-role { color: var(--color-accent); font-weight: 700; margin-top: -1.5rem; }
.trainer-spotlight-quote {
    border-left: 4px solid var(--color-accent); margin: 1.5rem 0; padding: .25rem 0 .25rem 1.25rem;
    font-style: italic; font-size: 1.05rem; color: var(--color-primary-dark);
}
.trainer-spotlight-quote cite { display: block; margin-top: .5rem; font-style: normal; font-size: .85rem; color: var(--color-text-muted); }
@media (min-width: 860px) { .trainer-spotlight-grid { grid-template-columns: .9fr 1.1fr; } }

/* ---------- Facility grid ---------- */

.facility-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.facility-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.facility-card img { width: 100%; height: 240px; object-fit: cover; display: block; transition: transform .3s ease; }
.facility-card:hover img { transform: scale(1.05); }
.facility-caption { position: absolute; inset: auto 0 0 0; padding: 1.25rem 1.1rem .9rem; background: linear-gradient(0deg, rgba(0,0,0,.72), transparent); color: #fff; }
.facility-caption h3 { margin: 0 0 .2rem; font-size: 1.05rem; color: #fff; }
.facility-caption p { margin: 0; font-size: .85rem; opacity: .9; }

/* ---------- Awards & Achievements showcase ---------- */

.ribbon-strip { display: flex; flex-wrap: wrap; gap: 1.25rem; justify-content: center; margin-bottom: 2.5rem; }
.award-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); width: 100%; max-width: 320px; }
.award-photo img { width: 100%; height: 220px; object-fit: cover; display: block; }
.award-photo-tag {
    position: absolute; bottom: .8rem; left: .8rem; background: var(--color-accent); color: #2b2b2b;
    font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
    padding: .3rem .7rem; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.award-card { text-align: center; }
.award-icon {
    width: 56px; height: 56px; margin: 0 auto .9rem; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
    background: var(--color-accent); color: #fff;
}
.award-meta { color: var(--color-text-muted); font-size: .85rem; margin: 0 0 .5rem; }
.award-date { color: var(--color-accent); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; margin: .75rem 0 0; }

/* ---------- General photo gallery ---------- */

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.gallery-item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery-item img { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform .3s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-note { text-align: center; margin-top: 1.75rem; color: var(--color-text-muted); }

/* ---------- Horses-for-sale carousel ---------- */

.carousel { position: relative; padding: 0 3rem; }
.carousel-viewport { overflow: hidden; border-radius: var(--radius-lg); }
.carousel-track { display: flex; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.carousel-slide { flex: 0 0 100%; max-width: 100%; padding: 0 .6rem; box-sizing: border-box; display: flex; flex-direction: column; }
.carousel-slide .card-box { margin: 0 auto; max-width: 380px; width: 100%; }
.carousel-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--color-border);
    background: #fff; color: var(--color-primary-dark); font-size: 1.4rem; cursor: pointer;
    box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center;
    transition: background .15s ease, transform .15s ease;
}
.carousel-arrow:hover { background: var(--color-bg); transform: translateY(-50%) scale(1.08); }
.carousel-prev { left: 0; }
.carousel-next { right: 0; }
.carousel-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.25rem; }
.carousel-dot { width: 9px; height: 9px; border-radius: 50%; border: none; background: var(--color-border); cursor: pointer; padding: 0; transition: background .15s ease, transform .15s ease; }
.carousel-dot.active { background: var(--color-accent); transform: scale(1.3); }
.carousel-progress { height: 3px; background: var(--color-border); border-radius: 3px; margin-top: .9rem; overflow: hidden; }
.carousel-progress-bar { height: 100%; background: var(--color-accent); width: 0; transition: width linear; }

@media (min-width: 720px) { .carousel-slide { flex: 0 0 50%; max-width: 50%; } }
@media (min-width: 1024px) { .carousel-slide { flex: 0 0 33.3333%; max-width: 33.3333%; } }

/* ---------- Horse detail page (/horse/{id}) ----------
   Replaces the old click-to-open modal, which lived inline on the home
   page and could go stale inside the cached static HTML. This is a real
   page now, so .horse-detail-grid/-videos/-price below are shared between
   it and nothing else. */

.horse-page-back { margin: 0 0 1.75rem; }
.horse-page-back a { font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; color: var(--color-primary); }
.horse-page-back a:hover { color: var(--color-primary-dark); }

.horse-page-grid {
    display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start;
    background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
    padding: 1.75rem; box-shadow: var(--shadow-md);
}
@media (min-width: 860px) { .horse-page-grid { grid-template-columns: 1.1fr .9fr; padding: 2.25rem; } }

.horse-page-media { display: flex; flex-direction: column; }
.horse-page-cover { width: 100%; height: 380px; max-height: 420px; object-fit: cover; border-radius: var(--radius-lg); display: block; box-shadow: var(--shadow-sm); }
.horse-page-media .gallery-item img { height: 110px; }

.horse-page-info { display: flex; flex-direction: column; }
.horse-page-info > p { line-height: 1.65; color: var(--color-text); }

.horse-detail-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .6rem 1rem;
    margin: 0 0 1.25rem; padding: 1rem 1.1rem; background: var(--color-bg); border-radius: var(--radius);
    font-size: .9rem; color: var(--color-text);
}
.horse-detail-grid strong { display: block; color: var(--color-primary-dark); font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .15rem; }
.horse-detail-videos { display: flex; gap: 1rem; flex-wrap: wrap; }
.horse-detail-videos a { font-weight: 600; }
.horse-detail-price {
    display: inline-block; font-size: 1.5rem; font-weight: 800; color: var(--color-primary-dark);
    background: var(--color-accent); color: #2b2b2b; padding: .4rem 1rem; border-radius: 999px; margin: 0 0 1.25rem;
}

.horse-inquire-box {
    background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
    padding: 1.5rem; margin-top: 1.75rem;
}
.horse-inquire-box h3 { margin: 0 0 .35rem; color: var(--color-primary-dark); font-size: 1.15rem; }
.horse-inquire-box form { display: flex; flex-direction: column; gap: .7rem; margin-top: 1rem; }
.horse-inquire-box input, .horse-inquire-box textarea {
    width: 100%; padding: .7rem .9rem; border: 1px solid var(--color-border); border-radius: var(--radius);
    font: inherit; color: var(--color-text); background: #fff; box-sizing: border-box;
}
.horse-inquire-box input:focus, .horse-inquire-box textarea:focus { outline: 2px solid var(--color-accent); outline-offset: 1px; }
.horse-inquire-box textarea { resize: vertical; }
#horse-inquire-success { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1rem 1.1rem; color: var(--color-primary-dark); font-weight: 600; }

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

.site-footer { background: var(--color-primary-dark); color: #f2e9dd; margin-top: 2rem; }
.site-footer-inner { max-width: 1200px; margin: 0 auto; padding: 3rem 1.5rem 2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.site-footer a { color: #f2e9dd; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h4, .site-footer strong { color: #fff; }
.site-footer-col p { margin: .35rem 0; }
.site-slogan { font-style: italic; opacity: .85; }
.site-social { display: flex; flex-direction: column; gap: .5rem; }
.site-footer-copy { text-align: center; padding: 1.25rem; margin: 0; border-top: 1px solid rgba(255,255,255,.15); font-size: .85rem; opacity: .85; }
.footer-builtwith { margin-left: .35rem; }
.footer-builtwith a { text-decoration: underline; opacity: .9; }
.footer-builtwith a:hover { opacity: 1; }

.map-embed iframe { width: 100%; height: 340px; border: 0; border-radius: var(--radius-lg); }

/* ---------- Location & Contact ---------- */

.location-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
.location-info { display: flex; flex-direction: column; gap: 1.1rem; }
.info-card {
    display: flex; gap: 1rem; align-items: flex-start;
    background: #fff; padding: 1.1rem 1.25rem; border-radius: var(--radius-lg);
    border: 1px solid var(--color-border); box-shadow: var(--shadow-sm);
}
.info-card i {
    font-size: 1.1rem; color: var(--color-accent);
    width: 42px; height: 42px; border-radius: 50%; background: var(--color-bg);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.info-card h3 { margin: 0 0 .2rem; font-size: 1rem; color: var(--color-primary-dark); }
.info-card p { margin: 0; color: var(--color-text-muted); font-size: .9rem; }
.location-info .social-links { margin-top: .25rem; }
.location-map iframe, .map-embed { border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 860px) { .location-grid { grid-template-columns: .9fr 1.1fr; } }

/* ---------- Buttons (shared effects; colors from theme) ---------- */

.btn-cta, .cta-btn {
    display: inline-flex; align-items: center; gap: .4rem;
    background: var(--color-accent); color: #2b2b2b; font-weight: 700;
    padding: .9rem 1.8rem; border-radius: 10px; font-size: 1.02rem;
    box-shadow: var(--shadow-md); position: relative; overflow: hidden;
    transition: transform .15s ease, box-shadow .15s ease;
}
.btn-cta:hover, .cta-btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,.22); }
.btn-cta::after, .cta-btn::after {
    content: ''; position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,.5), transparent);
    transform: skewX(-20deg);
}
.btn-cta:hover::after, .cta-btn:hover::after { animation: btn-shine .8s ease; }
@keyframes btn-shine { from { left: -75%; } to { left: 130%; } }

/* Reveal-on-scroll (see effects.js) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Click ripple (see effects.js) */
.btn, .btn-cta, .cta-btn { position: relative; overflow: hidden; }
.btn-ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.55); transform: scale(0); animation: btn-ripple-anim .6s ease-out; pointer-events: none; }
@keyframes btn-ripple-anim { to { transform: scale(2.4); opacity: 0; } }

/* Chatbox */
#eranch-chatbox { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 999; font-family: var(--font-body); }
#eranch-chatbox-toggle {
    width: 58px; height: 58px; border-radius: 50%; border: none;
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary)); color: #fff; font-size: 1.5rem; cursor: pointer;
    box-shadow: var(--shadow-md); transition: transform .15s ease;
}
#eranch-chatbox-toggle:hover { transform: scale(1.08); }
#eranch-chatbox-panel {
    position: absolute; bottom: 74px; right: 0; width: 300px;
    background: #fff; border-radius: var(--radius-lg); box-shadow: 0 14px 40px rgba(0,0,0,.22);
    padding: 1.1rem; border: 1px solid var(--color-border);
}
.eranch-chatbox-head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; margin-bottom: .75rem; color: var(--color-primary-dark); }
.eranch-chatbox-head button { background: none; border: none; font-size: 1.2rem; cursor: pointer; }
#eranch-chatbox-form { display: flex; flex-direction: column; gap: .5rem; }
#eranch-chatbox-form input, #eranch-chatbox-form textarea { padding: .55rem; border: 1px solid var(--color-border); border-radius: 8px; font-size: .9rem; width: 100%; font-family: inherit; }
#eranch-chatbox-form textarea { min-height: 70px; }
#eranch-chatbox-form button { background: var(--color-primary); color: #fff; border: none; border-radius: 8px; padding: .65rem; cursor: pointer; font-weight: 600; }
#eranch-chatbox-form button:hover { background: var(--color-primary-dark); }

@media (max-width: 700px) {
    .hero h1 { font-size: 1.9rem; }
    .hero { padding: 4rem 1.25rem; }

    .site-nav-toggle { display: flex; }
    .site-nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 39;
        flex-direction: column; align-items: stretch; gap: 0; background: #fff;
        border-top: 1px solid var(--color-border); box-shadow: var(--shadow-md);
        padding: .25rem 1.5rem .75rem;
    }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: .8rem 0; border-bottom: 1px solid var(--color-border); }
    .site-nav a.site-nav-cta { border-bottom: none; margin-top: .4rem; justify-content: center; }

    #eranch-chatbox-panel { width: calc(100vw - 3rem); }
    .utility-bar-inner { justify-content: center; text-align: center; }
}
