/* ===================================================
   MTARISE CONSTRUCTION LTD — Premium Construction Website
   styles.css
   =================================================== */

/* --- CSS Custom Properties --- */
:root {
  --gold:        #C9A84C;
  --gold-light:  #E2C97E;
  --gold-dark:   #A07830;
  --dark:        #111111;
  --dark-2:      #1E1E1E;
  --dark-3:      #2D2D2D;
  --charcoal:    #3A3A3A;
  --white:       #FFFFFF;
  --warm:        #F8F5EF;
  --warm-2:      #F0EBE0;
  --text:        #1E1E1E;
  --text-mid:    #555555;
  --text-light:  #888888;
  --border:      #E5E0D8;
  --radius:      8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --shadow:      0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:   0 12px 48px rgba(0,0,0,0.12);
  --shadow-gold: 0 8px 32px rgba(201,168,76,0.25);
  --nav-h:       72px;
  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-dark); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- Typography --- */
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
h4 { font-size: 1rem; font-family: 'Inter', sans-serif; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
p { line-height: 1.8; }

.body-text { color: var(--text-mid); font-size: 1.05rem; }
.body-text + .body-text { margin-top: 1rem; }

/* --- Container --- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- Section Spacing --- */
.section { padding: 96px 0; }
.section.bg-white  { background: var(--white); }
.section.bg-warm   { background: var(--warm); }
.section.bg-dark   { background: var(--dark); color: var(--white); }

.section-header { text-align: center; margin-bottom: 64px; }
.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-eyebrow.light { color: var(--gold); }
.section-title { color: var(--text); margin-bottom: 16px; }
.section-title.light { color: var(--white); }
.section-title em { font-style: italic; color: var(--gold); }
.section-subtitle { color: var(--text-mid); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.section-subtitle.light { color: rgba(255,255,255,0.75); }

/* --- Utility --- */
.text-center { text-align: center; }
.mt-lg { margin-top: 24px; }
.mt-xl { margin-top: 48px; }
.full-width { width: 100%; }
.hidden { display: none !important; }

/* ===================================================
   NAV BACKDROP (mobile)
   =================================================== */
#navBackdrop {
  display: none;
  position: fixed; inset: 0; z-index: 998;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(2px);
  opacity: 0; transition: opacity 0.3s;
}
#navBackdrop.visible { display: block; opacity: 1; }

/* ===================================================
   NAVIGATION
   =================================================== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(17,17,17,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  transition: all var(--transition);
}
#navbar.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,0.4); }

.nav-container {
  max-width: 1300px; margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--white);
}
.logo-mark {
  width: 46px; height: 46px;
  background: var(--gold);
  color: var(--dark);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(201,168,76,0.25), 0 4px 14px rgba(201,168,76,0.3);
}
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 600; color: var(--white); line-height: 1.2; }
.logo-tagline { font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); }

.nav-links {
  list-style: none;
}
.nav-desktop {
  display: flex; align-items: center; gap: 4px;
}
/* Mobile list hidden by default — lives outside <nav> so it is never clipped */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  height: calc(100dvh - var(--nav-h));
  flex-direction: column;
  background: rgba(17,17,17,0.99);
  padding: 16px 12px;
  gap: 4px;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 999;
  -webkit-overflow-scrolling: touch;
}
.nav-mobile.open { display: flex; }
.nav-links a {
  display: block;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-radius: var(--radius);
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--gold); background: rgba(201,168,76,0.08); }
.nav-links a.active-link { color: var(--gold); }
.nav-links .nav-cta {
  background: var(--gold);
  color: var(--dark) !important;
  font-weight: 600;
  padding: 9px 18px;
  margin-left: 8px;
}
.nav-links .nav-cta:hover { background: var(--gold-light); }

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

/* ===================================================
   PAGES
   =================================================== */
main { padding-top: var(--nav-h); min-height: 80vh; }

.page-hero {
  padding: 80px 0 64px;
}
.page-hero.bg-dark { background: var(--dark); }

/* ===================================================
   BUTTONS
   =================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.03em;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer; border: 2px solid transparent;
}
.btn-gold {
  background: var(--gold); color: var(--dark);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light); border-color: var(--gold-light);
  box-shadow: var(--shadow-gold); transform: translateY(-1px);
}
.btn-dark {
  background: var(--dark); color: var(--white);
  border-color: var(--dark);
}
.btn-dark:hover { background: var(--dark-3); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1); border-color: var(--white);
}
.large-btn { padding: 18px 40px; font-size: 1rem; }

/* ===================================================
   HERO
   =================================================== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 40%, #0d1117 100%);
}
/* Decorative pattern */
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201,168,76,0.07) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(201,168,76,0.05) 0%, transparent 40%);
}
.hero-bg::after {
  content: '';
  position: absolute; right: -100px; top: -100px;
  width: 600px; height: 600px;
  border: 1px solid rgba(201,168,76,0.08);
  border-radius: 50%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  color: var(--white); margin-bottom: 24px; line-height: 1.15;
}
.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.75);
  max-width: 600px; margin: 0 auto 40px; line-height: 1.8;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-trust {
  display: flex; gap: 12px; flex-wrap: wrap;
  justify-content: center; margin-top: 48px;
}
.trust-pill {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 20px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 100px;
  font-size: 0.82rem; font-weight: 600;
  color: rgba(255,255,255,0.95);
  letter-spacing: 0.01em;
  transition: background 0.25s, border-color 0.25s;
}
.trust-pill:hover { background: rgba(201,168,76,0.18); border-color: rgba(201,168,76,0.65); }
.trust-pill svg { color: var(--gold); flex-shrink: 0; filter: drop-shadow(0 0 4px rgba(201,168,76,0.5)); }

.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.4); font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.6));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }

/* ===================================================
   HOME — INTRO
   =================================================== */
.intro-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.intro-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
}
.stat-card {
  background: var(--warm); padding: 40px 32px;
  display: flex; flex-direction: column; gap: 8px;
  border: 1px solid var(--border);
}
.stat-card:first-child { border-radius: var(--radius) 0 0 0; }
.stat-card:nth-child(2) { border-radius: 0 var(--radius) 0 0; }
.stat-card:nth-child(3) { border-radius: 0 0 0 var(--radius); }
.stat-card:last-child { border-radius: 0 0 var(--radius) 0; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem; font-weight: 700;
  color: var(--gold); line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(201,168,76,0.2);
}
.stat-label { font-size: 0.85rem; color: var(--text-mid); font-weight: 500; }

/* ===================================================
   HOME — SERVICES GRID
   =================================================== */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
}
.service-card {
  background: var(--white); padding: 40px 32px;
  transition: all var(--transition); cursor: pointer;
  display: flex; flex-direction: column; gap: 12px;
}
.service-card:hover { background: var(--dark); }
.service-card:hover h3, .service-card:hover p, .service-card:hover .card-link { color: var(--white); }
.service-card:hover .service-icon { transform: scale(1.1); background: rgba(201,168,76,0.15); border-color: var(--gold); }
.service-icon {
  font-size: 1.8rem; transition: all var(--transition);
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--warm); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.service-card h3 { font-size: 1.2rem; color: var(--text); transition: color var(--transition); }
.service-card p { font-size: 0.9rem; color: var(--text-mid); flex: 1; transition: color var(--transition); }
.card-link { font-size: 0.85rem; font-weight: 600; color: var(--gold); margin-top: auto; }

/* ===================================================
   HOME — WHY CHOOSE US PILLARS
   =================================================== */
.pillars-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.pillar {
  display: flex; flex-direction: column; gap: 16px;
  padding: 40px 24px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.03);
  text-align: center;
  transition: all var(--transition);
}
.pillar:hover { border-color: rgba(201,168,76,0.3); background: rgba(201,168,76,0.05); }
.pillar-icon {
  font-size: 2rem;
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.pillar h3 { color: var(--white); font-size: 1.1rem; }
.pillar p { color: rgba(255,255,255,0.6); font-size: 0.9rem; }

/* ===================================================
   HOME — PROJECTS PREVIEW
   =================================================== */
.projects-preview-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2px;
  background: var(--border); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border);
}
.project-card { position: relative; overflow: hidden; }
.project-card.large .project-img { height: 480px; }
.project-img { height: 240px; position: relative; display: flex; align-items: center; justify-content: center; }
.project-img-placeholder {
  color: rgba(255,255,255,0.4); font-size: 0.85rem;
  text-align: center;
}
.project-info {
  padding: 20px 24px;
  background: var(--white);
  display: flex; flex-direction: column; gap: 6px;
}
.project-tag {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold);
}
.project-info h3 { font-size: 1rem; color: var(--text); }
.project-info p { font-size: 0.82rem; color: var(--text-light); }

/* ===================================================
   BEFORE & AFTER SLIDER
   =================================================== */
.ba-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ba-slider-wrap, .ba-slider-container { position: relative; }
.ba-slider {
  position: relative; height: 420px; overflow: hidden;
  border-radius: var(--radius-lg); cursor: ew-resize;
  user-select: none; border: 2px solid var(--border);
}
.ba-full-item .ba-slider { height: 500px; }
.ba-before, .ba-after {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.ba-after { width: 50%; overflow: hidden; border-right: 3px solid var(--gold); }
.ba-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 700; gap: 8px;
}
.before-ph { background: linear-gradient(135deg, #6b7280, #9ca3af); color: rgba(255,255,255,0.7); }
.after-ph { background: linear-gradient(135deg, #1a4a2e, #2d7a4e); color: rgba(255,255,255,0.9); }
.ba-placeholder.large-ph { font-size: 2rem; }
.ba-placeholder small { font-family: 'Inter', sans-serif; font-size: 0.85rem; font-weight: 400; opacity: 0.8; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  pointer-events: none; z-index: 10;
}
.ba-handle-line { flex: 1; width: 3px; background: var(--gold); }
.ba-handle-circle {
  width: 48px; height: 48px;
  background: var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--dark); font-size: 0.85rem; font-weight: 700;
  box-shadow: 0 4px 16px rgba(201,168,76,0.4);
  flex-shrink: 0;
}
.ba-labels {
  display: flex; justify-content: space-between;
  margin-top: 12px; padding: 0 8px;
}
.ba-label-before, .ba-label-after {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-mid);
}

.ba-preview-text { display: flex; flex-direction: column; gap: 16px; }
.ba-preview-text h3 { font-size: 1.6rem; }
.ba-checklist { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ba-checklist li { font-size: 0.9rem; color: var(--text-mid); }

/* Full Before/After Page */
.ba-full-item {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px;
  align-items: start; margin-bottom: 80px;
  padding-bottom: 80px; border-bottom: 1px solid var(--border);
}
.ba-full-item:last-child { border-bottom: none; }
.ba-item-label { display: flex; flex-direction: column; gap: 12px; }
.ba-project-tag {
  display: inline-block;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); background: rgba(201,168,76,0.1);
  padding: 4px 12px; border-radius: 100px;
  width: fit-content;
}
.ba-item-label h3 { font-size: 1.4rem; }
.ba-item-label p { font-size: 0.95rem; color: var(--text-mid); }

/* ===================================================
   TESTIMONIALS
   =================================================== */
.testimonials-slider-wrap { position: relative; overflow: hidden; }
.testimonials-track {
  display: flex; gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.testimonial-card {
  flex-shrink: 0; width: calc(33.333% - 16px);
  background: var(--warm); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
  display: flex; flex-direction: column; gap: 20px;
}
.stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; }
.testi-text { font-size: 0.95rem; color: var(--text-mid); line-height: 1.8; font-style: italic; flex: 1; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 44px; height: 44px;
  background: var(--dark); color: var(--gold);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; flex-shrink: 0;
}
.testi-avatar.large-av { width: 52px; height: 52px; font-size: 0.9rem; }
.testi-author > div { display: flex; flex-direction: column; }
.testi-author strong { font-size: 0.9rem; color: var(--text); }
.testi-author span { font-size: 0.78rem; color: var(--text-light); }
.testi-date { font-size: 0.75rem; color: var(--text-light); }

.slider-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; }
.slider-btn {
  width: 44px; height: 44px;
  border: 1.5px solid var(--border);
  border-radius: 50%; font-size: 1rem; color: var(--text);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition); background: var(--white);
}
.slider-btn:hover { background: var(--dark); color: var(--white); border-color: var(--dark); }
.slider-dots { display: flex; gap: 8px; }
.slider-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border); transition: all var(--transition); cursor: pointer;
}
.slider-dot.active { background: var(--gold); width: 24px; border-radius: 4px; }

/* Full testimonials grid */
.testi-rating-summary {
  text-align: center; margin-bottom: 64px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.rating-big {
  font-family: 'Playfair Display', serif;
  font-size: 5rem; font-weight: 700; color: var(--dark); line-height: 1;
}
.rating-stars-big { font-size: 2rem; color: var(--gold); letter-spacing: 4px; }
.rating-count { color: var(--text-mid); font-size: 0.95rem; }
.rating-platforms { display: flex; gap: 24px; margin-top: 12px; }
.rating-platforms span { font-size: 0.85rem; font-weight: 500; color: var(--text-mid); }

.testimonials-full-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.testi-full-card {
  background: var(--warm); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
  display: flex; flex-direction: column; gap: 20px;
  transition: all var(--transition);
}
.testi-full-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(201,168,76,0.3); }
.testi-full-card p { font-size: 0.95rem; color: var(--text-mid); line-height: 1.8; font-style: italic; flex: 1; }

/* ===================================================
   CTA BANNER
   =================================================== */
.cta-banner { position: relative; padding: 96px 0; }
.cta-banner-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0a0a0a, #1a1a2e, #0d1117);
}
.cta-banner-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 30% 50%, rgba(201,168,76,0.08) 0%, transparent 60%);
}
.cta-banner .container { position: relative; z-index: 2; }

/* ===================================================
   CONTACT PREVIEW (HOME)
   =================================================== */
.contact-preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-items { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.contact-item > div { display: flex; flex-direction: column; gap: 2px; }
.contact-item strong { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.contact-item a, .contact-item span { font-size: 0.95rem; color: var(--text-mid); }
.contact-item a:hover { color: var(--gold); }

.quick-form, .contact-form, .quote-form {
  background: var(--white); padding: 40px;
  border-radius: var(--radius-xl); border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: var(--shadow);
}
.quick-form h3, .contact-form h3 { font-size: 1.4rem; margin-bottom: 8px; }

/* ===================================================
   FORMS
   =================================================== */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem; font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
.form-group textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-section-title {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-mid); border-bottom: 1px solid var(--border);
  padding-bottom: 12px; margin-top: 8px;
}
.form-intro { font-size: 0.88rem; color: var(--text-mid); }

.checkbox-group { display: flex; gap: 20px; flex-wrap: wrap; }
.checkbox-label { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; cursor: pointer; }
.checkbox-label input { accent-color: var(--gold); }

.file-upload-area {
  border: 2px dashed var(--border); border-radius: var(--radius);
  padding: 32px; cursor: pointer; text-align: center;
  transition: all var(--transition);
}
.file-upload-area:hover { border-color: var(--gold); background: rgba(201,168,76,0.04); }
.file-upload-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.file-icon { font-size: 2rem; }
.file-upload-inner p { font-size: 0.9rem; color: var(--text-mid); }
.file-upload-inner small { font-size: 0.78rem; color: var(--text-light); }
.file-names { margin-top: 12px; font-size: 0.82rem; color: var(--gold); }

.form-reassurance {
  font-size: 0.82rem; color: var(--text-light);
  text-align: center; padding: 12px;
  background: var(--warm); border-radius: var(--radius);
}

/* Quote layout */
.quote-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.quote-form { background: var(--white); padding: 48px; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.quote-form h2 { font-size: 1.8rem; margin-bottom: 4px; }

.sidebar-card {
  background: var(--white); padding: 28px;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  margin-bottom: 20px;
}
.sidebar-card h3 { font-size: 1rem; margin-bottom: 16px; }
.next-steps { list-style: decimal; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
.next-steps li { font-size: 0.9rem; color: var(--text-mid); padding-left: 4px; }
.next-steps strong { color: var(--text); display: block; }
.sidebar-contact { display: flex; flex-direction: column; gap: 10px; }
.sidebar-contact a { font-size: 0.9rem; color: var(--text-mid); }
.sidebar-contact a:hover { color: var(--gold); }
.sidebar-contact p { font-size: 0.85rem; color: var(--text-light); }
.trust-sidebar ul { display: flex; flex-direction: column; gap: 10px; }
.trust-sidebar li { font-size: 0.9rem; color: var(--text-mid); }

.quote-success {
  background: var(--white); padding: 64px 48px;
  border-radius: var(--radius-xl); text-align: center;
  box-shadow: var(--shadow-lg);
}
.success-icon { font-size: 4rem; margin-bottom: 16px; }
.quote-success h2 { margin-bottom: 12px; }
.quote-success p { color: var(--text-mid); font-size: 1.1rem; }

/* ===================================================
   ABOUT PAGE
   =================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img-wrap {
  position: relative;
  background: linear-gradient(135deg, #2c3e50, #4ca1af);
  border-radius: var(--radius-xl); overflow: hidden;
  min-height: 480px;
  display: flex; align-items: center; justify-content: center;
}
.about-img-ph { color: rgba(255,255,255,0.5); font-size: 1rem; }
.about-badge {
  position: absolute; bottom: 24px; right: 24px;
  background: var(--gold); color: var(--dark);
  padding: 16px 24px; border-radius: var(--radius-lg);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-weight: 700; font-size: 0.85rem;
}
.about-text { display: flex; flex-direction: column; gap: 16px; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--border); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.value-card { background: var(--white); padding: 40px 32px; display: flex; flex-direction: column; gap: 12px; }
.value-num { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 700; color: var(--gold); opacity: 0.4; line-height: 1; }
.value-card h3 { font-size: 1.1rem; }
.value-card p { font-size: 0.9rem; color: var(--text-mid); }

.guarantee-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.guarantee-item {
  display: flex; align-items: center; gap: 12px;
  padding: 20px; border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); background: rgba(255,255,255,0.03);
}
.g-icon { font-size: 1.2rem; flex-shrink: 0; }
.guarantee-item p { font-size: 0.88rem; color: rgba(255,255,255,0.75); }

/* Process steps */
.process-steps { display: flex; align-items: flex-start; gap: 0; position: relative; }
.process-step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.process-connector {
  flex-shrink: 0; width: 80px; height: 2px;
  background: linear-gradient(to right, var(--gold), rgba(201,168,76,0.3));
  margin-top: 32px;
}
.step-num {
  width: 56px; height: 56px;
  background: var(--dark); color: var(--gold);
  border-radius: 50%; border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700;
  flex-shrink: 0;
}
.step-content h3 { font-size: 1rem; margin-bottom: 8px; }
.step-content p { font-size: 0.88rem; color: var(--text-mid); }

/* ===================================================
   SERVICES PAGE
   =================================================== */
.service-detail-card {
  display: grid; grid-template-columns: 80px 1fr; gap: 40px;
  padding: 48px 0; border-bottom: 1px solid var(--border);
  align-items: start;
}
.service-detail-card:last-child { border-bottom: none; }
.sdc-icon { font-size: 3rem; padding-top: 8px; }
.sdc-content { display: flex; flex-direction: column; gap: 16px; }
.sdc-content h2 { font-size: 1.8rem; }
.sdc-content p { color: var(--text-mid); }
.sdc-benefits h4 { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mid); margin-bottom: 12px; }
.sdc-benefits ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.sdc-benefits li { font-size: 0.9rem; color: var(--text-mid); padding-left: 16px; position: relative; }
.sdc-benefits li::before { content: '—'; position: absolute; left: 0; color: var(--gold); }
.sdc-ideal {
  background: var(--warm); padding: 16px 20px;
  border-radius: var(--radius); border-left: 3px solid var(--gold);
  font-size: 0.9rem; color: var(--text-mid);
}
.sdc-ideal strong { color: var(--text); }

/* ===================================================
   PROJECTS PAGE
   =================================================== */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  padding: 8px 20px; border: 1.5px solid var(--border);
  border-radius: 100px; font-size: 0.85rem; font-weight: 500;
  color: var(--text-mid); background: var(--white);
  transition: all var(--transition); cursor: pointer;
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active { background: var(--dark); color: var(--white); border-color: var(--dark); }

.projects-full-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.pf-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: all var(--transition); }
.pf-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.pf-card[style*="display:none"] { display: none !important; }
.pf-img { height: 260px; position: relative; display: flex; align-items: center; justify-content: center; }
.pf-img-ph { font-size: 2rem; color: rgba(255,255,255,0.4); }
.pf-tag {
  position: absolute; top: 16px; left: 16px;
  background: rgba(0,0,0,0.6); color: var(--white);
  backdrop-filter: blur(8px);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 6px 14px; border-radius: 100px;
}
.pf-info { padding: 24px; background: var(--white); display: flex; flex-direction: column; gap: 8px; }
.pf-info h3 { font-size: 1.05rem; }
.pf-meta { font-size: 0.8rem; color: var(--text-light); }
.pf-info > p { font-size: 0.88rem; color: var(--text-mid); }

/* ===================================================
   CONTACT PAGE
   =================================================== */
.contact-full-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; }
.contact-details-col { display: flex; flex-direction: column; gap: 24px; }
.contact-details-col h2 { font-size: 2rem; }
.contact-detail-item { display: flex; align-items: flex-start; gap: 16px; }
.cdi-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.contact-detail-item > div { display: flex; flex-direction: column; gap: 2px; }
.contact-detail-item strong { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text); }
.contact-detail-item a, .contact-detail-item span { font-size: 0.95rem; color: var(--text-mid); }
.contact-detail-item small { font-size: 0.82rem; color: var(--text-light); }

.social-links { display: flex; flex-direction: column; gap: 12px; }
.social-icons { display: flex; gap: 10px; flex-wrap: wrap; }
.social-btn {
  padding: 8px 20px; border: 1.5px solid var(--border);
  border-radius: 100px; font-size: 0.85rem; font-weight: 500;
  color: var(--text); transition: all var(--transition);
}
.social-btn:hover { background: var(--dark); color: var(--white); border-color: var(--dark); }

.areas-covered { display: flex; flex-direction: column; gap: 12px; }
.areas-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.areas-tags span {
  padding: 6px 14px; background: var(--warm); border: 1px solid var(--border);
  border-radius: 100px; font-size: 0.82rem; color: var(--text-mid);
}

.map-section { height: 400px; background: var(--warm-2); position: relative; }
.map-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #e8e0d0, #d8cfbf);
}
.map-overlay-text { text-align: center; display: flex; flex-direction: column; gap: 8px; }
.map-overlay-text span { font-size: 1rem; font-weight: 600; color: var(--text-mid); }
.map-overlay-text small { color: var(--text-light); }

/* ===================================================
   FAQ PAGE
   =================================================== */
.faq-container { max-width: 860px; }
.faq-group { margin-bottom: 48px; }
.faq-group-title { font-size: 1.1rem; color: var(--gold); margin-bottom: 20px; font-family: 'Inter', sans-serif; font-weight: 600; letter-spacing: 0.05em; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; text-align: left;
  padding: 20px 0; font-size: 1rem; font-weight: 500;
  color: var(--text); display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: none; border: none; cursor: pointer; font-family: inherit;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--gold); }
.faq-arrow { transition: transform var(--transition); flex-shrink: 0; font-size: 0.8rem; color: var(--gold); }
.faq-question.open .faq-arrow { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer.open { max-height: 300px; }
.faq-answer p { padding: 0 0 20px 0; color: var(--text-mid); font-size: 0.95rem; line-height: 1.8; }

/* ===================================================
   FOOTER
   =================================================== */
.site-footer { background: var(--dark); color: var(--white); }
.footer-top { padding: 80px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.7; }
.footer-trust-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-trust-badges span { font-size: 0.75rem; color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.06); padding: 4px 12px; border-radius: 100px; }

.footer-links-col h4 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-links-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links-col a { font-size: 0.88rem; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-links-col a:hover { color: var(--white); }

.footer-contact-col h4 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-contact-item { margin-bottom: 10px; }
.footer-contact-item a { font-size: 0.88rem; color: rgba(255,255,255,0.5); }
.footer-contact-item a:hover { color: var(--gold); }
.footer-contact-item { font-size: 0.88rem; color: rgba(255,255,255,0.5); }

.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.fsocial {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; color: rgba(255,255,255,0.5);
  transition: all var(--transition);
}
.fsocial:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.35); text-align: center; }
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--gold); }

/* ===================================================
   TOAST
   =================================================== */
.toast {
  position: fixed; bottom: 32px; right: 32px; z-index: 9999;
  background: var(--dark); color: var(--white);
  padding: 16px 24px; border-radius: var(--radius-lg);
  font-size: 0.9rem; border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-lg);
  animation: slideIn 0.3s ease;
}
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ===================================================
   SCROLL REVEAL ANIMATIONS
   =================================================== */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1100px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .guarantee-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .projects-preview-grid { grid-template-columns: 1fr 1fr; }
  .project-card.large .project-img { height: 300px; }
}

@media (max-width: 900px) {
  /* Hide desktop nav, show hamburger */
  .nav-desktop { display: none !important; }
  .hamburger   { display: flex; }
  .hamburger span { pointer-events: none; }

  /* Mobile nav link styles */
  .nav-mobile li { width: 100%; }
  .nav-mobile a {
    display: block; width: 100%;
    padding: 16px 20px; font-size: 1.05rem;
    border-radius: var(--radius);
    color: rgba(255,255,255,0.85);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: background 0.15s, color 0.15s;
  }
  .nav-mobile a:hover,
  .nav-mobile a:active { color: var(--gold); background: rgba(201,168,76,0.1); }
  .nav-mobile .nav-cta {
    margin: 12px 0 0 0;
    display: block; text-align: center;
    background: var(--gold); color: var(--dark) !important;
    padding: 16px 20px; border-radius: var(--radius);
  }

  .hero-content { padding: 0 16px; }
  .hero { min-height: 90vh; }

  .intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .projects-preview-grid { grid-template-columns: 1fr; }
  .projects-full-grid { grid-template-columns: 1fr; }
  .ba-preview { grid-template-columns: 1fr; gap: 32px; }
  .ba-full-item { grid-template-columns: 1fr; gap: 24px; }
  .testimonials-full-grid { grid-template-columns: 1fr; }
  .contact-preview-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-full-layout { grid-template-columns: 1fr; gap: 40px; }
  .quote-layout { grid-template-columns: 1fr; }
  .quote-sidebar { display: none; }
  .process-steps { flex-direction: column; align-items: flex-start; }
  .process-connector { width: 2px; height: 40px; margin: 0 28px; background: linear-gradient(to bottom, var(--gold), rgba(201,168,76,0.3)); }
  .process-step { flex-direction: row; text-align: left; }
  .step-content h3 { margin-bottom: 4px; }

  .testimonial-card { width: calc(100% - 24px); }
  .form-row { grid-template-columns: 1fr; }
  .sdc-benefits ul { grid-template-columns: 1fr; }
  .service-detail-card { grid-template-columns: 1fr; }
  .sdc-icon { font-size: 2.2rem; }
}

@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .guarantee-grid { grid-template-columns: 1fr; }
  .intro-stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-trust { gap: 8px; }
  .trust-pill { font-size: 0.72rem; padding: 6px 12px; }
  .quote-form { padding: 28px 20px; }
  .ba-slider { height: 280px; }
  .ba-full-item .ba-slider { height: 320px; }
  .rating-big { font-size: 3.5rem; }
  .rating-platforms { flex-direction: column; gap: 8px; }
}

/* ===================================================
   CHATBOT WIDGET
   =================================================== */
#chatbot {
  position: fixed; bottom: 28px; right: 28px; z-index: 9998;
}

/* ── Toggle bubble ── */
#chatToggle {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--gold);
  color: var(--dark);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(201,168,76,0.45);
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s;
  position: relative;
}
#chatToggle:hover { transform: scale(1.1); box-shadow: 0 12px 40px rgba(201,168,76,0.55); }
#chatToggle:active { transform: scale(0.96); }

.chat-unread {
  position: absolute; top: -4px; right: -4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #e53e3e; color: #fff;
  font-size: 0.7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
  animation: pulse-badge 1.8s ease-in-out infinite;
}
@keyframes pulse-badge {
  0%,100% { transform: scale(1); }
  50%      { transform: scale(1.25); }
}

/* ── Chat window ── */
.chat-window {
  position: absolute; bottom: 76px; right: 0;
  width: 360px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.18);
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
  overflow: hidden;
  animation: chatSlideIn 0.3s cubic-bezier(0.34,1.56,0.64,1);
  max-height: 560px;
}
@keyframes chatSlideIn {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Header ── */
.chat-header {
  background: var(--dark);
  padding: 16px 18px;
  display: flex; align-items: center; gap: 12px;
}
.chat-header-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold); color: var(--dark);
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.chat-header-info { flex: 1; display: flex; flex-direction: column; }
.chat-header-info strong { color: var(--white); font-size: 0.9rem; }
.chat-header-info span  { color: rgba(255,255,255,0.55); font-size: 0.75rem; display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.chat-online-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #48bb78;
  box-shadow: 0 0 0 2px rgba(72,187,120,0.3);
  display: inline-block;
  animation: pulse-online 2s ease-in-out infinite;
}
@keyframes pulse-online {
  0%,100% { box-shadow: 0 0 0 2px rgba(72,187,120,0.3); }
  50%      { box-shadow: 0 0 0 5px rgba(72,187,120,0.1); }
}
.chat-close-btn {
  color: rgba(255,255,255,0.5); font-size: 1rem;
  background: none; border: none; cursor: pointer;
  padding: 4px; border-radius: 50%; transition: color 0.2s;
  line-height: 1;
}
.chat-close-btn:hover { color: var(--white); }

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

/* ── Message bubbles ── */
.chat-msg {
  display: flex; animation: msgPop 0.25s ease;
}
@keyframes msgPop {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.chat-msg.bot  { justify-content: flex-start; }
.chat-msg.user { justify-content: flex-end; }

.chat-bubble {
  max-width: 85%; padding: 12px 16px;
  border-radius: 18px; font-size: 0.88rem; line-height: 1.6;
}
.chat-msg.bot  .chat-bubble {
  background: var(--white); color: var(--text);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.chat-msg.user .chat-bubble {
  background: var(--dark); color: var(--white);
  border-bottom-right-radius: 4px;
}
.chat-msg.bot .chat-bubble a { color: var(--gold); text-decoration: underline; }
.chat-msg.bot .chat-bubble a:hover { color: var(--gold-dark); }

/* ── Typing indicator ── */
.typing-bubble {
  display: flex; align-items: center; gap: 5px;
  padding: 14px 18px;
}
.typing-bubble span {
  display: block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--text-light);
  animation: typingDot 1.2s ease-in-out infinite;
}
.typing-bubble span:nth-child(2) { animation-delay: 0.2s; }
.typing-bubble span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot {
  0%,60%,100% { transform: translateY(0); opacity: 0.4; }
  30%          { transform: translateY(-6px); opacity: 1; }
}

/* ── Quick reply chips ── */
.chat-quick-replies {
  padding: 8px 12px 4px;
  display: flex; flex-wrap: wrap; gap: 7px;
  background: var(--warm);
  border-top: 1px solid var(--border);
  max-height: 100px; overflow-y: auto;
}
.chat-quick-replies:empty { display: none; }
.qr-btn {
  padding: 6px 14px;
  background: var(--white); color: var(--text);
  border: 1.5px solid var(--border); border-radius: 100px;
  font-size: 0.78rem; font-weight: 500; cursor: pointer;
  transition: all 0.2s; white-space: nowrap; font-family: inherit;
}
.qr-btn:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }

/* ── Input row ── */
.chat-input-row {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  background: var(--white);
}
#chatInput {
  flex: 1; border: 1.5px solid var(--border);
  border-radius: 100px; padding: 10px 16px;
  font-size: 0.88rem; font-family: inherit; color: var(--text);
  outline: none; transition: border-color 0.2s;
  background: var(--warm);
}
#chatInput:focus { border-color: var(--gold); background: var(--white); }
#chatInput::placeholder { color: var(--text-light); }

.chat-send-btn {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%;
  background: var(--gold); color: var(--dark); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.chat-send-btn:hover { background: var(--gold-light); transform: scale(1.08); }

/* ── Mobile adjustments ── */
@media (max-width: 420px) {
  #chatbot { bottom: 16px; right: 16px; }
  .chat-window { width: calc(100vw - 32px); right: 0; }
}
