/* ========================================================
   taste. El Nido — Stylesheet
   Color palette: cream, charcoal, teal, warm wood
======================================================== */

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

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:        #FAF8F3;
  --white:        #FFFFFF;
  --charcoal:     #1A1A1A;
  --charcoal-mid: #3D3D3D;
  --teal:         #2A9D8F;
  --teal-dark:    #1E7A6E;
  --teal-light:   #E8F5F3;
  --wood:         #B5783C;
  --wood-light:   #F5EDE0;
  --green:        #4A7C59;
  --blush:        #F0C4B4;
  --gold:         #D4A853;
  --border:       #E8E3DA;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --shadow-sm:    0 2px 8px rgba(0,0,0,.07);
  --shadow-md:    0 8px 32px rgba(0,0,0,.10);
  --shadow-lg:    0 20px 60px rgba(0,0,0,.13);
  --radius:       16px;
  --radius-sm:    10px;

  --nav-h:        72px;
  scroll-behavior: smooth;
}

html { font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  overflow-x: hidden;
  line-height: 1.6;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Fade-in animation ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-left.visible,
.reveal-right.visible { transform: none; opacity: 1; }

/* ================================================================
   NAV
================================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background .35s, box-shadow .35s;
}
#navbar.scrolled {
  background: rgba(250,248,243,.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.5px;
  transition: color .35s;
}
.nav-logo span { color: var(--teal); }
#navbar.scrolled .nav-logo { color: var(--charcoal); }

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .5px;
  color: rgba(255,255,255,.9);
  transition: color .25s;
}
.nav-links a:hover { color: var(--teal); }
#navbar.scrolled .nav-links a { color: var(--charcoal-mid); }
#navbar.scrolled .nav-links a:hover { color: var(--teal); }

.nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: background .25s, transform .2s !important;
}
.nav-cta:hover { background: var(--teal-dark) !important; transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s;
}
#navbar.scrolled .hamburger span { background: var(--charcoal); }

/* ================================================================
   HERO
================================================================ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  object-position: center 30%;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10,30,20,.60) 0%,
    rgba(10,30,20,.40) 50%,
    rgba(42,157,143,.25) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 760px;
  padding: 0 24px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(42,157,143,.5);
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero-title .dot { color: var(--teal); }
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 300;
  color: rgba(255,255,255,.85);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  transition: all .25s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(42,157,143,.4); }
.btn-outline {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.5);
  backdrop-filter: blur(8px);
}
.btn-outline:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: scrollBounce 2s infinite;
}
.hero-scroll svg { width: 20px; height: 20px; }

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── Stats bar ── */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 0;
}
.stat-item {
  flex: 1;
  max-width: 260px;
  text-align: center;
  padding: 28px 20px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}
.stat-label {
  font-size: .8rem;
  color: #888;
  margin-top: 4px;
  letter-spacing: .5px;
}

/* ================================================================
   SECTION COMMON
================================================================ */
section { padding: 96px 0; }

.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: #666;
  line-height: 1.7;
  max-width: 540px;
}

/* ================================================================
   ABOUT
================================================================ */
#about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-images {
  position: relative;
  height: 580px;
}
.about-img-main {
  position: absolute;
  top: 0; left: 0;
  width: 72%;
  height: 86%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-accent {
  position: absolute;
  bottom: 0; right: 0;
  width: 50%;
  height: 48%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--white);
}
.about-badge {
  position: absolute;
  top: 50%;
  right: -24px;
  transform: translateY(-50%);
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: .7rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .5px;
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.about-badge strong { font-size: 1.5rem; font-family: var(--font-display); font-weight: 700; }

.about-text .section-sub { max-width: 460px; margin-bottom: 28px; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}
.feat-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.feat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}
.feat-text strong {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.feat-text span { font-size: .8rem; color: #777; }

/* ================================================================
   MENU
================================================================ */
#menu { background: var(--cream); }

.menu-header { text-align: center; margin-bottom: 60px; }
.menu-header .section-sub { margin: 0 auto; }

.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 10px 24px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--charcoal-mid);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .25s;
}
.tab-btn.active, .tab-btn:hover {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.menu-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
}
.menu-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.menu-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}
.menu-card-img img { transition: transform .5s; }
.menu-card:hover .menu-card-img img { transform: scale(1.06); }

.menu-card-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--teal);
  color: var(--white);
  font-size: .7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
  letter-spacing: .5px;
}
.menu-card-body { padding: 20px; }
.menu-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.menu-card-body p {
  font-size: .85rem;
  color: #777;
  line-height: 1.6;
  margin-bottom: 14px;
}
.menu-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.menu-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal);
}
.menu-tag {
  font-size: .72rem;
  font-weight: 600;
  color: var(--green);
  background: rgba(74,124,89,.1);
  padding: 3px 9px;
  border-radius: 50px;
}

/* ================================================================
   GALLERY
================================================================ */
#gallery { background: var(--white); }

.gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 20px;
  flex-wrap: wrap;
}
.gallery-header .section-sub { margin-bottom: 0; }

.ig-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .9rem;
  white-space: nowrap;
  transition: opacity .25s, transform .25s;
  flex-shrink: 0;
}
.ig-link:hover { opacity: .9; transform: translateY(-2px); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 260px);
  gap: 12px;
}
.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item img { transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,.0);
  transition: background .3s;
}
.gallery-item:hover::after { background: rgba(42,157,143,.15); }

.gallery-item.tall  { grid-row: span 2; }
.gallery-item.wide  { grid-column: span 2; }

/* ================================================================
   EXPERIENCE
================================================================ */
#experience {
  background: var(--charcoal);
  padding: 96px 0;
  overflow: hidden;
}
.exp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.exp-text .section-tag { color: var(--teal); }
.exp-text .section-title { color: var(--white); }
.exp-text .section-sub { color: rgba(255,255,255,.65); margin-bottom: 36px; }

.exp-list { display: flex; flex-direction: column; gap: 20px; }
.exp-list-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.exp-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  flex-shrink: 0;
  width: 40px;
}
.exp-list-item h4 { color: var(--white); font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.exp-list-item p  { color: rgba(255,255,255,.55); font-size: .9rem; line-height: 1.6; }

.exp-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 12px;
}
.exp-img {
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.exp-img.large { grid-row: span 2; }

/* ================================================================
   REVIEWS
================================================================ */
#reviews { background: var(--cream); }

.reviews-header { text-align: center; margin-bottom: 56px; }
.reviews-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}
.stars { color: #F4B942; font-size: 1.3rem; letter-spacing: 2px; }
.reviews-rating span { font-size: .9rem; color: #777; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform .3s, box-shadow .3s;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.review-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.reviewer-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal);
  flex-shrink: 0;
}
.reviewer-info strong { display: block; font-size: .95rem; font-weight: 600; }
.reviewer-info span  { font-size: .8rem; color: #999; }
.review-stars { color: #F4B942; font-size: .95rem; }

.review-text {
  font-size: .92rem;
  line-height: 1.75;
  color: var(--charcoal-mid);
  position: relative;
  padding-left: 20px;
}
.review-text::before {
  content: '"';
  position: absolute;
  left: 0; top: -6px;
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--teal);
  line-height: 1;
  opacity: .4;
}

.review-source {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: .78rem;
  color: #aaa;
}
.review-source svg { width: 16px; height: 16px; }

/* ================================================================
   FIND US / MAP
================================================================ */
#find-us { background: var(--white); padding: 96px 0 0; }

.findus-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
  padding-bottom: 96px;
}
.findus-info .section-sub { margin-bottom: 36px; }

.info-blocks { display: flex; flex-direction: column; gap: 24px; }
.info-block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.info-icon {
  width: 44px; height: 44px;
  background: var(--teal-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}
.info-block h4 { font-size: .85rem; color: #999; font-weight: 500; margin-bottom: 4px; }
.info-block p  { font-size: .95rem; font-weight: 500; line-height: 1.5; }
.info-block a  { color: var(--teal); }

.hours-list { display: flex; flex-direction: column; gap: 4px; }
.hours-row  { display: flex; justify-content: space-between; font-size: .9rem; }
.hours-row .day { color: #666; }
.hours-row .time { font-weight: 500; }

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 440px;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ================================================================
   FOOTER
================================================================ */
footer {
  background: var(--charcoal);
  color: rgba(255,255,255,.6);
  padding: 60px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 32px;
}
.footer-brand .nav-logo { color: var(--white); margin-bottom: 14px; font-size: 1.5rem; }
.footer-brand p { font-size: .88rem; line-height: 1.7; max-width: 240px; }
.footer-col h4 {
  color: var(--white);
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: .5px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: .87rem; transition: color .25s; }
.footer-col ul li a:hover { color: var(--teal); }

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.social-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s, transform .25s;
  color: rgba(255,255,255,.8);
}
.social-btn:hover { background: var(--teal); transform: translateY(-3px); color: var(--white); }
.social-btn svg { width: 18px; height: 18px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: var(--teal); }

/* ================================================================
   FLOATING BUTTONS
================================================================ */
.float-btns {
  position: fixed;
  bottom: 32px;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 900;
}
.float-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(0,0,0,.2);
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
  color: var(--white);
  position: relative;
}
.float-btn:hover { transform: scale(1.12); box-shadow: 0 10px 32px rgba(0,0,0,.25); }

.float-btn svg { width: 26px; height: 26px; }

.float-wa  { background: #25D366; }
.float-ig  { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

.float-tooltip {
  position: absolute;
  right: 64px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--charcoal);
  color: var(--white);
  font-size: .8rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.float-tooltip::after {
  content: '';
  position: absolute;
  left: 100%; top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--charcoal);
}
.float-btn:hover .float-tooltip { opacity: 1; }

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1024px) {
  .about-grid, .exp-grid, .findus-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-images { height: 440px; order: -1; }
  .about-badge { right: 0; top: auto; bottom: -20px; transform: none; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 220px); }
  .gallery-item.wide { grid-column: span 1; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  section { padding: 72px 0; }

  .nav-links { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(250,248,243,.97);
    backdrop-filter: blur(16px);
    padding: 24px;
    gap: 20px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open a { color: var(--charcoal) !important; font-size: 1.1rem; }

  .menu-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .stats-inner { flex-wrap: wrap; }
  .stat-item { max-width: 50%; flex-basis: 50%; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .gallery-item.tall { grid-row: span 1; }
  .gallery-grid { height: auto; gap: 8px; }
  .gallery-item { height: 180px; }
  .about-features { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .exp-images { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 180px; }
  .float-btns { bottom: 24px; right: 18px; }
  .float-btn { width: 48px; height: 48px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .about-img-accent { display: none; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item { height: 220px; }
}

/* ================================================================
   AI CHAT WIDGET
================================================================ */
#chat-widget {
  position: fixed;
  bottom: 32px;
  left: 28px;
  z-index: 950;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 12px;
}

/* ── Toggle button ── */
.chat-toggle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: var(--teal);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(42,157,143,.45);
  transition: transform .3s, box-shadow .3s, background .25s;
  position: relative;
}
.chat-toggle:hover {
  transform: scale(1.1);
  background: var(--teal-dark);
  box-shadow: 0 10px 32px rgba(42,157,143,.55);
}
.chat-toggle-icon { display: flex; align-items: center; justify-content: center; }

.chat-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 20px;
  height: 20px;
  background: #ef4444;
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
  animation: badgePop .4s ease;
}
.chat-badge.hidden { display: none; }

@keyframes badgePop {
  0%   { transform: scale(0); }
  70%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* ── Chat panel ── */
.chat-panel {
  width: 360px;
  max-height: 520px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(.9) translateY(20px);
  transform-origin: bottom left;
  opacity: 0;
  pointer-events: none;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .3s ease;
}
.chat-panel.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

/* ── Header ── */
.chat-header {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.chat-header-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}
.chat-header-info { flex: 1; }
.chat-header-info strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-display);
}
.chat-header-info span {
  font-size: .78rem;
  color: rgba(255,255,255,.8);
  display: flex;
  align-items: center;
  gap: 5px;
}
.online-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(74,222,128,.3);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(74,222,128,.3); }
  50%       { box-shadow: 0 0 0 5px rgba(74,222,128,.1); }
}
.chat-close-btn {
  background: rgba(255,255,255,.15);
  border: none;
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
}
.chat-close-btn:hover { background: rgba(255,255,255,.28); }

/* ── Messages ── */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.chat-msg {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 88%;
  animation: msgSlide .3s ease;
}
@keyframes msgSlide {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
.chat-msg.user  { align-self: flex-end; align-items: flex-end; }
.chat-msg.assistant { align-self: flex-start; align-items: flex-start; }

.chat-bubble {
  padding: 11px 15px;
  border-radius: 18px;
  font-size: .88rem;
  line-height: 1.6;
}
.chat-msg.user .chat-bubble {
  background: var(--teal);
  color: var(--white);
  border-bottom-right-radius: 4px;
}
.chat-msg.assistant .chat-bubble {
  background: var(--cream);
  color: var(--charcoal);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}
.chat-time {
  font-size: .7rem;
  color: #bbb;
  padding: 0 4px;
}

/* ── Typing indicator ── */
.chat-typing .chat-bubble {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 14px 18px;
}
.dot-one, .dot-two, .dot-three {
  width: 7px; height: 7px;
  background: #aaa;
  border-radius: 50%;
  animation: typing 1.2s infinite;
}
.dot-two   { animation-delay: .2s; }
.dot-three { animation-delay: .4s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: .5; }
  30%           { transform: translateY(-6px); opacity: 1; }
}

/* ── Quick replies ── */
.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px 0;
}
.quick-reply {
  background: var(--white);
  border: 1.5px solid var(--teal);
  color: var(--teal);
  padding: 7px 14px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.quick-reply:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-1px);
}

/* ── Input area ── */
.chat-input-area {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  background: var(--white);
  flex-shrink: 0;
}
.chat-input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: .88rem;
  color: var(--charcoal);
  background: var(--cream);
  outline: none;
  transition: border-color .25s;
}
.chat-input:focus { border-color: var(--teal); background: var(--white); }
.chat-input::placeholder { color: #bbb; }

.chat-send-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s, transform .2s;
}
.chat-send-btn:hover   { background: var(--teal-dark); transform: scale(1.07); }
.chat-send-btn:disabled { background: #ccc; cursor: not-allowed; transform: none; }

.chat-footer-note {
  text-align: center;
  font-size: .68rem;
  color: #ccc;
  padding: 6px 0 10px;
  flex-shrink: 0;
}

/* ── Mobile adjustments ── */
@media (max-width: 480px) {
  #chat-widget { left: 16px; bottom: 20px; }
  .chat-panel  { width: calc(100vw - 32px); max-height: 75vh; }
  .chat-toggle { width: 52px; height: 52px; }
}
