/* ReviveBiz website. Brand tokens: navy, emerald, gold, white. No build step. */
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
    --navy: #102B5C;
    --green: #159447;
    --green-dark: #0F7A39;      /* derived from Emerald for white-on-green text contrast */
    --gold: #D9A928;
    --white: #FFFFFF;
    --ink: #102B5C;             /* navy-derived body text */
    --muted: #4b5b7c;
    --line: #dfe4ee;
    --tint: #f3f5fa;
    --radius: 18px;
    --wrap: 1240px;
    --shadow-sm: 0 1px 2px rgba(16, 43, 92, .06), 0 4px 12px -6px rgba(16, 43, 92, .12);
    --shadow-lg: 0 1px 2px rgba(16, 43, 92, .05), 0 28px 60px -28px rgba(16, 43, 92, .38);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: "Montserrat", "Segoe UI", system-ui, -apple-system, Arial, sans-serif; font-size: 16.065px; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--navy); }
h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.079rem, 4.347vw, 3.308rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.607rem, 3.213vw, 2.457rem); }
h3 { font-size: 1.228rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Announcement strip + header */
.strip { background: var(--navy); color: rgba(255, 255, 255, .92); text-align: center; font-size: 12.285px; font-weight: 500; letter-spacing: .02em; padding: 6px 16px; }
.strip::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-right: 10px; vertical-align: 2px; }
.header { background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid rgba(16, 43, 92, .08); position: sticky; top: 0; z-index: 40; transition: box-shadow .3s var(--ease); }
.header.scrolled { box-shadow: 0 10px 30px -18px rgba(16, 43, 92, .45); }
.header-in { display: flex; align-items: center; gap: 20px; min-height: 62px; }
/* The logo is larger than the bar and hangs a little below it, so the bar itself can stay slim. */
.brand { display: flex; flex-shrink: 0; align-self: flex-start; height: 62px; position: relative; z-index: 2; }
/* Logo in two layers: the gold ring turns slowly, the name stays still. */
.logo { position: relative; display: block; flex-shrink: 0; border-radius: 50%; background: var(--white); }
.logo img { position: absolute; left: 5%; top: 5%; width: 90%; height: 90%; }
.logo-ring { animation: ring-turn 16s linear infinite; }
@keyframes ring-turn { to { transform: rotate(360deg); } }
.brand .logo { width: 101px; height: 101px; margin-top: 3px; box-shadow: 0 10px 22px -10px rgba(16, 43, 92, .55); }
.nav { display: none; gap: 4px; margin-left: auto; }
.nav a { position: relative; text-decoration: none; white-space: nowrap; font-size: 14.175px; font-weight: 600; color: var(--ink); padding: 10px 12px; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover { color: var(--green-dark); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--green-dark); }
.header .btn { margin-left: auto; }
.menu-btn { width: 44px; height: 44px; border: 1px solid var(--line); background: var(--white); border-radius: 10px; display: grid; place-content: center; gap: 5px; cursor: pointer; }
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--navy); }
.nav.open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; box-shadow: 0 14px 24px rgba(16, 43, 92, .08); }
.nav.open a { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 15.12px; }
.nav.open a::after { display: none; }
@media (min-width: 1000px) {
    .nav { display: flex; }
    .header .btn { margin-left: 8px; }
    .menu-btn { display: none; }
}

/* Buttons */
.btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 26px; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 700; font-size: 15.12px; letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-navy::after, .btn-green::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .22) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn-navy:hover::after, .btn-green:hover::after { transform: translateX(120%); }
.btn-navy { background: var(--navy); color: var(--white); box-shadow: 0 10px 22px -12px rgba(16, 43, 92, .7); }
.btn-navy:hover { background: #0b1f45; box-shadow: 0 14px 28px -12px rgba(16, 43, 92, .75); }
.btn-green { background: var(--green-dark); color: var(--white); box-shadow: 0 10px 22px -12px rgba(15, 122, 57, .75); }
.btn-green:hover { background: #0c6a31; box-shadow: 0 14px 28px -12px rgba(15, 122, 57, .8); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); box-shadow: 0 10px 22px -12px rgba(16, 43, 92, .7); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: #f3f5fa; }
.btn-sm { min-height: 44px; padding: 8px 20px; font-size: 14.175px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }
.text-link { font-weight: 600; color: var(--navy); text-underline-offset: 4px; }
.text-link:hover { color: var(--green-dark); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* Hero */
.hero { background: linear-gradient(180deg, #f3f5fa 0%, var(--white) 78%); padding: 34px 0 40px; }
.hero-in { display: grid; gap: 28px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 12.285px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-dark); margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--gold); flex-shrink: 0; }
.hl { color: var(--green-dark); }
.hero-text { font-size: clamp(0.992rem, 1.512vw, 1.153rem); color: var(--muted); max-width: 34em; }
.hero-line { margin-top: 24px; font-size: 13.23px; font-weight: 600; color: var(--navy); padding-top: 14px; border-top: 2px solid var(--gold); display: inline-block; }
@media (min-width: 960px) {
    .hero { padding: 14px 0 40px; }
    .hero-in { grid-template-columns: minmax(0, 1fr) minmax(440px, 560px); align-items: center; gap: 48px; }
}

/* Form */
.form-card { position: relative; background: var(--white); border: 1px solid rgba(16, 43, 92, .09); border-radius: 22px; padding: 18px 20px; scroll-margin-top: 100px; box-shadow: var(--shadow-sm); }
.form-card-hero { box-shadow: var(--shadow-lg); }
.form-card-hero::before { content: ""; position: absolute; top: -1px; left: 28px; right: 28px; height: 3px; border-radius: 0 0 4px 4px; background: var(--gold); }
.form-title { font-size: 1.228rem; margin-bottom: 8px; }
.lead-fields { display: grid; gap: 10px; }
.field-row { display: grid; gap: 10px; }
@media (min-width: 480px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 3px; font-size: 13.23px; font-weight: 600; color: var(--ink); }
.field em { font-style: normal; font-weight: 500; color: var(--muted); }
.field input, .field select { width: 100%; min-height: 44px; padding: 8px 14px; border: 1.5px solid #c9d1e0; border-radius: 12px; font: inherit; font-size: 15.12px; font-weight: 500; color: var(--ink); background: #FFFFFF; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field input:hover, .field select:hover { border-color: #c9d1e0; }
.field input:focus, .field select:focus { outline: none; border-color: var(--green); background: var(--white); box-shadow: 0 0 0 4px rgba(21, 148, 71, .14); }
.field input::placeholder { color: #7d8aa5; font-weight: 400; }
.form-note { font-size: 11.812px; color: var(--muted); margin: 0; }
.form-error { margin: 0; padding: 10px 12px; border-radius: 10px; background: #fbf3dc; color: #102B5C; font-size: 13.23px; font-weight: 600; }
.hp { position: absolute; left: -9999px; }
.lead-done { text-align: left; padding: 6px 2px; }
.done-title { font-size: 1.228rem; font-weight: 700; color: var(--green-dark); margin-bottom: 6px; }
@media (min-width: 560px) { .form-card { padding: 18px 26px 16px; } }

/* Plant film: 36 frames in one image, 6 across; site.js moves the background to show a frame.
   In the hero form the film stands beside the fields (the field wrappers become grid items). */
.plant-film { aspect-ratio: 280 / 428; border-radius: 16px; background: #102B5C url(img/plant-growth.webp?v=3) 0 0 / 600% 600% no-repeat; box-shadow: 0 0 0 2px var(--white), 0 0 0 3.5px var(--gold), 0 18px 34px -16px rgba(16, 43, 92, .55); transition: opacity .5s ease; }
.plant-film.fading { opacity: .25; }
.plant-copy .form-title { margin-bottom: 2px; }
.plant-line { margin: 0; font-size: 13.703px; font-weight: 600; color: var(--green-dark); line-height: 1.35; }
.has-plant { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 16px; row-gap: 7px; align-items: start; }
.has-plant .field input, .has-plant .field select { min-height: 41px; padding-top: 6px; padding-bottom: 6px; }
.has-plant .plant-film { grid-column: 1; grid-row: 1; }
.has-plant .plant-copy { grid-column: 2; grid-row: 1; align-self: center; }
.has-plant .lead-fields:not([hidden]), .has-plant .field-row { display: contents; }
.has-plant .lead-fields > *, .has-plant .field-row > *, .has-plant .lead-done { grid-column: 1 / -1; }
@media (min-width: 520px) {
    .has-plant { grid-template-columns: 168px minmax(0, 1fr); column-gap: 24px; }
    .has-plant .plant-copy { grid-column: 1 / -1; grid-row: 1; margin-bottom: 0; }
    .has-plant .plant-film { grid-row: 2 / span 5; align-self: center; }
    .has-plant .field-row > *, .has-plant .lead-fields > .field { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
    .plant-film { transition: none; }
    html { scroll-behavior: auto; }
}

/* Sections */
.section { padding: 64px 0; }
.section-tint { background: var(--tint); }
.section-rule { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-intro { color: var(--muted); max-width: 40em; margin-bottom: 28px; }
.page-head { padding: 48px 0 40px; background: linear-gradient(180deg, #f3f5fa 0%, var(--white) 100%); }
.page-head h1 { font-size: clamp(1.89rem, 4.158vw, 3.024rem); }
@media (min-width: 960px) { .section { padding: 96px 0; } .page-head { padding: 80px 0 56px; } }

.split { display: grid; gap: 36px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr minmax(340px, 440px); gap: 64px; align-items: start; } .split-wide { grid-template-columns: 1fr 1fr; } }

/* Service cards */
.cards { display: grid; gap: 18px; }
.card { position: relative; background: var(--white); border: 1px solid rgba(16, 43, 92, .1); border-radius: var(--radius); padding: 28px 26px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.card::before { content: ""; position: absolute; top: -1px; left: 26px; width: 44px; height: 3px; border-radius: 0 0 3px 3px; background: var(--gold); transition: width .4s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(21, 148, 71, .35); }
.card:hover::before { width: calc(100% - 52px); }
.card h3 { font-size: 1.37rem; margin-bottom: 12px; }
.card ul { margin: 0 0 22px; padding-left: 20px; color: var(--ink); }
.card li { margin-bottom: 6px; }
.card li::marker { color: var(--green); }
.card-actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.also { margin-top: 26px; color: var(--muted); }
.also a { text-decoration: none; font-weight: 600; color: var(--navy); }
.also a:hover { color: var(--green-dark); }
@media (min-width: 860px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

.empty { border: 1.5px dashed #c9d1e0; border-radius: var(--radius); padding: 28px 24px; background: var(--white); max-width: 720px; }
.empty p { margin-bottom: .6em; }
.empty .btn { margin-top: 8px; }

.industry-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; max-width: 900px; }
.industry-list li { border-bottom: 1px solid var(--line); }
.industry-list a { display: block; padding: 13px 0; text-decoration: none; font-weight: 600; }
.industry-list a:hover { color: var(--green-dark); }
@media (min-width: 760px) { .industry-list { grid-template-columns: repeat(3, 1fr); } }
.small-note { font-size: 13.23px; color: var(--muted); margin-top: 16px; }

.steps { list-style: none; counter-reset: s; margin: 24px 0 0; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 22px 56px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--navy); color: var(--navy); font-weight: 700; display: grid; place-items: center; font-size: 15.12px; }
.steps strong { display: block; color: var(--navy); }
.steps span { color: var(--muted); font-size: 15.12px; }
.editorial { border-left: 3px solid var(--gold); padding-left: 24px; }
.editorial h2 { font-size: clamp(1.418rem, 2.457vw, 1.984rem); }
.editorial p { color: var(--ink); }

.plain-list { list-style: none; margin: 20px 0 0; padding: 0; }
.plain-list li { padding: 13px 0; border-bottom: 1px solid var(--line); }
.ticks { list-style: none; margin: 22px 0 0; padding: 0; }
.ticks li { padding-left: 28px; position: relative; margin-bottom: 10px; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.lead-text { color: var(--muted); font-size: 1.04rem; }
.contact-list { list-style: none; margin: 26px 0 0; padding: 0; }
.contact-list li { padding: 13px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 110px 1fr; gap: 10px; }
.contact-list span { color: var(--muted); font-size: 14.175px; }
.prose h2 { font-size: 1.418rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.draft { display: inline-block; background: #fbf3dc; border: 1px solid var(--gold); color: #8a6a10; font-size: 13.23px; font-weight: 600; padding: 6px 12px; border-radius: 8px; }

/* FAQ */
.faq { margin-top: 22px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 700; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 24.57px; font-weight: 500; color: var(--green-dark); }
.faq summary::after { transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; margin: 0; color: var(--ink); max-width: 44em; }

/* CTA + footer */
.cta-band { background: radial-gradient(900px 320px at 88% 0%, rgba(217, 169, 40, .16), transparent 60%), var(--navy); border-top: 3px solid var(--gold); padding: 56px 0; }
.cta-in { display: grid; gap: 8px; }
.cta-band h2 { color: var(--white); margin: 0; max-width: 16em; }
@media (min-width: 900px) { .cta-in { grid-template-columns: 1fr auto; align-items: center; } .cta-band .actions { margin-top: 0; } .cta-band { padding: 72px 0; } }

.footer { background: #0b1f45; color: rgba(255, 255, 255, .78); padding: 56px 0 96px; font-size: 14.175px; }
.footer-about .logo { width: 86px; height: 86px; }
.footer-in { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.footer-about { grid-column: 1 / -1; max-width: 26em; }
.footer-about p { color: rgba(255, 255, 255, .72); margin-top: 14px; }
.footer h3 { font-size: 12.285px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; color: var(--gold); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; }
.footer a { text-decoration: none; color: rgba(255, 255, 255, .88); transition: color .2s; }
.footer a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.footer-legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12.285px; color: rgba(255, 255, 255, .6); }
@media (min-width: 860px) { .footer-in { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .footer-about { grid-column: auto; } .footer { padding-bottom: 56px; } }

/* Chat */
.chat { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.chat-launch { width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--green-dark); color: var(--white); cursor: pointer; display: grid; place-items: center; box-shadow: 0 0 0 3px rgba(255, 255, 255, .9), 0 14px 30px -8px rgba(16, 43, 92, .45); position: relative; transition: transform .25s var(--ease), background-color .2s; }
.chat-launch:hover { background: #0c6a31; transform: translateY(-2px) scale(1.04); }
.chat-dot { position: absolute; top: 4px; right: 4px; width: 13px; height: 13px; border-radius: 50%; background: var(--gold); border: 2px solid var(--white); }
.chat-panel { position: absolute; right: 0; bottom: calc(100% + 12px); width: min(370px, calc(100vw - 32px)); height: min(540px, calc(100vh - 120px)); background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(16, 43, 92, .28); display: flex; flex-direction: column; overflow: hidden; }
.chat-head { background: var(--navy); color: var(--white); padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; }
.chat-head strong { display: block; font-size: 15.12px; }
.chat-status { font-size: 11.812px; opacity: .85; }
.chat-close { background: none; border: 0; color: var(--white); font-size: 26.46px; line-height: 1; cursor: pointer; width: 40px; height: 40px; }
.chat-start { flex: 1; padding: 18px; display: grid; gap: 12px; align-content: start; overflow-y: auto; }
.chat-start p { margin: 0; font-size: 13.703px; color: var(--muted); }
.chat-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: #f3f5fa; }
.msg { max-width: 84%; padding: 9px 13px; border-radius: 14px; font-size: 13.703px; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; }
.msg-visitor { align-self: flex-end; background: var(--navy); color: var(--white); border-bottom-right-radius: 4px; }
.msg-agent, .msg-bot { align-self: flex-start; background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg-system { align-self: center; background: none; color: var(--muted); font-size: 11.812px; padding: 2px 8px; text-align: center; }
.chat-send { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: var(--white); }
.chat-send input { flex: 1; min-height: 44px; border: 1.5px solid #c9d1e0; border-radius: 999px; padding: 8px 16px; font: inherit; font-size: 14.175px; }
.chat-send input:focus { outline: none; border-color: var(--green); }

/* Enquiry pop-up */
.modal { border: 0; padding: 0; background: transparent; width: min(560px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px); overflow: visible; }
.modal::backdrop { background: rgba(11, 31, 69, .55); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.modal-card { position: relative; background: var(--white); border-radius: 24px; padding: 30px 28px 26px; box-shadow: 0 40px 90px -30px rgba(11, 31, 69, .6); max-height: calc(100dvh - 24px); overflow-y: auto; opacity: 0; transform: translateY(14px) scale(.97); transition: opacity .22s var(--ease), transform .28s var(--ease); }
.modal-card::before { content: ""; position: absolute; top: 0; left: 30px; right: 30px; height: 3px; border-radius: 0 0 4px 4px; background: var(--gold); }
.modal.is-open .modal-card { opacity: 1; transform: none; }
.modal .form-title { font-size: 1.512rem; margin-bottom: 6px; }
.modal-text { color: var(--muted); font-size: 14.175px; margin-bottom: 18px; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--navy); font-size: 22.68px; line-height: 1; cursor: pointer; transition: background-color .2s, transform .25s var(--ease); }
.modal-close:hover { background: #f3f5fa; transform: rotate(90deg); }

/* Sections fade up gently as they scroll into view (added by site.js; skipped for reduced motion) */
.pre { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.pre.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .btn, .card, .modal-card { transition: none; } .btn:hover, .card:hover { transform: none; } }

/* Phones zoom into form fields under 16px, so fields keep 16px on small screens. */
@media (max-width: 700px) { .field input, .field select, .chat-send input { font-size: 16.8px; } }

/* Call button under the chat button */
.call-fab { position: relative; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--white); box-shadow: 0 0 0 3px rgba(255, 255, 255, .9), 0 12px 26px -8px rgba(16, 43, 92, .5); transition: transform .25s var(--ease), background-color .2s; }
.call-fab:hover { background: #0b1f45; transform: translateY(-2px) scale(1.04); }
.call-tip { position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%); white-space: nowrap; background: var(--navy); color: var(--white); font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.call-fab:hover .call-tip, .call-fab:focus-visible .call-tip { opacity: 1; }

/* Buy / Sell flip button */
.btn-flip { min-width: 13.5em; perspective: 500px; }
.flip-text { display: inline-block; transition: transform .26s ease-in, opacity .26s ease-in; }
.flip-text.out { transform: rotateX(90deg); opacity: 0; }

@media (prefers-reduced-motion: reduce) { .logo-ring { animation: none; } .flip-text { transition: none; } }

/* Content blocks */
.need-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.need-grid a { display: grid; gap: 4px; height: 100%; padding: 18px 20px; border: 1px solid rgba(16, 43, 92, .1); border-radius: 14px; background: var(--white); text-decoration: none; color: var(--ink); transition: border-color .25s, box-shadow .25s var(--ease), transform .25s var(--ease); }
.need-grid a:hover { border-color: rgba(21, 148, 71, .4); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.need-grid strong { color: var(--navy); font-size: 15.8px; }
.need-grid span { color: var(--muted); font-size: 14.2px; line-height: 1.5; }
@media (min-width: 640px) { .need-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .need-grid { grid-template-columns: repeat(3, 1fr); } }

.photo { margin: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-wide { aspect-ratio: 21 / 8; }
.split-photo { align-items: center; }

.tag-list { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { padding: 7px 14px; border-radius: 999px; background: var(--white); border: 1px solid rgba(16, 43, 92, .12); font-size: 14.2px; font-weight: 600; color: var(--navy); }

.points { display: grid; gap: 14px 28px; }
.points > div { border-top: 2px solid var(--gold); padding-top: 14px; }
.points h3 { font-size: 1.1rem; margin-bottom: 6px; }
.points p { color: var(--muted); margin: 0; font-size: 15.2px; }
@media (min-width: 760px) { .points { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .points { grid-template-columns: repeat(4, 1fr); } }

.resource-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.resource-list a { display: grid; gap: 2px; padding: 14px 18px; border-radius: 12px; background: var(--white); border: 1px solid rgba(16, 43, 92, .1); text-decoration: none; transition: border-color .25s, box-shadow .25s var(--ease); }
.resource-list a:hover { border-color: rgba(21, 148, 71, .4); box-shadow: var(--shadow-sm); }
.resource-list strong { color: var(--navy); }
.resource-list strong::after { content: " \2197"; color: var(--green-dark); font-weight: 600; }
.resource-list span { color: var(--muted); font-size: 13.7px; }
@media (min-width: 640px) { .resource-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .resource-list { grid-template-columns: repeat(4, 1fr); } }

.op-notes { margin-top: 32px; }

/* Services overview (home) */
.service-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.service-grid a { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid rgba(16, 43, 92, .1); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.service-grid a:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-grid img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s var(--ease); }
.service-grid a:hover img { transform: scale(1.04); }
.sg-body { display: grid; gap: 6px; padding: 16px 18px 18px; flex: 1; align-content: start; }
.sg-body strong { color: var(--navy); font-size: 16.5px; }
.sg-body span { color: var(--muted); font-size: 14.2px; line-height: 1.5; }
.sg-body em { font-style: normal; font-weight: 700; font-size: 14px; color: var(--green-dark); margin-top: 4px; }
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .service-grid { grid-template-columns: repeat(5, 1fr); } }

/* Services page */
.service-index { position: sticky; top: 63px; z-index: 30; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(16, 43, 92, .08); }
.service-index .wrap { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.service-index a { flex-shrink: 0; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(16, 43, 92, .14); font-size: 13.7px; font-weight: 600; color: var(--navy); text-decoration: none; transition: background-color .2s, color .2s; }
.service-index a:hover { background: var(--navy); color: var(--white); }
.service { scroll-margin-top: 130px; }
@media (min-width: 900px) { .split.flip > :first-child { order: 2; } }

/* Photos */
.photo-inline { margin-bottom: 24px; aspect-ratio: 3 / 2; }
.photo-row { display: grid; gap: 14px; margin: 8px 0 26px; }
.photo-row .photo { aspect-ratio: 3 / 2; box-shadow: var(--shadow-sm); }
@media (min-width: 700px) { .photo-row { grid-template-columns: repeat(3, 1fr); } }

/* Opportunity kinds */
.op-grid { display: grid; gap: 18px; }
.op-grid article, .op-card { display: block; background: var(--white); border: 1px solid rgba(16, 43, 92, .1); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.op-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.op-more { display: inline-block; margin-top: 10px; font-weight: 700; font-size: 14px; color: var(--green-dark); }
.op-grid img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.op-grid article > div, .op-card > div { padding: 18px 20px 20px; }
.op-grid h3 { font-size: 1.15rem; margin-bottom: 6px; }
.op-grid p { margin: 0; color: var(--muted); font-size: 15px; }
@media (min-width: 700px) { .op-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .op-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) and (max-width: 1199px) { .nav { gap: 0; } .nav a { padding: 10px 7px; font-size: 13.6px; } .nav a::after { left: 7px; right: 7px; } .header-in { gap: 12px; } .header .btn-sm { padding: 8px 16px; } }


/* =====================================================================
   Editorial look (carried over from the first ReviveBiz site):
   serif headings, paper-coloured sections, a photo hero under a navy
   overlay, and fewer decorative effects.
   ===================================================================== */
:root { --paper: #f3f5fa; --night: #0b1f45; --tint: var(--paper); --radius: 12px; --serif: "Montserrat", "Segoe UI", system-ui, Arial, sans-serif; }
body { font-size: 16px; }
h1, h2, h3, .form-title { font-family: var(--serif); font-weight: 600; letter-spacing: -0.012em; }
h1 { font-size: clamp(2.45rem, 4.5vw, 3.8rem); line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 2.9vw, 2.5rem); line-height: 1.12; }
h3 { font-size: 1.28rem; }
.section-intro, .lead-text { font-size: 1.02rem; }

/* fewer effects */
.eyebrow { font-size: 12px; letter-spacing: .14em; color: #8a6a10; }
.eyebrow::before, .strip::before, .card::before, .form-card-hero::before { display: none; }
.btn-navy::after, .btn-green::after { display: none; }
.btn:hover, .card:hover, .need-grid a:hover, .service-grid a:hover, .op-card:hover { transform: none; }
.service-grid a:hover img { transform: none; }
.card { border-radius: 14px; box-shadow: none; border-color: #dfe4ee; }
.card:hover { box-shadow: var(--shadow-sm); border-color: #c9d1e0; }
.form-card { border-radius: 16px; }

/* hero: boardroom photo under a navy overlay, white serif headline */
.hero { position: relative; background: var(--night) url(img/hero-boardroom.webp) center / cover no-repeat; padding-bottom: 0; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 31, 69, .96) 0%, rgba(11, 31, 69, .86) 48%, rgba(11, 31, 69, .62) 100%); }
.hero > .wrap { position: relative; }
.hero h1 { color: var(--white); }
.hero .hl { color: #3dbb6f; }
.hero-text { color: rgba(255, 255, 255, .86); }
.hero-line { color: var(--white); }
.btn-ghost { border-color: rgba(255, 255, 255, .8); color: var(--white); background: transparent; }
.btn-ghost:hover { background: var(--white); color: var(--navy); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 26px; padding-top: 14px; padding-bottom: 14px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13.5px; font-weight: 500; color: rgba(255, 255, 255, .82); }
.hero-trust span::before { content: "\2713"; color: var(--gold); font-weight: 700; margin-right: 8px; }
@media (min-width: 960px) { .hero { padding-top: 18px; } }

/* inner page headers: same photo, deeper overlay */
.page-head { position: relative; background: var(--night) url(img/hero-boardroom.webp) center 35% / cover no-repeat; }
.page-head::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 31, 69, .95), rgba(11, 31, 69, .82)); }
.page-head > .wrap { position: relative; }
.page-head h1 { color: var(--white); }
.page-head .hero-text { color: rgba(255, 255, 255, .85); }
.page-head .eyebrow { color: var(--gold); }
.page-head .btn-navy { background: var(--green-dark); box-shadow: none; }
.page-head .btn-navy:hover { background: #0c6a31; }
.page-head .btn-outline { border-color: rgba(255, 255, 255, .8); color: var(--white); }
.page-head .btn-outline:hover { background: var(--white); color: var(--navy); }

/* dark mission band with typical situations */
.section-night { background: var(--night); color: rgba(255, 255, 255, .8); }
.section-night h2 { color: var(--white); }
.section-night .eyebrow { color: var(--gold); }
.section-night .lead-text { color: rgba(255, 255, 255, .86); }
.mission { display: grid; gap: 30px; margin-bottom: 34px; }
@media (min-width: 900px) { .mission { grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; } }
.situations { background: var(--white); color: var(--ink); border-radius: 14px; padding: 18px 20px 8px; }
.situations-title { margin: 0 0 6px; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--navy); }
.situations div { display: grid; gap: 2px; padding: 11px 0; border-top: 1px solid #dfe4ee; }
.situations strong { color: var(--navy); font-size: 15px; }
.situations span { color: var(--muted); font-size: 14px; }
.section-night .need-grid a { background: rgba(255, 255, 255, .045); border-color: rgba(255, 255, 255, .13); color: var(--white); }
.section-night .need-grid a:hover { border-color: var(--gold); box-shadow: none; }
.section-night .need-grid strong { color: var(--white); }
.section-night .need-grid span { color: rgba(255, 255, 255, .64); }

/* plainer bottom band */
.cta-band { background: var(--night); }

@media (prefers-reduced-motion: reduce) { .btn-ghost { transition: none; } }
.page-head .contact-list li { border-bottom-color: rgba(255, 255, 255, .14); color: var(--white); }
.page-head .contact-list span { color: rgba(255, 255, 255, .6); }
.page-head .contact-list a { color: var(--white); text-decoration-color: var(--gold); text-underline-offset: 4px; }
.page-head .draft { background: rgba(217, 169, 40, .14); color: #D9A928; border-color: rgba(217, 169, 40, .6); }
@media (max-width: 959px) { .hero { padding-top: 58px; } .page-head { padding-top: 70px; } }


/* =====================================================================
   The first ReviveBiz site's layout (photo hero, bands, 8px corners); colours are
   remapped to the logo palette in the block at the end of this file.
   ===================================================================== */
:root {
    --ink: #102B5C; --muted: #4b5b7c; --paper: #f3f5fa; --cream: #FFFFFF; --night: #102B5C; --night-2: #0b1f45;
    --teal: #0F7A39; --teal-dark: #0c6a31; --gold-old: #D9A928; --line: rgba(16, 43, 92, .14);
    --serif: "Montserrat", "Segoe UI", system-ui, Arial, sans-serif;
    --radius: 8px;
    --shadow-sm: 0 8px 24px -14px rgba(16, 43, 92, .28);
    --shadow-lg: 0 24px 80px rgba(16, 43, 92, .17);
}
body { font-family: "Montserrat", "Segoe UI", system-ui, -apple-system, Arial, sans-serif; color: var(--ink); background: var(--paper); }
h1, h2, h3, .form-title, .situations-title { font-family: var(--serif); font-weight: 700; letter-spacing: 0; color: var(--ink); }
a { color: var(--teal); }

/* top strip + header */
.strip { background: var(--night); color: rgba(255, 255, 255, .82); }
.header { background: rgba(255, 255, 255, .92); border-bottom: 1px solid var(--line); }
.nav a { color: #102B5C; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal); }
.nav a::after { background: var(--gold-old); }

/* buttons: 8px corners, teal / gold like the old site */
.btn { border-radius: 8px; font-weight: 700; }
.btn-green, .btn-navy { background: var(--teal); color: var(--white); box-shadow: none; }
.btn-green:hover, .btn-navy:hover { background: var(--teal-dark); box-shadow: 0 12px 28px rgba(15, 122, 57, .22); }
.btn-outline { border-color: var(--teal); color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--white); box-shadow: none; }
.btn-gold { background: var(--gold-old); color: #102B5C; border-color: var(--gold-old); }
.btn-gold:hover { background: #c4951f; color: #102B5C; }
.btn-ghost { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .26); color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, .22); color: var(--white); }
.header .btn { background: var(--teal); }

/* hero: the old photo treatment and a large headline */
.hero { background: var(--night) url(img/hero-boardroom.webp) center / cover no-repeat; }
.hero::before { background: linear-gradient(90deg, rgba(11, 31, 69, .92), rgba(11, 31, 69, .62) 52%, rgba(11, 31, 69, .3)), linear-gradient(180deg, rgba(11, 31, 69, .15), rgba(11, 31, 69, .62)); }
.hero h1 { color: var(--white); font-size: clamp(2.7rem, 4.9vw, 4.35rem); line-height: .98; }
.hero .hl { color: #D9A928; }
.hero-text { color: rgba(255, 255, 255, .87); }
.hero-line { border-top-color: var(--gold-old); }
.hero-trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 26px; padding: 0; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .16); border-radius: 8px; overflow: hidden; }
.hero-trust span { padding: 14px; background: rgba(11, 31, 69, .55); color: rgba(255, 255, 255, .88); font-size: 13px; font-weight: 700; text-align: center; }
.hero-trust span::before { display: none; }
@media (min-width: 900px) { .hero-trust { grid-template-columns: repeat(4, 1fr); margin-bottom: 26px; } }

/* the enquiry card sits on the photo like the old "case desk" panel */
.form-card { border-radius: 8px; background: var(--cream); border-color: var(--line); }
.form-card-hero { background: rgba(255, 255, 255, .96); border-color: rgba(255, 255, 255, .4); box-shadow: var(--shadow-lg); }
.plant-line { color: var(--teal); }
.field input, .field select { border-radius: 8px; background: var(--white); border-color: #c9d1e0; }
.field input:focus, .field select:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(15, 122, 57, .14); }
.plant-film { border-radius: 8px; box-shadow: 0 0 0 2px var(--white), 0 0 0 3.5px var(--gold-old), 0 18px 34px -16px rgba(16, 43, 92, .55); }

/* inner page headers */
.page-head { background: var(--night) url(img/hero-boardroom.webp) center 35% / cover no-repeat; }
.page-head::before { background: linear-gradient(90deg, rgba(11, 31, 69, .94), rgba(11, 31, 69, .7)); }
.page-head h1 { font-size: clamp(2.3rem, 4.2vw, 3.6rem); line-height: 1.02; }
.page-head .eyebrow, .section-night .eyebrow, .eyebrow { color: var(--gold-old); font-weight: 800; letter-spacing: .06em; }
.page-head .btn-navy { background: var(--gold-old); color: #102B5C; }
.page-head .btn-navy:hover { background: #c4951f; }
.page-head .btn-outline { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .26); color: var(--white); }

/* sections */
h2 { font-size: clamp(1.95rem, 3.4vw, 2.9rem); line-height: 1.04; }
.section { background: var(--cream); }
.section-tint { background: var(--paper); }
.section-night { background: var(--night-2); }
.section-night h2 { color: var(--white); }
.situations { border-radius: 8px; background: var(--cream); }
.situations strong, .situations-title { color: var(--ink); }
.card, .need-grid a, .service-grid a, .op-card, .op-grid article, .resource-list a, .empty, .photo, .tag-list li, .service-index a { border-radius: 8px; }
.card { background: var(--white); }
.card ul li::marker { color: var(--teal); }
.ticks li::before { border-color: var(--teal); }
.steps li::before { border-color: var(--teal); color: var(--teal); }
.service-grid strong, .need-grid strong, .resource-list strong, .op-grid h3, .points h3 { color: var(--ink); }
.sg-body em, .op-more, .text-link:hover { color: var(--teal); }
.text-link, .also a { color: var(--ink); }
.tag-list li { color: var(--ink); }
.cta-band { background: var(--night-2); border-top-color: var(--gold-old); }
.footer { background: var(--night); }
.footer h3 { color: var(--gold-old); }

/* chat + call buttons in the old palette */
.chat-launch { background: var(--teal); }
.chat-launch:hover { background: var(--teal-dark); }
.chat-head { background: var(--night-2); }
.msg-visitor { background: var(--teal); }
.call-fab { background: var(--gold-old); color: #102B5C; }
.call-fab:hover { background: #c4951f; }
.call-tip { background: var(--night); }
.modal-card { border-radius: 10px; background: var(--cream); }
.modal-card::before { display: none; }

/* "Before / After ReviveBiz" tag on the plant film */
.plant-film { position: relative; overflow: hidden; }
.film-tag { position: absolute; left: 50%; top: 8px; transform: translateX(-50%); white-space: nowrap; padding: 4px 10px; border-radius: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; background: rgba(11, 31, 69, .78); color: #FFFFFF; transition: opacity .35s ease, background-color .35s ease; }
.film-tag[data-state=""] { opacity: 0; }
.film-tag[data-state="after"] { background: var(--teal, #0F7A39); }
.film-tag[data-state="before"] { background: rgba(16, 43, 92, .9); }
@media (prefers-reduced-motion: reduce) { .film-tag { transition: none; } }


/* =====================================================================
   Three colours only, all from the logo: navy, green and gold (on white).
   Type: Montserrat throughout.
   ===================================================================== */
:root {
    --navy: #102B5C; --green: #159447; --green-dark: #0F7A39; --gold: #D9A928; --white: #FFFFFF;
    --ink: #102B5C; --muted: #4b5b7c; --line: #dfe4ee; --tint: #f3f5fa; --paper: #f3f5fa; --cream: #FFFFFF;
    --night: #102B5C; --night-2: #0b1f45; --teal: #0F7A39; --teal-dark: #0c6a31; --gold-old: #D9A928;
    --serif: "Montserrat", "Segoe UI", system-ui, Arial, sans-serif;
    --radius: 10px;
}
body { font-family: "Montserrat", "Segoe UI", system-ui, -apple-system, Arial, sans-serif; font-size: 15.5px; line-height: 1.65; color: var(--navy); background: var(--white); }
h1, h2, h3, .form-title, .situations-title { font-family: "Montserrat", "Segoe UI", system-ui, Arial, sans-serif; color: var(--navy); letter-spacing: -0.015em; }
h1 { font-weight: 800; }
h2 { font-weight: 700; font-size: clamp(1.65rem, 2.6vw, 2.2rem); line-height: 1.18; }
h3 { font-weight: 700; font-size: 1.12rem; }
.hero h1 { font-size: clamp(2.3rem, 4.1vw, 3.45rem); line-height: 1.08; font-weight: 800; }
.page-head h1 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.1; }
.form-title { font-weight: 700; }
.hero-text { font-size: clamp(1rem, 1.35vw, 1.12rem); }
.lead-text, .section-intro { font-size: 1rem; }
.eyebrow { color: #8a6a10; font-weight: 700; letter-spacing: .12em; }
.page-head .eyebrow, .section-night .eyebrow, .hero .eyebrow { color: var(--gold); }

/* surfaces */
.section { background: var(--white); }
.section-tint { background: var(--tint); }
.strip { background: var(--navy); color: #FFFFFF; }
.header { background: rgba(255, 255, 255, .94); }
.nav a { color: var(--navy); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--green-dark); }
.nav a::after { background: var(--gold); }

/* buttons: green main, navy outline, gold accent */
.btn-green { background: var(--green-dark); color: #FFFFFF; }
.btn-green:hover { background: #0c6a31; }
.btn-navy, .header .btn { background: var(--navy); color: #FFFFFF; }
.btn-navy:hover, .header .btn:hover { background: #0b1f45; }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #FFFFFF; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #c4951f; color: var(--navy); }

/* hero + page headers: photo under navy */
.hero .hl { color: var(--gold); }
.page-head .btn-navy { background: var(--green-dark); color: #FFFFFF; }
.page-head .btn-navy:hover { background: #0c6a31; }

/* bands, footer, chat */
.section-night { background: var(--navy); }
.cta-band { background: var(--navy); border-top-color: var(--gold); }
.footer { background: #0b1f45; }
.footer h3 { color: var(--gold); }
.chat-launch { background: var(--green-dark); }
.chat-launch:hover { background: #0c6a31; }
.chat-head { background: var(--navy); }
.msg-visitor { background: var(--navy); }
.call-fab { background: var(--gold); color: var(--navy); }
.call-fab:hover { background: #c4951f; }
.plant-line { color: var(--green-dark); }
.field { color: var(--navy); }
.field input:focus, .field select:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(21, 148, 71, .14); }
.form-error { background: #fbf3dc; color: var(--navy); border: 1px solid var(--gold); }
.film-tag[data-state="before"] { background: rgba(16, 43, 92, .88); }
.film-tag[data-state="after"] { background: var(--green-dark); }
.sg-body em, .op-more { color: var(--green-dark); }
.text-link, .also a { color: var(--navy); }
.text-link:hover, .also a:hover { color: var(--green-dark); }
a { color: var(--navy); }

/* chat header: New chat link */
.chat-head-actions { display: flex; align-items: center; gap: 4px; }
.chat-new { background: none; border: 1px solid rgba(255, 255, 255, .45); color: #FFFFFF; border-radius: 8px; padding: 4px 10px; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.chat-new:hover { background: rgba(255, 255, 255, .12); }

/* Floating WhatsApp button, bottom left */
.wa-float { position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #FFFFFF; box-shadow: 0 0 0 3px rgba(255, 255, 255, .9), 0 12px 26px -8px rgba(16, 43, 92, .5); text-decoration: none; transition: transform .2s ease; }
.wa-float:hover { transform: scale(1.06); color: #FFFFFF; }
.wa-float-tip { position: absolute; left: calc(100% + 10px); top: 50%; transform: translateY(-50%); white-space: nowrap; background: var(--navy); color: #FFFFFF; font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.wa-float:hover .wa-float-tip, .wa-float:focus-visible .wa-float-tip { opacity: 1; }

/* Our Team */
.team-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.tm-card { display: flex; flex-direction: column; background: #FFFFFF; border: 1px solid #dfe4ee; border-radius: 10px; overflow: hidden; }
.tm-card > img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #f3f5fa; }
.tm-body { padding: 16px 16px 12px; text-align: center; flex: 1; }
.tm-body h3 { font-size: 1.08rem; margin-bottom: 6px; }
.tm-role { margin: 0 0 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #0F7A39; }
.tm-intro { margin: 0; font-size: 14px; color: #4b5b7c; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tm-more { margin-top: 8px; background: none; border: 0; padding: 2px 0; font: inherit; font-size: 13.5px; font-weight: 700; color: #102B5C; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.tm-contact { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 12px; border-top: 1px solid #dfe4ee; }
.tm-wa { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: #0F7A39; text-decoration: none; }
.tm-call { width: 30px; height: 30px; border-radius: 50%; border: 1px solid #dfe4ee; display: grid; place-items: center; color: #102B5C; }
.tm-call:hover, .tm-wa:hover { color: #0c6a31; }
.tm-modal { border: 0; padding: 0; border-radius: 12px; width: min(860px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); }
.tm-modal::backdrop { background: rgba(11, 31, 69, .55); }
.tm-modal-card { position: relative; padding: 28px; }
.tm-modal-body { display: grid; gap: 26px; }
.tm-modal-body img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.tm-modal-body h3 { font-size: 1.6rem; margin-bottom: 6px; }
.tm-modal-body .tm-label { margin: 18px 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #102B5C; }
.tm-modal-body .tm-full { margin: 0; color: #4b5b7c; line-height: 1.7; }
.tm-modal-body .tm-contact { justify-content: flex-start; padding: 16px 0 0; margin-top: 18px; }
.tm-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #f3f5fa; color: #102B5C; font-size: 22px; line-height: 1; cursor: pointer; }
@media (min-width: 700px) { .tm-modal-body { grid-template-columns: 280px 1fr; align-items: start; } }
.join-form { display: grid; gap: 12px; }
.join-form textarea { width: 100%; padding: 10px 14px; border: 1.5px solid #c9d1e0; border-radius: 10px; font: inherit; font-size: 15px; resize: vertical; }
.join-form input[type=file] { padding: 9px; border: 1.5px dashed #c9d1e0; border-radius: 10px; background: #f3f5fa; }
.join-who { display: flex; align-items: center; gap: 14px; }
.join-who img { border-radius: 10px; }
.join-who strong { display: block; color: #102B5C; font-size: 1.1rem; }
.join-who span { font-size: 13px; font-weight: 600; color: #0F7A39; text-transform: uppercase; letter-spacing: .06em; }
