/* ============================================================
   Taste of Heaven — Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --brown-dark:   #3b2314;
  --brown-mid:    #6b3a2a;
  --brown-light:  #a0522d;
  --terracotta:   #c0714f;
  --peach:        #e8a87c;
  --cream:        #fdf6ee;
  --cream-dark:   #f5e6d3;
  --white:        #ffffff;
  --text-dark:    #2c1a0e;
  --text-mid:     #5a3e2b;
  --text-light:   #9e7b5e;
  --green-accent: #6b8f5e;
  --shadow-sm:    0 2px 8px rgba(59,35,20,.10);
  --shadow-md:    0 6px 24px rgba(59,35,20,.15);
  --shadow-lg:    0 12px 40px rgba(59,35,20,.20);
  --radius:       12px;
  --radius-lg:    20px;
  --transition:   0.3s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
  color: var(--brown-dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
p  { color: var(--text-mid); }

/* ---------- Utility Classes ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section-title {
  text-align: center;
  margin-bottom: .5rem;
}
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}
.divider {
  width: 60px; height: 3px;
  background: var(--terracotta);
  border-radius: 2px;
  margin: .75rem auto 1.5rem;
}
.badge {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: 30px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.badge--cozy       { background: #f3e4d4; color: var(--brown-mid); }
.badge--trendy     { background: #fce4ec; color: #c2185b; }
.badge--study      { background: #e8f5e9; color: #2e7d32; }
.badge--pet        { background: #e3f2fd; color: #1565c0; }
.badge--rooftop    { background: #ede7f6; color: #512da8; }
.badge--outdoor    { background: #e0f7fa; color: #00695c; }
.badge--vegan      { background: #dcedc8; color: #33691e; }
.badge--instagrammable { background: #fce4ec; color: #ad1457; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(253,246,238,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cream-dark);
  padding: 1rem 0;
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar__logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brown-dark);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.navbar__logo span { color: var(--terracotta); }
.navbar__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.navbar__links a {
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .04em;
  color: var(--text-mid);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition);
}
.navbar__links a::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--terracotta);
  transition: width var(--transition);
}
.navbar__links a:hover,
.navbar__links a.active { color: var(--brown-dark); }
.navbar__links a:hover::after,
.navbar__links a.active::after { width: 100%; }
.navbar__cta {
  background: var(--terracotta);
  color: var(--white) !important;
  padding: .5rem 1.2rem;
  border-radius: 30px;
  transition: background var(--transition), transform var(--transition) !important;
}
.navbar__cta::after { display: none !important; }
.navbar__cta:hover { background: var(--brown-mid) !important; transform: translateY(-1px); }

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.navbar__hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--brown-dark);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; }
.navbar__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(59,35,20,.65) 0%, rgba(107,58,42,.45) 100%),
    url('https://images.unsplash.com/photo-1554118811-1e0d58224f24?w=1600&q=80') center/cover no-repeat;
  text-align: center;
  color: var(--white);
  padding: 6rem 1.5rem;
}
.hero__content { max-width: 760px; margin: 0 auto; }
.hero__eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.35);
  color: var(--peach);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .4rem 1.2rem;
  border-radius: 30px;
  margin-bottom: 1.5rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.2rem; }
.hero h1 em { color: var(--peach); font-style: italic; }
.hero p {
  color: rgba(255,255,255,.85);
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}
.hero__btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .04em;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--terracotta);
  color: var(--white);
  border-color: var(--terracotta);
}
.btn--primary:hover { background: var(--brown-mid); border-color: var(--brown-mid); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(107,58,42,.4); }
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.7);
}
.btn--outline:hover { background: rgba(255,255,255,.15); transform: translateY(-2px); }
.btn--dark {
  background: var(--brown-dark);
  color: var(--white);
  border-color: var(--brown-dark);
}
.btn--dark:hover { background: var(--brown-mid); transform: translateY(-2px); }

.hero__stats {
  margin-top: 3.5rem;
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.hero__stat strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--peach);
}
.hero__stat span { font-size: .85rem; color: rgba(255,255,255,.75); letter-spacing: .06em; text-transform: uppercase; }

/* ============================================================
   FEATURES STRIP
   ============================================================ */
.features-strip {
  background: var(--brown-dark);
  padding: 2.5rem 0;
}
.features-strip__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}
.features-strip__item { color: rgba(255,255,255,.85); }
.features-strip__icon { font-size: 1.8rem; margin-bottom: .4rem; }
.features-strip__label { font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--peach); font-weight: 700; }

/* ============================================================
   SECTION PADDING
   ============================================================ */
.section { padding: 6rem 0; }
.section--alt { background: var(--cream-dark); }

/* ============================================================
   CAFE CARDS
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}
.cafe-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.cafe-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.cafe-card__img-wrap {
  position: relative;
  height: 210px;
  overflow: hidden;
}
.cafe-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.cafe-card:hover .cafe-card__img-wrap img { transform: scale(1.06); }
.cafe-card__fav {
  position: absolute; top: 12px; right: 12px;
  background: rgba(255,255,255,.9);
  border: none;
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
}
.cafe-card__fav:hover { background: var(--white); transform: scale(1.1); }
.cafe-card__badges {
  position: absolute; bottom: 12px; left: 12px;
  display: flex; gap: .4rem; flex-wrap: wrap;
}

.cafe-card__body {
  padding: 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cafe-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .5rem;
  margin-bottom: .5rem;
}
.cafe-card__name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--brown-dark);
}
.cafe-card__rating {
  display: flex;
  align-items: center;
  gap: .3rem;
  white-space: nowrap;
}
.stars { color: #f4a228; font-size: .9rem; }
.cafe-card__rating-num { font-weight: 700; font-size: .9rem; color: var(--text-dark); }
.cafe-card__location {
  font-size: .85rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: .3rem;
  margin-bottom: .75rem;
}
.cafe-card__desc {
  font-size: .92rem;
  color: var(--text-mid);
  flex: 1;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cafe-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--cream-dark);
}
.cafe-card__price { font-weight: 700; color: var(--brown-light); font-size: .95rem; }
.cafe-card__link {
  color: var(--terracotta);
  font-weight: 700;
  font-size: .88rem;
  display: flex;
  align-items: center;
  gap: .3rem;
  transition: gap var(--transition);
}
.cafe-card__link:hover { gap: .6rem; }

/* ============================================================
   FILTER BAR
   ============================================================ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: .5rem 1.2rem;
  border-radius: 30px;
  border: 2px solid var(--cream-dark);
  background: var(--white);
  color: var(--text-mid);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--terracotta); color: var(--terracotta); }
.filter-btn.active {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--white);
}

/* ============================================================
   WHY US / VALUE PROPS
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2rem;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}
.why-card:hover { transform: translateY(-4px); }
.why-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}
.why-card h3 { margin-bottom: .5rem; font-size: 1.1rem; }
.why-card p  { font-size: .92rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--cream-dark);
  position: absolute;
  top: -10px; left: 16px;
  line-height: 1;
}
.testimonial-card__text {
  font-style: italic;
  color: var(--text-mid);
  margin-bottom: 1.5rem;
  font-size: .95rem;
  position: relative;
  z-index: 1;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: .8rem;
}
.testimonial-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.testimonial-card__name { font-weight: 700; font-size: .9rem; color: var(--brown-dark); }
.testimonial-card__location { font-size: .8rem; color: var(--text-light); }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter {
  background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown-mid) 100%);
  padding: 5rem 0;
  text-align: center;
}
.newsletter h2 { color: var(--white); margin-bottom: .5rem; }
.newsletter p  { color: rgba(255,255,255,.8); margin-bottom: 2rem; }
.newsletter__form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter__form input {
  flex: 1;
  min-width: 220px;
  padding: .85rem 1.2rem;
  border-radius: 50px;
  border: none;
  font-family: 'Lato', sans-serif;
  font-size: .95rem;
  outline: none;
  color: var(--text-dark);
}
.newsletter__form input:focus { box-shadow: 0 0 0 3px rgba(232,168,124,.5); }

/* ============================================================
   CAFE DETAIL PAGE
   ============================================================ */
.detail-hero {
  height: 65vh;
  min-height: 400px;
  background: linear-gradient(to bottom, rgba(0,0,0,.1) 0%, rgba(59,35,20,.7) 100%),
    url('https://images.unsplash.com/photo-1445116572660-236099ec97a0?w=1600&q=80') center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  padding-bottom: 3rem;
}
.detail-hero__content { color: var(--white); }
.detail-hero__back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.8);
  font-size: .88rem;
  margin-bottom: 1rem;
  transition: color var(--transition);
}
.detail-hero__back:hover { color: var(--white); }
.detail-hero h1 { color: var(--white); margin-bottom: .5rem; }
.detail-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
  color: rgba(255,255,255,.85);
  font-size: .92rem;
  margin-top: .8rem;
}
.detail-hero__meta span { display: flex; align-items: center; gap: .3rem; }

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  padding: 4rem 0;
}
@media (max-width: 900px) {
  .detail-layout { grid-template-columns: 1fr; }
}

.detail-section { margin-bottom: 2.5rem; }
.detail-section h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--cream-dark);
}

.menu-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}
.menu-item {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
}
.menu-item__emoji { font-size: 2rem; margin-bottom: .5rem; }
.menu-item__name { font-weight: 700; font-size: .9rem; color: var(--brown-dark); }
.menu-item__price { font-size: .85rem; color: var(--terracotta); font-weight: 700; }

.info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}
.info-card h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.info-row {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  padding: .6rem 0;
  border-bottom: 1px solid var(--cream);
  font-size: .9rem;
  color: var(--text-mid);
}
.info-row:last-child { border-bottom: none; }
.info-row__icon { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.info-row strong { color: var(--text-dark); display: block; }

.map-placeholder {
  background: var(--cream-dark);
  border-radius: var(--radius);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: var(--text-light);
  gap: .5rem;
  margin-top: 1rem;
}

.review-list { display: flex; flex-direction: column; gap: 1.2rem; }
.review {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.2rem;
}
.review__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .5rem;
}
.review__author { font-weight: 700; font-size: .9rem; color: var(--brown-dark); }
.review__date   { font-size: .78rem; color: var(--text-light); }
.review__text   { font-size: .9rem; color: var(--text-mid); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  background: linear-gradient(135deg, var(--brown-dark), var(--brown-mid));
  padding: 6rem 0 5rem;
  text-align: center;
}
.about-hero h1, .about-hero p { color: var(--white); }
.about-hero p { font-size: 1.1rem; opacity: .85; max-width: 600px; margin: 1rem auto 0; }

.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 0;
}
@media (max-width: 768px) {
  .about-story { grid-template-columns: 1fr; gap: 2rem; }
}
.about-story__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about-story__img img { width: 100%; height: 400px; object-fit: cover; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform var(--transition);
}
.team-card:hover { transform: translateY(-4px); }
.team-card__img {
  height: 160px;
  background: var(--cream-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
}
.team-card__body { padding: 1.2rem; }
.team-card__name { font-family: 'Playfair Display', serif; font-size: 1.05rem; }
.team-card__role { font-size: .82rem; color: var(--terracotta); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-top: .2rem; }

/* ============================================================
   CAFES LISTING PAGE HEADER
   ============================================================ */
.page-header {
  background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown-light) 100%);
  padding: 5rem 0 4rem;
  text-align: center;
}
.page-header h1 { color: var(--white); }
.page-header p   { color: rgba(255,255,255,.8); font-size: 1.05rem; margin-top: .8rem; }

.search-bar {
  display: flex;
  max-width: 500px;
  margin: 2rem auto 0;
  background: var(--white);
  border-radius: 50px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.search-bar input {
  flex: 1;
  border: none;
  padding: .85rem 1.5rem;
  font-family: 'Lato', sans-serif;
  font-size: .95rem;
  color: var(--text-dark);
  outline: none;
}
.search-bar button {
  background: var(--terracotta);
  color: var(--white);
  border: none;
  padding: .85rem 1.5rem;
  cursor: pointer;
  font-size: 1rem;
  transition: background var(--transition);
}
.search-bar button:hover { background: var(--brown-mid); }

/* ============================================================
   LOAD MORE
   ============================================================ */
.load-more-wrap { text-align: center; margin-top: 3rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--brown-dark);
  color: rgba(255,255,255,.8);
  padding: 4rem 0 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer__grid { grid-template-columns: 1fr; }
}
.footer__brand .navbar__logo { color: var(--white); font-size: 1.3rem; }
.footer__brand p { font-size: .9rem; margin-top: .8rem; color: rgba(255,255,255,.65); line-height: 1.7; }
.footer__social {
  display: flex; gap: .8rem; margin-top: 1.2rem;
}
.footer__social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  transition: background var(--transition);
}
.footer__social a:hover { background: var(--terracotta); }

.footer__col h4 {
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  margin-bottom: 1.2rem;
}
.footer__col ul li { margin-bottom: .6rem; }
.footer__col ul li a {
  color: rgba(255,255,255,.65);
  font-size: .88rem;
  transition: color var(--transition);
}
.footer__col ul li a:hover { color: var(--peach); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .navbar__links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.2rem;
    border-top: 1px solid var(--cream-dark);
    box-shadow: var(--shadow-md);
  }
  .navbar__links.open { display: flex; }
  .navbar__hamburger { display: flex; }
  .navbar__inner { position: relative; }
  .hero__stats { gap: 1.5rem; }
  .section { padding: 4rem 0; }
}

@media (max-width: 480px) {
  .cards-grid { grid-template-columns: 1fr; }
  .hero__btns { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; max-width: 280px; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .6s ease both; }
.fade-up--d1 { animation-delay: .1s; }
.fade-up--d2 { animation-delay: .2s; }
.fade-up--d3 { animation-delay: .3s; }
.fade-up--d4 { animation-delay: .4s; }

/* Scroll reveal utility */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
.lang-switcher {
  position: relative;
  margin-left: .5rem;
}
.lang-switcher__btn {
  background: var(--cream-dark);
  border: 1px solid rgba(107,58,42,.2);
  border-radius: 30px;
  padding: .35rem .9rem;
  font-family: 'Lato', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  color: var(--brown-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: background var(--transition);
  white-space: nowrap;
}
.lang-switcher__btn:hover { background: var(--cream); }
.lang-switcher__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  z-index: 2000;
  overflow: hidden;
  border: 1px solid var(--cream-dark);
}
.lang-switcher__dropdown.open { display: block; }
.lang-switcher__dropdown button {
  display: flex;
  align-items: center;
  gap: .6rem;
  width: 100%;
  padding: .7rem 1rem;
  background: none;
  border: none;
  font-family: 'Lato', sans-serif;
  font-size: .88rem;
  color: var(--text-mid);
  cursor: pointer;
  text-align: left;
  transition: background var(--transition);
}
.lang-switcher__dropdown button:hover { background: var(--cream); color: var(--brown-dark); }
.lang-switcher__dropdown button.selected { background: var(--cream-dark); font-weight: 700; color: var(--brown-dark); }

/* ============================================================
   AI CHAT WIDGET
   ============================================================ */
#toh-chat {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  font-family: 'Lato', sans-serif;
}

.toh-chat__toggle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--white);
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), transform var(--transition);
  position: relative;
}
.toh-chat__toggle:hover { background: var(--brown-mid); transform: scale(1.08); }

.toh-chat__badge {
  position: absolute;
  top: -2px; right: -2px;
  background: #e53935;
  color: var(--white);
  border-radius: 50%;
  width: 18px; height: 18px;
  font-size: .65rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.toh-chat__window {
  position: absolute;
  bottom: 68px;
  right: 0;
  width: 340px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.85) translateY(10px);
  transform-origin: bottom right;
  opacity: 0;
  pointer-events: none;
  transition: transform .25s ease, opacity .25s ease;
}
.toh-chat__window.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.toh-chat__header {
  background: linear-gradient(135deg, var(--brown-dark), var(--brown-mid));
  color: var(--white);
  padding: 1rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.toh-chat__header-title { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; }
.toh-chat__header-sub   { font-size: .75rem; opacity: .8; margin-top: .15rem; }

.toh-chat__close {
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  cursor: pointer;
  font-size: 1rem;
  transition: color var(--transition);
  padding: 0 0 0 .5rem;
}
.toh-chat__close:hover { color: var(--white); }

.toh-chat__messages {
  flex: 1;
  max-height: 320px;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  background: var(--cream);
  scroll-behavior: smooth;
}
.toh-chat__messages::-webkit-scrollbar { width: 4px; }
.toh-chat__messages::-webkit-scrollbar-thumb { background: var(--cream-dark); border-radius: 4px; }

.toh-chat__msg { display: flex; flex-direction: column; max-width: 85%; }
.toh-chat__msg--user { align-self: flex-end; align-items: flex-end; }
.toh-chat__msg--assistant { align-self: flex-start; align-items: flex-start; }

.toh-chat__bubble {
  padding: .65rem .9rem;
  border-radius: 16px;
  font-size: .88rem;
  line-height: 1.55;
  word-break: break-word;
}
.toh-chat__msg--user .toh-chat__bubble {
  background: var(--terracotta);
  color: var(--white);
  border-bottom-right-radius: 4px;
}
.toh-chat__msg--assistant .toh-chat__bubble {
  background: var(--white);
  color: var(--text-dark);
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-sm);
}
.toh-chat__time { font-size: .68rem; color: var(--text-light); margin-top: .2rem; }

/* Typing indicator */
.toh-chat__typing {
  display: flex; align-items: center; gap: 4px;
  padding: .6rem .9rem !important;
}
.toh-chat__typing span {
  width: 7px; height: 7px;
  background: var(--text-light);
  border-radius: 50%;
  animation: typingDot 1.2s infinite;
}
.toh-chat__typing span:nth-child(2) { animation-delay: .2s; }
.toh-chat__typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typingDot {
  0%, 80%, 100% { transform: scale(1); opacity: .4; }
  40% { transform: scale(1.3); opacity: 1; }
}

.toh-chat__input-row {
  display: flex;
  border-top: 1px solid var(--cream-dark);
  background: var(--white);
}
.toh-chat__input {
  flex: 1;
  border: none;
  padding: .75rem 1rem;
  font-family: 'Lato', sans-serif;
  font-size: .88rem;
  color: var(--text-dark);
  outline: none;
  background: transparent;
}
.toh-chat__send {
  background: var(--terracotta);
  color: var(--white);
  border: none;
  padding: .75rem 1rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: .88rem;
  cursor: pointer;
  transition: background var(--transition);
}
.toh-chat__send:hover { background: var(--brown-mid); }
.toh-chat__send:disabled { background: var(--cream-dark); color: var(--text-light); cursor: default; }

.toh-chat__footer {
  text-align: center;
  font-size: .7rem;
  color: var(--text-light);
  padding: .4rem;
  background: var(--cream);
  border-top: 1px solid var(--cream-dark);
}
.toh-chat__footer a { color: var(--terracotta); }

@media (max-width: 400px) {
  .toh-chat__window { width: calc(100vw - 2rem); right: -1rem; }
}
