/* =====================================================================
   BASE STYLES — used by every page
   (colors, header, menu, hero, buttons, footer, popups, login, admin panel,
   live editing, change history, toasts)
   ===================================================================== */

/* =====================================================================
   Neumark Landscape Supply — shared stylesheet (all pages)
   Page-specific bits are scoped with body.page-home / .page-locations etc.
   ===================================================================== */
:root {
    --primary: #811419;
    --primary-dark: #630f13;
    --primary-soft: #fdf2f2;
    --bg-light: #F7F5F2;
    --text-dark: #2C2C2C;
    --text-muted: #6b6b6b;
    --card-bg: #FFFFFF;
    --border: #ece8e3;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 15px 40px rgba(129, 20, 25, 0.12);
    --success: #25c100;
    --warn: #b86e00;
    --header-h: 120px;   /* real value measured by JS */
    --gutter: 8%;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Jost', sans-serif; text-decoration: none; list-style: none; }

html { scroll-padding-top: calc(var(--header-h) + 20px); scroll-behavior: smooth; }

body { background-color: var(--bg-light); color: var(--text-dark); overflow-x: hidden; }

img { max-width: 100%; }

button, input, select, textarea { font-family: 'Jost', sans-serif; }

[hidden] { display: none !important; }

/* While the page's saved content loads from Firebase, keep the old defaults from flashing.
   Failsafe: shows anyway after 3s even if a script fails. */
.cms-pending main { opacity: 0; animation: cms-reveal 0.3s ease 1.5s forwards; }

main { transition: opacity 0.25s ease; }

@keyframes cms-reveal { to { opacity: 1; } }

/* ---------- HEADER ---------- */
.header-wrapper { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; }

.top-banner {
    width: 100%; background-color: var(--primary); color: #fff; text-align: center;
    padding: 8px 15px; font-size: 14px; font-weight: 500; letter-spacing: 0.5px; line-height: 1.4;
}

.top-banner a { color: #fff; text-decoration: underline; font-weight: 600; margin-left: 5px; }

.top-banner a:hover { color: #f0f0f0; }

header {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 15px var(--gutter); position: relative; isolation: isolate;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Blur on a pseudo-element so it doesn't trap the fixed mobile menu */
header::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: rgba(247, 245, 242, 0.85);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}

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

.logo img { max-width: 140px; display: block; }

.navmenu { display: flex; gap: 35px; }

.navmenu a { color: var(--text-dark); font-weight: 600; font-size: 1.15rem; transition: 0.3s; position: relative; }

.navmenu a::after { content: ''; position: absolute; width: 0; height: 2px; background: var(--primary); bottom: -4px; left: 0; transition: 0.3s; }

.navmenu a:hover, .navmenu a.active { color: var(--primary); }

.navmenu a:hover::after, .navmenu a.active::after { width: 100%; }

.nav-icon { display: flex; gap: 15px; align-items: center; position: relative; z-index: 2; }

.nav-icon a {
    background: #fff; color: var(--primary); font-size: 20px;
    width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; box-shadow: var(--shadow); transition: 0.3s; cursor: pointer;
}

.nav-icon a:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); background: var(--primary); color: #fff; }

#menu-icon { display: none; font-size: 32px; cursor: pointer; margin-left: 5px; color: var(--text-dark); background: none; border: none; width: 1em; height: 1em; line-height: 1; text-align: center; }

/* ---------- HERO ----------
   Each page sets its photo on the section: style="--hero-img: url('...'), url('fallback...')" */
.hero {
    --hero-overlay:
        linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0.1) 100%),
        linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.45) 100%);
    min-height: clamp(480px, 85vh, 900px);
    padding: calc(var(--header-h) + 50px) var(--gutter) 80px;
    background-color: #3b342e;
    background-image: var(--hero-overlay), var(--hero-img);
    background-size: cover; background-position: center; background-repeat: no-repeat;
    display: flex; align-items: center; position: relative;
}

.hero-content { max-width: 760px; width: 100%; }

.hero h5 { color: #fff; font-size: 1.1rem; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 12px; opacity: 0.9; }

.hero h1 {
    color: #fff; font-size: clamp(2.4rem, 5.5vw + 0.5rem, 4.5rem); font-weight: 700;
    line-height: 1.08; margin-bottom: 20px; text-shadow: 0 4px 18px rgba(0,0,0,0.6); overflow-wrap: break-word;
}

.hero p {
    color: #fff; font-size: clamp(1rem, 0.6vw + 0.85rem, 1.2rem); line-height: 1.6;
    text-shadow: 0 2px 12px rgba(0,0,0,0.8); max-width: 620px; margin-bottom: 30px;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
    background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.35);
    backdrop-filter: blur(4px); color: #fff; padding: 7px 16px; border-radius: 50px; font-weight: 600; font-size: 0.95rem;
}

.hero-badge i { font-size: 1.15rem; }

.hero-buttons { display: flex; flex-wrap: wrap; gap: 15px; }

.main-btn, .ghost-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 30px; border-radius: 50px; font-weight: 600; font-size: 16px; transition: 0.3s; cursor: pointer;
}

.main-btn { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(129,20,25,0.35); }

.main-btn i { font-size: 20px; margin-left: 8px; transition: 0.3s; }

.main-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 25px rgba(129,20,25,0.45); }

.main-btn:hover .bx-right-arrow-alt { transform: translateX(5px); }

.main-btn:hover .bx-down-arrow-alt { transform: translateY(3px); }

.ghost-btn { color: #fff; border: 2px solid rgba(255,255,255,0.7); background: rgba(255,255,255,0.08); backdrop-filter: blur(4px); }

.ghost-btn i { font-size: 19px; margin-right: 8px; }

.ghost-btn:hover { background: #fff; color: var(--primary); border-color: #fff; transform: translateY(-3px); }

/* ---------- SECTION HEADINGS ---------- */
.section-header { text-align: center; margin-bottom: 50px; }

.section-header.tight { margin-bottom: 15px; }

.section-header h2 { font-size: clamp(2rem, 3vw + 1rem, 2.8rem); color: var(--text-dark); }

.section-header span { color: var(--primary); }

.section-sub { text-align: center; color: #666; font-size: 1.05rem; margin-bottom: 35px; }

/* ---------- INFO / POLICY LISTS ---------- */
.disclaimer-section { padding: 50px var(--gutter) 20px; }

.disclaimer-container { max-width: 1200px; margin: 0 auto; }

.disclaimer-title { font-size: 1.8rem; color: var(--text-dark); margin-bottom: 25px; display: flex; align-items: center; gap: 10px; font-weight: 600; }

.disclaimer-title i { color: var(--primary); font-size: 2rem; }

.disclaimer-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 15px 30px; }

.disclaimer-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 1.05rem; color: var(--text-dark); line-height: 1.5; position: relative; }

.disclaimer-list li > i { color: var(--success); font-size: 1.3rem; margin-top: 3px; flex-shrink: 0; }

.disclaimer-list li > span { flex: 1; min-width: 0; }

.email-btn {
    display: inline-flex; align-items: center; background: #fff; color: var(--text-dark);
    padding: 14px 28px; border-radius: 50px; font-weight: 600; font-size: 16px; line-height: 1.3; text-align: left;
    border: 2px solid #eaeaea; transition: 0.3s; box-shadow: 0 4px 15px rgba(0,0,0,0.03); cursor: pointer;
}

.email-btn i { font-size: 20px; margin-right: 10px; color: var(--primary); flex-shrink: 0; }

.email-btn:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); }

/* ---------- FOOTER ---------- */
footer { background: #1A1A1A; color: #fff; text-align: center; padding: 40px var(--gutter); position: relative; }

.seo-link { display: inline-block; margin-top: 15px; color: #aaa; font-size: 1rem; transition: 0.3s; }

.seo-link:hover { color: #fff; }

#admin-trigger {
    position: absolute; bottom: 20px; right: 30px; color: #444; cursor: pointer; font-size: 22px; transition: 0.3s;
    background: none; border: none; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
}

#admin-trigger:hover { color: var(--primary); }

#admin-trigger.busy i { animation: spin 0.9s linear infinite; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- MODALS & FORMS ---------- */
.admin-modal-overlay {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px); align-items: center; justify-content: center; z-index: 2000; padding: 15px;
}

.admin-modal-overlay.open { display: flex; }

.admin-content {
    background: var(--card-bg); width: 100%; max-width: 500px; padding: 40px;
    border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,0.3); position: relative; max-height: 92vh; overflow-y: auto;
}

.close-modal {
    position: absolute; top: 16px; right: 16px; font-size: 28px; cursor: pointer; color: #888; transition: 0.3s; z-index: 2;
    background: none; border: none; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
}

.close-modal:hover { color: var(--primary); transform: rotate(90deg); }

.admin-content h3 { margin-bottom: 20px; color: var(--primary); font-size: 1.6rem; padding-right: 30px; }

.admin-subhead { font-size: 0.85rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #999; margin: 6px 0 10px; }

/* On/off switch rows (Control Panel) */
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; background: var(--bg-light); border-radius: 10px; cursor: pointer; margin-bottom: 12px; font-size: 14px; }
.switch-row small { display: block; color: #888; font-size: 12.5px; font-weight: 400; margin-top: 2px; line-height: 1.4; }
.switch { position: relative; width: 46px; height: 26px; flex-shrink: 0; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch .slider { position: absolute; inset: 0; background: #ccc; border-radius: 26px; transition: 0.2s; }
.switch .slider::before { content: ''; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,0.25); transition: 0.2s; }
.switch input:checked + .slider { background: var(--primary); }
.switch input:checked + .slider::before { transform: translateX(20px); }
.switch input:focus-visible + .slider { outline: 2px solid var(--primary); outline-offset: 2px; }

.muted { color: var(--text-muted); }

.input-group { margin-bottom: 15px; text-align: left; }

.input-group label { display: block; font-weight: 600; margin-bottom: 5px; font-size: 14px; }

.input-group label .opt { font-weight: 400; color: #999; }

.input-group small { display: block; color: #888; font-size: 12.5px; margin-top: 5px; line-height: 1.45; }

.input-group input, .input-group textarea, .input-group select { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 16px; outline: none; transition: 0.3s; background: #fff; }

.input-group input:focus, .input-group textarea:focus, .input-group select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(129,20,25,0.08); }

.input-group textarea { min-height: 100px; resize: vertical; }

.input-group.invalid input { border-color: #c90000; }

.input-row { display: flex; gap: 10px; }

.input-row > :first-child { flex: 1; }

.input-row select { width: auto; }

.form-feedback { font-size: 14px; line-height: 1.5; border-radius: 8px; }

.form-feedback:not(:empty) { padding: 10px 12px; margin-bottom: 6px; }

.form-feedback.error { background: #fdecec; color: #a40000; }

.form-feedback.warn { background: #fff8ec; color: #7a4a00; }

.form-feedback.ok { background: #eaf8e6; color: #1d6b00; }

.privacy-note { font-size: 12px; color: #777; text-align: center; margin-top: 15px; line-height: 1.4; display: flex; align-items: center; justify-content: center; gap: 5px; }

.privacy-note i { color: var(--success); font-size: 14px; }

.btn-save { width: 100%; padding: 14px; background: var(--primary); color: #fff; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; margin-top: 15px; font-size: 1.1rem; transition: 0.3s; }

.btn-save:hover { background-color: var(--primary-dark); }

.btn-save:disabled, .btn-publish:disabled { opacity: 0.6; cursor: wait; }

.btn-secondary { width: 100%; padding: 12px; background: #2C2C2C; color: #fff; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; margin-top: 10px; font-size: 1rem; transition: 0.3s; }

.btn-secondary:hover { background-color: #444; }

.btn-link { background: none; border: none; color: var(--primary); font-weight: 500; font-size: 14.5px; cursor: pointer; padding: 6px 0; display: inline-flex; align-items: center; gap: 5px; }

.btn-link:hover { text-decoration: underline; }

/* Login */
.login-box { max-width: 420px; text-align: center; }

.login-box h3 { padding-right: 0; margin-bottom: 6px; }

.login-box > p { margin-bottom: 22px; }

.login-icon { width: 58px; height: 58px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-size: 28px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }

.password-field { position: relative; }

.password-field input { padding-right: 46px; }

.password-field button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: none; font-size: 20px; color: #888; cursor: pointer; width: 36px; height: 36px; }

.login-links { display: flex; justify-content: center; margin-top: 10px; }

/* Admin panel */
.admin-user { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--bg-light); border-radius: 10px; padding: 10px 14px; margin-bottom: 18px; font-size: 14px; }

.admin-user strong { word-break: break-all; }

.notice { border-radius: 10px; padding: 12px 14px; font-size: 14px; line-height: 1.5; margin-bottom: 18px; }

.notice.warn { background: #fff8ec; color: #7a4a00; border: 1px solid #f3dbb2; }

.admin-footer-links { display: flex; justify-content: center; gap: 18px; margin-top: 12px; flex-wrap: wrap; }

/* ---------- LIVE EDITING ---------- */
.editable[contenteditable="true"] { border: 2px dashed var(--primary); padding: 2px 6px; border-radius: 4px; background: rgba(129, 20, 25, 0.05); outline: none; cursor: text; min-width: 1em; }

.editable[contenteditable="true"]:focus { background: #fff; border-style: solid; }

.editable[contenteditable="true"]:empty::before { content: attr(data-placeholder); color: #aaa; font-style: italic; }

.edit-only { display: none !important; }

body.editing-active .edit-only { display: flex !important; }

.edit-hint { display: none; }

body.editing-active .edit-hint { display: block; }

.edit-hint {
    max-width: 1300px; margin: 0 auto 20px; padding: 12px 18px; border-radius: 10px;
    background: #fff8ec; color: #7a4a00; font-size: 0.95rem; line-height: 1.5; border: 1px solid #f3dbb2;
}

.inline-add-btn {
    align-items: center; gap: 8px; background: rgba(129, 20, 25, 0.05); color: var(--primary);
    padding: 12px 20px; border: 2px dashed var(--primary); border-radius: 8px; font-weight: 600; cursor: pointer; margin: 20px auto 0; font-size: 1rem; transition: 0.3s; width: 100%; max-width: 1300px; justify-content: center;
}

.inline-add-btn:hover { background: rgba(129, 20, 25, 0.15); }

/* Small trash buttons */
.list-del, .delete-card-btn, .delete-zone-btn { display: none; border: none; cursor: pointer; color: #c90000; align-items: center; justify-content: center; flex-shrink: 0; }

body.editing-active .list-del, body.editing-active .delete-card-btn, body.editing-active .delete-zone-btn { display: inline-flex; }

.list-del { width: 30px; height: 30px; border-radius: 50%; background: #fdecec; font-size: 16px; }

.delete-card-btn:hover, .list-del:hover { background: #c90000; color: #fff; }

#edit-action-bar {
    display: none; position: fixed; bottom: 30px; left: 30px; z-index: 1500;
    background: rgba(255, 255, 255, 0.95); padding: 15px 20px; border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15); backdrop-filter: blur(8px); gap: 15px; align-items: center;
}

body.editing-active #edit-action-bar { display: flex; }

.btn-publish { background: var(--success); color: #fff; padding: 12px 24px; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; font-size: 1rem; transition: 0.3s; }

.btn-publish:hover { background: #1f9d00; }

.btn-revert { background: #c90000; color: #fff; padding: 12px 24px; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; font-size: 1rem; transition: 0.3s; }

.btn-revert:hover { background: #9e0000; }

/* ---------- TOASTS ---------- */
#toast-stack { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 3500; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; width: max-content; max-width: calc(100% - 30px); }

body.editing-active #toast-stack { bottom: 110px; }

.toast {
    background: #1f1f1f; color: #fff; padding: 12px 18px; border-radius: 10px; font-size: 15px; line-height: 1.4;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25); display: flex; align-items: center; gap: 10px;
    animation: toast-in 0.25s ease; pointer-events: auto;
}

.toast i { font-size: 20px; flex-shrink: 0; }

.toast.ok i { color: #6be04a; }

.toast.warn i { color: #ffc35c; }

.toast.error { background: #8b0f14; }

.toast.leaving { opacity: 0; transform: translateY(8px); transition: 0.25s; }

@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------- SCROLL FADE ---------- */
/* Only hidden once the site script is running (html.fx), so content can never get stuck invisible */
.fx .fade-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }

.fx .fade-up.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    .fx .fade-up { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

@media (max-width: 1200px) {
    :root { --gutter: 5%; }
    .navmenu { gap: 25px; }
    .navmenu a { font-size: 1.05rem; }
}

@media (max-width: 992px) {
    #menu-icon { display: block; }
    .navmenu {
        position: fixed; top: var(--header-h); right: -100%;
        width: 300px; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
        background: #fff; flex-direction: column; align-items: center; gap: 30px; padding-top: 40px;
        box-shadow: -5px 10px 15px rgba(0,0,0,0.1); transition: right 0.4s ease; overflow-y: auto;
    
    }
    .navmenu.open { right: 0; }
    .navmenu a { font-size: 1.2rem; }
    .hero { min-height: clamp(440px, 75vh, 760px); }
    #edit-action-bar { bottom: 15px; left: 15px; flex-direction: column; width: calc(100% - 30px); }
    .btn-publish, .btn-revert { width: 100%; }
    body.editing-active main { padding-bottom: 150px; }
    body.editing-active #toast-stack { bottom: 150px; }
}

@media (max-width: 768px) {
    .top-banner { font-size: 13px; padding: 6px 12px; }
    header { padding: 12px var(--gutter); }
    .logo img { max-width: 115px; }
    .nav-icon { gap: 10px; }
    .nav-icon a { width: 38px; height: 38px; font-size: 18px; }
    .hero {
        --hero-overlay: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.2) 35%, rgba(0,0,0,0.7) 100%);
        min-height: clamp(440px, 75vh, 660px);
        padding-top: calc(var(--header-h) + 35px); padding-bottom: 60px; align-items: flex-end;
    
    }
    .hero h5 { font-size: 0.95rem; letter-spacing: 2px; }
    .hero-buttons { flex-direction: column; align-items: stretch; max-width: 360px; }
    .disclaimer-section { padding: 40px var(--gutter) 15px; }
    .disclaimer-title { font-size: 1.5rem; }
    .disclaimer-list li { font-size: 1rem; }
    .section-header { margin-bottom: 35px; }
    .email-btn { padding: 12px 20px; font-size: 15px; }
    .admin-content { padding: 30px 20px; }
}

@media (max-width: 480px) {
    .top-banner { font-size: 12px; }
    .logo img { max-width: 100px; }
    .nav-icon a { width: 36px; height: 36px; }
    #menu-icon { font-size: 30px; }
    .navmenu { width: 100%; }
    footer { padding: 35px var(--gutter) 55px; }
    #admin-trigger { bottom: 12px; right: 12px; }
}

/* ---------- CHANGE HISTORY ---------- */
.history-box { max-width: 640px; }

.history-intro { margin: -10px 0 16px; font-size: 0.95rem; line-height: 1.5; }

.history-filter { display: inline-flex; background: var(--bg-light); border-radius: 50px; padding: 4px; margin-bottom: 16px; }

.history-filter button { border: none; background: none; padding: 7px 16px; border-radius: 50px; font-weight: 600; font-size: 14px; color: var(--text-muted); cursor: pointer; }

.history-filter button.active { background: #fff; color: var(--primary); box-shadow: 0 2px 8px rgba(0,0,0,0.08); }

.history-entry { border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; }

.history-entry.current { border-color: #bfe5b3; background: #f7fdf5; }

.history-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; }

.history-page { background: var(--primary-soft); color: var(--primary); font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 50px; }

.history-tag { background: #fff3dd; color: var(--warn); font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 50px; }

.history-by { color: var(--text-muted); font-size: 13.5px; margin: 4px 0 8px; display: flex; align-items: center; gap: 4px; word-break: break-all; }

.history-changes { padding-left: 18px; font-size: 14px; line-height: 1.5; color: var(--text-dark); }

.history-changes li { list-style: disc; margin-bottom: 2px; word-break: break-word; }

.history-changes li.muted { list-style: none; margin-left: -18px; }

.history-actions { margin-top: 8px; }

.history-current { color: #1d8a00; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 5px; }

.history-loading, .history-empty { padding: 20px 0; text-align: center; }

/* ---------- CONTACT FORM ---------- */
/* Spam trap: kept off-screen so people never see it */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.contact-success { text-align: center; padding: 10px 0 0; }
.contact-success-icon {
    width: 64px; height: 64px; border-radius: 50%; background: #eaf8e6; color: #1d8a00; font-size: 36px;
    display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.contact-success h4 { font-size: 1.4rem; color: var(--text-dark); margin-bottom: 6px; }
.contact-success p { margin-bottom: 18px; line-height: 1.5; }
.contact-direct { font-size: 14px; color: #777; background: #f7f5f2; border-radius: 10px; padding: 10px 14px; }
.contact-direct a { color: var(--primary); font-weight: 600; text-decoration: none; word-break: break-word; }
.contact-hint { text-align: center; font-size: 13px; color: #888; margin: 8px 0 0; }
#contact-submit i { vertical-align: -2px; margin-right: 4px; }
