/* Summit Berries — site styles
   Forest green + berry from the logo, white pages, Manrope headings, Inter body. */

:root {
  --forest: #1f4a38;
  --forest-dark: #0f2a20;
  --forest-mid: #163a2d;
  --forest-line: #24503f;
  --forest-tint: #e8f0eb;
  --berry: #8a2439;
  --berry-dark: #6e1b2d;
  --berry-tint: #f6e4e8;
  --berry-light: #f0b9c4;
  --ink: #0f1a16;
  --text: #4a5751;
  --line: #e3e9e5;
  --line-strong: #c9d4ce;
  --soft: #f3f6f4;
  --white: #ffffff;
  --on-dark: #c4d4cb;

  --ok: #22603a; --ok-bg: #e1efe5;
  --warn: #7a4f08; --warn-bg: #f6ead2;
  --bad: #9b2c2c; --bad-bg: #f8e3e3;
  --info: #2c5a7a; --info-bg: #e1ecf3;

  --head: "Manrope", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --pad: clamp(16px, 3vw, 24px);
  --r: 14px;
  --r-sm: 8px;
  --shadow: 0 1px 2px rgba(15,42,32,.05), 0 10px 30px rgba(15,42,32,.08);
  --shadow-lg: 0 30px 60px rgba(0,0,0,.22);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--forest); }
a:hover { color: var(--berry); }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 800; color: var(--forest-dark); line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--berry) 60%, transparent); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--text); }
.small { font-size: .875rem; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--berry); }
.lead { font-size: 1.1rem; color: var(--text); max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--forest); --fg: #fff; --bd: var(--forest);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: 0 22px; border-radius: var(--r-sm);
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  font: 700 15px/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn:hover { color: var(--fg); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(15,42,32,.16); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-berry { --bg: var(--berry); --bd: var(--berry); }
.btn-berry:hover { --bg: var(--berry-dark); --bd: var(--berry-dark); }
.btn-outline { --bg: #fff; --fg: var(--forest-dark); --bd: var(--line-strong); font-weight: 600; }
.btn-outline:hover { --bd: var(--forest); box-shadow: none; }
.btn-ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.6); font-weight: 600; }
.btn-white { --bg: #fff; --fg: var(--forest-dark); --bd: #fff; }
.btn-danger { --bg: #fff; --fg: var(--berry); --bd: #e2b9c1; font-weight: 600; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Forms ---------- */
label { display: block; font-size: 13.5px; font-weight: 600; color: var(--forest-dark); margin-bottom: 6px; }
.hint { font-weight: 400; color: var(--text); }
.field { margin-bottom: 16px; }
input, select, textarea {
  width: 100%; min-height: 46px; padding: 0 12px; border: 1.5px solid #d3dcd7; border-radius: var(--r-sm);
  font: inherit; font-size: 15px; color: var(--ink); background: #fff;
}
textarea { padding: 10px 12px; min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 4px color-mix(in srgb, var(--forest) 14%, transparent); }
input[type="checkbox"] { width: auto; min-height: 0; }
.row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
.alert { padding: 12px 14px; border-radius: var(--r-sm); font-size: 14.5px; margin-bottom: 16px; }
.alert-error { background: var(--bad-bg); color: var(--bad); }
.alert-ok { background: var(--ok-bg); color: var(--ok); }
.alert-info { background: var(--forest-tint); color: var(--forest-dark); }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--forest-dark); color: #d5e2db; font-size: 13.5px; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: center; justify-content: space-between; padding-top: 9px; padding-bottom: 9px; }
.topbar a { color: #d5e2db; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.topbar strong a { color: #fff; }
@media (max-width: 640px) { .topbar .area { display: none; } }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 16px 32px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--forest-dark); }
.brand:hover { color: var(--forest-dark); }
.brand svg { width: 46px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-family: var(--head); font-weight: 800; font-size: 19px; letter-spacing: .04em; }
.brand-text small { font-size: 11px; font-weight: 600; letter-spacing: .18em; color: var(--text); margin-top: 3px; }
.mark-roof { stroke: var(--forest); }
.mark-leaf { fill: var(--forest); }
.mark-berry { fill: var(--berry); }
.on-dark .mark-roof { stroke: #fff; } .on-dark .mark-leaf { fill: #fff; } .on-dark .mark-berry { fill: #e0607a; }
.on-dark .brand-text b { color: #fff; } .on-dark .brand-text small { color: #b9cdc2; }
.nav { display: flex; gap: 4px 26px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--forest); }
.nav a[aria-current="page"] { color: var(--forest); font-weight: 600; border-bottom-color: var(--berry); }
.header-cta { display: flex; gap: 10px; }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); background: #fff; cursor: pointer; color: var(--forest-dark); align-items: center; justify-content: center; }
@media (max-width: 1060px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--pad) 16px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); }
  .header-cta .btn-outline { display: none; }
}
/* Header buttons hidden on small screens move into the menu so phones can still sign in and book. */
.nav-mobile-only { display: none; }
@media (max-width: 1060px) { .nav a.nav-mobile-only:not(.nav-book) { display: block; font-weight: 600; color: var(--forest); } }
@media (max-width: 520px) {
  .header-cta { display: none; }
  .nav a.nav-book { display: block; font-weight: 600; color: var(--berry); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 96px) 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--forest-dark); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--berry-light); }
.section-head { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: flex-end; justify-content: space-between; margin-bottom: 44px; }
.section-head > div { max-width: 680px; }
.section-head h2 { margin: 12px 0 0; }
.section-head p { margin: 0; max-width: 440px; color: var(--text); }
.section-dark .section-head p { color: var(--on-dark); }
.center-head { text-align: center; max-width: 700px; margin: 0 auto 52px; }
.center-head h2 { margin-top: 12px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--forest-dark); color: #fff; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,28,21,.93) 0%, rgba(10,28,21,.78) 45%, rgba(10,28,21,.35) 100%); }
.hero .wrap { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: clamp(56px, 9vw, 104px); padding-bottom: clamp(56px, 9vw, 104px); }
.hero-copy { flex: 1 1 520px; min-width: 0; }
.pill { display: inline-block; padding: 6px 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #e7efe9; }
.hero h1 { color: #fff; margin: 22px 0 20px; max-width: 15ch; }
.hero p { font-size: 1.15rem; color: #dbe5df; max-width: 560px; margin-bottom: 30px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.quick-book { flex: 0 1 400px; min-width: 0; background: #fff; color: var(--ink); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow-lg); }
.quick-book h2 { font-size: 22px; margin: 0 0 4px; }
.quick-book > p { font-size: 14.5px; color: var(--text); margin: 0 0 18px; }
.quick-book .note { font-size: 13px; color: var(--text); text-align: center; margin: 12px 0 0; }

/* Trust strip */
.trust { background: var(--soft); border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; padding-top: 26px; padding-bottom: 26px; }
.trust-item { display: flex; gap: 14px; align-items: center; }
.trust-item b { display: block; font-size: 15px; }
.trust-item span span { font-size: 13.5px; color: var(--text); }
.icon-tile { flex: none; width: 46px; height: 46px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid #dde4e0; color: var(--forest); }
.icon-tile svg { width: 22px; height: 22px; }
.icon-tile.tint { background: var(--forest-tint); border: 0; width: 52px; height: 52px; border-radius: 12px; }
.icon-tile.tint svg { width: 26px; height: 26px; }

/* Cards */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-tight { gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { border: 1px solid var(--line); border-radius: var(--r); padding: 30px; display: flex; flex-direction: column; gap: 10px; background: #fff; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { margin: 8px 0 0; }
.card p { margin: 0; color: var(--text); font-size: 15.5px; flex: 1; }
.card .meta { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--text); margin-top: 8px; }
.card .meta a { font-weight: 600; text-decoration: none; }
a.card { text-decoration: none; color: var(--ink); }
.tag { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; color: var(--forest); text-transform: uppercase; }

/* Companies (dark) */
.company { display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: var(--r); background: var(--forest-mid); border: 1px solid var(--forest-line); color: #fff; text-decoration: none; transition: border-color .2s, transform .2s; }
a.company:hover { color: #fff; border-color: #3d7a62; transform: translateY(-2px); }
.company .badge-ico { width: 46px; height: 46px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.company .badge-ico svg { width: 24px; height: 24px; }
.company b { font-family: var(--head); font-size: 18px; margin-top: 6px; }
.company span { font-size: 14.5px; color: var(--on-dark); }
.company .go { font-size: 14px; font-weight: 600; color: var(--berry-light); margin-top: 4px; }
.company .soon { font-size: 13px; color: #8fae9f; margin-top: 4px; }
.company-video-thumb {
  width: calc(100% + 52px);
  margin: -26px -26px 14px -26px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
  border-top-left-radius: calc(var(--r) - 1px);
  border-top-right-radius: calc(var(--r) - 1px);
  position: relative;
}
.company-video-thumb video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.company-video-thumb.placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--forest-dark);
}
.company-video-thumb .soon-badge {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  background: rgba(0,0,0,0.3);
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
}

/* Split layout */
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { flex: 1 1 440px; min-width: 0; }
.photo-card { position: relative; }
.photo-card img { width: 100%; height: 520px; object-fit: cover; border-radius: 16px; }
.photo-card .float { position: absolute; left: 24px; bottom: 24px; background: #fff; border-radius: 12px; padding: 14px 18px; box-shadow: 0 16px 40px rgba(0,0,0,.18); display: flex; gap: 14px; align-items: center; }
.photo-card .float b { display: block; font-family: var(--head); color: var(--forest-dark); }
.photo-card .float span span { font-size: 13.5px; color: var(--text); }
.checks { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-direction: column; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { flex: none; width: 22px; height: 22px; color: var(--forest); margin-top: 2px; }

/* Steps */
.steps { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { padding: 28px; border-top: 3px solid var(--forest); background: var(--soft); border-radius: 0 0 12px 12px; }
.step .n { font-family: var(--head); font-weight: 800; font-size: 15px; color: var(--berry); }
.step h3 { margin: 10px 0 8px; font-size: 20px; }
.step p { margin: 0; color: var(--text); font-size: 15px; }

/* Portal preview */
.preview { background: #fff; border: 1px solid #dde4e0; border-radius: 16px; box-shadow: 0 24px 60px rgba(15,42,32,.12); overflow: hidden; }
.preview-head { padding: 16px 22px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; }
.preview-row { display: flex; gap: 16px; align-items: center; padding: 14px 22px; border-bottom: 1px solid #eef2ef; }
.preview-row:last-child { border-bottom: 0; }
.preview-row .grow { flex: 1; min-width: 0; }
.preview-row .grow div { font-size: 13.5px; color: var(--text); }

/* Gallery */
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.gallery figure { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; height: 320px; background: var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(15,42,32,.88); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }

/* CTA band */
.cta { background: var(--forest); border-radius: 20px; padding: clamp(28px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.cta > div { flex: 1 1 440px; }
.cta h2 { color: #fff; margin: 0 0 8px; font-size: clamp(1.6rem, 3vw, 2.25rem); }
.cta p { margin: 0; color: #d3e1d9; font-size: 17px; }

/* Footer */
.site-footer { background: var(--forest-dark); color: var(--on-dark); font-size: 14.5px; }
.site-footer .wrap { padding-top: 72px; padding-bottom: 32px; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1.4fr repeat(3, 1fr); }
.footer-grid > div { display: flex; flex-direction: column; gap: 10px; }
.site-footer h4 { font-family: var(--body); color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 4px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--forest-line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Page header (inner pages) */
.page-head { background: var(--soft); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-top: 56px; padding-bottom: 40px; }
.crumbs { font-size: 13.5px; color: var(--text); margin-bottom: 12px; }
.crumbs a { color: var(--text); }
.page-head h1 { margin: 0 0 12px; font-size: clamp(2rem, 4vw, 3rem); }
.page-head p { font-size: 18px; color: var(--text); max-width: 640px; margin: 0; }

/* Resources */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 28px; }
.filters input { flex: 1 1 300px; max-width: 460px; }
.chip-btn { min-height: 44px; padding: 0 16px; border-radius: 999px; font: 600 14.5px var(--body); cursor: pointer; background: #fff; color: var(--forest-dark); border: 1.5px solid #d3dcd7; }
.chip-btn[aria-pressed="true"] { background: var(--forest); color: #fff; border-color: var(--forest); }
.featured { display: flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.featured img { flex: 1 1 420px; min-width: 0; height: 340px; object-fit: cover; object-position: center 45%; }
.featured > div { flex: 1 1 420px; min-width: 0; padding: 40px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.featured h2 { margin: 0; font-size: 30px; }
.featured p { margin: 0; color: var(--text); }
.guide-body { display: none; border-top: 1px solid var(--line); margin-top: 10px; padding-top: 14px; font-size: 15px; color: var(--ink); }
.guide-body ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.card.open .guide-body { display: block; }
.card .toggle { background: none; border: 0; padding: 0; min-height: 44px; font: 600 14.5px var(--body); color: var(--forest); cursor: pointer; text-align: left; }
.doc-list { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.doc { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.doc:last-child { border-bottom: 0; }
.doc .ico { width: 42px; height: 42px; border-radius: 10px; background: var(--berry-tint); color: var(--berry); display: flex; align-items: center; justify-content: center; flex: none; }
.doc .ico svg { width: 20px; height: 20px; }
.doc > div { flex: 1 1 260px; min-width: 0; }
.doc b { display: block; }
.doc span { font-size: 14px; color: var(--text); }
.faq-wrap { display: flex; flex-wrap: wrap; gap: 48px; }
.faq-wrap > :first-child { flex: 1 1 300px; }
.faq-list { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.faq { background: #fff; border: 1px solid #dde4e0; border-radius: 12px; }
.faq button { width: 100%; min-height: 60px; padding: 16px 22px; display: flex; gap: 16px; align-items: center; justify-content: space-between; background: none; border: 0; cursor: pointer; text-align: left; font: 600 16px var(--body); color: var(--forest-dark); }
.faq button::after { content: "+"; font-size: 22px; color: var(--forest); }
.faq button[aria-expanded="true"]::after { content: "−"; }
.faq .answer { padding: 0 22px 20px; color: var(--text); }
.emergency { border: 2px solid var(--berry); border-radius: 16px; padding: 30px 34px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.emergency > div { flex: 1 1 420px; }
.emergency h2 { font-size: 24px; margin: 0 0 6px; }
.emergency p { margin: 0; color: var(--text); }

/* ---------- Auth ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { position: relative; overflow: hidden; color: #fff; padding: 40px; display: flex; flex-direction: column; justify-content: space-between; background: var(--forest-dark); }
.auth-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.auth-side > * { position: relative; }
.auth-side h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); max-width: 16ch; }
.auth-side p { color: #dbe5df; max-width: 42ch; margin: 0; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 40px var(--pad); background: #fff; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card h1 { font-size: 2rem; margin-bottom: 6px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--soft); border-radius: 10px; padding: 4px; margin: 22px 0; }
.tabs button { border: 0; background: none; min-height: 42px; border-radius: 8px; font: 600 14.5px var(--body); color: var(--text); cursor: pointer; }
.tabs button[aria-selected="true"] { background: #fff; color: var(--forest-dark); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.google-slot { min-height: 44px; display: flex; justify-content: center; }
.divider { display: flex; align-items: center; gap: 14px; color: var(--text); font-size: 13px; margin: 20px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.text-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--forest); font-weight: 600; cursor: pointer; text-decoration: underline; }
@media (max-width: 860px) { .auth { grid-template-columns: 1fr; } .auth-side { min-height: 180px; padding: 24px var(--pad); } .auth-side h2, .auth-side p { display: none; } }

/* ---------- Portal + admin shared ---------- */
.app { background: var(--soft); min-height: 100vh; }
.app-header { background: var(--forest-dark); color: #fff; }
.app-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; min-height: 68px; padding-top: 8px; padding-bottom: 8px; }
.app-nav { display: flex; flex-wrap: wrap; gap: 4px; margin-left: auto; font-size: 14.5px; }
.app-nav a, .app-nav button { color: #d5e2db; text-decoration: none; padding: 10px 14px; border-radius: 8px; background: none; border: 0; font: inherit; cursor: pointer; }
.app-nav a:hover, .app-nav button:hover { color: #fff; background: rgba(255,255,255,.06); }
.app-nav [aria-current="page"] { background: var(--forest); color: #fff; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--berry); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: #fff; }
.user-box { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.user-box button { background: none; border: 0; color: #d5e2db; font: inherit; cursor: pointer; text-decoration: underline; }
.app-main { padding: 36px 0 64px; }
.page-title { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; }
.page-title h1 { font-size: clamp(1.8rem, 3vw, 2.2rem); margin: 2px 0 0; }
.page-title p { margin: 0; font-size: 14px; color: var(--text); }
.panel { background: #fff; border: 1px solid #dde4e0; border-radius: var(--r); padding: clamp(18px, 3vw, 28px); }
.panel + .panel { margin-top: 20px; }
.panel h2 { font-size: 22px; margin-bottom: 18px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.panel-head h2 { margin: 0; }
.portal-grid { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.portal-grid > :first-child { flex: 3 1 560px; min-width: 0; }
.portal-grid > :last-child { flex: 2 1 360px; min-width: 0; }
.step-label { font-size: 14px; font-weight: 700; margin: 22px 0 10px; color: var(--forest-dark); }
.step-label:first-of-type { margin-top: 0; }
.choice-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.choice { text-align: left; min-height: 64px; padding: 12px 14px; border-radius: 10px; font: inherit; cursor: pointer; background: #fff; border: 1.5px solid #dde4e0; }
.choice:hover { border-color: var(--line-strong); }
.choice[aria-pressed="true"] { background: var(--forest-tint); border-color: var(--forest); }
.choice strong { display: block; font-size: 15px; color: var(--forest-dark); }
.choice span { font-size: 13px; color: var(--text); }
.slots { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.slot { min-height: 44px; border-radius: 8px; font: 600 14px var(--body); cursor: pointer; background: #fff; color: var(--forest-dark); border: 1.5px solid #dde4e0; }
.slot:hover:not([disabled]) { border-color: var(--forest); }
.slot[aria-pressed="true"] { background: var(--forest); color: #fff; border-color: var(--forest); }
.slot[disabled] { background: var(--soft); color: #8a958f; border-color: var(--line); text-decoration: line-through; cursor: not-allowed; }
.empty { padding: 18px; text-align: center; color: var(--text); border: 1.5px dashed #d3dcd7; border-radius: 10px; font-size: 14.5px; }
.summary-bar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; padding: 16px 18px; background: var(--soft); border-radius: 10px; margin-top: 4px; }
.summary-bar span { font-size: 14.5px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }
.tile { background: #fff; border: 1px solid #dde4e0; border-radius: 12px; padding: 18px 20px; }
.tile .label { font-size: 13px; font-weight: 600; color: var(--text); }
.tile .value { font-family: var(--head); font-weight: 800; font-size: 26px; color: var(--forest-dark); margin-top: 2px; line-height: 1.2; }
.tile .value.sm { font-size: 19px; }
.tile.attention .value { color: var(--berry); }
.tile .sub { font-size: 13.5px; color: var(--text); }

.booking-list { display: flex; flex-direction: column; gap: 12px; }
.booking { border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: grid; grid-template-columns: 56px 1fr; gap: 14px; background: #fff; }
.date-tile { text-align: center; background: var(--forest-tint); border-radius: 10px; padding: 6px 0; align-self: start; }
.date-tile .m { font-size: 11px; font-weight: 700; color: var(--forest); text-transform: uppercase; }
.date-tile .d { font-family: var(--head); font-weight: 800; font-size: 20px; color: var(--forest-dark); line-height: 1.2; }
.booking h4 { font-family: var(--body); font-size: 15.5px; font-weight: 700; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; color: var(--ink); }
.booking .when, .booking .addr { font-size: 13.5px; color: var(--text); }
.booking .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.booking.is-past { opacity: .7; }
.badge { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.badge-pending { background: var(--warn-bg); color: var(--warn); }
.badge-confirmed { background: var(--ok-bg); color: var(--ok); }
.badge-completed { background: var(--info-bg); color: var(--info); }
.badge-cancelled { background: var(--bad-bg); color: var(--bad); }
.badge-admin { background: var(--berry-tint); color: var(--berry); }
.badge-staff { background: var(--forest-tint); color: var(--forest); }
.badge-client { background: #eceff0; color: #4a5751; }

dialog { border: 0; border-radius: var(--r); padding: 0; width: min(580px, calc(100vw - 24px)); max-height: calc(100vh - 32px); box-shadow: var(--shadow-lg); color: var(--ink); }
dialog::backdrop { background: rgba(10,28,21,.5); }
.dialog-body { padding: 26px; }
.dialog-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.dialog-head h3 { margin: 4px 0 0; font-size: 21px; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 8px; }
.icon-btn { width: 40px; height: 40px; border: 0; background: none; border-radius: 8px; color: var(--text); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.icon-btn:hover { background: var(--soft); color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }
.info-box { background: var(--soft); border-radius: 10px; padding: 14px 16px; font-size: 14.5px; margin-bottom: 16px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; background: var(--forest-dark); color: #fff; padding: 12px 20px; border-radius: 10px; font-size: 14.5px; box-shadow: var(--shadow-lg); transition: all .25s; z-index: 100; pointer-events: none; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: var(--bad); }

/* Admin */
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.toolbar input, .toolbar select { width: auto; min-width: 150px; min-height: 42px; font-size: 14.5px; }
.toolbar .grow { flex: 1 1 240px; }
.week-label { font-family: var(--head); font-weight: 800; font-size: 18px; color: var(--forest-dark); margin: 0 6px; }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.day { background: #fff; border: 1px solid #dde4e0; border-radius: 10px; min-height: 280px; display: flex; flex-direction: column; }
.day-head { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.day-head .dname { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--text); text-transform: uppercase; }
.day-head .dnum { font-family: var(--head); font-weight: 800; font-size: 20px; color: var(--forest-dark); }
.day.today { border-color: var(--forest); box-shadow: 0 0 0 1px var(--forest); }
.day.today .day-head { background: var(--forest-tint); border-radius: 10px 10px 0 0; }
.day.closed { background: repeating-linear-gradient(-45deg, #fff, #fff 8px, var(--soft) 8px, var(--soft) 16px); }
.day-items { padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.chip { width: 100%; text-align: left; font: inherit; font-size: 12.5px; line-height: 1.35; border: 0; border-radius: 8px; padding: 8px 10px; cursor: pointer; background: var(--warn-bg); box-shadow: inset 3px 0 0 var(--warn); }
.chip b { display: block; font-size: 13px; color: var(--ink); }
.chip span { display: block; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip.confirmed { background: var(--ok-bg); box-shadow: inset 3px 0 0 var(--ok); }
.chip.completed { background: var(--info-bg); box-shadow: inset 3px 0 0 var(--info); }
.chip.cancelled { background: var(--bad-bg); box-shadow: inset 3px 0 0 var(--bad); opacity: .6; text-decoration: line-through; }
.chip .unassigned { color: var(--berry); font-weight: 600; }
@media (max-width: 1100px) { .week { grid-template-columns: 1fr; } .day { min-height: 0; } .day-items:empty::after { content: "Nothing booked"; font-size: 13.5px; color: var(--text); padding: 2px 4px; } }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid #dde4e0; border-radius: var(--r); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--text); padding: 12px 16px; background: var(--soft); border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
tr.clickable { cursor: pointer; }
tr.clickable:hover td { background: #f7faf8; }
td .sub { display: block; font-size: 13px; color: var(--text); }
td select { width: auto; min-height: 38px; font-size: 14px; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.count { display: inline-block; margin-left: 6px; background: var(--berry); color: #fff; font-size: 11.5px; font-weight: 700; padding: 1px 7px; border-radius: 999px; }

/* 404 */
.notfound { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 80px var(--pad); }

/* ---------- Financials (owner) ---------- */
.split-2 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); margin-top: 20px; }
.split-2 .panel + .panel { margin-top: 0; }
.split-2 + .panel, .panel + .split-2 { margin-top: 20px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: var(--text); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.key { display: inline-block; width: 12px; height: 12px; border-radius: 3px; flex: none; }
.key-rev { background: #1f8a6a; }
.key-exp { background: #c2671a; }
.chart { position: relative; width: 100%; min-height: 300px; margin-bottom: 8px; }
.chart svg { display: block; }
.chart .axis { font: 500 11.5px var(--body); fill: var(--text); }
.chart-hit { position: absolute; background: transparent; border: 0; padding: 0; cursor: crosshair; border-radius: 6px; }
.chart-hit.on, .chart-hit:focus-visible { background: rgba(15, 42, 32, .06); outline: none; }
.chart-tip { position: absolute; top: 4px; z-index: 2; min-width: 190px; background: #fff; border: 1px solid #dde4e0; border-radius: 10px; box-shadow: var(--shadow); padding: 10px 12px; font-size: 13.5px; pointer-events: none; }
.chart-tip b { display: block; margin-bottom: 4px; color: var(--forest-dark); }
.chart-tip div { display: flex; align-items: center; gap: 8px; }
.chart-tip div span { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; }
.chart-tip .tip-total { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; font-weight: 600; }
.chart-tip .muted { font-size: 12.5px; }
.hbars { display: flex; flex-direction: column; gap: 12px; }
.hbar { display: grid; grid-template-columns: minmax(110px, 40%) 1fr auto; gap: 12px; align-items: center; }
.hbar-label { font-size: 14px; font-weight: 600; line-height: 1.3; }
.hbar-label small { display: block; font-weight: 400; font-size: 12.5px; color: var(--text); }
.hbar-track { height: 14px; }
.hbar-fill { display: block; height: 14px; border-radius: 0 4px 4px 0; }
.hbar-val { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; min-width: 64px; text-align: right; }
.money-box { background: var(--soft); border-radius: 10px; padding: 14px 14px 12px; margin-bottom: 16px; }
td, .tile .value { font-variant-numeric: tabular-nums; }

/* ---------- Invoices (owner) ---------- */
dialog.wide { width: min(920px, calc(100vw - 24px)); }
fieldset.plain { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.plain:disabled input, fieldset.plain:disabled select, fieldset.plain:disabled textarea { background: var(--soft); color: var(--text); }
.row3 { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .row3 { grid-template-columns: 1fr; } }
.lines-wrap { margin-top: 4px; }
table.lines td { padding: 8px 10px; vertical-align: top; }
table.lines input { min-height: 40px; font-size: 14.5px; }
table.lines td.num { text-align: right; font-weight: 600; padding-top: 18px; white-space: nowrap; }
table.lines td .sub { margin-top: 4px; }
.iv-totals { margin: 6px 0 16px auto; max-width: 320px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.iv-totals div { display: flex; justify-content: space-between; gap: 16px; }
.iv-totals span:last-child { font-variant-numeric: tabular-nums; }
.iv-totals .grand { font-weight: 800; font-family: var(--head); font-size: 17px; color: var(--forest-dark); border-top: 1px solid var(--line); padding-top: 6px; }
.job-picks { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin-top: 10px; }
.pick { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1.5px solid #dde4e0; border-radius: 10px; padding: 10px 12px; margin: 0; font-weight: 600; font-size: 14px; cursor: pointer; }
.pick input { margin-top: 3px; width: 18px; height: 18px; min-height: 0; flex: none; }
.pick small { display: block; font-weight: 400; color: var(--text); font-size: 12.5px; }
.pick:has(input:checked) { border-color: var(--forest); background: var(--forest-tint); }
.iv-actions { align-items: center; }
.job-picks { max-height: 260px; overflow-y: auto; padding-right: 4px; }
/* Keep the admin header on one line on laptop screens */
.app-header .wrap { gap: 8px 18px; }
.app-nav { gap: 2px; font-size: 14px; }
.app-nav a, .app-nav button { padding: 9px 11px; }
.user-box { gap: 10px; }
@media (max-width: 1300px) { .user-box .badge { display: none; } }


/* ==========================================================================
   Carousel, Gallery, Review Berry & Activity Reporter
   ========================================================================== */

/* ---------- Hero Carousel ---------- */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72) contrast(1.05);
}
.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,42,32,0.85) 0%, rgba(15,42,32,0.45) 45%, rgba(15,42,32,0.82) 100%);
  pointer-events: none;
}
.carousel-controls {
  position: absolute;
  bottom: 24px;
  right: clamp(16px, 4vw, 48px);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
}
.carousel-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(15, 42, 32, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  backdrop-filter: blur(4px);
}
.carousel-nav-btn:hover {
  background: var(--berry);
  border-color: var(--berry);
  transform: scale(1.06);
}
.carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}
.carousel-dot.active {
  width: 26px;
  border-radius: 10px;
  background: var(--berry-light);
}

/* ---------- Animated Logos Showcase ---------- */
.animated-logos-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: 32px;
}
.animated-logo-card {
  background: var(--forest-dark);
  border: 1px solid var(--forest-line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  box-shadow: 0 4px 18px rgba(0,0,0,0.2);
}
.animated-logo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.32);
  border-color: rgba(255,255,255,0.25);
}
.animated-logo-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #000;
  overflow: hidden;
}
.animated-logo-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.animated-logo-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.animated-logo-content h3 {
  color: #fff;
  font-size: 1.15rem;
  margin: 0 0 6px;
}
.animated-logo-content p {
  color: var(--on-dark);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 16px;
  flex: 1;
}

/* ---------- Review Berry & Activity Reporting Widget ---------- */
.berry-widget-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}
.berry-widget-container * {
  pointer-events: auto;
}

/* Live Activity Ticker */
.activity-reporter {
  display: none !important;
}
.activity-reporter.activity-hidden {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}
.activity-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse-ring 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
  flex-shrink: 0;
}
@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.activity-content {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  white-space: nowrap;
}
.activity-label {
  color: rgba(255,255,255,0.6);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}
.activity-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.25s, transform 0.25s;
}
.act-icon { font-size: 14px; }
.act-tag {
  color: #8be4b7;
  font-weight: 700;
  font-size: 12.5px;
}
.act-text {
  color: #e5ede8;
  font-size: 12.5px;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.act-time {
  color: rgba(255,255,255,0.5);
  font-size: 11px;
}
.activity-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  padding: 0 2px;
  font-size: 16px;
  line-height: 1;
}
.activity-close:hover { color: #fff; }

/* Review Berry Character Box */
.review-berry-box {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  opacity: 0;
  transform: translateY(40px) scale(0.92);
  transition: opacity 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.review-berry-box.berry-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.berry-bubble {
  position: relative;
  background: #ffffff;
  color: var(--ink);
  padding: 16px 18px 14px;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(15,42,32,0.18), 0 2px 6px rgba(0,0,0,0.06);
  border: 2px solid var(--forest);
  max-width: 290px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.review-berry-box.berry-minimized .berry-bubble {
  opacity: 0;
  transform: scale(0.7) translateY(20px);
  pointer-events: none;
}
.bubble-title {
  font-family: var(--head);
  font-weight: 800;
  font-size: 15px;
  color: var(--forest-dark);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.bubble-sub {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text);
  margin: 0 0 8px;
}
.bubble-stars {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.berry-review-btn {
  width: 100%;
  font-size: 13.5px;
  padding: 0 16px;
  min-height: 38px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(138, 36, 57, 0.25);
}
.berry-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  font-size: 18px;
  line-height: 1;
  color: #999;
  cursor: pointer;
  padding: 2px 6px;
}
.berry-close:hover { color: var(--berry); }
.bubble-tail {
  position: absolute;
  bottom: 20px;
  right: -9px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-right: 2px solid var(--forest);
  border-bottom: 2px solid var(--forest);
  transform: rotate(-45deg);
}

.berry-avatar {
  position: relative;
  width: 72px;
  height: 72px;
  cursor: pointer;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 16px rgba(15,42,32,0.22));
  animation: berry-bounce 3.5s infinite ease-in-out;
  transition: transform 0.2s;
}
.berry-avatar:hover {
  transform: scale(1.1) rotate(4deg);
}
.berry-svg {
  width: 100%;
  height: 100%;
}
.berry-badge {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--berry);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1px 7px;
  border-radius: 999px;
  white-space: nowrap;
  border: 1.5px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

@keyframes berry-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px) rotate(2deg); }
}

@media (max-width: 640px) {
  .berry-widget-container {
    bottom: 14px;
    right: 14px;
  }
  .berry-bubble {
    max-width: 240px;
    padding: 12px 14px 10px;
  }
  .bubble-title { font-size: 14px; }
  .bubble-sub { font-size: 11.5px; }
  .berry-avatar { width: 58px; height: 58px; }
  .activity-reporter { max-width: calc(100vw - 28px); font-size: 11.5px; padding: 6px 10px; }
  .act-text { max-width: 130px; }
}

/* ---------- Gallery Page Styles ---------- */
.gallery-hero {
  background: var(--forest-dark);
  color: #fff;
  padding: clamp(48px, 6vw, 80px) 0;
  text-align: center;
}
.gallery-hero h1 { color: #fff; }
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  justify-content: center;
  margin: 32px 0 24px;
}
.filter-btn {
  background: var(--soft);
  color: var(--forest-dark);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover {
  background: var(--forest-tint);
  border-color: var(--forest);
}
.filter-btn.active {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
  box-shadow: 0 4px 14px rgba(15,42,32,0.18);
}
.gallery-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  padding-bottom: 60px;
}
.gallery-card {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--soft);
  box-shadow: var(--shadow);
  cursor: pointer;
  aspect-ratio: 4 / 3;
  transition: transform 0.25s, box-shadow 0.25s;
}
.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15,42,32,0.18);
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.gallery-card:hover img {
  transform: scale(1.06);
}
.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15,42,32,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  color: #fff;
  opacity: 0.95;
  transition: opacity 0.2s;
}
.gallery-card-overlay .tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--berry);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}
.gallery-card-overlay .title {
  font-family: var(--head);
  font-weight: 700;
  font-size: 15px;
  margin: 0;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10, 26, 20, 0.94);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.lightbox-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-content {
  position: relative;
  max-width: min(1040px, 94vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--r-sm);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.lightbox-caption {
  color: #e5ede8;
  font-size: 14.5px;
  font-weight: 500;
  margin-top: 14px;
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
}
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  backdrop-filter: blur(4px);
}
.lightbox-prev:hover, .lightbox-next:hover {
  background: var(--berry);
  border-color: var(--berry);
}
.lightbox-prev { left: -64px; }
.lightbox-next { right: -64px; }
@media (max-width: 768px) {
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

/* ---------- Individual Services Detail Page Styles ---------- */
.service-company-section {
  padding: clamp(56px, 7vw, 96px) 0;
  border-bottom: 1px solid var(--line);
}
.service-company-section:nth-child(even) {
  background: var(--soft);
}
.service-company-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}
@media (max-width: 900px) {
  .service-company-grid {
    grid-template-columns: 1fr;
  }
}
.service-list-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0 32px;
}
.service-item-row {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 16px 18px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.service-item-row h4 {
  margin: 0 0 4px;
  font-size: 16px;
  color: var(--forest-dark);
}
.service-item-row p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.5;
}
.company-media-box {
  background: #000;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line-strong);
}
.company-media-box video {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  display: block;
}
.company-badge-header {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}


/* ---------- Services Picker Popover ---------- */
.services-popover {
  position: fixed;
  background: #ffffff;
  border-radius: var(--r);
  box-shadow: 0 20px 50px rgba(15, 42, 32, 0.22), 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--line);
  padding: 12px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10000;
  display: flex;
  flex-direction: column;
}
.services-popover.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.services-popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 8px 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}
.services-popover-head span {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
}
.services-popover-close {
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  color: #999;
  cursor: pointer;
  padding: 0 4px;
}
.services-popover-close:hover {
  color: var(--berry);
}
.services-popover-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 420px;
  overflow-y: auto;
}
.services-popover-list .sp-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.services-popover-list .sp-item:hover {
  background: var(--soft);
  color: var(--forest);
}
.services-popover-list .sp-item b {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}
.services-popover-list .sp-item small {
  display: block;
  font-size: 12px;
  color: var(--text);
  font-weight: 400;
  margin-top: 1px;
}
.sp-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}
.services-popover-foot {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.services-popover-foot a {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--berry);
  text-decoration: none;
  padding: 4px 0;
}
.services-popover-foot a:hover {
  color: var(--berry-dark);
}

/* ---------- Careers & Employment ---------- */
.careers-hero {
  background: linear-gradient(180deg, var(--forest-dark) 0%, #15392b 100%);
  color: #fff;
  padding: clamp(56px, 8vw, 88px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.careers-hero .wrap {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.careers-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  margin: 16px 0 14px;
}
.lang-toggle-wrap {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 4px;
  margin-top: 24px;
  backdrop-filter: blur(8px);
}
.lang-btn {
  border: none;
  background: transparent;
  color: #e2ede7;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lang-btn.active {
  background: #fff;
  color: var(--forest-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.perk-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.2s ease;
}
.perk-card:hover {
  transform: translateY(-2px);
}
.perk-icon {
  font-size: 28px;
  margin-bottom: 4px;
}
.perk-card h3 {
  margin: 0;
  font-size: 17px;
  color: var(--forest-dark);
}
.perk-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}
.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.role-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.role-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.role-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
}
.role-type {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  background: var(--soft);
  padding: 3px 8px;
  border-radius: var(--r-sm);
}
.role-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
}
.role-pay {
  font-weight: 700;
  color: var(--forest);
  font-size: 15px;
  margin-bottom: 12px;
}
.role-desc {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.55;
  margin: 0 0 16px;
  flex: 1;
}
.role-duties {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink);
}
.role-duties li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.role-duties li svg {
  flex-shrink: 0;
  color: var(--forest);
  margin-top: 2px;
}
.apply-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(24px, 5vw, 44px);
  box-shadow: var(--shadow-lg);
  max-width: 860px;
  margin: 0 auto;
}
.specialty-picks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
  margin-top: 8px;
  margin-bottom: 20px;
}
.spec-pick {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border: 1.5px solid #dde4e0;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.spec-pick:hover {
  border-color: var(--forest);
  background: #fafdfb;
}
.spec-pick input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--forest);
  cursor: pointer;
}
.spec-pick-info {
  display: flex;
  flex-direction: column;
}
.spec-pick-info b {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.25;
}
.spec-pick-info small {
  font-size: 12px;
  color: var(--text);
  margin-top: 2px;
}
.spec-pick:has(input:checked) {
  border-color: var(--forest);
  background: color-mix(in srgb, var(--forest) 8%, #ffffff);
}
.file-dropzone {
  border: 2px dashed #cfdcd5;
  border-radius: var(--r-sm);
  padding: 24px;
  text-align: center;
  background: var(--soft);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}
.file-dropzone:hover, .file-dropzone.dragover {
  border-color: var(--forest);
  background: color-mix(in srgb, var(--forest) 6%, #ffffff);
}
.file-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.file-preview {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  margin-top: 10px;
  box-shadow: var(--shadow);
}
.file-remove-btn {
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 0 4px;
}
.file-remove-btn:hover {
  color: var(--bad);
}
