﻿/* BeeMore Theme Styles */
:root {
  --blue: #1F7ACB;
  --yellow: #F2C21A;
  --black: #1B1B1B;
  --light-blue: #A7D3F2;
  --light-yellow: #FFE89A;
  --bg: #F7F7F2;
  --white: #FFFFFF;
  --radius: 20px;
  --shadow: 0 16px 30px rgba(15, 35, 55, 0.12);
  --text: #1B1B1B;
  --text-soft: #3c4a57;
  --surface: #ffffff;
  --surface-muted: #f6f8fb;
  --border: #d7e5f2;
  --border-strong: #cfe0ef;
  --header-bg: rgba(255, 255, 255, 0.95);
  --header-border: #eef1f5;
  --page-bg-color: #fff9ee;
  --page-bg-image: url("../img/honeycomp_background.png");
  --page-bg-position: center top;
  --page-bg-size: 100vw auto;
  --page-bg-repeat: no-repeat;
  --page-bg-attachment: fixed;
  --focus-bg: linear-gradient(135deg, #ffffff 0%, #f5fbff 100%);
  --cta-bg: linear-gradient(120deg, #ffffff 0%, #fff5cc 60%, #e5f4ff 100%);
  --hero-overlay: linear-gradient(180deg, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0.9) 45%, rgba(255,255,255,0.98) 100%);
}

body.theme-dark {
  --text: #f7f7f2;
  --text-soft: #c7d2dc;
  --surface: #151c23;
  --surface-muted: #10161c;
  --border: #26313b;
  --border-strong: #33414d;
  --header-bg: rgba(12, 16, 20, 0.92);
  --header-border: #1f2a33;
  --page-bg-color: #0b1016;
  --page-bg-image: linear-gradient(rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.52)), url("../img/honeycomp_background.png");
  --focus-bg: linear-gradient(135deg, #0f141a 0%, #111a22 100%);
  --cta-bg: linear-gradient(120deg, #0f141a 0%, #13202a 55%, #10171f 100%);
  --hero-overlay: linear-gradient(180deg, rgba(8,12,16,0.6) 0%, rgba(8,12,16,0.78) 45%, rgba(8,12,16,0.9) 100%);
  --shadow: 0 16px 30px rgba(5, 8, 12, 0.45);
}

body:not(.theme-dark).home,
body:not(.theme-dark).page-about,
body:not(.theme-dark).page-services,
body:not(.theme-dark).page-contact {
  --page-bg-color: #fff9ee;
  --page-bg-image: url("../img/honeycomp_background.png");
  --page-bg-position: center top;
  --page-bg-size: 100vw auto;
  --page-bg-repeat: no-repeat;
  --page-bg-attachment: fixed;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito", Arial, sans-serif;
  color: var(--text);
  background-color: var(--page-bg-color);
  background-image: var(--page-bg-image);
  background-position: var(--page-bg-position);
  background-size: var(--page-bg-size);
  background-repeat: var(--page-bg-repeat);
  background-attachment: var(--page-bg-attachment);
  cursor: url("../img/bee-cursor.png") 8 8, auto;
}

body.home .hero {
  background: var(--surface-muted) url("../img/bg-pages/bg-home.png") center/cover no-repeat;
  border-radius: 0 0 36px 36px;
  overflow: hidden;
}

body.home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  pointer-events: none;
  z-index: 0;
}

body.home .hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--page-bg-color) 100%);
  pointer-events: none;
  z-index: 0;
}

body:not(.theme-dark).home .hero::before {
  background: linear-gradient(180deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.55) 45%, rgba(255,255,255,0.7) 100%);
}

body.theme-dark.home .hero::before {
  background: linear-gradient(180deg, rgba(8,12,16,0.32) 0%, rgba(8,12,16,0.46) 45%, rgba(8,12,16,0.58) 100%);
}

body.theme-dark .page-hero::before {
  background: linear-gradient(180deg, rgba(8,12,16,0.28) 0%, rgba(8,12,16,0.42) 45%, rgba(8,12,16,0.54) 100%);
}

body.home .hero > .container {
  position: relative;
  z-index: 1;
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  pointer-events: none;
  z-index: 0;
}

.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--page-bg-color) 100%);
  pointer-events: none;
  z-index: 0;
}

body:not(.theme-dark) .page-hero::before {
  background: linear-gradient(180deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.55) 45%, rgba(255,255,255,0.7) 100%);
}

.page-hero > .container {
  position: relative;
  z-index: 1;
}

body.page-about .page-hero {
  background: var(--surface-muted) url("../img/bg-pages/bg-about.png") center/cover no-repeat;
  border-radius: 0 0 36px 36px;
}

body.page-services .page-hero {
  background: var(--surface-muted) url("../img/bg-pages/bg-services.png") center/cover no-repeat;
  border-radius: 0 0 36px 36px;
}

body.page-contact .page-hero {
  background: var(--surface-muted) url("../img/bg-pages/bg-contact.png") center/cover no-repeat;
  border-radius: 0 0 36px 36px;
}

body.page-about .page-hero.parallax {
  background-attachment: fixed;
}

body.page-services .page-hero.parallax {
  background-attachment: fixed;
}

body.page-contact .page-hero.parallax {
  background-attachment: fixed;
}

@media (max-width: 900px) {
  body.page-about .page-hero.parallax,
  body.page-services .page-hero.parallax,
  body.page-contact .page-hero.parallax {
    background-attachment: scroll;
  }
}

body.page-about .page-hero,
body.page-services .page-hero,
body.page-contact .page-hero {
  background-position: center;
}

h1, h2, h3 {
  font-family: "Baloo 2", "Trebuchet MS", cursive;
  margin: 0 0 12px;
}

p { margin: 0 0 16px; line-height: 1.6; }

a { color: inherit; text-decoration: none; }

a, button, .btn {
  cursor: url("../img/bee-cursor.png") 8 8, pointer;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  background: var(--header-bg);
  backdrop-filter: blur(6px);
  z-index: 10;
  border-bottom: 1px solid var(--header-border);
  transition: box-shadow 0.2s ease;
}

.site-header.is-shrink .header-inner {
  padding: 8px 0;
}

.site-header.is-shrink .brand-mark,
.site-header.is-shrink .brand-logo {
  width: 32px;
  height: 32px;
}

.site-header.is-shrink .btn {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  transition: padding 0.2s ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: var(--black);
  font-family: "Baloo 2", cursive;
  box-shadow: inset 0 0 0 3px #ffe89a;
  transition: width 0.2s ease, height 0.2s ease;
}

.brand-text { font-weight: 700; }

.site-nav .menu {
  list-style: none;
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.site-nav a { font-weight: 600; }
.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.site-nav a.active {
  color: var(--blue);
}

.site-nav a.active::after {
  transform: scaleX(1);
}

.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(12, 20, 28, 0.55);
  display: none;
  z-index: 9999;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu-inner {
  position: absolute;
  inset: 0;
  background: var(--surface);
  padding: 28px 22px;
  display: grid;
  align-content: start;
  gap: 18px;
}

.mobile-menu nav {
  display: grid;
  gap: 16px;
  font-size: 1.1rem;
  font-weight: 700;
}

.mobile-menu nav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
}

.mobile-menu nav a::before {
  content: "";
  width: 18px;
  height: 18px;
  background: url("../img/bee-cursor.png") no-repeat center / contain;
  flex: 0 0 auto;
}

.mobile-menu nav a.active {
  color: var(--blue);
}

.mobile-close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 26px;
  line-height: 1;
  justify-self: end;
  color: var(--text);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease, padding 0.2s ease, font-size 0.2s ease;
}

.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* page load animation */
body {
  animation: page-fade 0.7s ease both;
}

@keyframes page-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary {
  position: relative;
  animation: cta-pulse 2.8s ease-in-out infinite;
}

@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 0 rgba(31, 122, 203, 0.0); }
  50% { box-shadow: 0 10px 24px rgba(31, 122, 203, 0.28); }
}

.btn-outline {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--surface);
}

.site-main { min-height: 70vh; }

.section {
  padding: 72px 0;
  position: relative;
}

.site-main > .section + .section {
  padding-top: 82px;
}

.site-main > .section + .section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(84vw, 1080px);
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent 0%, rgba(47, 70, 95, 0.18) 18%, rgba(47, 70, 95, 0.36) 50%, rgba(47, 70, 95, 0.18) 82%, transparent 100%);
  border-radius: 999px;
  pointer-events: none;
}

.hero {
  padding: 80px 0 40px;
  position: relative;
}

.hero-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px;
  align-items: center;
}

.hero-copy h1 { font-size: clamp(2rem, 2.8vw, 3.2rem); }

.eyebrow { color: var(--blue); font-weight: 700; letter-spacing: 0.5px; }

.lead { font-size: 1.1rem; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }

/* Hero text stagger */
.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy .lead,
.hero-copy .hero-actions,
.hero-copy .hero-badges {
  opacity: 0;
  transform: translateY(14px);
  animation: hero-reveal 0.7s ease forwards;
}

.hero-copy .eyebrow { animation-delay: 0.1s; }
.hero-copy h1 { animation-delay: 0.2s; }
.hero-copy .lead { animation-delay: 0.3s; }
.hero-copy .hero-actions { animation-delay: 0.4s; }
.hero-copy .hero-badges { animation-delay: 0.5s; }

@keyframes hero-reveal {
  to { opacity: 1; transform: translateY(0); }
}

.page-hero h1,
.page-hero .lead {
  opacity: 0;
  transform: translateY(12px);
  animation: hero-reveal 0.7s ease forwards;
}

.page-hero h1 { animation-delay: 0.15s; }
.page-hero .lead { animation-delay: 0.28s; }

.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-badges .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.icon,
.feature-icon,
.pill-icon,
.time-icon {
  display: inline-grid;
  place-items: center;
  color: var(--blue);
}

.icon svg,
.feature-icon svg,
.pill-icon svg,
.time-icon svg {
  width: 20px;
  height: 20px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--light-yellow);
  box-shadow: inset 0 0 0 2px #ffe6a3;
  margin-bottom: 12px;
}

.pill-icon {
  width: 22px;
  height: 22px;
  color: var(--blue);
}

.time-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-illustration {
  position: relative;
  min-height: 260px;
}

.bubble {
  animation: float 6s ease-in-out infinite;
}

.bubble-blue { animation-delay: 0.4s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.bubble {
  position: absolute;
  border-radius: 50%;
  opacity: 0.9;
}

.bubble-yellow { width: 160px; height: 160px; background: var(--yellow); top: 20px; right: 20px; }
.bubble-blue { width: 200px; height: 200px; background: var(--light-blue); bottom: 0; left: 0; }

.card {
  position: absolute;
  right: 24px;
  bottom: 20px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  max-width: 220px;
}

.card-title { font-weight: 700; margin-bottom: 8px; }

.card-pill {
  display: inline-block;
  background: var(--light-yellow);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  margin-top: 12px;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  align-items: start;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature {
  background: var(--surface);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(15, 35, 55, 0.16);
}

.focus-areas { background: transparent; }

.pill-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.page-services .pill-grid {
  margin-top: 24px;
}

.page-services .page-content h2 {
  margin-top: 28px;
}

.pill-grid .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
  border: 1px dashed var(--border);
}

.schedule-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.time-block { margin-bottom: 14px; }

.time-label { font-weight: 700; color: var(--blue); }

.cta { background: var(--cta-bg); }

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.page-hero { padding: 64px 0 20px; }

.page-content .content { max-width: 860px; }

.contact-block {
  display: grid;
  gap: 10px;
}

.info-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(15, 35, 55, 0.16);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-weight: 700;
}

.site-footer {
  background: #101820;
  color: #fff;
  padding: 36px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.footer-note { opacity: 0.8; }

.footer-links .menu {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 8px;
}

.org-chart-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.org-chart-card img {
  width: 100%;
  height: auto;
  display: block;
}

.map-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.branch-tabs {
  margin-top: 18px;
}

.branch-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.branch-tab {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.branch-tab:hover {
  transform: translateY(-1px);
}

.branch-tab.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 14px 26px rgba(31, 122, 203, 0.28);
}

.branch-tab:focus-visible {
  outline: 3px solid rgba(31, 122, 203, 0.28);
  outline-offset: 2px;
}

.branch-hint {
  margin: 0 0 14px;
  opacity: 0.82;
}

.branch-panels {
  display: grid;
  gap: 18px;
}

.branch-panel {
  display: grid;
  gap: 14px;
  padding-inline: 12px;
}

.branch-panel[hidden] {
  display: none !important;
}

.branch-panel h3 {
  margin-bottom: 2px;
}

.branch-panel .map-card {
  margin-top: 0;
}

.map-caption {
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 10px;
}

@media (max-width: 640px) {
  .branch-panel {
    padding-inline: 4px;
  }
}

@media (min-width: 1024px) {
  .branch-panel {
    padding-inline: 16px;
  }
}

.map-card iframe {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: 14px;
  display: block;
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.form-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 0.98rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-soft);
}

.form-status {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 600;
  display: none;
}

.form-status.success {
  display: block;
  background: #e8f7ee;
  color: #1d6b3a;
}

.form-status.error {
  display: block;
  background: #fdeaea;
  color: #9b2c2c;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-grid img:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(15, 35, 55, 0.16);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 30, 0.75);
  display: none;
  place-items: center;
  padding: 24px;
  z-index: 10000;
}

.lightbox.is-open {
  display: grid;
}

.lightbox-image {
  max-width: min(92vw, 1100px);
  max-height: 82vh;
  width: auto;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
  background: var(--surface);
  object-fit: contain;
  display: block;
  margin: 0 auto;
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.lightbox-image.slide-out-left {
  opacity: 0;
  transform: translateX(-40px);
}

.lightbox-image.slide-out-right {
  opacity: 0;
  transform: translateX(40px);
}

.lightbox-image.slide-in-right {
  opacity: 0;
  transform: translateX(40px);
}

.lightbox-image.slide-in-left {
  opacity: 0;
  transform: translateX(-40px);
}

.lightbox-nav,
.lightbox-close {
  position: absolute;
  background: var(--surface);
  color: var(--text);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.lightbox-close {
  top: 20px;
  right: 20px;
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

@media (max-width: 680px) {
  .lightbox-nav { display: none; }
}

.bee-trail-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffd14d;
  border: 1px solid var(--text);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50px, -50px);
}

/* Parallax sections */
.section.parallax {
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--reveal-delay, 0s);
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.bee-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-100px, -100px);
}

.bee-body {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #ffd14d;
  border: 2px solid var(--text);
  box-shadow: inset 0 0 0 2px var(--text);
}

.bee-body::before,
.bee-body::after {
  content: "";
  position: absolute;
  top: 2px;
  bottom: 2px;
  width: 2px;
  background: var(--text);
}

.bee-body::before { left: 6px; }
.bee-body::after { right: 6px; }

.bee-wing {
  position: absolute;
  width: 12px;
  height: 8px;
  background: rgba(200, 236, 255, 0.9);
  border: 1px solid var(--text);
  border-radius: 50% 50% 50% 50%;
  top: 2px;
  animation: bee-flap 0.35s ease-in-out infinite;
}

.bee-wing-left { left: 1px; transform-origin: right bottom; }
.bee-wing-right { right: 1px; transform-origin: left bottom; }

@keyframes bee-flap {
  0%, 100% { transform: rotate(10deg); }
  50% { transform: rotate(-18deg); }
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: "Baloo 2", "Nunito", sans-serif;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(27, 27, 27, 0.18);
  border: 2px solid #fff;
  z-index: 9998;
  animation: float 5.5s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(27, 27, 27, 0.22);
}

.whatsapp-float:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.whatsapp-float .whatsapp-badge {
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 90px;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 2px solid var(--blue);
  background: var(--surface);
  color: var(--blue);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 9997;
}

.scroll-top svg {
  width: 22px;
  height: 22px;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(27, 27, 27, 0.18);
}

.scroll-top:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

@media (max-width: 860px) {
  .site-nav { display: none; }
  .mobile-toggle { display: inline-flex; }
  .header-inner { flex-wrap: nowrap; }
  .btn { white-space: nowrap; }
  .hero { padding-top: 56px; }
  .theme-toggle--header { display: none; }
  .header-actions .lang-switcher { display: none; }
  .header-actions .settings-trigger { display: none; }
  .theme-toggle { padding: 8px 12px; }
  .theme-toggle-text { font-size: 0.9rem; }
  .whatsapp-float {
    width: 52px;
    height: 52px;
    right: 14px;
    bottom: 14px;
  }
  .scroll-top {
    right: 14px;
    bottom: 78px;
    width: 44px;
    height: 44px;
  }
}

.brand-logo{width:40px;height:40px;object-fit:contain;display:block;}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  font-family: "Nunito", Arial, sans-serif;
  box-shadow: var(--shadow);
}

.theme-toggle-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #1f7acb;
  position: relative;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.7);
}

.theme-toggle-icon::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f2c21a;
  top: -4px;
  right: -4px;
}

body.theme-dark .theme-toggle-icon {
  background: #f2c21a;
  box-shadow: inset 0 0 0 2px rgba(27, 27, 27, 0.4);
}

body.theme-dark .theme-toggle-icon::after {
  background: #1f7acb;
  top: 4px;
  right: 4px;
  width: 6px;
  height: 6px;
}

.theme-toggle--header .theme-toggle-icon {
  display: none;
}

@media (max-width: 1024px) {
  .theme-toggle--header {
    display: none;
  }
}

.mobile-menu .theme-toggle {
  width: 100%;
  justify-content: space-between;
  max-width: 100%;
  min-width: 0;
  display: flex;
  background: var(--surface-muted);
  border: 1px solid var(--border-strong);
  box-shadow: none;
}

.theme-toggle-text {
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
}

.theme-toggle-row {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.settings-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}

.settings-trigger svg {
  width: 22px;
  height: 22px;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.lang-switcher button {
  border: 0;
  background: transparent;
  color: var(--text-soft);
  font-weight: 800;
  font-family: "Nunito", Arial, sans-serif;
  font-size: 0.85rem;
  padding: 8px 12px;
  border-radius: 999px;
}

.lang-switcher button.is-active,
.lang-switcher button[aria-pressed="true"] {
  background: var(--blue);
  color: #fff;
}

.mobile-menu .lang-switcher {
  width: 100%;
  justify-content: space-between;
  box-shadow: none;
  background: var(--surface-muted);
  border: 1px solid var(--border-strong);
}

.mobile-menu .lang-switcher button {
  flex: 1 1 50%;
}

.settings-modal {
  position: fixed;
  inset: 0;
  background: rgba(12, 20, 28, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 10001;
}

.settings-modal.is-open {
  display: flex;
}

.settings-panel {
  width: min(360px, 100%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 20px;
}

.settings-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.settings-panel-header h3 {
  margin: 0;
}

.settings-close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
}

.settings-group {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.settings-label {
  font-weight: 800;
  color: var(--text-soft);
}

.settings-panel .theme-toggle {
  width: 100%;
  justify-content: space-between;
  background: var(--surface-muted);
  border: 1px solid var(--border-strong);
  box-shadow: none;
}
