/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --color-primary:    #1F7A3F;
  --color-dark:       #145A32;
  --color-black:      #111111;
  --color-white:      #FFFFFF;
  --color-grey:       #F5F5F5;
  --color-grey-mid:   #E0E0E0;
  --color-muted:      #888888;
  --color-online:     #4ADE80;

  --radius-bubble: 18px;
  --radius-btn:    10px;
  --radius-widget: 18px;

  --shadow-widget: 0 12px 48px rgba(0, 0, 0, 0.22);
  --shadow-btn:    0 2px 8px rgba(31, 122, 63, 0.25);
  --shadow-card:   0 4px 20px rgba(0, 0, 0, 0.08);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-size-base: 15px;
  --font-size-sm:   13px;
  --font-size-xs:   11px;

  --nav-h:          68px;
  --transition-fast: 140ms ease;
  --transition-med:  240ms ease;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: var(--font-size-base);
  color: var(--color-black);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input  { font-family: inherit; }
img    { max-width: 100%; display: block; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: var(--radius-btn);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast),
              border-color var(--transition-fast), box-shadow var(--transition-fast),
              opacity var(--transition-fast);
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn--lg     { padding: 14px 28px; font-size: 1rem; }
.btn--green  { background: var(--color-primary); color: var(--color-white); }
.btn--green:hover  { background: var(--color-dark); box-shadow: var(--shadow-btn); }
.btn--white  { background: var(--color-white); color: var(--color-primary); }
.btn--white:hover  { background: var(--color-grey); }
.btn--nav    { background: var(--color-white); color: var(--color-primary); padding: 9px 18px; font-size: 0.85rem; }
.btn--nav:hover    { background: var(--color-grey); }
.btn--outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.6);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--color-white);
}
.btn--green-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--green-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-btn);
}

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 80px 0;
}
.section--dark  { background: var(--color-dark); color: var(--color-white); }
.section--grey  { background: var(--color-grey); }

.section__header {
  text-align: center;
  margin-bottom: 52px;
}
.section__header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--color-black);
  margin-bottom: 12px;
}
.section__header p {
  font-size: 1.05rem;
  color: var(--color-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}
.section__header--light h2 { color: var(--color-white); }
.section__header--light p  { color: rgba(255,255,255,0.72); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--color-primary);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  height: var(--nav-h);
}
.nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__logo {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--color-white);
  letter-spacing: 0.06em;
  flex-shrink: 0;
}
.nav__logo span { color: rgba(255,255,255,0.7); }
.nav__links {
  display: flex;
  gap: 24px;
  flex: 1;
}
.nav__links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition-fast);
}
.nav__links a:hover { color: var(--color-white); }
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition-med), opacity var(--transition-med);
}
.nav__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--color-dark);
  padding: 0 24px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.nav__mobile.is-open {
  max-height: 400px;
  padding: 8px 24px 20px;
}
.nav__mobile a {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: block;
}
.nav__mobile a:hover  { color: var(--color-white); }
.nav__mobile .btn     { margin-top: 14px; width: 100%; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 24px 90px;
  text-align: center;
  color: var(--color-white);
  background:
    radial-gradient(ellipse 140% 90% at 50% 0%, #1F7A3F 0%, #145A32 65%, #0e3d22 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}
.hero__badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}
.hero__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--color-white);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.hero__ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero__trust {
  display: flex;
  gap: 16px 24px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.78);
  font-weight: 600;
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--color-white);
  border: 1.5px solid var(--color-grey-mid);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow var(--transition-med), transform var(--transition-med), border-color var(--transition-med);
}
.service-card:hover {
  box-shadow: 0 8px 32px rgba(31, 122, 63, 0.15);
  transform: translateY(-3px);
  border-color: var(--color-primary);
}
.service-card__icon {
  font-size: 2.2rem;
  line-height: 1;
}
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-black);
}
.service-card p {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.65;
  flex: 1;
}
.service-card .btn {
  margin-top: 8px;
  align-self: flex-start;
}

/* ============================================================
   WHY US
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.why-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  transition: background var(--transition-med);
}
.why-card:hover { background: rgba(255,255,255,0.12); }
.why-card__icon { font-size: 2rem; margin-bottom: 14px; }
.why-card h3    { font-size: 1rem; font-weight: 800; color: var(--color-white); margin-bottom: 8px; }
.why-card p     { font-size: 0.88rem; color: rgba(255,255,255,0.72); line-height: 1.6; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.step {
  background: var(--color-white);
  border: 1.5px solid var(--color-grey-mid);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  max-width: 280px;
  flex: 1;
  min-width: 200px;
  box-shadow: var(--shadow-card);
}
.step__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 1.3rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step h3 { font-size: 1rem; font-weight: 800; margin-bottom: 8px; }
.step p  { font-size: 0.88rem; color: var(--color-muted); line-height: 1.6; }
.step__arrow {
  font-size: 1.5rem;
  color: var(--color-grey-mid);
  align-self: center;
  flex-shrink: 0;
  margin-top: -12px;
}
.steps__cta { text-align: center; margin-top: 40px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.review-card {
  background: var(--color-white);
  border: 1.5px solid var(--color-grey-mid);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-card);
}
.review-card__stars { font-size: 1rem; letter-spacing: 2px; }
.review-card p {
  font-size: 0.92rem;
  color: #444;
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}
.review-card__author {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--color-primary);
  padding: 72px 24px;
  text-align: center;
  color: var(--color-white);
}
.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  margin-bottom: 12px;
}
.cta-banner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 32px;
}
.cta-banner__btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-black);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer__logo {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--color-white);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.footer__logo span { color: var(--color-primary); }
.footer__brand p {
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 18px;
}
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__contact a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition-fast);
}
.footer__contact a:hover { color: var(--color-white); }
.footer__links h4 {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer__links ul { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition-fast);
}
.footer__links a:hover { color: var(--color-white); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 24px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ============================================================
   FLOATING CHAT TOGGLE BUTTON
   ============================================================ */
.chat-toggle {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1000;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 6px 24px rgba(31, 122, 63, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), transform var(--transition-med),
              box-shadow var(--transition-fast), opacity var(--transition-med);
}
.chat-toggle:hover {
  background: var(--color-dark);
  box-shadow: 0 8px 28px rgba(31, 122, 63, 0.55);
  transform: scale(1.06);
}
.chat-toggle:active { transform: scale(0.97); }

/* Hide the floating toggle while the chat panel is open —
   the chat header already has a dedicated close button */
.chat-toggle.is-open {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.7) translateY(6px);
}

.chat-toggle__icon { position: absolute; transition: opacity var(--transition-med), transform var(--transition-med); }
.chat-toggle__icon--open  { opacity: 1; transform: rotate(0deg); }
.chat-toggle__icon--close {
  opacity: 0;
  transform: rotate(-90deg);
  font-size: 1.2rem;
  color: var(--color-white);
  font-weight: 700;
}

/* Notification dot (shows before first open) */
.chat-toggle::after {
  content: '';
  position: absolute;
  top: 4px;
  right: 4px;
  width: 13px;
  height: 13px;
  background: #EF4444;
  border-radius: 50%;
  border: 2px solid var(--color-white);
  animation: pulse-dot 2s infinite;
}
.chat-toggle.is-open::after,
.chat-toggle.dot-hidden::after { display: none; }

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.25); }
}

/* ============================================================
   FLOATING CHAT PANEL
   ============================================================ */
.chat-panel {
  position: fixed;
  bottom: 104px;
  right: 28px;
  z-index: 999;
  width: 400px;
  height: 620px;
  border-radius: var(--radius-widget);
  box-shadow: var(--shadow-widget);
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  transform-origin: bottom right;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.chat-panel.is-open {
  pointer-events: all;
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ============================================================
   CHATBOT WIDGET (inside the panel)
   ============================================================ */
.chat-widget {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: var(--color-white);
  overflow: hidden;
}

/* ── Header ── */
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--color-primary);
  flex-shrink: 0;
}
.chat-header__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chat-header__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.chat-header__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.01em;
}
.chat-header__status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.82);
}
.chat-header__dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-online);
  flex-shrink: 0;
}
.chat-header__close {
  background: rgba(255,255,255,0.15);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition-fast);
}
.chat-header__close:hover { background: rgba(255,255,255,0.25); }

/* ── Message Thread ── */
.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--color-grey);
  scroll-behavior: smooth;
}

/* ── Message Bubbles ── */
.message {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  max-width: 100%;
  animation: bubble-in 200ms ease both;
}
.message--bot  { justify-content: flex-start; }
.message--user { justify-content: flex-end; }
.message__avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-white);
}
.message__bubble {
  max-width: min(80%, 300px);
  padding: 11px 15px;
  font-size: var(--font-size-base);
  line-height: 1.55;
  word-break: break-word;
}
.message--bot .message__bubble {
  background: var(--color-white);
  color: var(--color-black);
  border-radius: var(--radius-bubble) var(--radius-bubble) var(--radius-bubble) 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.message--user .message__bubble {
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-bubble) var(--radius-bubble) 4px var(--radius-bubble);
}

/* ── Typing Indicator ── */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 14px 18px;
}
.typing-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-grey-mid);
  animation: typing-bounce 1.2s infinite ease-in-out;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
  0%, 80%, 100% { transform: translateY(0);    opacity: 0.45; }
  40%            { transform: translateY(-7px); opacity: 1;    }
}
@keyframes bubble-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0);   }
}

/* ── Quick Replies ── */
.quick-replies {
  padding: 10px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: var(--color-white);
  border-top: 1px solid var(--color-grey-mid);
  flex-shrink: 0;
}
.quick-replies:empty       { display: none; }
.quick-replies--hidden     { display: none; }
.qr-btn {
  padding: 8px 15px;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-btn);
  background: var(--color-white);
  color: var(--color-primary);
  font-size: var(--font-size-sm);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}
.qr-btn:hover,
.qr-btn:focus-visible {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-btn);
  outline: none;
}
.qr-btn:active              { background: var(--color-dark); border-color: var(--color-dark); color: var(--color-white); }
.qr-btn:focus-visible       { outline: 2px solid var(--color-dark); outline-offset: 2px; }
.qr-btn--active             { background: var(--color-primary); color: var(--color-white); border-color: var(--color-primary); }
.qr-btn--active:hover       { background: var(--color-dark); border-color: var(--color-dark); }
.qr-btn--confirm {
  width: 100%;
  background: var(--color-dark);
  color: var(--color-white);
  border-color: var(--color-dark);
  font-weight: 700;
  margin-top: 2px;
}
.qr-btn--confirm:hover      { background: var(--color-primary); border-color: var(--color-primary); box-shadow: var(--shadow-btn); }

/* ── Input Bar ── */
.chat-footer {
  padding: 10px 12px;
  background: var(--color-white);
  border-top: 1px solid var(--color-grey-mid);
  flex-shrink: 0;
}
.chat-form  { display: flex; align-items: center; gap: 8px; }
.chat-input {
  flex: 1;
  padding: 11px 15px;
  border: 1.5px solid var(--color-grey-mid);
  border-radius: 24px;
  font-size: var(--font-size-base);
  background: var(--color-grey);
  color: var(--color-black);
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}
.chat-input::placeholder { color: var(--color-muted); }
.chat-input:focus {
  border-color: var(--color-primary);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(31, 122, 63, 0.12);
}
.chat-input:disabled { opacity: 0.55; }
.chat-send-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition-fast);
}
.chat-send-btn:hover            { background: var(--color-dark); }
.chat-send-btn:focus-visible    { outline: 2px solid var(--color-dark); outline-offset: 2px; }
.chat-send-btn:disabled         { opacity: 0.42; pointer-events: none; }

/* ── Summary Card ── */
.summary-card {
  background: var(--color-white);
  border: 1.5px solid var(--color-grey-mid);
  border-radius: 14px;
  overflow: hidden;
  width: 100%;
  max-width: 300px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
  animation: bubble-in 200ms ease both;
}
.summary-card__header {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 11px 14px;
  font-size: var(--font-size-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.priority-badge {
  display: inline-block;
  padding: 3px 7px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.priority-badge--high   { background: rgba(252,165,165,0.18); color: #FCA5A5; border: 1px solid rgba(252,165,165,0.35); }
.priority-badge--medium { background: rgba(252,211,77,0.15);  color: #FCD34D; border: 1px solid rgba(252,211,77,0.35);  }
.priority-badge--low    { background: rgba(255,255,255,0.1);  color: rgba(255,255,255,0.65); border: 1px solid rgba(255,255,255,0.2); }
.summary-card__body     { padding: 4px 0; }
.summary-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 6px;
  align-items: baseline;
  padding: 9px 14px;
  border-bottom: 1px solid var(--color-grey);
}
.summary-row:last-child     { border-bottom: none; }
.summary-row__label {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-top: 1px;
  white-space: nowrap;
}
.summary-row__value {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-black);
  line-height: 1.45;
  word-break: break-word;
}

/* ── Booking Confirmation Card ── */
.confirmation-card {
  background: var(--color-white);
  border: 1.5px solid var(--color-grey-mid);
  border-radius: 14px;
  overflow: hidden;
  width: 100%;
  max-width: 300px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
  animation: bubble-in 200ms ease both;
}
.confirmation-card__header {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 11px 14px;
  font-size: var(--font-size-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.confirmation-card__body  { padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.confirmation-card__text  { font-size: var(--font-size-sm); color: var(--color-black); line-height: 1.6; margin: 0; }
.confirmation-card__text--lead { font-weight: 700; }
.confirmation-card__ref {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--color-grey);
  font-size: var(--font-size-xs);
  color: var(--color-muted);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: 0.05em;
}


.chat-btn-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.restart-chat-btn {
  padding: 8px 14px;
  background: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  border-radius: 8px;
  font-size: var(--font-size-xs);
  color: var(--color-white);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}
.restart-chat-btn:hover { background: var(--color-dark); border-color: var(--color-dark); }

/* ── Photo thumbnails ── */
.message__photo {
  display: block;
  max-width: 180px;
  max-height: 140px;
  width: auto;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.3);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ── Global touch improvements ── */
body { overflow-x: hidden; }

button, .btn, .qr-btn, a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* ── Tablet (≤900px) ── */
@media (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ── Mobile (≤700px) ── */
@media (max-width: 700px) {

  /* Navigation */
  .nav__links     { display: none; }
  .btn--nav       { display: none; }
  .nav__hamburger { display: flex; }
  .nav__mobile    { display: flex; }

  /* Layout */
  .step__arrow   { display: none; }
  .steps         { flex-direction: column; align-items: stretch; }
  .step          { max-width: 100%; }
  .footer__inner { grid-template-columns: 1fr; }

  /* Services — single column below 700px */
  .services__grid { grid-template-columns: 1fr; }

  /* Service card button — full width for easy tapping */
  .service-card .btn {
    align-self: stretch;
    width: 100%;
    justify-content: center;
  }

  /* ── Chatbot — full screen on mobile ── */
  .chat-panel {
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;        /* dynamic viewport — accounts for browser chrome */
    border-radius: 0;
  }

  /* Chat toggle — move up off home indicator */
  .chat-toggle {
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    right:  calc(20px + env(safe-area-inset-right,  0px));
    width: 58px;
    height: 58px;
  }

  /* Chat body — no bounce bleed-through */
  .chat-body {
    overscroll-behavior-y: contain;
  }

  /* Chat footer — clear iPhone home indicator */
  .chat-footer {
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  }

  /* Chat input — 16px prevents iOS auto-zoom */
  .chat-input { font-size: 16px; }

  /* Message bubbles — use more of the screen width */
  .message__bubble { max-width: 88%; }

  /* Quick reply buttons — larger touch targets, text can wrap */
  .quick-replies {
    padding: 10px;
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
  }
  .qr-btn {
    padding: 12px 16px;
    min-height: 44px;
    font-size: var(--font-size-base);
    white-space: normal;
    text-align: center;
    line-height: 1.35;
  }
  .qr-btn--confirm {
    min-height: 48px;
    font-size: var(--font-size-base);
  }

  /* Summary & confirmation cards — use full chat width */
  .summary-card,
  .confirmation-card { max-width: 100%; }

  /* End-of-chat button — full width, easy to tap */
  .restart-chat-btn {
    width: 100%;
    min-height: 44px;
    font-size: var(--font-size-sm);
    text-align: center;
    justify-content: center;
  }
}

/* ── Small mobile (≤480px) ── */
@media (max-width: 480px) {

  /* Hero */
  .hero { padding: 60px 20px 52px; }
  .hero__badge { font-size: 0.75rem; padding: 5px 12px; margin-bottom: 18px; }
  .hero__sub   { margin-bottom: 28px; }
  .hero__ctas  {
    flex-direction: column;
    gap: 12px;
  }
  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }
  .hero__trust { gap: 8px 14px; font-size: 0.78rem; }

  /* Sections */
  .section         { padding: 48px 0; }
  .section__header { margin-bottom: 32px; }

  /* CTA banner */
  .cta-banner { padding: 48px 20px; }
  .cta-banner__btns {
    flex-direction: column;
    gap: 12px;
  }
  .cta-banner__btns .btn {
    width: 100%;
    justify-content: center;
  }

  /* Footer */
  .footer       { padding: 40px 0 0; }
  .footer__inner { gap: 28px; }

  /* Why us grid */
  .why-grid { grid-template-columns: 1fr; }

  /* Reviews grid */
  .reviews__grid { grid-template-columns: 1fr; }
}
