/* ─── CSS Reset & Base ─── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0f172a;
  color: #e2e8f0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Container ─── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── Header ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo img {
  border-radius: 8px;
}

.main-nav {
  display: flex;
  gap: 1.75rem;
}

.main-nav a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: #f97316;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 0 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(249,115,22,0.12), transparent),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(168,85,247,0.08), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(1.5rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: #c2410c;
  text-shadow: 0 1px 0 rgba(255,255,255, .8);
}

.hero-title span {
  font-size: clamp(1rem, 4vw, 2rem);
  font-weight: 600;
  color: #FB923C;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow: 0 0px 0 rgba(255,255,255, .0);
}

.gradient-text {
  background: linear-gradient(135deg, #f97316, #af1919);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: #cbd5e1;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.hero-desc {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.7rem;
  border-radius: 12px;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  box-shadow: 0 4px 20px rgba(249,115,22,0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(249,115,22,0.35);
}

.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: #e2e8f0;
  border: 1px solid rgba(255,255,255,0.1);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}

.btn-card {
  width: 100%;
  margin-top: auto;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
}

.btn-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(249,115,22,0.3);
}

.btn-ko {
  background: linear-gradient(135deg, #10b981, #059669);
}

.btn-ko:hover {
  box-shadow: 0 6px 20px rgba(16,185,129,0.3);
}

.btn-large {
  padding: 1rem 2.25rem;
  font-size: 1rem;
  border-radius: 14px;
}

/* ─── Platforms ─── */
.platforms {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 3rem;
  color: #f8fafc;
}

.section-title span {
  color: #94a3b8;
  font-weight: 500;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.platform-card {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.platform-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #f97316;
  background: rgba(249,115,22,0.1);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  width: fit-content;
  margin-bottom: 1.25rem;
}

.card-ko .card-badge {
  color: #10b981;
  background: rgba(16,185,129,0.1);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #f8fafc;
}

.card-desc {
  color: #94a3b8;
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.card-desc strong {
  color: #e2e8f0;
  font-weight: 600;
}

.feature-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.5rem 0;
  color: #cbd5e1;
  font-size: 0.9rem;
}

.feature-list li svg {
  flex-shrink: 0;
  color: #f97316;
  margin-top: 2px;
}

.card-ko .feature-list li svg {
  color: #10b981;
}

/* ─── Languages ─── */
.languages {
  padding: 5rem 0;
  background: rgba(255,255,255,0.015);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.lang-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.lang-block {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  overflow: hidden;
}

.lang-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.75rem;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.lang-flag {
  font-size: 1.75rem;
  line-height: 1;
}

.lang-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f8fafc;
}

.lang-header h3 span {
  color: #64748b;
  font-weight: 500;
  font-size: 0.9em;
}

.lang-body {
  padding: 1.5rem 1.75rem;
}

.lang-body p {
  color: #94a3b8;
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.lang-body p strong {
  color: #e2e8f0;
}

.lang-facts {
  display: grid;
  gap: 0.75rem;
}

.fact {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.65rem 0.9rem;
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
}

.fact strong {
  color: #f8fafc;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fact span {
  color: #94a3b8;
  font-size: 0.875rem;
}

/* ─── CTA Banner ─── */
.cta-banner {
  padding: 5rem 0;
  text-align: center;
}

.cta-inner h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.5rem;
}

.cta-inner p {
  color: #94a3b8;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Footer ─── */
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #f8fafc;
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #f97316;
}

.footer-copy {
  color: #475569;
  font-size: 0.8rem;
}

/* ─── Responsive ─── */
@media (max-width: 640px) {
  .main-nav {
    display: none;
  }

  .hero {
    padding: 7rem 0 4rem;
  }

  .hero-cta,
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .platform-grid,
  .lang-grid {
    grid-template-columns: 1fr;
  }

  .platform-card,
  .lang-block {
    padding: 1.5rem;
  }
}

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn, .platform-card, .lang-block {
    transition: none;
  }
  .btn:hover, .platform-card:hover, .lang-block:hover {
    transform: none;
  }
}

/* ─── Services Section ─── */
.services {
  padding: 5rem 0;
  background: rgba(255,255,255,0.015);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.services-desc {
  text-align: center;
  color: #94a3b8;
  font-size: 1rem;
  max-width: 640px;
  margin: -1.5rem auto 3rem;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.service-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(249,115,22,0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-features li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.4rem;
  color: #cbd5e1;
  font-size: 0.85rem;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #f97316;
  font-weight: 700;
  font-size: 0.8rem;
}

.btn-service {
  width: 100%;
  margin-top: auto;
  background: rgba(249,115,22,0.1);
  color: #f97316;
  border: 1px solid rgba(249,115,22,0.25);
  font-size: 0.9rem;
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  font-weight: 600;
  text-align: center;
  display: block;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-service:hover {
  background: rgba(249,115,22,0.2);
  border-color: rgba(249,115,22,0.4);
  color: #fb923c;
}

/* ─── Contact Section ─── */
.contact {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-info h3,
.contact-form-wrapper h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.75rem;
}

.contact-info > p {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s;
}

.contact-method:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(249,115,22,0.3);
}

.contact-method-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  background: rgba(249,115,22,0.15);
  color: #f97316;
}

.zalo-icon {
  background: rgba(0,132,255,0.15);
  color: #0084ff;
}

.fb-icon {
  background: rgba(24,119,242,0.15);
  color: #1877f2;
}

.contact-method div {
  display: flex;
  flex-direction: column;
}

.contact-method strong {
  color: #f8fafc;
  font-size: 0.85rem;
}

.contact-method span {
  color: #94a3b8;
  font-size: 0.8rem;
}

/* Social Links */
.social-section h4 {
  color: #f8fafc;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.social-links {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.2s;
}

.social-link:hover {
  background: rgba(249,115,22,0.15);
  border-color: rgba(249,115,22,0.3);
  color: #f97316;
  transform: translateY(-2px);
}

.zalo-social:hover {
  background: rgba(0,132,255,0.15);
  border-color: rgba(0,132,255,0.3);
  color: #0084ff;
}

/* ─── Contact Form ─── */
.contact-form-wrapper {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 2rem;
}

.form-hint {
  color: #94a3b8;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  color: #e2e8f0;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #f97316;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #64748b;
}

.form-group select option {
  background: #1e293b;
  color: #e2e8f0;
}

.btn-submit {
  gap: 0.5rem;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
}

.form-success {
  display: none;
  color: #10b981;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.75rem;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 10px;
  text-align: center;
}

.form-success.show {
  display: block;
}

.form-error {
  display: none;
  color: #ef4444;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.75rem;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 10px;
  text-align: center;
}

.form-error.show {
  display: block;
}

/* ─── Taxi Booking Modal ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1rem;
  overflow-y: auto;
}

.modal-box {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: #1e293b;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  margin: auto;
}

.modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-close:hover {
  background: rgba(239,68,68,0.15);
  border-color: rgba(239,68,68,0.3);
  color: #ef4444;
}

.modal-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-right: 2rem;
}

.modal-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

.modal-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.4rem;
}

.modal-header p {
  color: #94a3b8;
  font-size: 0.82rem;
  line-height: 1.6;
}

.modal-form .form-group label {
  font-size: 0.8rem;
}

.req {
  color: #ef4444;
}

.modal-form .form-group input,
.modal-form .form-group select,
.modal-form .form-group textarea {
  font-size: 0.85rem;
}

.modal-form .form-row {
  gap: 0.75rem;
}

.modal-form .btn-submit {
  width: 100%;
  margin-top: 0.5rem;
}

@media (max-width: 480px) {
  .modal-box {
    padding: 1.5rem 1.25rem;
  }

  .modal-form .form-row {
    grid-template-columns: 1fr;
  }
}

/* ─── Coming Soon Modal ─── */
.cs-modal {
  align-items: center;
}

.cs-lang-toggle {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.cs-lang-btn {
  padding: 0.35rem 0.85rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.cs-lang-btn.active {
  background: rgba(249,115,22,0.15);
  border-color: rgba(249,115,22,0.4);
  color: #f97316;
}

.cs-lang-btn:hover {
  background: rgba(255,255,255,0.05);
}

.cs-modal-box {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: linear-gradient(145deg, #1e293b, #0f172a);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
  padding: 2.5rem 2rem 2rem;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  margin: auto;
  animation: csModalIn 0.3s ease;
}

@keyframes csModalIn {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.cs-modal-body {
  text-align: center;
}

.cs-icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
  animation: csBounce 2s infinite;
}

@keyframes csBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.cs-modal-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.75rem;
}

.cs-modal-body p {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.cs-modal-body p strong {
  color: #f97316;
}

.cs-social-hint {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #64748b;
}

.cs-social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.cs-social-links a {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.cs-social-links a:hover {
  color: #f97316;
}

@media (max-width: 480px) {
  .cs-modal-box {
    padding: 2rem 1.25rem 1.5rem;
  }
}

/* ─── Landing Chatbot ─── */
.lb-chatbot {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  font-family: inherit;
}

.lb-toggle {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(249,115,22,0.4);
  transition: all 0.2s;
}

.lb-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 30px rgba(249,115,22,0.5);
}

.lb-pulse {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  background: #10b981;
  border-radius: 50%;
  border: 2px solid #0f172a;
  animation: lbPulse 2s infinite;
}

@keyframes lbPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.lb-panel {
  display: none;
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 340px;
  max-height: 480px;
  background: #1e293b;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  flex-direction: column;
}

.lb-panel.open {
  display: flex;
}

.lb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  background: rgba(249,115,22,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.lb-header-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lb-avatar {
  font-size: 1.6rem;
}

.lb-header-info strong {
  display: block;
  color: #f8fafc;
  font-size: 0.9rem;
}

.lb-status {
  color: #10b981;
  font-size: 0.72rem;
  font-weight: 500;
}

.lb-close {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: color 0.2s;
}

.lb-close:hover {
  color: #f8fafc;
}

.lb-messages {
  flex: 1;
  overflow-y: auto;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-height: 280px;
  min-height: 120px;
}

.lb-msg {
  max-width: 85%;
  padding: 0.55rem 0.8rem;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.5;
  word-break: break-word;
}

.lb-msg.bot {
  align-self: flex-start;
  background: rgba(255,255,255,0.07);
  color: #e2e8f0;
  border-bottom-left-radius: 4px;
}

.lb-msg.user {
  align-self: flex-end;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.lb-msg.bot a {
  color: #fb923c;
  text-decoration: underline;
}

.lb-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.lb-quick:empty {
  display: none;
}

.lb-chip {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  background: rgba(249,115,22,0.1);
  border: 1px solid rgba(249,115,22,0.2);
  border-radius: 999px;
  color: #fb923c;
  font-size: 0.72rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}

.lb-chip:hover {
  background: rgba(249,115,22,0.2);
  border-color: rgba(249,115,22,0.4);
}

.lb-input-area {
  display: flex;
  gap: 0.4rem;
  padding: 0.65rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.2);
}

.lb-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  color: #e2e8f0;
  font-size: 0.82rem;
  outline: none;
  font-family: inherit;
}

.lb-input:focus {
  border-color: #f97316;
}

.lb-input::placeholder {
  color: #64748b;
}

.lb-send {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #f97316;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lb-send:hover {
  background: #ea580c;
}

/* Footer social */
.footer-social {
  display: flex;
  gap: 1.25rem;
}

.footer-social a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}

.footer-social a:hover {
  color: #f97316;
}

/* ─── Legal Pages ─── */
.legal-page {
  padding: 8rem 0 4rem;
  min-height: 60vh;
}

.legal-page h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: 0.5rem;
}

.legal-updated {
  color: #64748b;
  font-size: 0.85rem;
  margin-bottom: 2.5rem;
}

.legal-page section {
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f97316;
  margin-bottom: 0.6rem;
}

.legal-page p,
.legal-page ul {
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.7;
}

.legal-page ul {
  padding-left: 1.5rem;
  list-style: disc;
}

.legal-page li {
  margin-bottom: 0.4rem;
}

.legal-page strong {
  color: #e2e8f0;
}

@media (max-width: 640px) {
  .legal-page {
    padding: 6rem 0 3rem;
  }
  .legal-page h1 {
    font-size: 1.6rem;
  }
  .legal-page h2 {
    font-size: 1.05rem;
  }
}

/* ─── Responsive additions ─── */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .lb-panel {
    width: calc(100vw - 2rem);
    right: -0.5rem;
  }

  .footer-social {
    flex-wrap: wrap;
    justify-content: center;
  }
}
