/* ==========================================================================
   Kibo Berry — site styles
   Colours, fonts, sizes and corner radius come from CSS variables that are
   set in the admin (Settings → Branding & theme). Avoid hard-coding colours.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--font-size);
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--heading); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2, .h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3, .h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--primary); color: #fff; padding: 8px 16px; z-index: 2000; }
.skip-link:focus { left: 8px; top: 8px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 820px; }
.align-center { text-align: center; }
.muted { color: color-mix(in srgb, var(--text) 65%, transparent); }
.span-all { grid-column: 1 / -1; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .8em 1.6em; border-radius: max(var(--radius), 6px); font-weight: 600; font-size: .95rem;
    text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--font-body);
    transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
    line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: color-mix(in srgb, var(--accent) 85%, #000); color: #fff; }
.btn-outline { border-color: currentColor; color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-light { background: #fff; color: var(--heading); }
.btn-light:hover { background: var(--bg-light); color: var(--heading); }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1da851; color: #fff; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
.align-center .btn-row, .section.align-center .btn-row { justify-content: center; }

/* ---------- Announcement + header ---------- */
.announcement { background: var(--accent); color: #fff; text-align: center; font-size: .9rem; font-weight: 600; padding: 8px 16px; }
.announcement a { color: #fff; text-decoration: none; }

.site-header { background: var(--bg); border-bottom: 1px solid color-mix(in srgb, var(--text) 10%, transparent); z-index: 900; }
/* Translucent blur only on desktop: backdrop-filter would trap the fixed mobile menu inside the header */
@media (min-width: 1101px) {
    .site-header { background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
}
.has-sticky-header .site-header { position: sticky; top: 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand-logo { height: var(--logo-height); width: auto; }
.brand-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem; color: var(--primary); }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.site-nav li { position: relative; display: flex; align-items: center; }
.site-nav a { display: block; padding: 10px 12px; text-decoration: none; color: var(--heading); font-weight: 600; font-size: .95rem; border-radius: 8px; white-space: nowrap; }
.site-nav a:hover, .site-nav a.active { color: var(--primary); }
.site-nav > ul > li > a.active { box-shadow: inset 0 -3px 0 var(--primary); border-radius: 0; }
.submenu-toggle { background: none; border: 0; color: var(--text); cursor: pointer; padding: 6px; font-size: .7rem; margin-left: -8px; }
.submenu { position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 0; padding: 8px; background: var(--bg); border-radius: var(--radius); box-shadow: 0 14px 40px rgba(0,0,0,.12); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s ease; }
.has-children:hover .submenu, .has-children:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { font-weight: 500; }
.submenu a:hover { background: var(--bg-light); }
.site-nav a.header-cta { display: inline-flex; padding: .65em 1.3em; color: #fff; border-radius: max(var(--radius), 6px); }
.site-nav a.header-cta:hover { color: #fff; }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--heading); border-radius: 2px; transition: .3s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1100px) {
    .header-inner { min-height: 64px; }
    .brand-logo { height: min(var(--logo-height), 52px); }
    .nav-toggle { display: block; }
    .site-nav {
        position: fixed; top: var(--nav-top, 64px); left: 0; right: 0; bottom: 0; z-index: 950;
        background: var(--bg); flex-direction: column; align-items: stretch; box-shadow: 0 12px 24px rgba(0,0,0,.08);
        gap: 0; padding: 16px 20px 40px; overflow-y: auto; transform: translateX(100%); transition: transform .3s ease; visibility: hidden;
    }
    .nav-open .site-nav { transform: none; visibility: visible; }
    .nav-open { overflow: hidden; }
    .site-nav > ul { flex-direction: column; gap: 0; }
    .site-nav li { flex-wrap: wrap; border-bottom: 1px solid color-mix(in srgb, var(--text) 10%, transparent); }
    .site-nav li a { flex: 1; padding: 16px 4px; font-size: 1.05rem; }
    .site-nav > ul > li > a.active { box-shadow: none; }
    .submenu-toggle { padding: 16px; margin: 0; font-size: .85rem; }
    .submenu { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; padding: 0 0 8px 16px; }
    .has-children.open .submenu { display: block; }
    .has-children:hover .submenu { display: none; }
    .has-children.open:hover .submenu { display: block; }
    .site-nav li li { border: 0; }
    .site-nav a.header-cta { margin-top: 24px; padding: 14px; font-size: 1rem; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(56px, 8vw, 96px) 0; }
.section.pad-compact { padding: clamp(32px, 5vw, 56px) 0; }
.section.pad-spacious { padding: clamp(80px, 12vw, 140px) 0; }
/* Two sections in a row with the same background read as one: don't double the gap between them */
.section.bg-white + .section.bg-white { padding-top: 0; }
.section.bg-light + .section.bg-light { padding-top: 0; }
.section.bg-brand + .section.bg-brand { padding-top: 0; }
.section.bg-accent + .section.bg-accent { padding-top: 0; }
.section.bg-dark + .section.bg-dark { padding-top: 0; }
.section.bg-white:has(+ .section.bg-white) { padding-bottom: clamp(24px, 3vw, 40px); }
.section.bg-light:has(+ .section.bg-light) { padding-bottom: clamp(24px, 3vw, 40px); }
.section.bg-brand:has(+ .section.bg-brand) { padding-bottom: clamp(24px, 3vw, 40px); }
.section.bg-accent:has(+ .section.bg-accent) { padding-bottom: clamp(24px, 3vw, 40px); }
.section.bg-dark:has(+ .section.bg-dark) { padding-bottom: clamp(24px, 3vw, 40px); }
.bg-white { background: var(--bg); }
.bg-light { background: var(--bg-light); }
.bg-brand { background: var(--primary); }
.bg-accent { background: var(--accent); }
.bg-dark { background: var(--bg-dark); }
.bg-brand, .bg-accent, .bg-dark { color: rgba(255,255,255,.88); }
.bg-brand :is(h1,h2,h3,h4), .bg-accent :is(h1,h2,h3,h4), .bg-dark :is(h1,h2,h3,h4) { color: #fff; }
.bg-brand a:not(.btn), .bg-accent a:not(.btn), .bg-dark a:not(.btn) { color: #fff; }
.bg-brand .eyebrow, .bg-accent .eyebrow, .bg-dark .eyebrow { color: rgba(255,255,255,.8); }
.bg-brand .btn-primary, .bg-dark .btn-primary { background: #fff; color: var(--primary); }
.bg-accent .btn-accent { background: #fff; color: var(--accent); }
.bg-brand .btn-outline, .bg-accent .btn-outline, .bg-dark .btn-outline { color: #fff; }
.bg-brand .btn-outline:hover, .bg-dark .btn-outline:hover { background: #fff; color: var(--primary); border-color: #fff; }
.bg-brand .card, .bg-accent .card, .bg-dark .card { color: var(--text); }
.bg-brand .card :is(h2, h3), .bg-accent .card :is(h2, h3), .bg-dark .card :is(h2, h3) { color: var(--heading); }

.align-left .section-head { text-align: left; margin-left: 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); }
.section-head h2 { margin-bottom: .4em; }
.section.align-center .narrow { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--accent); margin-bottom: .8em; }
.lead { font-size: 1.15em; opacity: .92; }
.outro { text-align: center; font-family: var(--font-heading); font-weight: 600; font-size: 1.2rem; color: var(--primary); margin-top: 2em; }
.bg-brand .outro, .bg-dark .outro { color: #fff; }

.rich-text > :last-child { margin-bottom: 0; }
.rich-text ul, .rich-text ol { padding-left: 1.3em; }
.section.align-center .rich-text :is(ul, ol) { display: inline-block; text-align: left; }
.rich-text blockquote { border-left: 4px solid var(--accent); margin: 1.5em 0; padding: .2em 0 .2em 1.2em; font-style: italic; }

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; align-items: center; color: #fff; overflow: hidden; isolation: isolate; }
.hero-full { min-height: min(calc(100svh - 76px), 960px); }
.hero-large { min-height: min(78svh, 760px); }
.hero-medium { min-height: 480px; }
.hero-small { min-height: 320px; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.25), #000); opacity: calc(var(--overlay, 45) / 100); }
.hero-content { padding-block: 80px; }
.hero.align-center .hero-content { text-align: center; max-width: 900px; }
.hero.align-center .btn-row { justify-content: center; }
.hero.align-left .hero-content > * { max-width: 680px; }
.hero h1 { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.25); margin-bottom: .35em; }
.hero .eyebrow { color: #fff; opacity: .9; }
.hero-text { font-size: clamp(1.05rem, 2vw, 1.3rem); opacity: .95; }
.hero.align-center .hero-text { margin-inline: auto; max-width: 720px; }

/* ---------- Page header (inner pages) ---------- */
.page-header { position: relative; background: var(--bg-light); padding: clamp(56px, 9vw, 110px) 0 clamp(48px, 7vw, 80px); text-align: center; isolation: isolate; overflow: hidden; }
.page-header .lead { max-width: 720px; margin-inline: auto; }
.page-header h1 { margin-bottom: .3em; }
.page-header.has-image { color: #fff; }
.page-header.has-image h1 { color: #fff; }
.page-header-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-header-overlay { position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.6)); z-index: -1; }

/* ---------- Grid + cards ---------- */
.grid { display: grid; gap: clamp(16px, 2.5vw, 28px); }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
@media (min-width: 900px) {
    .grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
    .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
    .grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}
.card { background: var(--bg); border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--text) 10%, transparent); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.08); }
.bg-white .card { background: var(--bg-light); border-color: transparent; }
.card-body { padding: 24px; }
.card :is(h2, h3) a { color: inherit; text-decoration: none; }
.feature-card { padding: 28px; text-align: left; }
.section.align-center .feature-card { text-align: center; }
.feature-card p:last-child { margin-bottom: 0; }
.card-img { border-radius: calc(var(--radius) - 4px); margin-bottom: 18px; width: 100%; }
.card-icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 15%, transparent); color: var(--accent); font-size: 1.5rem; margin-bottom: 18px; }
.card-icon.big { width: 88px; height: 88px; font-size: 2.6rem; color: var(--primary); background: color-mix(in srgb, var(--primary) 12%, transparent); }

/* ---------- Image + text ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-image-right .split-media { order: 2; }
.split-media img { width: 100%; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,.12); }
.section.align-center .split-body { text-align: left; }
.section.align-center .split .btn-row { justify-content: flex-start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split-image-right .split-media { order: 0; } }

/* ---------- Lists ---------- */
.ticks { list-style: none; padding: 0; margin: 1em 0; }
.ticks li { position: relative; padding-left: 1.9em; margin-bottom: .55em; }
.ticks li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: .1em; color: var(--primary); }

.checklist { list-style: none; padding: 0; margin: 0 auto; display: grid; gap: 16px 32px; counter-reset: item; text-align: left; }
.checklist.cols-1 { max-width: 760px; }
@media (min-width: 760px) { .checklist.cols-2 { grid-template-columns: repeat(2, 1fr); } .checklist.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.checklist li { display: flex; gap: 16px; padding: 20px; background: var(--bg-light); border-radius: var(--radius); counter-increment: item; }
.bg-light .checklist li { background: var(--bg); }
.bg-brand .checklist li, .bg-dark .checklist li, .bg-accent .checklist li { background: rgba(255,255,255,.08); }
.checklist li::before { flex-shrink: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; font-size: .85rem; }
.checklist-check li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; }
.checklist-numbered li::before { content: counter(item); font-family: var(--font-heading); }
.checklist-berry li::before { content: ""; background: url("../img/icon-raspberry.79d4f615dad2.svg") center/70% no-repeat, color-mix(in srgb, var(--accent) 18%, transparent); }
.checklist strong { display: block; color: var(--heading); font-family: var(--font-heading); font-size: 1.05rem; }
.bg-brand .checklist strong, .bg-dark .checklist strong, .bg-accent .checklist strong { color: #fff; }
.checklist p { margin: .3em 0 0; font-size: .95em; }

/* ---------- Products ---------- */
.product-media { position: relative; aspect-ratio: 7 / 5; background: var(--bg-light); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 10%, var(--bg-light)); }
.product-placeholder img { width: 40%; height: auto; object-fit: contain; }
.badge { position: absolute; top: 14px; left: 14px; background: var(--accent); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.product-card { text-align: left; }
.price { font-family: var(--font-heading); font-weight: 700; color: var(--primary); font-size: 1.2rem; margin: .4em 0 0; }
.price small { font-weight: 500; font-size: .75em; color: var(--text); }
.product-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; text-align: left; }
.product-row + .product-row { margin-top: clamp(48px, 7vw, 88px); }
.product-row:nth-child(even) .product-media { order: 2; }
.product-row .product-media { border-radius: var(--radius); }
.product-row .product-name { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.tagline { font-size: 1.1em; color: var(--primary); font-weight: 600; }
.label { font-weight: 700; color: var(--heading); margin: 1.2em 0 .5em; }
.pills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { background: color-mix(in srgb, var(--primary) 10%, transparent); color: var(--primary-dark); padding: 6px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600; }
.stock-out { color: #b42318; font-weight: 600; }
@media (max-width: 820px) { .product-row { grid-template-columns: 1fr; } .product-row:nth-child(even) .product-media { order: 0; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; text-align: center; }
.stat-value { display: block; font-family: var(--font-heading); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); color: var(--primary); line-height: 1.1; }
.bg-brand .stat-value, .bg-dark .stat-value, .bg-accent .stat-value { color: #fff; }
.stat-label { font-size: .95rem; }

/* ---------- Gallery ---------- */
.gallery figure { margin: 0; }
.gallery img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .3s ease, filter .3s ease; }
.gallery a:hover img { filter: brightness(1.05); transform: scale(1.01); }
.gallery figcaption { font-size: .88rem; margin-top: 8px; opacity: .8; }
.lightbox-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.9); display: grid; place-items: center; z-index: 3000; padding: 24px; cursor: zoom-out; }
.lightbox-overlay img { max-height: 85vh; width: auto; border-radius: 8px; }
.lightbox-overlay p { color: #fff; text-align: center; margin-top: 12px; }

/* ---------- Quote ---------- */
.big-quote { margin: 0; text-align: center; }
.big-quote p { font-family: var(--font-heading); font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.45; color: var(--heading); }
.big-quote p::before { content: "\201C"; display: block; font-size: 4rem; line-height: 1; color: var(--accent); }
.bg-brand .big-quote p, .bg-dark .big-quote p { color: #fff; }

/* ---------- Team ---------- */
.team-member { text-align: center; }
.team-member img, .avatar { width: 160px; height: 160px; border-radius: 50%; margin: 0 auto 16px; object-fit: cover; }
.avatar { display: grid; place-items: center; background: color-mix(in srgb, var(--primary) 15%, transparent); color: var(--primary); font-size: 3rem; font-weight: 700; font-family: var(--font-heading); }
.team-member :is(h2, h3) { margin-bottom: .2em; }
.role { color: var(--accent); font-weight: 600; font-size: .9rem; }
.bio { font-size: .92rem; }

/* ---------- CTA ---------- */
.cta { text-align: center; isolation: isolate; overflow: hidden; }
.cta .narrow { text-align: center; }
.cta .btn-row { justify-content: center; }
.cta-image { color: #fff; }
.cta-image h2 { color: #fff; }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--bg-dark) 72%, transparent); z-index: -1; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; text-align: left; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: var(--bg-light); border-radius: var(--radius); text-decoration: none; color: var(--text); border: 1px solid transparent; transition: border-color .2s, transform .2s; }
.bg-light .contact-card { background: var(--bg); }
a.contact-card:hover { border-color: var(--primary); transform: translateY(-2px); color: var(--text); }
.contact-card i { flex-shrink: 0; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary); font-size: 1.25rem; }
.contact-card .fa-whatsapp { color: #1da851; background: rgba(37,211,102,.14); }
.contact-card strong { display: block; color: var(--heading); font-family: var(--font-heading); }
.contact-card span { font-size: .95rem; overflow-wrap: anywhere; }
.form-aside .contact-cards { grid-template-columns: 1fr; }
.map { margin-top: 32px; border-radius: var(--radius); overflow: hidden; height: 400px; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.form-layout.form-only { grid-template-columns: minmax(0, 760px); justify-content: center; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }
.form-panel { padding: clamp(24px, 4vw, 40px); }
.form-panel:hover { transform: none; box-shadow: none; }
.form-intro { margin-bottom: 24px; }
.site-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.site-form .field { grid-column: span 1; }
.site-form .field-textarea, .site-form .field-checkbox, .site-form .field-checkboxselectmultiple, .site-form .field-radioselect, .site-form .btn, .site-form .form-error { grid-column: 1 / -1; }
@media (max-width: 600px) { .site-form { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; color: var(--heading); margin-bottom: 6px; font-size: .92rem; }
.field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea, .search-form input {
    width: 100%; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--text); background: var(--bg);
    border: 1.5px solid color-mix(in srgb, var(--text) 18%, transparent); border-radius: max(calc(var(--radius) - 4px), 6px); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .search-form input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 18%, transparent); }
.field ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.field ul label { font-weight: 400; display: flex; gap: 8px; align-items: center; }
.field-checkbox label { display: flex; gap: 10px; align-items: center; font-weight: 400; }
.req { color: #b42318; }
.help { display: block; margin-top: 4px; opacity: .7; }
.error, .form-error { color: #b42318; font-size: .88rem; display: block; margin-top: 4px; }
.has-error input, .has-error textarea, .has-error select { border-color: #b42318 !important; }
.thank-you .card-icon { margin-bottom: 24px; }
.search-form { display: flex; gap: 10px; max-width: 600px; margin: 24px auto 0; }
.search-results { list-style: none; padding: 0; }
.search-results li { padding: 20px 0; border-bottom: 1px solid color-mix(in srgb, var(--text) 10%, transparent); }

/* ---------- Blog ---------- */
.intro-lead { max-width: 720px; margin: 0 auto 32px; }
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 40px; }
.filter-bar a { padding: 8px 18px; border-radius: 999px; background: var(--bg-light); text-decoration: none; color: var(--heading); font-weight: 600; font-size: .9rem; }
.filter-bar a.active, .filter-bar a:hover { background: var(--primary); color: #fff; }
.post-card { text-align: left; display: flex; flex-direction: column; }
.post-media { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-light); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-media img { transform: scale(1.04); }
.post-card .card-body { display: flex; flex-direction: column; flex: 1; }
.post-card .read-more { margin-top: auto; font-weight: 600; text-decoration: none; }
.meta { font-size: .85rem; opacity: .75; margin-bottom: .6em; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 48px; font-weight: 600; }
.post-header { padding: clamp(48px, 7vw, 88px) 0 32px; text-align: center; background: var(--bg-light); }
.post-header .lead { margin-top: .6em; }
.back-link { display: inline-block; margin-bottom: 24px; font-weight: 600; text-decoration: none; font-size: .9rem; }
.post-cover { margin-top: -8px; }
.post-cover img { width: 100%; border-radius: var(--radius); max-height: 640px; object-fit: cover; }
.post-body { padding-block: 48px 80px; font-size: 1.06em; }
.post-body .rich-text { margin-bottom: 1.5em; }
.article-image { margin: 2em 0; }
.article-image img { border-radius: var(--radius); width: 100%; }
.article-image figcaption { font-size: .88rem; opacity: .75; margin-top: 8px; text-align: center; }
.article-quote { margin: 2em 0; padding: 24px 28px; background: var(--bg-light); border-left: 5px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--font-heading); font-size: 1.2em; color: var(--heading); }
.article-quote p { margin: 0; }
.article-quote footer { font-family: var(--font-body); font-size: .8em; margin-top: 10px; color: var(--text); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2em; }
.tags a { background: var(--bg-light); padding: 4px 12px; border-radius: 999px; text-decoration: none; font-size: .85rem; }
.share { display: flex; align-items: center; gap: 10px; margin-top: 2em; padding-top: 1.5em; border-top: 1px solid color-mix(in srgb, var(--text) 10%, transparent); font-weight: 600; }
.share a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-light); text-decoration: none; }
.share a:hover { background: var(--primary); color: #fff; }

/* ---------- Embeds ---------- */
.embed { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; margin: 1.5em 0; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.caption { text-align: center; font-size: .9rem; opacity: .8; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,.75); padding-top: clamp(48px, 7vw, 80px); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-title { font-family: var(--font-heading); color: #fff; font-weight: 700; font-size: 1.1rem; margin-bottom: 1em; }
.footer-logo { height: 80px; width: auto; margin-bottom: 16px; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-links, .footer-contact, .social { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .5em; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 1em; }
.footer-contact i { color: var(--accent); margin-top: .35em; width: 16px; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); }
.social a:hover { background: var(--accent); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-block: 24px; font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---------- Floating buttons ---------- */
.floating-actions { position: fixed; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 10px; z-index: 800; align-items: flex-end; }
.float-btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; box-shadow: 0 8px 24px rgba(0,0,0,.18); transition: transform .2s; }
.float-btn:hover { transform: translateY(-3px); color: #fff; }
.float-btn i { font-size: 1.25rem; }
.float-whatsapp { background: #25d366; }
.float-email { background: var(--accent); }
@media (max-width: 600px) { .float-btn span { display: none; } .float-btn { width: 54px; height: 54px; padding: 0; justify-content: center; } }

/* ---------- Scroll animations ---------- */
.js .has-animations .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .has-animations .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .has-animations .reveal { opacity: 1; transform: none; transition: none; }
    .btn:hover, .card:hover { transform: none; }
}

.map-actions { justify-content: center; }
