/* =========================================================
   Base / Reset
   Default values for theme variables. These can be overridden
   by an inline <style> block generated from the admin's saved
   theme colors (see theme_css_vars() in functions.php).
   ========================================================= */
:root {
    --color-header-bg: #ffffff;
    --color-header-text: #000000;
    --color-content-bg: #ffffff;
    --color-content-text: #000000;
    --color-heading: #27477d;
    --color-footer-bg: #ffffff;
    --color-footer-text: #000000;
    --color-accent: #2563eb;
    --color-accent-dark: #1d4ed8;
    --color-muted: #6b7280;
    --color-card: #ffffff;
    --color-border: #e5e7eb;
    --radius: 8px;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    --max-width: 1140px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-size: 16px;
    font-family: "Inclusive Sans", sans-serif;
    color: var(--color-content-text);
    background: var(--color-content-bg);
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
    overflow-wrap: break-word;
    word-break: break-word;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

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

a {
    color: var(--color-accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 12px;
}

/* =========================================================
   Public site header
   ========================================================= */
.site-header {
    background: var(--color-header-bg);
    color: var(--color-header-text, #ffffff);
    /* no border-bottom — the two rows handle their own borders */
}

.site-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 20px;
}

.site-logo img {
    max-height: 56px;
    width: auto;
}

.site-logo .logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: #120575; /* navy — logo text always dark on white top row */
}

/* Default site-nav (used outside the nav bar context) */
.site-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.site-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav a {
    color: var(--color-header-text, #ffffff);
    font-weight: 500;
}

.site-nav a:hover {
    color: var(--color-accent);
    text-decoration: none;
}

/* Override default site-nav inside the colored nav bar */
.header-nav-row .site-nav {
    flex: unset;
    justify-content: flex-start;
}

.header-phone {
    font-weight: 600;
    white-space: nowrap;
}

.header-phone a {
    color: var(--color-header-text, #ffffff);
}

.header-phone a:hover {
    color: var(--color-accent);
}

/* =========================================================
   Public site main content / content blocks
   ========================================================= */
.site-main {
    padding: 48px 0;
}
.breadcrumb-bar {
    background: #f3f6f7;
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 0;
}
.breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    color: #555;
}
.breadcrumb-list li { display: flex; align-items: center; gap: 4px; }
.breadcrumb-list a { color: var(--color-accent, #fd783b); text-decoration: none; }
.breadcrumb-list a:hover { text-decoration: underline; }
.breadcrumb-list [aria-current="page"] { color: #333; font-weight: 500; }
.breadcrumb-sep { color: #aaa; font-size: 0.9rem; }

.content-block {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.content-block:last-child {
    margin-bottom: 0;
}

.content-block .content-photo {
    flex: 3 1 380px;
    position: relative;
    padding-top: 50%; /* default: horizontal rectangle (2:1) */
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.content-block .content-photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius);
    box-shadow: none;
}

/* "Original size" mode: no cropping, image keeps its natural aspect ratio */
.content-block .content-photo.content-photo-auto {
    padding-top: 0;
    overflow: visible;
}

.content-block .content-photo.content-photo-auto img {
    position: static;
    width: 100%;
    height: auto;
}

.content-block .content-text {
    flex: 2 1 260px;
}
.content-block .content-text h2 { color: var(--color-heading); margin-top: 0; }

.content-block .content-text p {
    margin: 0 0 1em 0;
}

.content-block .content-text p:last-child {
    margin-bottom: 0;
}

/* Text-only blocks take the full width */
.content-block.text-only .content-text {
    flex: 1 1 100%;
}

/* image-left renders photo first, image-right renders text first;
   markup order already matches, so no extra ordering rules needed. */

/* Stacked layout: text above, image below at full width */
.content-block.layout-stacked {
    flex-direction: column;
    align-items: stretch;
}
.content-block.layout-stacked .content-text {
    flex: 1 1 100%;
}
.content-block.layout-stacked .content-photo {
    flex: 1 1 100%;
    padding-top: 41%;
}

/* =========================================================
   Public site footer
   ========================================================= */
.site-footer {
    background: var(--color-footer-bg);
    color: var(--color-footer-text);
    border-top: 1px solid var(--color-border);
    padding: 40px 0 0;
    margin-top: 48px;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    padding-bottom: 32px;
}

.footer-about {
    flex: 2 1 260px;
}

.footer-logo {
    max-height: 60px;
    width: auto;
    margin-bottom: 12px;
}

.footer-tagline {
    margin: 0 0 12px 0;
}

.footer-highlight {
    font-weight: 700;
    margin: 0 0 12px 0;
}

.footer-contact-line {
    margin: 4px 0;
}

.footer-column {
    flex: 1 1 160px;
}

.footer-column h3 {
    margin: 0 0 10px 0;
    font-size: 1.05rem;
    font-weight: 700;
}

.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column li {
    margin-bottom: 8px;
}

.site-footer a {
    color: var(--color-footer-text);
}

.site-footer a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 20px;
    font-size: 0.9rem;
}

.footer-bottom .sep {
    opacity: 0.5;
    margin: 0 4px;
}

/* =========================================================
   Admin panel
   ========================================================= */
.admin-body {
    background: #f9fafb;
}

.admin-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 24px 20px 60px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-header h1 {
    margin: 0;
    font-size: 1.5rem;
}

.admin-header .preview-link {
    font-size: 0.95rem;
}

.btn {
    display: inline-block;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.btn:hover {
    background: #1d4ed8;
    text-decoration: none;
}

.btn-secondary {
    background: #6b7280;
}

.btn-secondary:hover {
    background: #4b5563;
}

.btn-small {
    padding: 6px 12px;
    font-size: 0.85rem;
}

.btn-danger {
    background: #dc2626;
}

.btn-danger:hover {
    background: #b91c1c;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.tab-link {
    padding: 10px 18px;
    border-radius: 8px 8px 0 0;
    background: transparent;
    color: #6b7280;
    font-weight: 600;
    border: 1px solid transparent;
}

.tab-link.active {
    background: #ffffff;
    color: #2563eb;
    border-color: #e5e7eb;
    border-bottom-color: #ffffff;
    margin-bottom: -1px;
}

/* Cards / forms */
.card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    padding: 24px;
    margin-bottom: 24px;
}

.card h2 {
    margin-top: 0;
    font-size: 1.2rem;
}

.card h3 {
    font-size: 1rem;
    margin: 0 0 4px 0;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.form-group .hint {
    display: block;
    font-weight: 400;
    color: #6b7280;
    font-size: 0.85rem;
    margin-top: 4px;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group input[type="url"],
.form-group input[type="password"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

.current-image {
    margin-bottom: 10px;
}

.current-image img {
    max-height: 80px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 4px;
    background: #fff;
}

.current-image .none {
    color: #6b7280;
    font-style: italic;
    font-size: 0.9rem;
}

/* Repeatable rows (menu items, links) */
.repeat-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.repeat-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.repeat-row input,
.repeat-row select {
    flex: 1;
}

.remove-row {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 9px 12px;
    cursor: pointer;
    font-weight: 600;
    line-height: 1;
    flex: 0 0 auto;
}

.remove-row:hover {
    background: #fecaca;
}

/* Color swatches in the Theme tab */
.color-field {
    display: flex;
    align-items: center;
    gap: 12px;
}

.color-field input[type="color"] {
    width: 48px;
    height: 40px;
    padding: 2px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.color-field input[type="text"] {
    flex: 1;
    font-family: monospace;
}

/* Content blocks editor */
.block-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 16px;
    background: #fcfcfd;
}

.block-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.block-card-header .block-type-select {
    flex: 1 1 220px;
}

.block-card-header .block-label {
    font-weight: 700;
    color: #6b7280;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.block-actions {
    display: flex;
    gap: 6px;
}

.icon-btn {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 10px;
    cursor: pointer;
    font-weight: 600;
    line-height: 1;
}

.icon-btn:hover {
    background: #e5e7eb;
}

.icon-btn.remove-row {
    background: #fee2e2;
}

.block-image-section {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #e5e7eb;
}

.block-image-section.is-hidden {
    display: none;
}

/* Footer columns editor */
.column-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    background: #fcfcfd;
}

.column-card-header {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
}

.column-card-header input {
    flex: 1;
    font-weight: 700;
}

.column-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
    padding-left: 4px;
}

/* Alerts */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-weight: 500;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Login page */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    width: 100%;
    max-width: 360px;
}

.login-card h1 {
    text-align: center;
    margin-top: 0;
}

/* ============================================================
   NEW BLOCK TYPES
   ============================================================ */

/* ---- Hero / Banner ---- */
.block-hero {
    padding: 60px 24px;
    text-align: center;
    background-color: #1e3a5f;
    color: #fff;
}
.hero-inner { max-width: 780px; margin: 0 auto; }
.hero-heading {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 16px;
}
.hero-subtext {
    font-size: 1.15rem;
    margin: 0 0 28px;
    opacity: 0.92;
}
.hero-btn {
    display: inline-block;
    padding: 14px 34px;
    background: var(--color-accent, #fd783b);
    color: #fff;
    border-radius: var(--btn-radius, 4px);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: opacity .15s;
}
.hero-btn:hover { opacity: .85; }

/* ---- Feature Columns ---- */
.block-feature-columns { padding: 48px 24px; display: block; background: #f3f6f7; }
.section-heading {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 36px;
    color: var(--color-heading, #120575);
    width: 100%;
}
.feature-grid { display: grid; gap: 28px; width: 100%; }
.feature-grid-2 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.feature-grid-3 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.feature-grid-4 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.feature-col { text-align: center; padding: 28px 16px; }
.feature-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 18px;
    display: block;
    border-radius: 50%;
}
.feature-col-heading {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--color-heading, #111);
}
.feature-col-text { font-size: 0.95rem; color: #555; margin: 0; line-height: 1.6; }

/* ---- CTA Button ---- */
.block-cta { padding: 36px 24px; }
.cta-subtext { margin: 0 0 14px; font-size: 1rem; color: #555; }
.cta-btn {
    display: inline-block;
    padding: 14px 34px;
    background: var(--color-accent, #fd783b);
    color: #fff;
    border-radius: var(--btn-radius, 4px);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: opacity .15s;
}
.cta-btn:hover { opacity: .85; }
.cta-btn-sm { padding: 10px 22px; font-size: 0.95rem; margin-top: 14px; display: inline-block; }

/* ---- Block heading (text blocks with heading level) ---- */
.block-heading { margin-top: 0; color: var(--color-heading); }

/* ---- FAQ / Accordion ---- */
.block-faq { padding: 48px 24px; max-width: 860px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-list.faq-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; max-width: 1200px; }
.faq-item { border: 1px solid #e2e8f0; border-radius: 6px; overflow: hidden; }
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 16px 20px;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-content-text, #000);
}
.faq-question:hover { background: #f8fafc; }
.faq-icon { font-size: 1.25rem; line-height: 1; margin-left: 12px; flex-shrink: 0; }
.faq-answer { padding: 4px 20px 16px; font-size: 0.96rem; line-height: 1.65; }
.faq-answer p { margin: 8px 0 0; }

/* ---- Pricing / Course Cards ---- */
.block-pricing-cards { padding: 48px 24px; background: #f8fafc; }
.pc-grid { display: grid; gap: 24px; max-width: 1100px; margin: 0 auto; }
.pc-grid-2 { grid-template-columns: repeat(2, 1fr); }
.pc-grid-3 { grid-template-columns: repeat(3, 1fr); }
.pc-grid-4 { grid-template-columns: repeat(4, 1fr); }
.pc-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 24px; display: flex; flex-direction: column; gap: 0; }
.pc-card--featured { border-color: var(--color-accent); box-shadow: 0 4px 24px rgba(0,0,0,.1); }
.pc-badge { display: inline-block; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #fff; background: var(--color-accent); padding: 3px 9px; border-radius: 3px; margin-bottom: 10px; }
.pc-sublabel { display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--color-accent); margin-bottom: 6px; }
.pc-name { font-size: 1.35rem; font-weight: 700; color: var(--color-header-bg); margin: 0 0 10px; }
.pc-desc { font-size: 0.875rem; color: #475569; margin: 0 0 16px; line-height: 1.55; }
.pc-features { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 6px; }
.pc-features li { font-size: 0.85rem; color: #334155; padding-left: 20px; position: relative; }
.pc-features li::before { content: "✓"; position: absolute; left: 0; color: var(--color-accent); font-weight: 700; }
.pc-meta { font-size: 0.78rem; color: #64748b; margin: auto 0 16px; padding-top: 12px; border-top: 1px solid #f1f5f9; }
.pc-btn { display: block; text-align: center; background: var(--color-accent); color: #fff; padding: 11px 20px; border-radius: var(--btn-radius, 4px); text-decoration: none; font-weight: 600; font-size: 0.9rem; margin-top: auto; transition: opacity .15s; }
.pc-btn:hover { opacity: .88; }

/* ---- Custom HTML ---- */
.block-custom-html { padding: 24px; }

/* ---- Two-column HTML ---- */
.block-html-two-col { padding: 40px 24px; }
.htc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 1200px; margin: 0 auto; }
.htc-col { min-width: 0; }

/* ---- Admin: block type panels ---- */
.block-fields { margin-top: 12px; }
.is-hidden { display: none !important; }
.fc-col-row { border: 1px solid #e5e7eb; border-radius: 6px; padding: 12px; margin-bottom: 10px; background: #f9fafb; }
.faq-item-row { border: 1px solid #e5e7eb; border-radius: 6px; padding: 12px; margin-bottom: 10px; background: #f9fafb; }

/* ---- Social links in header top row ---- */
.header-socials { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.header-social-link { font-size: 0.78rem; font-weight: 600; text-decoration: none; color: #475569; opacity: .7; transition: opacity .15s; white-space: nowrap; }
.header-social-link:hover { opacity: 1; }

/* ---- Nav CTA button ---- */
.header-cta-btn { display: inline-flex; align-items: center; padding: 8px 18px; border: 2px solid currentColor; border-radius: var(--btn-radius, 4px); font-size: 0.88rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: opacity .15s; flex-shrink: 0; }
.header-cta-btn:hover { opacity: .8; }

/* ---- Social links in footer ---- */
.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}
.social-link {
    display: inline-block;
    padding: 5px 12px;
    border: 1px solid currentColor;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--color-footer-text, #000);
    opacity: 0.8;
    transition: opacity .15s;
}
.social-link:hover { opacity: 1; }

/* ============================================================
   TOP ANNOUNCEMENT BAR
   ============================================================ */
.site-topbar {
    background: var(--color-accent, #fd783b);
    color: #fff;
    text-align: center;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
}
.site-topbar a {
    color: #fff;
    text-decoration: none;
    display: block;
}
.site-topbar a:hover { text-decoration: underline; }

/* ============================================================
   HEADER: city label + hamburger
   ============================================================ */
.header-city {
    font-size: 0.85rem;
    opacity: 0.75;
    margin-right: auto;
    padding-left: 8px;
}

/* Hamburger button */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
    order: 3;
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--color-header-text, #ffffff);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}
/* Animate to X when open */
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   MOBILE NAV
   ============================================================ */
@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
        position: relative;
    }

    .nav-toggle {
        display: flex;
    }

    .header-city {
        display: none;
    }

    .header-phone {
        order: 2;
        font-size: 0.9rem;
    }

    .site-nav {
        display: none;
        width: 100%;
        order: 4;
        border-top: 1px solid rgba(0,0,0,0.08);
        margin-top: 8px;
    }
    .site-nav.is-open {
        display: block;
    }
    .site-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 8px 0;
    }
    .site-nav ul li a {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid rgba(0,0,0,0.06);
    }

    /* Stack hero heading on mobile */
    .hero-heading { font-size: 1.75rem; }

    /* Feature grids collapse to 2 col on mobile */
    .feature-grid-3,
    .feature-grid-4 { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }

    /* Image+text blocks stack vertically on mobile */
    .content-block.image-left,
    .content-block.image-right {
        flex-direction: column;
    }
    .content-block.image-left .content-photo,
    .content-block.image-right .content-photo {
        width: 100%;
    }
}

/* ============================================================
   PHOTO GALLERY
   ============================================================ */
.block-gallery { padding: 48px 24px; }
.gallery-grid { display: grid; gap: 12px; }
.gallery-grid-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-grid-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-grid-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-item { overflow: hidden; border-radius: 6px; aspect-ratio: 4/3; }
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.gallery-item:hover img { transform: scale(1.04); }

@media (max-width: 768px) {
    .gallery-grid-3,
    .gallery-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .gallery-grid-2,
    .gallery-grid-3,
    .gallery-grid-4 { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.block-steps { padding: 48px 24px; display: block; }
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
    margin-top: 32px;
    position: relative;
    width: 100%;
}
/* Connector line between steps on desktop */
@media (min-width: 600px) {
    .steps-grid::before {
        content: '';
        position: absolute;
        top: 40px;
        left: 18%;
        right: 18%;
        height: 2px;
        background: var(--color-accent, #fd783b);
        opacity: 0.25;
        z-index: 0;
    }
}
.step-item {
    text-align: center;
    position: relative;
    z-index: 1;
}
.step-number {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--color-accent, #fd783b);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
}
.step-icon {
    width: 80px; height: 80px;
    object-fit: contain;
    margin: 0 auto 20px;
    display: block;
    border-radius: 50%;
}
.step-heading {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: #111;
}
.step-text {
    font-size: 0.92rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   STATS / COUNTERS
   ============================================================ */
.block-stats {
    padding: 48px 24px;
    background: #1e3a5f;
    color: #fff;
    display: block;
}
.block-stats .section-heading { color: inherit; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 32px;
    margin-top: 24px;
}
.stat-item { text-align: center; }
.stat-number {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    color: var(--color-accent, #fd783b);
}
/* Override accent on dark backgrounds */
.block-stats .stat-number { color: #fff; }
.stat-label {
    font-size: 0.95rem;
    opacity: 0.85;
    font-weight: 500;
}

/* ============================================================
   CARDS GRID
   ============================================================ */
.block-cards { padding: 48px 24px; display: block; background: #f3f6f7; }
.cards-grid {
    display: grid;
    gap: 24px;
    margin-top: 32px;
    width: 100%;
}
.cards-grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cards-grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.cards-grid-4 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.card-item {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}
.card-item:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.10); }
.card-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}
.card-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.card-heading {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: #1a1a2e;
}
.card-text {
    font-size: 0.92rem;
    color: #333;
    margin: 0 0 14px;
    flex: 1;
}
.card-link {
    display: inline-block;
    padding: 8px 18px;
    background: var(--color-accent, #fd783b);
    color: #fff;
    border-radius: var(--btn-radius, 4px);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    align-self: flex-start;
    transition: opacity 0.15s;
}
.card-link:hover { opacity: 0.85; }

@media (max-width: 768px) {
    .cards-grid-3,
    .cards-grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}

/* ============================================================
   DROPDOWN NAVIGATION
   ============================================================ */

/* Parent items with children */
.site-nav ul li.has-dropdown { position: relative; }

.site-nav ul li.has-dropdown > a {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown-arrow {
    font-size: 0.7rem;
    opacity: 0.7;
    transition: transform 0.2s;
    display: inline-block;
}

/* Dropdown panel — hidden by default */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--color-header-bg, #120575);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 6px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
    padding: 6px 0;
    z-index: 200;
    list-style: none;
    margin: 0;
}

/* Show on hover (desktop) */
.site-nav ul li.has-dropdown:hover > .dropdown-menu,
.site-nav ul li.has-dropdown:focus-within > .dropdown-menu {
    display: block;
}

.site-nav ul li.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu li a {
    display: block;
    padding: 9px 18px;
    white-space: nowrap;
    color: var(--color-header-text, #ffffff);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.15s;
}

.dropdown-menu li a:hover {
    background: rgba(0,0,0,0.05);
}

/* ---- Mobile: dropdown becomes accordion ---- */
@media (max-width: 768px) {
    .dropdown-menu {
        display: none;
        position: static;
        box-shadow: none;
        border: none;
        border-top: 1px solid rgba(0,0,0,0.06);
        border-radius: 0;
        padding: 0;
        background: rgba(0,0,0,0.03);
    }
    /* Show when parent li has .open class (toggled by JS) */
    .site-nav ul li.has-dropdown.open > .dropdown-menu {
        display: block;
    }
    .site-nav ul li.has-dropdown > a {
        justify-content: space-between;
    }
    .dropdown-menu li a {
        padding: 9px 28px;
    }
}

/* ============================================================
   ADMIN: menu item card styles
   ============================================================ */
.menu-item-card {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    margin-bottom: 10px;
    background: #fafafa;
    overflow: hidden;
}
.menu-item-top {
    padding: 8px;
    margin: 0 !important;
    border-bottom: none;
}
.menu-dropdown-editor {
    background: #f0f4ff;
    border-top: 1px solid #dbe4ff;
    padding: 10px 14px 12px;
}

/* ============================================================
   COMPREHENSIVE RESPONSIVE FIXES (v16 mobile/tablet audit)
   ============================================================ */

/* Fix #20: prevent horizontal scroll on any device */
html, body {
    overflow-x: hidden;
}

/* ---- TABLET (769px – 1024px) ---- */
@media (min-width: 769px) and (max-width: 1024px) {

    /* Hero font scaling for tablet */
    .hero-heading { font-size: 2rem; }
    .hero-subtext  { font-size: 1.05rem; }
    .block-hero    { padding: 50px 32px; }

    /* Section headings on tablet */
    .section-heading { font-size: 1.5rem; }

    /* Tighten block gap slightly */
    .content-block { gap: 28px; margin-bottom: 36px; }

    /* Steps: force 2 or 3 col max on tablet */
    .steps-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }

    /* Stats: allow slightly smaller minwidth on tablet */
    .stats-grid { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
}

/* ---- MOBILE (≤ 768px) — comprehensive overrides ---- */
@media (max-width: 768px) {

    /* Fix #11: hero mobile padding */
    .block-hero { padding: 40px 20px; }

    /* Fix #1 + hero heading already has 1.75rem — add subtext scaling */
    .hero-subtext  { font-size: 1rem; margin-bottom: 20px; }
    .hero-btn      { padding: 14px 28px; font-size: 1rem; }

    /* Fix #12: section headings scale down */
    .section-heading { font-size: 1.35rem; margin-bottom: 24px; }

    /* Fix #16: tighter block gap on mobile */
    .content-block { gap: 20px; margin-bottom: 32px; }

    /* Force all feature grids to single column on mobile */
    .feature-grid-2,
    .feature-grid-3,
    .feature-grid-4 {
        grid-template-columns: 1fr;
    }
    /* Very small: single column for feature grids with lots of text */
    .feature-col-text { font-size: 0.88rem; }

    /* Fix #9: steps — single column on mobile, no connector line */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .steps-grid::before { display: none; }
    .step-item { text-align: left; display: flex; align-items: flex-start; gap: 16px; }
    .step-number { margin: 0; flex-shrink: 0; width: 44px; height: 44px; font-size: 1.1rem; }
    .step-icon   { margin: 0; flex-shrink: 0; width: 48px; height: 48px; }
    .step-heading { margin-top: 0; }

    /* Fix #18: card-link touch target */
    .card-link { padding: 11px 20px; }

    /* Fix #8: gallery single col on very small screens — 2 col min on mobile is fine
       but ensure images don't overflow */
    .gallery-item { border-radius: 4px; }

    /* Stats: 2 col on mobile */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .stat-number { font-size: 2rem; }

    /* Cards: single column on small phones */
    .cards-grid-2,
    .cards-grid-3,
    .cards-grid-4 {
        grid-template-columns: 1fr;
    }

    /* CTA button — full width on mobile */
    .block-cta { padding: 28px 20px; }
    .cta-btn   { display: block; text-align: center; padding: 15px 20px; }

    /* FAQ touch friendliness */
    .faq-question { padding: 14px 16px; }
    .block-faq    { padding: 32px 16px; }
    .faq-list.faq-two-col { grid-template-columns: 1fr; }

    /* Custom HTML — constrain embeds */
    .block-custom-html { padding: 16px; overflow-x: auto; }

    /* Two-column HTML — stack on mobile */
    .htc-grid { grid-template-columns: 1fr; gap: 20px; }

    /* Pricing cards — single column on mobile */
    .pc-grid-2, .pc-grid-3, .pc-grid-4 { grid-template-columns: 1fr; }

    /* Feature columns — single col on very small screens */
    .feature-grid-2 { grid-template-columns: 1fr 1fr; }

    /* Content block photo full width when stacked */
    .content-block .content-photo { flex: 1 1 100%; }
    .content-block .content-text  { flex: 1 1 100%; }

    /* Footer: stack bottom bar vertically */
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }

    /* Gallery: 2col on mobile, 1col on very small */
    .gallery-grid-3,
    .gallery-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ---- VERY SMALL PHONES (≤ 380px) ---- */
@media (max-width: 380px) {
    .hero-heading  { font-size: 1.5rem; }
    .hero-subtext  { font-size: 0.95rem; }

    /* Single col everything */
    .feature-grid-2,
    .feature-grid-3,
    .feature-grid-4 { grid-template-columns: 1fr; }

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

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

    /* Header phone number — shrink slightly */
    .header-phone { font-size: 0.85rem; }

    /* Topbar font */
    .site-topbar { font-size: 0.8rem; padding: 6px 12px; }
}

/* ---- TOUCH DEVICE ENHANCEMENTS ---- */
@media (hover: none) and (pointer: coarse) {
    /* Disable hover-only dropdown on touch — JS handles it */
    .site-nav ul li.has-dropdown:hover > .dropdown-menu { display: none; }

    /* Larger tap areas for nav links */
    .site-nav a { padding: 4px 0; }

    /* Remove gallery hover zoom on touch */
    .gallery-item:hover img { transform: none; }

    /* Card hover shadow — remove on touch */
    .card-item:hover { box-shadow: none; }
}

/* ============================================================
   TWO-ROW HEADER + STICKY
   ============================================================ */

/* Sticky/fixed header */
.site-header-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 500;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Push page content down so it doesn't hide under the fixed header */
.site-header-sticky ~ main,
body.has-fixed-header main {
    margin-top: var(--fixed-header-height, 120px);
}

/* TOP ROW — always white, logo + info items */
.header-top-row {
    background: var(--color-header-top-bg, #ffffff);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.header-top-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 12px 20px;
    flex-wrap: wrap;
}

/* Info items — logo left, middle items center-right, last item far right */
.header-info-items {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    flex: 1;
    justify-content: center;
    padding-left: 192px;
}

/* Push last info item to the far right */
.header-info-item:last-child {
    margin-left: auto;
}
.header-info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    color: #333333; /* always dark — top row is always white/light */
}
.info-icon {
    font-size: 1rem;
    line-height: 1;
}

/* BOTTOM ROW — colored nav bar */
.header-nav-row {
    background: #fd783b;
}
.header-nav-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 20px;
    min-height: 52px;
}

/* Nav links in colored bar */
.header-nav-row .site-nav {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}
.header-nav-row .site-nav ul {
    display: flex;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}
.header-nav-row .site-nav ul li a {
    display: block;
    padding: 14px 20px;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.15s;
}
.header-nav-row .site-nav ul li a:hover {
    background: rgba(0,0,0,0.12);
    text-decoration: none;
}

/* Dropdown in colored nav */
.header-nav-row .dropdown-menu {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.12);
}
.header-nav-row .dropdown-menu li a {
    color: #333 !important;
    padding: 9px 18px;
}

/* Helpline + phone button */
.header-phone-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}
.header-helpline {
    display: flex;
    flex-direction: column;
    font-size: 0.78rem;
    line-height: 1.3;
    text-align: right;
}
.helpline-label   { font-weight: 700; }
.helpline-sponsored { opacity: 0.85; }

/* Phone button styles */
.header-phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    font-weight: 800;
    font-size: 1.15rem;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.15s;
}
.header-phone-btn:hover { opacity: 0.85; text-decoration: none; }
.header-phone-btn-outline {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}
.header-phone-btn-filled {
    border: none;
}

/* ============================================================
   MOBILE: two-row header
   ============================================================ */
@media (max-width: 768px) {

    /* Top row: stack logo and info */
    .header-top-inner {
        flex-direction: row;
        align-items: center;
        gap: 16px;
        padding: 10px 16px;
        flex-wrap: wrap;
    }
    .header-info-items {
        gap: 16px;
        margin-left: 0;
        padding-left: 0;
    }
    .header-info-item { font-size: 0.82rem; }

    /* Nav row: hamburger visible */
    .header-nav-inner {
        flex-wrap: wrap;
        padding: 0 12px;
        min-height: 48px;
        position: relative;
    }
    .nav-toggle { display: flex; order: 1; }
    .header-phone-wrap { order: 2; margin-left: auto; }
    .helpline-label, .helpline-sponsored { display: none; }
    .header-phone-btn { padding: 7px 14px; font-size: 0.85rem; }

    /* Mobile nav dropdown */
    .header-nav-row .site-nav {
        display: none;
        width: 100%;
        order: 10;
        background: rgba(0,0,0,0.15);
    }
    .header-nav-row .site-nav.is-open { display: block; }
    .header-nav-row .site-nav ul {
        flex-direction: column;
        gap: 0;
    }
    .header-nav-row .site-nav ul li a {
        padding: 12px 16px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    /* Mobile accordion dropdowns */
    .header-nav-row .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: rgba(0,0,0,0.1);
        padding: 0;
    }
    .header-nav-row .site-nav ul li.has-dropdown.open > .dropdown-menu {
        display: block;
    }
    .header-nav-row .dropdown-menu li a {
        color: #fff !important;
        padding: 10px 28px;
    }
}

@media (max-width: 480px) {
    .header-info-items { display: none; } /* hide info items on very small screens */
    .header-top-inner  { padding: 8px 12px; }
}

/* ============================================================
   SMOOTH SCROLL + ANCHOR OFFSET FOR STICKY HEADER
   ============================================================ */

/* Smooth scrolling site-wide */
html {
    scroll-behavior: smooth;
}

/* Offset anchor targets so they don't hide under the fixed header.
   JS sets --fixed-header-height on :root — adds 16px breathing room */
[id] {
    scroll-margin-top: calc(var(--fixed-header-height, 120px) + 16px);
}

/* ============================================================
   FOOTER DISCLAIMER — between main footer and copyright bar
   ============================================================ */
.footer-disclaimer-section {
    background: var(--color-footer-bg, #1a1a2e);
}
.footer-disclaimer-divider {
    height: 1px;
    background: rgba(255,255,255,0.3);
    margin: 0 20px;
}
.footer-disclaimer {
    color: var(--color-footer-text, #ffffff);
    padding: 20px 20px;
    font-size: 0.82rem;
    line-height: 1.7;
    opacity: 0.85;
}
.footer-disclaimer a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
}

/* Footer main area */
.footer-main {
    padding: 40px 0 0;
}

/* Footer bottom: logo + copyright side by side */
.footer-bottom-logo {
    max-height: 48px;
    width: auto;
    opacity: 0.9;
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px 20px;
    justify-content: space-between;
}

/* ============================================================
   STICKY BOTTOM BAR
   ============================================================ */
.sticky-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 490;
    padding: 14px 24px;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.2);
}
.sticky-bar-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}
.sticky-bar-text {
    font-size: 1.2rem;
    font-weight: 600;
}
.sticky-bar-info {
    cursor: help;
    opacity: 0.85;
    margin-left: 4px;
}
.sticky-bar-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity 0.15s;
}
.sticky-bar-phone:hover { opacity: 0.85; text-decoration: none; }
.sticky-phone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--color-header-bg, #1a1464);
    flex-shrink: 0;
}
.sticky-phone-number {
    font-size: 1.5rem;
    font-weight: 800;
}

/* Push page content up so sticky bar doesn't cover it */
body { padding-bottom: 70px; }

/* ============================================================
   SCROLL TO TOP BUTTON
   ============================================================ */
.scroll-to-top {
    position: fixed;
    bottom: 70px;
    right: 20px;
    z-index: 491;
    width: 48px;
    height: 44px;
    border-radius: 6px;
    border: 2.5px solid #ffffff;
    font-size: 1.5rem;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.25s, transform 0.25s;
    pointer-events: none;
    line-height: 1;
}
.scroll-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.scroll-to-top:hover { opacity: 0.85; }

@media (max-width: 768px) {
    .sticky-bar-text { font-size: 1rem; }
    .sticky-phone-number { font-size: 1.2rem; }
    .sticky-phone-icon { width: 38px; height: 38px; }
    .sticky-bar-inner { gap: 14px; }
    body { padding-bottom: 72px; }
}

/* ============================================================
   FOOTER COLUMN TYPES
   ============================================================ */
.footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}
.contact-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-column-text p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0 0 10px;
    opacity: 0.85;
}

/* ============================================================
   SIMPLE 3-COLUMN FOOTER
   ============================================================ */
.footer-cols-2,
.footer-cols-3,
.footer-cols-4 {
    display: grid;
    gap: 40px;
    padding: 48px 20px 40px;
}
.footer-cols-2 { grid-template-columns: repeat(2, 1fr); }
.footer-cols-3 { grid-template-columns: repeat(3, 1fr); }
.footer-cols-4 { grid-template-columns: repeat(4, 1fr); }
.footer-col {}
.footer-col-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--color-footer-text, #fff);
}
.footer-col-divider {
    width: 40px;
    height: 2px;
    background: var(--color-accent, #fd783b);
    margin-bottom: 18px;
}
.footer-col-text {
    font-size: 0.88rem;
    line-height: 1.75;
    opacity: 0.85;
    color: var(--color-footer-text, #fff);
}
.footer-col-links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-col-links li {
    margin-bottom: 10px;
}
.footer-col-links li a {
    color: var(--color-footer-text, #fff);
    font-size: 0.9rem;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.15s;
}
.footer-col-links li a:hover { opacity: 1; }

@media (max-width: 768px) {
    .footer-cols-2,
    .footer-cols-3,
    .footer-cols-4 {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 32px 16px 28px;
    }
}

/* ============================================================
   INFO TRIGGER BUTTON (ℹ️ circle)
   ============================================================ */
.info-trigger {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    line-height: 1;
    transition: opacity 0.15s;
}
.info-trigger:hover { opacity: 0.75; }
.sticky-info-trigger { margin-left: 8px; }

/* ============================================================
   INFO POPUP
   ============================================================ */
.info-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 900;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.info-popup-overlay.is-open {
    display: flex;
}
.info-popup-box {
    background: #fff;
    border-radius: 12px;
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 8px 40px rgba(0,0,0,0.35);
    animation: popupIn 0.2s ease;
}
@keyframes popupIn {
    from { transform: scale(0.95); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}
.info-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #ddd;
    background: #fff;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    color: #333;
    transition: background 0.15s;
}
.info-popup-close:hover { background: #f0f0f0; }
.info-popup-image {
    display: block;
    width: calc(100% - 32px);
    margin: 16px auto 0;
    max-height: 220px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.info-popup-content {
    padding: 24px 28px 28px;
}
.info-popup-heading {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 16px;
    color: #111;
}
.info-popup-body p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #333;
    margin: 0 0 14px;
}
.info-popup-body p:last-child { margin-bottom: 0; }
.info-popup-body a {
    color: var(--color-accent, #fd783b);
    text-decoration: none;
}
.info-popup-body a:hover { text-decoration: underline; }

@media (max-width: 480px) {
    .info-popup-content { padding: 18px 18px 22px; }
    .info-popup-heading { font-size: 1.15rem; }
}

/* ============================================================
   HERO SPLIT BLOCK (text left, image right)
   ============================================================ */
.block-hero-split {
    padding: 60px 0;
}
.hs-inner {
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    width: 100%;
}
.hs-text {
    flex: 1 1 340px;
    min-width: 0;
}
.hs-heading {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 20px;
    color: #111;
}
.hs-subtext {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    margin: 0 0 28px;
}
.hs-btn {
    display: inline-block;
    background: var(--color-accent, #fd783b);
    color: #fff;
    padding: 13px 30px;
    border-radius: var(--btn-radius, 5px);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: opacity 0.15s;
}
.hs-btn:hover { opacity: 0.85; text-decoration: none; }

/* Right image with caption overlay */
.hs-image-wrap {
    flex: 1 1 380px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    max-width: 500px;
    min-width: 0;
}
.hs-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}
.hs-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.55);
    color: #fff;
    text-align: center;
    padding: 14px 16px;
}
.hs-caption-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.hs-caption-sub {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Mobile */
@media (max-width: 768px) {
    .block-hero-split { padding: 36px 0; }
    .hs-inner { gap: 28px; flex-direction: column; align-items: stretch; }
    .hs-heading { font-size: 1.75rem; }
    .hs-image-wrap { max-width: 100%; }
    .hs-mobile-img-first { flex-direction: column; }
    .hs-mobile-img-first .hs-image-wrap { order: -1; }
    .hs-mobile-text-first { flex-direction: column; }
    .hs-mobile-text-first .hs-text { order: -1; }
}

/* Hero split — when no image, constrain text width */
.block-hero-split .hs-inner:not(:has(.hs-image-wrap)) .hs-text {
    max-width: 640px;
}

/* ============================================================
   FEATURE SPLIT BLOCK (icon grid left, arched image right)
   ============================================================ */
.block-feature-split {
    background: #f3f6f7;
    padding: 60px 0;
}
.fs-inner {
    display: flex;
    align-items: flex-start;
    gap: 56px;
    flex-wrap: wrap;
    width: 100%;
}
/* LEFT */
.fs-left { flex: 1 1 45%; min-width: 0; }
.fs-heading {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 14px;
    color: #111;
}
.fs-subtext {
    font-size: 0.95rem;
    color: #555;
    margin: 0 0 28px;
    line-height: 1.7;
}
/* 2-column icon grid */
.fs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
}
.fs-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.fs-item-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
    margin-top: 2px;
}
.fs-item-body {}
.fs-item-heading {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 6px;
    color: #fd783b;
}
.fs-item-text {
    font-size: 0.88rem;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* RIGHT */
.fs-right {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
/* Rounded rectangle image frame */
.fs-arch-wrap {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}
.fs-arch-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}
/* Star badge */
.fs-star-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f8f8;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 20px;
    width: 100%;
    max-width: 380px;
}
.fs-stars {
    color: #f5a623;
    font-size: 1.1rem;
    letter-spacing: 2px;
}
.fs-star-text {
    font-weight: 700;
    font-size: 0.95rem;
    color: #111;
}

/* Mobile */
@media (max-width: 768px) {
    .block-feature-split { padding: 36px 0; }
    .fs-inner { gap: 32px; flex-direction: column; align-items: stretch; }
    .fs-heading { font-size: 1.5rem; }
    .fs-grid { grid-template-columns: 1fr; gap: 18px; }
    .fs-right { flex: 1 1 100%; }
    .fs-arch-wrap { max-width: 100%; margin: 0 auto; }
    .fs-mobile-img-first { flex-direction: column; }
    .fs-mobile-img-first .fs-right { order: -1; }
    .fs-mobile-text-first { flex-direction: column; }
    .fs-mobile-text-first .fs-left { order: -1; }
}

/* ============================================================
   SPLIT CTA BLOCK (two colored panels side by side)
   ============================================================ */
.block-split-cta {
    display: flex;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    min-height: 180px;
    margin-bottom: 0;
    align-items: stretch;
}
.sc-panel {
    flex: 1 1 50%;
    padding: 48px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.sc-left {}
.sc-heading {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}
.sc-text {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    margin: 0;
    line-height: 1.7;
    max-width: 480px;
}
.sc-right {
    align-items: center;
    text-align: center;
}
.sc-right-label {
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 10px;
    font-weight: 500;
}
.sc-phone {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: opacity 0.15s;
}
.sc-phone:hover { opacity: 0.85; text-decoration: none; }

@media (max-width: 768px) {
    .block-split-cta { flex-direction: column; }
    .sc-panel { padding: 32px 24px; }
    .sc-right { align-items: flex-start; text-align: left; }
    .sc-phone { font-size: 1.5rem; }
}

/* ============================================================
   TAB SERVICES BLOCK
   ============================================================ */
.block-tab-services {
    padding: 48px 0 56px;
    background: #fff;
}
/* Badges */
.ts-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.ts-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 4px;
}
.ts-badge-filled  { background: var(--color-accent,#fd783b); color: #fff; }
.ts-badge-outline { background: transparent; border: 2px solid var(--color-accent,#fd783b); color: var(--color-accent,#fd783b); }
/* Heading */
.ts-heading {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 0 28px;
    color: #111;
}
/* Layout */
.ts-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 0;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}
/* Tab list */
.ts-tabs {
    display: flex;
    flex-direction: column;
    border-right: 1px solid #e5e7eb;
    background: #fff;
}
.ts-tab {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border: none;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    color: #333;
    text-align: left;
    transition: background 0.15s, color 0.15s;
}
.ts-tab:last-child { border-bottom: none; }
.ts-tab:hover:not(.ts-tab-active) { background: #f8f9fa; }
.ts-tab-active { color: #fff; }
.ts-tab-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
    filter: none;
}
.ts-tab-active .ts-tab-icon {
    filter: brightness(0) invert(1);
}
/* Panel */
.ts-panels { background: #fff; }
.ts-panel { height: 100%; }
.ts-photo {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}
.ts-desc {
    padding: 18px 24px;
    font-size: 0.95rem;
    color: #555;
    background: #f8f8f8;
    border-top: 1px solid #e5e7eb;
    line-height: 1.65;
}
/* Mobile */
@media (max-width: 768px) {
    .ts-layout {
        grid-template-columns: 1fr;
    }
    .ts-tabs {
        flex-direction: row;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }
    .ts-tab {
        flex-direction: column;
        gap: 6px;
        padding: 12px 16px;
        font-size: 0.85rem;
        border-bottom: none;
        border-right: 1px solid #e5e7eb;
        min-width: 90px;
        text-align: center;
    }
    .ts-tab:last-child { border-right: none; }
    .ts-photo { height: 240px; }
}

/* ============================================================
   HERO GRID BLOCK (image left, icon grid right)
   ============================================================ */
.block-hero-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0 !important;
    margin-bottom: 0;
    align-items: stretch;
}
/* LEFT: background image + dark overlay */
.hg-left {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 480px;
}
.hg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 40px;
    color: #fff;
}
.hg-label {
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.85;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}
.hg-heading {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 0 16px;
    color: #fff;
    line-height: 1.2;
}
.hg-body p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.85);
    margin: 0 0 12px;
    line-height: 1.65;
}
.hg-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 10px 26px;
    background: var(--color-accent,#fd783b);
    color: #fff;
    border-radius: var(--btn-radius,5px);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    align-self: flex-start;
    transition: opacity 0.15s;
}
.hg-btn:hover { opacity: 0.85; text-decoration: none; }

/* RIGHT: 3×2 icon grid */
.hg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
}
.hg-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px 16px;
    min-height: 160px;
    border: 1px solid rgba(255,255,255,0.08);
}
.hg-tile-icon {
    width: 52px;
    height: 52px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.hg-tile-label {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

/* Mobile */
@media (max-width: 768px) {
    .block-hero-grid { grid-template-columns: 1fr; }
    .hg-left { min-height: 300px; }
    .hg-overlay { padding: 32px 24px; }
    .hg-heading { font-size: 1.4rem; }
    .hg-grid { grid-template-columns: repeat(3, 1fr); }
    .hg-tile { min-height: 120px; padding: 20px 10px; gap: 8px; }
    .hg-tile-icon { width: 36px; height: 36px; }
    .hg-tile-label { font-size: 0.78rem; }
}

/* ============================================================
   SERVICE CARDS GRID (icon circle + heading + text, centered)
   ============================================================ */
.block-service-cards {
    padding: 56px 0;
    background: #fff;
    display: block;
}
.svc-badge-wrap {
    text-align: center;
    margin-bottom: 14px;
}
.svc-badge {
    display: inline-block;
    padding: 5px 14px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 4px;
}
.svc-heading {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 40px;
}
.svc-grid {
    display: grid;
    gap: 20px;
    width: 100%;
}
.svc-grid-2 { grid-template-columns: repeat(2, 1fr); }
.svc-grid-3 { grid-template-columns: repeat(3, 1fr); }
.svc-grid-4 { grid-template-columns: repeat(4, 1fr); }
.svc-card {
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 32px 24px;
    text-align: center;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s;
}
.svc-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.10); }
a.svc-card { text-decoration: none; color: inherit; cursor: pointer; }
a.svc-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.13); transform: translateY(-2px); transition: box-shadow 0.2s, transform 0.2s; }
.svc-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    overflow: hidden;
}
.svc-icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
}
.svc-card-heading {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: #111;
    line-height: 1.4;
}
.svc-card-text {
    font-size: 0.88rem;
    color: #555;
    margin: 0;
    line-height: 1.65;
}

@media (max-width: 768px) {
    .svc-grid-3, .svc-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .svc-heading { font-size: 1.5rem; }
}
@media (max-width: 480px) {
    .svc-grid-2, .svc-grid-3, .svc-grid-4 { grid-template-columns: 1fr; }
}

/* ============================================================
   WIDE BANNER BLOCK (full-width bg image, heading left, btn right)
   ============================================================ */
.block-wide-banner {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 0;
    overflow: hidden;
}
.wb-overlay {
    padding: 56px 0;
}
.wb-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.wb-left { flex: 1 1 400px; }
.wb-inner.wb-centered { justify-content: center; text-align: center; }
.wb-inner.wb-centered .wb-subtext { max-width: 780px; margin-left: auto; margin-right: auto; }
.wb-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 12px;
}
.wb-heading {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}
.wb-right { flex-shrink: 0; }
.wb-btn {
    display: inline-block;
    padding: 13px 32px;
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--btn-radius, 5px);
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.15s;
    border: 2px solid transparent;
}
.wb-btn:hover { opacity: 0.85; text-decoration: none; }
.wb-btn-filled { color: #fff; }
.wb-btn-outline { background: transparent !important; color: #fff !important; border-color: #fff !important; }

@media (max-width: 768px) {
    .wb-overlay { padding: 36px 0; }
    .wb-heading { font-size: 1.5rem; }
    .wb-inner { flex-direction: column; align-items: flex-start; }
    .wb-btn { padding: 11px 24px; font-size: 0.9rem; }
}

/* ============================================================
   IMAGE FEATURES BLOCK (photo left, checklist + phone right)
   ============================================================ */
.block-image-features {
    background: #f3f6f7;
    padding: 60px 0;
}
.if-inner {
    display: flex;
    align-items: center;
    gap: 56px;
    flex-wrap: wrap;
    width: 100%;
}
/* LEFT photo */
.if-photo-wrap {
    flex: 1 1 420px;
    max-width: 520px;
}
.if-photo {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 6px 28px rgba(0,0,0,0.14);
    display: block;
    object-fit: cover;
    aspect-ratio: 4/3;
}
/* RIGHT content */
.if-content {
    flex: 1 1 360px;
    min-width: 0;
}
.if-heading {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 16px;
    line-height: 1.2;
    color: #120575; /* fallback — overridden by inline style */
}
.if-intro {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.7;
    margin: 0 0 24px;
}
/* Feature grid */
.if-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}
.if-feature-box {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 14px 16px;
    background: #fff;
}
.if-check {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}
.if-feat-text {
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.35;
    color: #1a1a2e;
}
.if-closing {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
    margin: 0 0 24px;
}
/* Phone CTA row */
.if-phone-row {
    display: flex;
    align-items: center;
    gap: 16px;
}
.if-phone-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity 0.15s;
}
.if-phone-icon:hover { opacity: 0.85; }
.if-phone-info {}
.if-phone-label {
    font-size: 0.82rem;
    color: #777;
    margin-bottom: 2px;
}
.if-phone-number {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    transition: opacity 0.15s;
}
.if-phone-number:hover { opacity: 0.85; text-decoration: none; }

@media (max-width: 768px) {
    .block-image-features { padding: 36px 0; }
    .if-inner { gap: 28px; flex-direction: column; align-items: stretch; }
    .if-photo-wrap { flex: 1 1 100%; }
    .if-heading { font-size: 1.5rem; }
    .if-features-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FAQ TWO COLUMN BLOCK
   ============================================================ */
.block-faq-two-col {
    padding: 56px 0;
    background: #fff;
}
.fq-heading {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 40px;
    line-height: 1.2;
}
.fq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.fq-item {
    border-radius: 10px;
    overflow: hidden;
}
.fq-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}
.fq-btn:hover { opacity: 0.9; }
.fq-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1;
    transition: transform 0.2s;
}
.fq-question {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
    line-height: 1.4;
}
.fq-answer {
    padding: 0 20px 16px 64px;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
}
.fq-answer p { margin: 0 0 8px; }
.fq-answer p:last-child { margin: 0; }

@media (max-width: 768px) {
    .fq-grid { grid-template-columns: 1fr; }
    .fq-heading { font-size: 1.5rem; }
    .fq-answer { padding-left: 48px; }
}

/* ============================================================
   CTA BANNER BLOCK (solid color, centered text)
   ============================================================ */
.block-cta-banner { margin-bottom: 0; }
.cb-text {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.3;
}
.cb-subtext {
    font-size: 1rem;
    margin: 0 0 16px;
    opacity: 0.9;
}
.cb-btn {
    display: inline-block;
    padding: 11px 28px;
    border-radius: var(--btn-radius, 5px);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    margin-top: 6px;
    transition: opacity 0.15s;
}
.cb-btn:hover { opacity: 0.85; text-decoration: none; }

@media (max-width: 768px) {
    .cb-text { font-size: 1.15rem; }
}

/* ============================================================
   LINKS GRID BLOCK (bg image, heading, link buttons grid)
   ============================================================ */
.block-links-grid {
    display: block !important;
    background-size: cover;
    background-position: center;
    margin-bottom: 0;
    padding: 0;
}
.lg-overlay {
    padding: 40px 0 48px;
}
.lg-header {
    text-align: center;
    margin-bottom: 28px;
    max-width: 100% !important;
    width: 100%;
    padding: 0 20px;
}
.lg-grid-wrap {
    padding: 0 16px;
    max-width: 100% !important;
    width: 100%;
}
.lg-heading {
    font-size: 1.7rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
    text-align: center;
}
.lg-subtext {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.7;
    text-align: center;
}
.lg-grid {
    display: grid;
    gap: 8px;
}
.lg-cols-2 { grid-template-columns: repeat(2,1fr); }
.lg-cols-3 { grid-template-columns: repeat(3,1fr); }
.lg-cols-4 { grid-template-columns: repeat(4,1fr); }
.lg-cols-5 { grid-template-columns: repeat(5,1fr); }
.lg-cols-6 { grid-template-columns: repeat(6,1fr); }
.lg-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 12px;
    background: rgba(255,255,255,0.67);
    border-radius: var(--btn-radius, 5px);
    color: #000000;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s;
    line-height: 1.3;
    min-height: 64px;
}
.lg-link:hover {
    background: rgba(255,255,255,0.90);
    text-decoration: none;
    color: #000000;
}

@media (max-width: 1024px) {
    .lg-cols-5, .lg-cols-6 { grid-template-columns: repeat(4,1fr); }
}
@media (max-width: 768px) {
    .lg-cols-4, .lg-cols-5, .lg-cols-6 { grid-template-columns: repeat(3,1fr); }
    .lg-heading { font-size: 1.3rem; }
}
@media (max-width: 480px) {
    .lg-grid { grid-template-columns: repeat(2,1fr); }
}

/* ============================================================
   CTA CARD BLOCK (colored box, heading left, phone right)
   ============================================================ */
.block-cta-card { padding: 32px 0; }
.cc-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 40px 48px;
    flex-wrap: wrap;
    /* inside container, so wrapping is fine */
}
.cc-left { flex: 1 1 380px; }
.cc-heading {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px;
    line-height: 1.25;
}
.cc-text {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.88);
    margin: 0;
    line-height: 1.7;
}
.cc-right { flex-shrink: 0; }
.cc-btn {
    display: inline-block;
    padding: 13px 28px;
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--btn-radius,5px);
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.15s;
    border: 2px solid #fff;
}
.cc-btn:hover { opacity: 0.85; text-decoration: none; }
.cc-btn-outline { background: transparent; color: #fff; }
.cc-btn-filled  { background: #fff; color: var(--color-accent,#fd783b); }

@media (max-width: 768px) {
    .cc-box { padding: 28px 24px; flex-direction: column; }
    .cc-heading { font-size: 1.25rem; }
}

/* ============================================================
   MAP + INFO BLOCK
   ============================================================ */
.block-map-info { padding: 40px 0; }
.mi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.mi-panel {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 24px;
    background: #fff;
}
.mi-heading {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 16px;
}
.mi-map-wrap iframe {
    width: 100%;
    height: 420px;
    border: 0;
    border-radius: 6px;
    display: block;
}
.mi-text {
    font-size: 0.92rem;
    color: #444;
    line-height: 1.7;
    margin: 0 0 18px;
}
.mi-photo {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    max-height: 320px;
}

@media (max-width: 768px) {
    .mi-grid { grid-template-columns: 1fr; }
    .mi-map-wrap iframe { height: 280px; }
}

/* CTA Card — centered layout (full width, no container) */
.cc-centered {
    padding: 48px 10%;
    border-radius: 0 !important;
}
.cc-centered .cc-heading {
    font-size: 1.7rem;
    margin-bottom: 18px;
}

/* ============================================================
   LINKS GRID — LIGHT STYLE (white bg, gray bordered boxes)
   ============================================================ */
.block-links-light {
    padding: 48px 0;
}
.lg-light-header {
    text-align: center;
    margin-bottom: 32px;
}
.lg-sublabel {
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.lg-light-heading {
    font-size: 2rem;
    font-weight: 800;
    color: #111;
    margin: 0;
}
.lg-light-grid {
    gap: 12px;
}
.lg-light-link {
    display: block;
    text-align: center;
    padding: 18px 12px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #1a1a1a;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
    line-height: 1.3;
}
.lg-light-link:hover {
    background: #ebebeb;
    border-color: #ccc;
    text-decoration: none;
    color: #111;
}

@media (max-width: 768px) {
    .lg-light-heading { font-size: 1.4rem; }
}

/* Hero grid tile — label only (no icon) centered */
.hg-tile:not(:has(.hg-tile-icon)) .hg-tile-label {
    font-size: 1rem;
    font-weight: 700;
}

/* ============================================================
   FULL-WIDTH BLOCK OVERRIDES
   Reset content-block flex defaults for full-width layouts
   ============================================================ */
.block-split-cta,
.block-hero-grid,
.block-cta-banner,
.block-wide-banner,
.block-links-grid,
.block-links-light {
    gap: 0 !important;
    flex-wrap: nowrap !important;
    margin-bottom: 0;
}

/* Mobile: allow split_cta to stack */
@media (max-width: 768px) {
    .block-split-cta {
        flex-direction: column !important;
        flex-wrap: wrap !important;
    }
}

/* Links grid — wider container so 5-col grid breathes */
.lg-grid-wrap.container {
    max-width: 1400px;
    padding: 0 24px;
}
.lg-header.container {
    max-width: 860px;
}

/* ── Media Library ──────────────────────────────────────── */
#media-dropzone:hover, #media-dropzone.drag-over {
    border-color: #fd783b;
    background: #fff8f5;
}
.ml-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.ml-thumb {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    background: #e5e7eb;
}
.ml-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity .2s;
}
.ml-thumb:hover img { opacity: 0.75; }
.ml-thumb-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 600;
    color: #fff;
    opacity: 0;
    transition: opacity .2s;
    background: rgba(0,0,0,0.4);
}
.ml-thumb:hover .ml-thumb-overlay { opacity: 1; }
.ml-info { padding: 10px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ml-name { font-size: .78rem; font-weight: 600; color: #374151; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ml-dims { font-size: .72rem; color: #9ca3af; }
.ml-alt-input { font-size: .78rem; padding: 4px 7px; border: 1px solid #d1d5db; border-radius: 4px; width: 100%; box-sizing: border-box; }
.ml-actions { display: flex; gap: 6px; margin-top: auto; }
.btn-danger { background: #dc2626; color: #fff; border-color: #dc2626; }
.btn-danger:hover { background: #b91c1c; border-color: #b91c1c; }
.ml-toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: #fff;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: .9rem;
    z-index: 99999;
    animation: toast-in .25s ease;
}
@keyframes toast-in { from { opacity:0; transform: translateX(-50%) translateY(10px); } to { opacity:1; transform: translateX(-50%) translateY(0); } }

.wb-subtext { color: rgba(255,255,255,0.88); font-size: .95rem; margin-top: 10px; max-width: 540px; line-height: 1.6; }

/* feature_split — image left: DOM order handles position, no flex override needed */

/* feature_split — bullet list style */
.fs-bullet-list { margin: 12px 0 16px 0; padding-left: 20px; }
.fs-bullet-list li { margin-bottom: 10px; line-height: 1.5; color: var(--color-body, #555); }
.fs-bullet-list li strong { color: #1a1a2e; }

/* feature_split — trailing paragraph */
.fs-trailing { margin-top: 12px; color: var(--color-body, #555); line-height: 1.6; }

/* feature_split — phone CTA */
.fs-phone-cta { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.fs-phone-icon { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: #fff; flex-shrink: 0; }
.fs-phone-info { display: flex; flex-direction: column; }
.fs-phone-label { font-size: .82rem; color: #666; }
.fs-phone-num { font-size: 1.15rem; font-weight: 700; text-decoration: none; }

/* ============================================================
   BLOG
   ============================================================ */
.block-blog-list { padding: 48px 0 64px; }
.blog-list-heading {
    font-size: 2.1rem;
    font-weight: 800;
    color: #6b7280;
    text-align: center;
    margin-bottom: 10px;
}
.blog-list-intro {
    text-align: center;
    color: #6b7280;
    max-width: 640px;
    margin: 0 auto 28px;
    line-height: 1.6;
}
.blog-tags-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}
.blog-tag-pill {
    display: inline-block;
    background: #fff;
    border: 1px solid #fbd5b8;
    color: var(--color-accent, #fd783b);
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    padding: 6px 14px;
    border-radius: 999px;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}
.blog-tag-pill:hover { background: #fef3ec; }
.blog-tag-pill.is-active {
    background: var(--color-accent, #fd783b);
    border-color: var(--color-accent, #fd783b);
    color: #fff;
}
.blog-empty { text-align: center; color: #6b7280; padding: 40px 0; }

.blog-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 8px;
}
@media (max-width: 720px) {
    .blog-card-grid { grid-template-columns: 1fr; }
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    transition: transform .18s ease, box-shadow .18s ease;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}
.blog-card-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}
.blog-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card-meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.blog-card-date {
    font-size: .8rem;
    color: #9ca3af;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.blog-card-tag {
    display: inline-block;
    background: #fef3ec;
    color: var(--color-accent, #fd783b);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    padding: 4px 10px;
    border-radius: 999px;
}
.blog-card-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-accent, #fd783b);
    line-height: 1.35;
    margin: 4px 0 10px;
}
.blog-card:hover .blog-card-heading { text-decoration: underline; }
.blog-card-excerpt {
    color: #6b7280;
    font-size: .95rem;
    line-height: 1.55;
    margin: 0;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}
.blog-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 8px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #6b7280;
    font-weight: 600;
    text-decoration: none;
}
.blog-page-link:hover { border-color: var(--color-accent, #fd783b); color: var(--color-accent, #fd783b); }
.blog-page-active {
    background: var(--color-accent, #fd783b);
    border-color: var(--color-accent, #fd783b);
    color: #fff;
}

/* Single post header (post_meta block) */
.block-post-meta { padding: 40px 0 8px; }
.post-meta-heading {
    font-size: 2.1rem;
    font-weight: 800;
    color: #2d2d3a;
    line-height: 1.25;
    margin-bottom: 14px;
}
.post-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
    color: #9ca3af;
    font-size: .9rem;
}
.post-meta-date, .post-meta-author { color: #9ca3af; }
.post-meta-tag {
    display: inline-block;
    background: #fef3ec;
    color: var(--color-accent, #fd783b);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    padding: 4px 10px;
    border-radius: 999px;
}
.post-meta-image {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 8px;
}

/* ============================================================
   BUTTONS GRID BLOCK
   ============================================================ */
.block-buttons-grid { padding: 48px 0; }
.bg-heading { text-align: center; margin-bottom: 28px; }
.bg-grid { display: grid; gap: 12px; }
.bg-grid-2 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.bg-grid-3 { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.bg-grid-4 { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.bg-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity .15s, transform .1s;
    line-height: 1.3;
}
.bg-btn:hover { opacity: .85; transform: translateY(-1px); }

/* ============================================================
   TESTIMONIALS BLOCK
   ============================================================ */
.block-testimonials { padding: 56px 0; }
.tm-heading { text-align: center; margin-bottom: 36px; font-size: 2rem; }
.tm-grid { display: grid; gap: 24px; }
.tm-grid-2 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.tm-grid-3 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.tm-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.tm-stars { font-size: 1.15rem; letter-spacing: 2px; }
.tm-quote { font-size: .97rem; line-height: 1.65; flex: 1; margin: 0; }
.tm-author { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.tm-avatar {
    flex-shrink: 0;
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: .88rem;
    letter-spacing: .5px;
}
.tm-author-text { display: flex; flex-direction: column; gap: 2px; }
.tm-name { font-weight: 700; font-size: .9rem; }
.tm-location { font-size: .82rem; color: #9ca3af; }
.tm-result-badge {
    margin-top: 4px;
    display: inline-block;
    font-size: .8rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1.5px solid;
    align-self: flex-start;
}

/* ============================================================
   STAGE / CAREER PATH CARDS BLOCK
   ============================================================ */
.block-stage-cards { padding: 56px 0; }
.sc-section-heading { text-align: center; margin-bottom: 12px; font-size: 2rem; }
.sc-section-subtext { text-align: center; margin-bottom: 40px; font-size: 1rem; color: #6b7280; max-width: 680px; margin-left: auto; margin-right: auto; }
.sc-stages-grid { display: grid; gap: 32px 24px; }
.sc-cols-2 { grid-template-columns: repeat(2, 1fr); }
.sc-cols-3 { grid-template-columns: repeat(3, 1fr); }
.sc-cols-4 { grid-template-columns: repeat(4, 1fr); }
.sc-cols-5 { grid-template-columns: repeat(5, 1fr); }
.sc-stage-col { padding: 0; }
.sc-stage-num { font-size: 2.5rem; font-weight: 800; line-height: 1; margin-bottom: 4px; }
.sc-stage-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #9ca3af; margin-bottom: 10px; }
.sc-stage-heading { font-size: 1rem; font-weight: 700; margin: 0 0 16px; line-height: 1.35; }
.sc-items-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sc-item { display: flex; align-items: baseline; gap: 6px; font-size: .9rem; }
.sc-item-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0,0,0,.25); transition: text-decoration-color .15s; }
.sc-item-link:hover { text-decoration-color: currentColor; }
@media (max-width: 900px) {
    .sc-cols-4, .sc-cols-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .sc-cols-2, .sc-cols-3, .sc-cols-4, .sc-cols-5 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
    .sc-cols-2, .sc-cols-3, .sc-cols-4, .sc-cols-5 { grid-template-columns: 1fr; }
}

/* ============================================================
   LOGO / TRUST BAR BLOCK
   ============================================================ */
.block-logo-bar { padding: 36px 0; }
.lb-label { text-align: center; font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: #9ca3af; margin-bottom: 24px; }
.lb-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 32px 48px;
}
.lb-item { display: flex; align-items: center; }
.lb-logo { display: block; object-fit: contain; transition: opacity .2s, filter .2s; }
a.lb-item:hover .lb-logo { opacity: 1; filter: none !important; }

/* ============================================================
   VIDEO EMBED BLOCK
   ============================================================ */
.block-video { padding: 40px 0; }
.vid-heading { text-align: center; margin-bottom: 24px; }
.vid-contained { max-width: 800px; margin-left: auto; margin-right: auto; }
.vid-full { max-width: 100%; }
.vid-wrap {
    position: relative;
    padding-top: 56.25%;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
}
.vid-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.vid-caption { text-align: center; color: #6b7280; font-size: .9rem; margin-top: 12px; }

/* =========================================================
   Block Picker Modal
   ========================================================= */
#block-picker-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
}
#block-picker-modal.is-open { display: block; }
.bp-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
}
.bp-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 10px;
    padding: 24px 24px 20px;
    width: 90vw;
    max-width: 760px;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 1;
    box-shadow: 0 12px 40px rgba(0,0,0,.25);
}
.bp-panel h3 {
    margin: 0 0 16px;
    font-size: 1.1rem;
    padding-right: 32px;
}
.bp-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    line-height: 1;
    padding: 0 4px;
}
.bp-close:hover { color: #000; }
.bp-group { margin-bottom: 20px; }
.bp-group-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #888;
    margin-bottom: 8px;
}
.bp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
    gap: 8px;
}
.bp-card {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 6px 6px;
    cursor: pointer;
    text-align: center;
    background: #fff;
    transition: border-color .15s, background .15s;
}
.bp-card:hover { border-color: #4f46e5; background: #f5f4ff; }
.bp-card.is-selected { border-color: #4f46e5; background: #eeeeff; }
.bp-card-thumb { display: block; width: 100%; }
.bp-card-thumb svg { width: 100%; height: auto; display: block; }
.bp-card-name {
    font-size: .68rem;
    color: #444;
    margin-top: 4px;
    line-height: 1.2;
}

/* Trigger button (replaces visible type select in block header) */
.bp-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    padding: 4px 10px 4px 6px;
    cursor: pointer;
    font-size: .82rem;
    color: #333;
    min-width: 130px;
    max-width: 210px;
}
.bp-trigger:hover { border-color: #4f46e5; background: #f9f9ff; }
.bp-trigger-thumb { width: 36px; flex-shrink: 0; }
.bp-trigger-thumb svg { width: 36px; height: auto; display: block; }
.bp-trigger-label { flex: 1; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bp-trigger-arrow { color: #999; font-size: .65rem; flex-shrink: 0; }

/* ---- Contact Form block ---- */
.block-contact-form { padding: 60px 20px; background: var(--color-content-bg, #fff); }
.block-contact-form .section-heading { text-align: center; margin-bottom: 8px; }
.block-contact-form .section-subtext { text-align: center; color: #64748b; margin-bottom: 28px; }
.cf-form { max-width: 640px; margin: 0 auto; }
.cf-row { display: flex; gap: 16px; }
.cf-row .cf-field { flex: 1 1 0; }
.cf-field { display: flex; flex-direction: column; margin-bottom: 16px; }
.cf-field label { font-size: .875rem; font-weight: 600; margin-bottom: 5px; color: #374151; }
.cf-field input,
.cf-field textarea { width: 100%; padding: 10px 14px; border: 1px solid #d1d5db; border-radius: 6px; font-size: .95rem; font-family: inherit; background: #fff; transition: border-color .15s; box-sizing: border-box; }
.cf-field input:focus,
.cf-field textarea:focus { outline: none; border-color: var(--color-accent, #fd783b); box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent, #fd783b) 15%, transparent); }
.cf-field textarea { resize: vertical; min-height: 120px; }
.cf-req { color: #ef4444; }
.cf-notice { max-width: 640px; margin: 0 auto 20px; padding: 14px 18px; border-radius: 6px; font-size: .92rem; }
.cf-success { background: #f0fdf4; border: 1px solid #86efac; color: #166534; }
.cf-error   { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }
.cf-form .cta-btn { margin-top: 8px; }
@media (max-width: 560px) { .cf-row { flex-direction: column; gap: 0; } }
