/* ═══════════════════════════════════════
   AMRIX GROUP — Premium White Theme
   with Geometric Shapes
   ═══════════════════════════════════════ */

:root {
  --bg: #ffffff;
  --bg-soft: #f8f8f8;
  --bg-card: #ffffff;
  --bg-elevated: #f2f2f2;
  --bg-dark: #1a1a1a;
  --border: rgba(0,0,0,0.08);
  --border-hover: rgba(0,0,0,0.15);
  --text: #1a1a1a;
  --text-muted: #666;
  --text-dim: #999;
  --accent: #b8964e;
  --accent-dark: #96792e;
  --accent-glow: rgba(184,150,78,0.08);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans); background: var(--bg); color: var(--text);
  line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }

/* ── Geometric Background Shapes ── */
.geo-bg {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
}
.geo-shape {
  position: absolute; opacity: 0.04;
}
.geo-shape--1 {
  top: -80px; right: -60px; width: 400px; height: 400px;
  background: linear-gradient(135deg, var(--accent) 0%, transparent 60%);
  transform: rotate(45deg);
}
.geo-shape--2 {
  bottom: -120px; left: -80px; width: 500px; height: 500px;
  background: linear-gradient(225deg, #ddd 0%, transparent 60%);
  transform: rotate(30deg);
}
.geo-shape--3 {
  top: 40%; right: 10%; width: 200px; height: 200px;
  border: 2px solid var(--accent);
  transform: rotate(60deg); opacity: 0.06;
}
.geo-shape--4 {
  top: 20%; left: 5%; width: 150px; height: 150px;
  border: 2px solid #ccc;
  transform: rotate(15deg); opacity: 0.05;
}
.geo-shape--diamond {
  width: 0; height: 0;
  border: 80px solid transparent;
  border-bottom: 120px solid var(--accent);
  opacity: 0.03;
}
.geo-shape--diamond::after {
  content: ''; position: absolute; top: 120px; left: -80px;
  width: 0; height: 0;
  border: 80px solid transparent;
  border-top: 120px solid var(--accent);
}

/* ── Preloader ── */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s, visibility 0.6s;
}
#preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-logo {
  width: 60px; height: 60px; margin: 0 auto 16px;
}
.loader-logo svg { width: 100%; height: 100%; }
.loader-text {
  font-family: var(--sans); font-size: 1rem; font-weight: 600;
  letter-spacing: 0.35em; color: var(--text); margin-bottom: 20px;
  text-transform: uppercase;
}
.loader-bar { width: 120px; height: 2px; background: var(--border); border-radius: 2px; overflow: hidden; margin: 0 auto; }
.loader-fill { width: 0%; height: 100%; background: var(--accent); animation: loaderFill 1.5s ease-out forwards; }
@keyframes loaderFill { to { width: 100%; } }

/* ── Navigation ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0; background: transparent;
  transition: all var(--transition);
}
#navbar.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  padding: 12px 0;
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; }
.logo-symbol {
  width: 38px; height: 38px; position: relative;
}
.logo-symbol svg { width: 100%; height: 100%; }
.logo-text-wrap { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: var(--sans); font-weight: 700; font-size: 16px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--text);
}
.logo-tagline {
  font-size: 8.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-dim); font-weight: 400; margin-top: 2px;
}

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.06em;
  color: var(--text-muted); text-transform: uppercase;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--accent); }

.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-phone { font-size: 0.85rem; color: var(--text-muted); font-weight: 400; }
.nav-phone:hover { color: var(--accent); }
.nav-cta {
  padding: 10px 22px; background: var(--text); color: var(--bg);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; border-radius: 6px; border: 1px solid var(--text);
  transition: all var(--transition);
}
.nav-cta:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: all 0.3s; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none; position: fixed; top: 60px; left: 0; right: 0;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(20px);
  padding: 32px 24px; transform: translateY(-10px); opacity: 0;
  transition: all 0.3s; pointer-events: none; box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.mobile-menu.active { transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-menu ul { list-style: none; }
.mobile-menu a {
  display: block; padding: 14px 0; font-size: 1.1rem; color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.mobile-menu .mobile-cta {
  display: inline-block; margin-top: 16px; padding: 12px 28px;
  background: var(--text); color: var(--bg); border-radius: 8px;
  font-weight: 600; text-align: center;
}

/* ── Hero ── */
#hero {
  position: relative; min-height: 100vh; display: flex;
  align-items: center; justify-content: center; overflow: hidden;
  background: var(--bg-soft);
}
.hero-geo {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.hero-geo-shape {
  position: absolute; opacity: 0.045;
}
.hero-geo-shape:nth-child(1) {
  top: -15%; right: -10%; width: 600px; height: 600px;
  background: linear-gradient(135deg, var(--accent), transparent 70%);
  transform: rotate(45deg);
}
.hero-geo-shape:nth-child(2) {
  bottom: -20%; left: -5%; width: 450px; height: 450px;
  background: linear-gradient(315deg, #d0d0d0, transparent 70%);
  transform: rotate(25deg);
}
.hero-geo-shape:nth-child(3) {
  top: 30%; right: 15%; width: 180px; height: 180px;
  border: 2px solid var(--accent); transform: rotate(60deg); opacity: 0.07;
}
.hero-geo-shape:nth-child(4) {
  bottom: 25%; left: 8%; width: 120px; height: 120px;
  border: 2px solid #bbb; transform: rotate(20deg); opacity: 0.06;
}
.hero-geo-shape:nth-child(5) {
  top: 15%; left: 20%; width: 80px; height: 80px;
  background: var(--accent); transform: rotate(45deg); opacity: 0.03;
}

.hero-content {
  position: relative; z-index: 2; text-align: center;
  max-width: 780px; padding: 0 24px;
}
.hero-tag {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 20px;
}
.hero-title {
  font-family: var(--serif); font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 600; line-height: 1.12; margin-bottom: 24px;
  color: var(--text);
}
.hero-title .accent { color: var(--accent); }
.hero-sub {
  font-size: 1.05rem; color: var(--text-muted); line-height: 1.75;
  max-width: 540px; margin: 0 auto 36px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 2;
}
.hero-scroll span { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim); }
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 8px; border: 1px solid transparent;
  cursor: pointer; transition: all var(--transition); font-family: var(--sans);
}
.btn-primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-outline { border-color: var(--border-hover); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 16px 40px; font-size: 0.85rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-white { background: #fff; color: var(--text); border-color: #fff; }
.btn-white:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-outline-white { border-color: rgba(255,255,255,0.3); color: #fff; }
.btn-outline-white:hover { border-color: var(--accent); color: var(--accent); }

/* ── Stats ── */
#stats { padding: 64px 0; background: var(--bg); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-num { font-family: var(--serif); font-size: 3rem; font-weight: 600; color: var(--text); line-height: 1; }
.stat-suffix { font-family: var(--serif); font-size: 2rem; color: var(--accent); }
.stat-label { font-size: 0.75rem; color: var(--text-dim); margin-top: 8px; letter-spacing: 0.08em; text-transform: uppercase; }

/* ── Section Headers ── */
.section-tag {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.section-title {
  font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600; margin-bottom: 16px; line-height: 1.15; color: var(--text);
}
.section-desc { font-size: 1rem; color: var(--text-muted); max-width: 540px; margin: 0 auto; line-height: 1.75; }
.section-header { text-align: center; margin-bottom: 56px; }

/* ── Services ── */
#services { padding: 120px 0; position: relative; background: var(--bg-soft); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; z-index: 1; }

.service-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all var(--transition);
  box-shadow: 0 2px 20px rgba(0,0,0,0.03);
}
.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}
.service-img { position: relative; height: 240px; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.service-card:hover .service-img img { transform: scale(1.05); }
.service-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.15));
}
.service-body { padding: 28px; }
.service-num { font-family: var(--serif); font-size: 0.9rem; color: var(--accent); font-weight: 600; margin-bottom: 8px; display: block; }
.service-body h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; margin-bottom: 12px; }
.service-body p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 16px; }
.service-features { list-style: none; margin-bottom: 20px; }
.service-features li { font-size: 0.82rem; color: var(--text-muted); padding: 4px 0 4px 18px; position: relative; }
.service-features li::before { content: ''; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8rem; font-weight: 600; color: var(--accent);
  letter-spacing: 0.06em; text-transform: uppercase; transition: gap var(--transition);
}
.service-link:hover { gap: 12px; }

/* ── Portfolio ── */
#portfolio { padding: 120px 0; background: var(--bg); position: relative; }
.portfolio-filters { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn {
  padding: 8px 20px; background: transparent; border: 1px solid var(--border);
  color: var(--text-muted); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 6px; cursor: pointer; transition: all var(--transition); font-family: var(--sans);
}
.filter-btn:hover, .filter-btn.active { border-color: var(--accent); color: var(--accent); background: var(--accent-glow); }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.portfolio-item { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; cursor: pointer; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.portfolio-item:hover img { transform: scale(1.06); }
.portfolio-overlay {
  position: absolute; inset: 0; padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  opacity: 0; transition: opacity var(--transition);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-cat { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.portfolio-overlay h4 { font-family: var(--serif); font-size: 1.15rem; margin-bottom: 4px; color: #fff; }
.portfolio-overlay p { font-size: 0.8rem; color: rgba(255,255,255,0.7); line-height: 1.5; }
.portfolio-item.hidden { display: none; }

/* ── Process ── */
#process { padding: 120px 0; background: var(--bg-soft); position: relative; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 1; }
.process-step {
  text-align: center; padding: 32px 20px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); transition: all var(--transition);
  box-shadow: 0 2px 12px rgba(0,0,0,0.02);
}
.process-step:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.06); }
.step-num { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--accent); margin-bottom: 8px; }
.step-line { width: 40px; height: 2px; background: var(--accent); margin: 0 auto 16px; opacity: 0.3; }
.process-step h3 { font-family: var(--serif); font-size: 1.05rem; margin-bottom: 12px; }
.process-step p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.75; }

/* ── Testimonials ── */
#testimonials { padding: 120px 0; background: var(--bg); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px; transition: all var(--transition);
}
.testimonial-card:hover { border-color: var(--border-hover); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,0.04); }
.testimonial-stars { color: var(--accent); font-size: 1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--text); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 1rem;
}
.testimonial-author strong { display: block; font-size: 0.9rem; }
.testimonial-author span { font-size: 0.78rem; color: var(--text-dim); }

/* ── CTA ── */
#cta { padding: 120px 0; background: var(--bg); }
.cta-inner {
  text-align: center; padding: 80px 40px;
  background: var(--bg-soft); color: var(--text);
  border-radius: var(--radius-lg); position: relative; overflow: hidden;
  border: 1px solid var(--border);
}
.cta-inner .geo-bg { opacity: 0.04; }
.cta-inner h2 { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 600; margin-bottom: 16px; position: relative; z-index: 1; color: var(--text); }
.cta-inner p { font-size: 1rem; color: var(--text-muted); margin-bottom: 32px; position: relative; z-index: 1; }
.cta-inner .btn { position: relative; z-index: 1; }

/* ── Contact ── */
#contact { padding: 120px 0; background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info .section-title { text-align: left; }
.contact-desc { font-size: 0.95rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-item svg { color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.contact-item strong { display: block; font-size: 0.95rem; }
.contact-item span { font-size: 0.82rem; color: var(--text-dim); }

.contact-form-wrap {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea {
  background: var(--bg); border: 1px solid var(--border); color: var(--text);
  padding: 12px 16px; border-radius: 8px; font-family: var(--sans); font-size: 0.9rem;
  transition: border-color var(--transition); outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group select { cursor: pointer; appearance: none; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 0.78rem; color: var(--text-dim); text-align: center; }

/* ── Footer ── */
#footer { padding: 80px 0 32px; background: var(--bg-dark); color: rgba(255,255,255,0.8); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .logo-name { color: #fff; }
.footer-brand .logo-tagline { color: rgba(255,255,255,0.4); }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.45); line-height: 1.7; margin-top: 16px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px; border: 1px solid rgba(184,150,78,0.3);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--accent); transition: all var(--transition);
}
.footer-social a:hover { border-color: var(--accent); color: #fff; background: var(--accent); }
.footer-links h4 { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a, .footer-links span { font-size: 0.85rem; color: rgba(255,255,255,0.45); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  padding: 24px 0 48px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: flex-start; align-items: center; flex-wrap: wrap; gap: 12px 32px;
  padding-right: 80px;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.35); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.78rem; color: rgba(255,255,255,0.35); }
.footer-legal a:hover { color: var(--accent); }

/* ── Chatbot ── */
#chatbot-toggle {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 48px; height: 48px; background: var(--accent);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 6px 24px rgba(0,0,0,0.15);
  transition: all var(--transition); color: #fff;
}
#chatbot-toggle:hover { transform: scale(1.06); background: var(--accent); }

#chatbot {
  position: fixed; bottom: 96px; right: 24px; z-index: 91;
  width: 360px; max-height: 480px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  transition: all 0.3s ease;
}
#chatbot.chatbot-hidden { opacity: 0; transform: translateY(16px) scale(0.95); pointer-events: none; }

.chat-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; background: var(--bg-soft); border-bottom: 1px solid var(--border);
}
.chat-header strong { display: block; font-size: 0.9rem; color: var(--text); }
.chat-header span { font-size: 0.72rem; color: var(--text-dim); }
#chatClose { background: none; border: none; color: var(--text-muted); font-size: 1.4rem; cursor: pointer; padding: 4px 8px; }

.chat-messages {
  flex: 1; overflow-y: auto; padding: 16px 20px;
  display: flex; flex-direction: column; gap: 12px; max-height: 300px;
}
.chat-msg { max-width: 85%; }
.chat-msg p { padding: 10px 14px; border-radius: 12px; font-size: 0.85rem; line-height: 1.5; }
.chat-msg.bot p { background: var(--bg-soft); border: 1px solid var(--border); color: var(--text); }
.chat-msg.user { align-self: flex-end; }
.chat-msg.user p { background: var(--text); color: #fff; }

.chat-options { display: flex; flex-wrap: wrap; gap: 8px; }
.chat-options button {
  padding: 8px 14px; background: transparent; border: 1px solid var(--border);
  color: var(--text-muted); font-size: 0.78rem; border-radius: 20px;
  cursor: pointer; transition: all var(--transition); font-family: var(--sans);
}
.chat-options button:hover { border-color: var(--accent); color: var(--accent); }

.chat-input { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--border); }
#chatInput {
  flex: 1; background: var(--bg-soft); border: 1px solid var(--border);
  color: var(--text); padding: 10px 14px; border-radius: 8px;
  font-size: 0.85rem; outline: none; font-family: var(--sans);
}
#chatInput:focus { border-color: var(--accent); }
#chatSend {
  background: var(--text); color: #fff; border: none;
  width: 40px; height: 40px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--transition);
}
#chatSend:hover { background: var(--accent); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services-grid, .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-right { display: none; }
  .hamburger { display: block; }
  .mobile-menu { display: block; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .services-grid, .testimonial-grid, .process-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.2rem; }
  .cta-inner { padding: 48px 24px; }
  #chatbot { width: calc(100vw - 48px); right: 24px; }
}
@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-num { font-size: 2.2rem; }
}
