/* StayaBee shared styles */

/* Self-hosted font (no visitor data sent to Google). Licence: assets/fonts/OFL.txt */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/plus-jakarta-sans-latin.woff2") format("woff2");
}

/* ---- Brand tokens: change these to re-skin every page ---- */
:root {
  --honey: #F4B41A;
  --honey-dark: #D99A00;
  --honey-soft: #FFF4D6;
  --ink: #10233F;
  --ink-2: #2B3E5C;
  --muted: #5A6B85;
  --line: #E3E7EE;
  --cream: #FFFBF1;
  --white: #FFFFFF;
  --success: #1E7B4F;
  --error: #B42318;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16,35,63,.06), 0 8px 24px rgba(16,35,63,.08);
  --max: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif; color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: var(--honey-soft); border: 1px solid #F6DD95; padding: 4px 12px; border-radius: 999px; margin-bottom: 16px; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 46ch; }
section { padding: 88px 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
:focus-visible { outline: 3px solid var(--honey-dark); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: 1rem; padding: 14px 24px; border-radius: 10px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .05s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--honey); color: var(--ink); }
.btn-primary:hover { background: var(--honey-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* Header */
header.site { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; }
.brand span b { color: var(--honey-dark); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-2); white-space: nowrap; }
.nav-links a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--honey); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.nav-cta { display: flex; gap: 10px; }
.nav-cta .btn { padding: 10px 18px; font-size: .95rem; white-space: nowrap; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.mobile-book { display: none; }
.mobile-menu { display: none; border-top: 1px solid var(--line); padding: 12px 20px 20px; }
.mobile-menu a { display: block; padding: 12px 0; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { width: 100%; margin-top: 14px; border-bottom: 0; }
.mobile-menu.open { display: block; }

/* Hero */
.hero { background: var(--cream); position: relative; overflow: hidden; padding: 72px 0 88px; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0l28 16.2v32.3L28 64.7 0 48.5V16.2z M28 64.7v32.3' fill='none' stroke='%23F4B41A' stroke-opacity='.18' stroke-width='1.5'/%3E%3C/svg%3E"); mask-image: linear-gradient(90deg, transparent 0%, transparent 40%, #000 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 40%, #000 100%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 .hl { background: linear-gradient(transparent 62%, var(--honey) 62%, var(--honey) 92%, transparent 92%); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; max-width: 520px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: .97rem; }
.ticks svg { flex: none; margin-top: 3px; }

/* Cards & forms */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.form-card h2 { font-size: 1.45rem; margin-bottom: 4px; }
.form-card .sub { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; align-items: end; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.grid-2 .field { margin-bottom: 0; }
label { font-weight: 600; font-size: .88rem; color: var(--ink-2); }
label .opt { font-weight: 500; color: var(--muted); }
input, select, textarea { font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid #CDD4DF; border-radius: 9px; padding: 11px 12px; width: 100%; min-width: 0; }
textarea { min-height: 88px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(244,180,26,.45); }
input:user-invalid, select:user-invalid, textarea:user-invalid { border-color: var(--error); }
.form-foot { margin-top: 18px; }
.form-foot .btn { width: 100%; }
.small { font-size: .82rem; color: var(--muted); margin-top: 12px; margin-bottom: 0; }
.small a { color: var(--ink); font-weight: 600; }
.hp { position: absolute; left: -9999px; }
.status { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 9px; font-weight: 600; font-size: .95rem; }
.status.ok { display: block; background: #E7F6EE; color: var(--success); border: 1px solid #B7E2CA; }
.status.err { display: block; background: #FDECEA; color: var(--error); border: 1px solid #F5C2BC; }

/* Strip */
.strip { background: var(--ink); color: #fff; padding: 22px 0; }
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; }
.strip li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .97rem; }
.strip li::before { content: ""; width: 10px; height: 11px; background: var(--honey); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); flex: none; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.step .num { width: 48px; height: 52px; display: grid; place-items: center; background: var(--honey); color: var(--ink); font-weight: 800; font-size: 1.2rem; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); margin-bottom: 18px; }
.step p { color: var(--muted); margin: 0; }

/* Benefits */
.benefits { background: var(--cream); }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.icon { width: 44px; height: 44px; border-radius: 10px; background: var(--honey-soft); display: grid; place-items: center; margin-bottom: 14px; color: var(--ink); }
.benefit p { color: var(--muted); margin: 0; font-size: .97rem; }

/* Industries */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; background: #fff; }
.chip svg { color: var(--honey-dark); }

/* Providers */
.providers { background: var(--ink); color: #fff; }
.providers .eyebrow { background: rgba(244,180,26,.15); border-color: rgba(244,180,26,.4); color: var(--honey); }
.providers .lead { color: #C9D3E3; }
.prov-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.prov-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.prov-list li { display: flex; gap: 14px; }
.prov-list .icon { background: rgba(244,180,26,.15); color: var(--honey); margin: 0; flex: none; }
.prov-list h3 { margin-bottom: 2px; color: #fff; }
.prov-list p { margin: 0; color: #C9D3E3; font-size: .97rem; }
.prov-types { margin-top: 28px; color: #C9D3E3; font-size: .95rem; }
.providers .card { color: var(--ink); }

/* FAQ */
.faq-list { max-width: 820px; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 700; font-size: 1.05rem; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 500; color: var(--honey-dark); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); padding-right: 40px; }

/* CTA band */
.cta-band { padding: 0 0 88px; }
.cta-inner { background: var(--honey); border-radius: 20px; padding: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-inner h2 { margin: 0 0 6px; }
.cta-inner p { margin: 0; color: var(--ink-2); font-weight: 500; }
.cta-inner .btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
footer { background: #0B1930; color: #AEB9CC; padding: 48px 0 32px; font-size: .93rem; }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
footer .brand { color: #fff; margin-bottom: 10px; }
footer nav a, footer .foot-col a { display: block; text-decoration: none; padding: 3px 0; }
footer a:hover { color: #fff; }
footer h3 { color: #fff; font-size: .95rem; margin-bottom: 8px; }
.foot-legal { border-top: 1px solid #22324D; margin-top: 32px; padding-top: 20px; font-size: .85rem; }
.foot-legal p { margin: 0 0 6px; }

/* Legal / document pages */
.doc-hero { background: var(--cream); padding: 56px 0 40px; border-bottom: 1px solid var(--line); }
.doc-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.doc-hero p { color: var(--muted); margin: 0; }
.doc { max-width: 780px; padding: 48px 20px 88px; margin: 0 auto; }
.doc h2 { font-size: 1.4rem; margin: 40px 0 12px; }
.doc h3 { margin: 24px 0 8px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-left: 1.3em; margin: 0 0 1em; }
.doc li { margin-bottom: 6px; }
.doc a { color: var(--ink); font-weight: 600; text-decoration-color: var(--honey); text-decoration-thickness: 2px; }
.doc table { width: 100%; border-collapse: collapse; margin: 0 0 1em; font-size: .95rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
.doc th { background: var(--cream); }
.table-scroll { overflow-x: auto; }
.toc { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.toc ol { margin: 0; padding-left: 1.3em; columns: 2; column-gap: 32px; }
.toc a { font-weight: 600; text-decoration: none; }

/* Responsive */
@media (max-width: 1100px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: block; }
  .mobile-book { display: inline-flex; padding: 9px 16px; font-size: .95rem; margin-left: auto; }
}
@media (max-width: 960px) {
  .hero-grid, .prov-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps, .benefit-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .steps, .benefit-grid, .grid-2, .ticks { grid-template-columns: 1fr; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .card { padding: 22px 18px; }
  .cta-inner { padding: 32px 22px; }
  .cta-inner .btns, .cta-inner .btn { width: 100%; }
  .strip ul { flex-direction: column; }
  .toc ol { columns: 1; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---- V3 additions: contact details, areas and location pages ---- */
.nav-phone { display: inline-flex; align-items: center; font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap; padding: 0 6px; }
.nav-phone:hover { text-decoration: underline; text-decoration-color: var(--honey); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.contact-line { margin: 22px 0 0; font-weight: 600; color: var(--ink-2); }
.contact-line a { white-space: nowrap; }
.cta-inner .cta-contact { margin-top: 8px; font-weight: 600; }
.cta-inner .cta-contact a { white-space: nowrap; }
a.chip { text-decoration: none; transition: border-color .15s; }
a.chip:hover { border-color: var(--honey); }
.areas-more { margin-top: 24px; font-weight: 700; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.local-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }
.local-grid .prose p { font-size: 1.06rem; color: var(--ink-2); }
.note { background: var(--honey-soft); border: 1px solid #F6DD95; border-radius: var(--radius); padding: 16px 18px; font-weight: 500; }
.facts h3 { font-size: 1rem; margin: 0 0 4px; }
.facts p { color: var(--muted); margin: 0 0 18px; }
.facts p:last-child { margin-bottom: 0; }
.region-block { margin-bottom: 36px; }
.region-block h2 { font-size: 1.4rem; }
.area-links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 24px; }
.area-links a { font-weight: 600; text-decoration-color: var(--honey); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.prose-wide { max-width: 820px; }
.prose-wide h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-top: 40px; }
.prose-wide p { font-size: 1.06rem; color: var(--ink-2); }
.table-wrap { overflow-x: auto; margin: 8px 0 20px; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .97rem; min-width: 640px; }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.table-wrap thead th { background: var(--honey-soft); }
.checklist { grid-template-columns: 1fr; max-width: none; margin-bottom: 20px; }
.local-grid .prose h3 { font-size: 1.2rem; }
.social-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.social-btns .btn { padding: 10px 16px; font-size: .95rem; }
.btn-wa { background: #25D366; color: var(--ink); }
.btn-wa:hover { background: #1EBE5A; }
.foot-social { display: flex; gap: 10px; margin-top: 16px; }
.soc { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; transition: transform .15s, filter .15s; }
.soc:hover { transform: translateY(-2px); filter: brightness(1.08); }
.soc-fb { background: #1565D8; color: #fff !important; }
.soc-wa { background: #25D366; color: var(--ink) !important; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; background: #25D366; color: var(--ink); font-weight: 700; text-decoration: none; padding: 12px 18px; border-radius: 999px; box-shadow: 0 6px 20px rgba(16,35,63,.25); }
.wa-float:hover { background: #1EBE5A; }
@media (max-width: 640px) { .wa-float { padding: 14px; } .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
@media (max-width: 1240px) { .nav-phone { display: none; } }
@media (max-width: 960px) { .local-grid { grid-template-columns: 1fr; } }
