/* =========================================================
   FlexiPrace.cz — landing page
   ========================================================= */

:root {
  --peach-bg: #FDF1E6;
  --peach-soft: #F9E6CD;
  --mint-bg: #E6F7F5;
  --mint-soft: #CDECE5;

  --brown-dark: #4A2C2A;
  --brown-soft: #6B4E4C;
  --teal-dark: #006D5B;
  --teal-mid: #008F7A;

  --orange-btn: #F28D54;
  --orange-hover: #E07A42;
  --teal-btn: #00C2B2;
  --teal-hover: #00A89A;

  --ink: #2B2620;
  --ink-soft: #5B5346;
  --white: #FFFFFF;

  --logo-flexi: #C96442;
  --logo-domain: #006D5B;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --shadow-soft: 0 12px 30px -12px rgba(74, 44, 42, 0.22);
  --shadow-chip: 0 8px 24px -8px rgba(74, 44, 42, 0.18);
  --container: 1240px;
  --header-h: 76px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}


h1, h2, h3, .logo-text { 
    font-family: 'Outfit', sans-serif; 
    font-weight: 700; 
    margin: 0; 
    line-height: 1.1; 
}
p {
  margin: 0;
}

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

img {
  max-width: 100%;
  display: block;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif; /* Ponecháno bez patek */
}

.eyebrow-teal { color: var(--teal-dark); }
.eyebrow-orange { color: var(--orange-btn); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}

.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--brown-dark); outline-offset: 3px; }
.btn-sm { padding: 12px 24px; font-size: 0.92rem; }

.btn-orange { background: var(--orange-btn); color: var(--white); box-shadow: 0 10px 24px -8px rgba(242, 141, 84, 0.55); }
.btn-orange:hover { background: var(--orange-hover); }

.btn-teal { background: var(--teal-btn); color: var(--white); box-shadow: 0 10px 24px -8px rgba(0, 194, 178, 0.45); }
.btn-teal:hover { background: var(--teal-hover); }

.btn-outline { background: transparent; border: 2px solid currentColor; }

/* ---------- header ---------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  position: fixed;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(74, 44, 42, 0.08);
  box-shadow: 0 4px 20px -10px rgba(74, 44, 42, 0.15);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px clamp(20px, 4vw, 56px);
}

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; z-index: 2; }
.logo-mark { width: 42px; height: 42px; border-radius: 12px; background: var(--white); box-shadow: 0 2px 12px -2px rgba(74, 44, 42, 0.18); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-mark svg { width: 28px; height: 28px; }

.logo-text { font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.45rem); color: var(--logo-flexi); }
.logo-domain { color: var(--logo-domain); }

.nav-links { position: absolute; left: 50%; transform: translateX(-50%); display: flex; justify-content: center; align-items: center; gap: clamp(20px, 3vw, 40px); }
.nav-links a { font-weight: 600; font-size: 0.95rem; color: var(--brown-dark); transition: color 0.15s ease; white-space: nowrap; font-family: 'Inter', sans-serif;}
.nav-links a:hover { color: var(--logo-flexi); }

.nav-actions { display: flex; align-items: center; gap: clamp(14px, 2vw, 22px); flex-shrink: 0; z-index: 2; }
.nav-signin { font-weight: 600; font-size: 0.95rem; color: var(--brown-dark); transition: color 0.15s ease; white-space: nowrap; font-family: 'Inter', sans-serif;}
.nav-signin:hover { color: var(--logo-flexi); }

.nav-toggle { display: none; width: 44px; height: 44px; border: none; background: transparent; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; padding: 0; z-index: 2; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--brown-dark); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu { display: none; background: rgba(255, 255, 255, 0.98); border-top: 1px solid rgba(74, 44, 42, 0.08); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.mobile-menu[hidden] { display: none !important; }
.mobile-nav-links { display: flex; flex-direction: column; padding: 8px 20px 0; }
.mobile-nav-links li { border-bottom: 1px solid rgba(74, 44, 42, 0.08); }
.mobile-nav-links a { display: block; padding: 14px 0; font-weight: 600; color: var(--brown-dark); font-family: 'Inter', sans-serif;}
.mobile-nav-actions { display: flex; flex-direction: column; gap: 12px; padding: 16px 20px 20px; }
.mobile-nav-actions .btn { width: 100%; }
.mobile-nav-actions .nav-signin { text-align: center; padding: 8px 0; }

/* ---------- hero ---------- */
.hero {
  display: flex;
  position: relative;
  height: 100vh; 
  min-height: 700px;
  max-height: 1000px;
  padding-top: var(--header-h);
  isolation: isolate;
  overflow: hidden;
}

.hero-half {
  flex: 1 1 50%;
  position: relative;
  display: flex;
  flex-direction: column;
}

.hero-help { background: var(--peach-bg); }
.hero-work { background: var(--mint-bg); }

/* Pozadí a tvary */
.hero-bg {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
}
.hero-blob-mint { background: var(--mint-soft); width: 400px; height: 400px; top: 10%; left: -100px; }
.hero-blob-peach-soft { background: var(--peach-soft); width: 350px; height: 350px; bottom: 5%; right: -50px; }
.hero-blob-peach { background: var(--peach-soft); width: 400px; height: 400px; top: 10%; right: -100px; }
.hero-blob-teal-soft { background: var(--mint-soft); width: 350px; height: 350px; bottom: 5%; left: -50px; }

/* Animace ikon */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Plovoucí prvky */
.hero-chips-container {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: visible; /* Zabrání ořezu ikon */
}

.hero-chip {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  padding: 10px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(74, 44, 42, 0.12);
  width: 50px;
  height: 50px;
  display: flex;       /* Přidáno pro vycentrování ikony */
  align-items: center;
  justify-content: center;
  animation: float 4s ease-in-out infinite;
  z-index: 10;
}

.hero-chip svg {
  width: 100%;
  height: 100%;
  display: block;
}
/* Správné rozmístění do rohů a míst, kde není text/fotky */
.chip-house { top: 5%; left: 85%; }  /* Posunuto blíž ke středu za text */
.chip-heart { top: 90%; left: 5%; }  /* Srdce přesunuto mimo hlavní fotku, neřeže se */
.chip-chat { top: 50%; left: 22%; }    /* Ikona chatu za textem */
.chip-coin { top: 12%; right: 20%; }
.chip-euro { top:93%; right: 22%; }
.chip-graph { top:30%; right: 40%; }



/* text hero */
.hero-content {
  position: relative;
  z-index: 5;
  flex: 0 0 auto;
  max-width: 550px;
  padding: clamp(60px, 5vh, 120px) clamp(32px, 5vw, 64px) 0;
}

.hero h1 {
  font-size: clamp(2.8rem, 4vw, 4.5rem);
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
 line-height: 1;
}

.hero-help h1 { color: var(--brown-dark); }
.hero-work h1 { color: var(--teal-dark); }

.hero p {
  font-size: clamp(1.05rem, 1.3vw, 1.15rem);
  
  color: var(--brown-soft);
  max-width: 300px;
  margin-bottom: 24px;
  font-family: 'Inter', sans-serif;
}

.hero-work p { color: var(--brown-soft);}



.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px); /* Hodnota blur určí sílu rozmazání šmouhy */
    z-index: -1;        /* Aby byly vždy za textem */
    opacity: 0.5;       /* Průhlednost */
    pointer-events: none; /* Aby nebránily klikání na prvky */
}

/* Konkrétní barvy podle tvých CSS proměnných */
.blob-peach {
    background: var(--peach-soft);
    width: 300px;
    height: 300px;
}

.blob-mint {
    background: var(--mint-soft);
    width: 400px;
    height: 400px;
}


/* PNG ilustrace - Zarovnání dole a uprostřed */
.hero-scene {
  position: absolute;
  bottom: 0;
  z-index: 3;
  width: 100%;
  max-width: 950px; 
  pointer-events: none;
  user-select: none;
  line-height: 0;
  
  
}

/* Fix pro rozdílné poměry stran obrázků */
.hero-help .hero-scene { 
    aspect-ratio: 1303 / 1201; /* Poměr první fotky */
    right:0;
    
    left: auto;    /* Zruší lepení vlevo */
    max-height: 77.5vh;
    
}

.hero-work .hero-scene { 
    aspect-ratio: 1346 / 1084; 
    width: 103%;
    max-width: 1160px;
    transform: translateY(-0.15%);
    right: auto;   /* Zruší lepení vpravo */
    max-height: 70vh;
}

.hero-img { 
    width: 100%; 
    height: 100%; /* Bude dědit výšku z aspect-ratio kontejneru */
    object-fit: contain; 
    object-position: bottom;
}
.hero-help .hero-img {
    object-position: bottom right; /* Obrázek se tlačí ke středové čáře */
}

.hero-work .hero-img {
    object-position: bottom left;  /* Obrázek se tlačí ke středové čáře */
}

/* ---------- sections ---------- */
.section { padding: 110px 0; }
.section-tight { padding: 80px 0; }
.section-alt { background: #FBF8F3; }

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}

.section-lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 56ch;
  line-height: 1.6;
}

.section-head { margin-bottom: 64px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .section-lede { margin-left: auto; margin-right: auto; }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step-card { background: var(--white); border: 1px solid rgba(74, 44, 42, 0.08); border-radius: var(--radius-lg); padding: 34px 28px; position: relative; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.step-num { font-size: 2.4rem; font-weight: 700; background: linear-gradient(135deg, var(--orange-btn), var(--teal-btn)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 18px; display: block; font-family: 'Baloo 2', sans-serif;}
.step-card h3 { font-size: 1.18rem; margin-bottom: 10px; color: var(--ink); }
.step-card p { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.55; font-family: 'Inter', sans-serif;}
.step-connector { display: flex; align-items: center; justify-content: center; position: absolute; top: 44px; right: -28px; width: 28px; color: var(--ink-soft); opacity: 0.5; }

/* ---------- audience cards ---------- */
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.audience-card { border-radius: var(--radius-lg); padding: 44px 40px; position: relative; overflow: hidden; }
.audience-help { background: linear-gradient(160deg, var(--peach-bg), var(--peach-soft)); }
.audience-work { background: linear-gradient(160deg, var(--mint-bg), var(--mint-soft)); }
.audience-card h3 { font-size: 1.7rem; margin-bottom: 12px; }
.audience-help h3 { color: var(--brown-dark); }
.audience-work h3 { color: var(--teal-dark); }
.audience-card > p { color: var(--ink-soft); margin-bottom: 26px; max-width: 42ch; line-height: 1.55; }
.audience-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.audience-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; color: var(--ink); line-height: 1.5; }
.audience-list li svg { flex-shrink: 0; margin-top: 3px; width: 20px; height: 20px; }
.audience-help .audience-list svg { color: var(--orange-btn); }
.audience-work .audience-list svg { color: var(--teal-btn); }

/* ---------- whatsapp trust ---------- */
.trust { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.trust-visual { background: linear-gradient(150deg, var(--mint-bg), var(--peach-bg)); border-radius: var(--radius-lg); padding: 44px; display: flex; flex-direction: column; gap: 18px; }
.wa-bubble { background: var(--white); border-radius: var(--radius-md); padding: 18px 20px; box-shadow: var(--shadow-soft); max-width: 82%; font-size: 0.95rem; line-height: 1.5; }
.wa-bubble strong { display: block; color: var(--teal-dark); font-size: 0.85rem; margin-bottom: 4px; font-family: 'Inter', sans-serif;}
.wa-bubble.right { align-self: flex-end; background: linear-gradient(135deg, var(--teal-btn), var(--teal-dark)); color: var(--white); }
.wa-bubble.right strong { color: rgba(255, 255, 255, 0.85); }
.trust-text .section-title { margin-bottom: 18px; }
.trust-points { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.trust-point { display: flex; gap: 16px; }
.trust-point-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--peach-soft); display: flex; align-items: center; justify-content: center; color: var(--brown-dark); }
.trust-point:nth-child(2) .trust-point-icon { background: var(--mint-soft); color: var(--teal-dark); }
.trust-point:nth-child(3) .trust-point-icon { background: var(--peach-soft); color: var(--brown-dark); }
.trust-point h4 { font-size: 1rem; margin-bottom: 4px; font-family: 'Inter', sans-serif; font-weight: 600;}
.trust-point p { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.5; }

/* ---------- final CTA ---------- */
.cta-band { background: linear-gradient(120deg, var(--brown-dark), var(--teal-dark)); border-radius: var(--radius-lg); padding: 64px 48px; text-align: center; color: var(--white); }
.cta-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-bottom: 16px; color: var(--white); }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 52ch; margin: 0 auto 34px; line-height: 1.55; }
.cta-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-outline { color: var(--white); }

/* ---------- footer ---------- */
.site-footer { background: #241F19; color: rgba(255, 255, 255, 0.7); padding: 64px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand .logo-text { color: var(--white); }
.footer-brand .logo-domain { color: rgba(255, 255, 255, 0.92); }
.footer-brand p { font-size: 0.92rem; max-width: 32ch; line-height: 1.6; }
.footer-col h4 { color: var(--white); font-size: 0.92rem; margin-bottom: 16px; letter-spacing: 0.02em; font-family: 'Inter', sans-serif;}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.92rem; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.84rem; }

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1080px) {
  .hero-content { max-width: 400px; padding-left: clamp(24px, 4vw, 40px); padding-right: clamp(24px, 4vw, 40px); }
 
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step-connector { display: none; }
  .trust { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .site-header { position: fixed; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(74, 44, 42, 0.06); }
  .site-header.is-scrolled { background: rgba(255, 255, 255, 0.98); }
  .nav-links { display: none; }
 // .nav-actions { display: flex; gap: 12px; }
  .nav-actions { 
    display: none !important; 
  }
  .nav-actions .nav-signin { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu:not([hidden]) { display: block; }
}

@media (max-width: 900px) {
  /* Zrušení fixní výšky pro mobil */
  .hero {
    flex-direction: column;
    height: auto;
    min-height: auto;
    max-height: none;
  }

  .hero-half {
    min-height: auto;
    align-items: stretch; /* Dovolí roztáhnout obrázky */
    overflow: hidden;
  }

  .hero-content {
    padding: 64px 24px 0;
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
  }

  .hero p { margin-left: auto; margin-right: auto; }

  /* Zrušení absolutního ukotvení a zarovnání na kraje */
  .hero-scene {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin-top: 40px;
  }

  /* Zarovnání levé fotky Vpravo a pravé Vlevo */
  .hero-help .hero-scene { margin-left: auto; margin-right: -20px; text-align: right; }
  .hero-work .hero-scene { margin-right: auto; margin-left: -20px; text-align: left; }

  .hero-img {
    width: 100%; /* Aby trochu vyčnívaly z kraje */
    height: auto;
    object-fit: cover;
  }

  .hero-help .hero-img { margin-left: auto; object-position: right bottom; }
  .hero-work .hero-img { margin-right: auto; object-position: left bottom;  }
  
  
  /* Fix pro rozdílné poměry stran obrázků */
.hero-help .hero-scene { 
    aspect-ratio: 1303 / 1201; /* Poměr první fotky */
}

.hero-work .hero-scene { 
    aspect-ratio: 1346 / 1084; /* Poměr druhé fotky (originál) */
    width: 100%;      /* na mobilu zpět na normální šířku, bez zvětšení */
    max-width: 600px;
    transform: none; /* zvětšení a korekce podlahy platí jen pro desktop vedle sebe */
}
.hero-img { 
    width: 100%; 
    height: 100%; /* Bude dědit výšku z aspect-ratio kontejneru */
    object-fit: contain; 
    object-position: bottom;
}


  /* Zmenšení plovoucích ikon na mobilu */
.hero-chips-container {
    display: none !important;
  }

  .audience-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .nav { padding: 10px 20px; gap: 12px; }
  .nav-actions .btn-sm { padding: 10px 18px; font-size: 0.85rem; }
  .logo-mark { width: 38px; height: 38px; }
  .logo-mark svg { width: 24px; height: 24px; }
  .section { padding: 72px 0; }
  .section-tight { padding: 56px 0; }
  .section-head { margin-bottom: 40px; }
  
  .hero h1 { font-size: clamp(2.4rem, 9vw, 3rem); }
  .hero p { font-size: 0.98rem; margin-bottom: 24px; }
  .hero-content .btn { width: 100%; max-width: 280px; }
  
  .steps { grid-template-columns: 1fr; }
  .audience-card { padding: 32px 24px; }
  .trust-visual { padding: 28px; }
  .cta-band { padding: 44px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---------- AI chat asistent ---------- */
.ai-chat { position: fixed; right: 24px; bottom: 24px; z-index: 500; font-family: 'Inter', sans-serif; }

.ai-chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--orange-btn), var(--teal-btn));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease;
}
.ai-chat-toggle:hover { transform: translateY(-2px); }
.ai-chat-toggle svg { width: 26px; height: 26px; }

.ai-chat-panel {
  position: absolute;
  right: 0;
  bottom: 76px;
  width: 340px;
  max-width: calc(100vw - 40px);
  max-height: 70vh;
  background: var(--white);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.ai-chat-panel[hidden] { display: none; }

.ai-chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  background: var(--brown-dark);
  color: var(--white);
  flex-shrink: 0;
}
.ai-chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-btn), var(--teal-btn));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.ai-chat-headtext { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.ai-chat-headtext strong { font-size: 0.92rem; font-family: 'Outfit', sans-serif; }
.ai-chat-badge {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.16);
  padding: 2px 8px;
  border-radius: 999px;
  width: fit-content;
}
.ai-chat-close { background: none; border: none; color: rgba(255, 255, 255, 0.8); font-size: 1.3rem; cursor: pointer; line-height: 1; padding: 4px; }
.ai-chat-close:hover { color: var(--white); }

.ai-chat-messages { flex: 1; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.ai-chat-msg { max-width: 85%; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 0.88rem; line-height: 1.5; }
.ai-chat-msg-bot { background: var(--peach-bg); color: var(--ink); align-self: flex-start; border-bottom-left-radius: 4px; }
.ai-chat-msg-user { background: var(--teal-btn); color: var(--white); align-self: flex-end; border-bottom-right-radius: 4px; }

.ai-chat-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 14px; flex-shrink: 0; }
.ai-chat-chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--peach-soft);
  background: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brown-dark);
  cursor: pointer;
  font-family: inherit;
}
.ai-chat-chip:hover { border-color: var(--teal-btn); color: var(--teal-dark); }

.ai-chat-input-row { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid rgba(74, 44, 42, 0.08); flex-shrink: 0; }
.ai-chat-input { flex: 1; border: 1.5px solid var(--peach-soft); border-radius: 999px; padding: 10px 16px; font-size: 0.88rem; font-family: inherit; color: var(--ink); }
.ai-chat-input:focus { outline: none; border-color: var(--teal-btn); }
.ai-chat-send { width: 40px; height: 40px; border-radius: 50%; border: none; background: var(--orange-btn); color: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ai-chat-send svg { width: 18px; height: 18px; }
.ai-chat-send:hover { background: var(--orange-hover); }

@media (max-width: 480px) {
  .ai-chat { right: 16px; bottom: 16px; }
  .ai-chat-panel { width: calc(100vw - 32px); bottom: 72px; }
}
