﻿:root,
:root[data-theme="dark"] {
  --bg: #050816;
  --bg-soft: #071426;
  --page-bg: linear-gradient(135deg, #050816, #07131f 45%, #071426);
  --surface: rgba(7, 20, 38, 0.74);
  --surface-strong: rgba(9, 24, 46, 0.92);
  --line: var(--soft-4);
  --text: #ffffff;
  --muted: #d1d5db;

  /* Translucent fills layered over the page background. */
  --soft-1: var(--soft-1);
  --soft-2: var(--soft-2);
  --soft-3: var(--hairline);
  --soft-4: var(--soft-4);
  --hairline: var(--hairline);

  --header-bg: rgba(5, 8, 22, 0.55);
  --header-bg-scrolled: rgba(5, 8, 22, 0.9);
  --topbar-bg: rgba(2, 8, 20, 0.86);
  --footer-bg: rgba(2, 7, 16, 0.95);
  --loader-bg: rgba(2, 7, 16, 0.97);
  --panel-bg: rgba(4, 13, 30, 0.94);
  --page-hero-bg: linear-gradient(180deg, rgba(4, 10, 24, 0.95), rgba(5, 13, 28, 0.75));
  --hero-overlay: linear-gradient(90deg, rgba(5, 8, 22, 0.84), rgba(5, 8, 22, 0.54));

  --primary: #0A84FF;
  --secondary: #00E5FF;
  --accent: #00E5FF;
  --secondary-dark: #1E40AF;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  --radius: 24px;
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f4f7ff;
  --bg-soft: #eaf2ff;
  --page-bg: linear-gradient(135deg, #f7faff, #eef4ff 45%, #e8f0ff);
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --line: rgba(8, 19, 38, 0.12);
  --text: #071426;
  --muted: #4a5b73;

  --soft-1: rgba(8, 19, 38, 0.035);
  --soft-2: rgba(8, 19, 38, 0.05);
  --soft-3: rgba(8, 19, 38, 0.07);
  --soft-4: rgba(8, 19, 38, 0.1);
  --hairline: rgba(8, 19, 38, 0.1);

  --header-bg: rgba(255, 255, 255, 0.72);
  --header-bg-scrolled: rgba(255, 255, 255, 0.94);
  --topbar-bg: rgba(235, 242, 255, 0.92);
  --footer-bg: rgba(235, 242, 255, 0.96);
  --loader-bg: rgba(244, 247, 255, 0.97);
  --panel-bg: rgba(255, 255, 255, 0.97);
  --page-hero-bg: linear-gradient(180deg, rgba(235, 242, 255, 0.95), rgba(244, 247, 255, 0.75));
  --hero-overlay: linear-gradient(90deg, rgba(6, 14, 32, 0.72), rgba(6, 14, 32, 0.42));

  /* The cyan reads too pale on white, so links and accents darken in light mode. */
  --accent: #0077a8;
  --shadow: 0 20px 50px rgba(8, 19, 38, 0.1);
  color-scheme: light;
}

/* Base reset and layout */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: var(--page-bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--secondary);
  color: #04111f;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  z-index: 2000;
  font-weight: 700;
}
.skip-link:focus {
  top: 1rem;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}
.container { width: min(1160px, calc(100% - 2rem)); margin: 0 auto; }
section { position: relative; }

/* Loader */
.loader {
  position: fixed; inset: 0; display: grid; place-items: center; background: var(--loader-bg); z-index: 9999; transition: opacity 0.45s ease, visibility 0.45s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-inner img { width: 72px; height: 72px; object-fit: contain; margin: 0 auto 1rem; }
.loader-ring {
  width: 72px; height: 72px; margin: auto; border: 3px solid var(--soft-4); border-top-color: var(--accent); border-radius: 50%; animation: spin 1s linear infinite;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 1000; background: var(--header-bg); backdrop-filter: blur(18px); border-bottom: 1px solid var(--hairline); transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled { background: var(--header-bg-scrolled); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18); }
.top-header {
  border-bottom: 1px solid var(--hairline); background: var(--topbar-bg);
}
.top-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.6rem 0;
}
.top-header .contact-links,
.top-header .contact-links a {
  display: inline-flex; align-items: center; gap: 0.45rem; flex-wrap: wrap; color: var(--muted); font-size: 0.9rem;
}
.top-header .contact-links a:hover { color: var(--accent); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text); }
.brand img { width: 60px; height: 60px; object-fit: contain; transition: transform 0.3s ease; }
.brand:hover img { transform: rotate(-8deg) scale(1.03); }
.brand-name { font-size: 0.95rem; }
.nav-links { display: flex; align-items: center; gap: 1.2rem; }
.nav-links a {
  position: relative; color: var(--muted); transition: color 0.25s ease;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -0.3rem; width: 0; height: 2px; background: linear-gradient(90deg, var(--secondary), var(--primary)); transition: width 0.25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-cta { padding: 0.7rem 1rem; border-radius: 999px; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white !important; box-shadow: 0 0 20px rgba(0, 229, 255, 0.25); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(0, 229, 255, 0.35); }
.menu-toggle { display: none; background: transparent; border: 0; cursor: pointer; padding: 0.25rem; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 4px 0; background: var(--text); transition: 0.3s ease; }

/* Hero */
.hero {
  min-height: 100vh; display: grid; align-items: center; position: relative; isolation: isolate; background-image: url('../images/banner.png'); background-size: cover; background-position: center; background-repeat: no-repeat;
}
.hero-overlay, #particles { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-overlay { background: var(--hero-overlay); z-index: -2; }
#particles { z-index: -1; }
.hero-content { padding: 6rem 0 5rem; max-width: 760px; position: relative; z-index: 2; }
.eyebrow {
  display: inline-block; padding: 0.4rem 0.8rem; border: 1px solid rgba(0,229,255,0.3); border-radius: 999px; background: rgba(0,229,255,0.12); color: var(--accent); font-size: 0.84rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 1rem;
}
.hero h1, .page-hero h1, .section-heading h2, .intro-grid h2 {
  font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.1; margin: 0 0 1rem; font-weight: 700;
}
.hero-text { font-size: 1.05rem; color: var(--muted); max-width: 680px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 1.5rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; padding: 0.95rem 1.35rem; border-radius: 999px; transition: transform 0.25s ease, box-shadow 0.25s ease; font-weight: 600;
}
.btn:hover { transform: translateY(-2px) scale(1.01); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary)); box-shadow: 0 10px 24px rgba(10,132,255,0.3);
}
.btn-secondary {
  border: 1px solid var(--soft-4); background: var(--soft-2);
}
.typing-wrap { min-height: 2rem; color: var(--accent); margin-bottom: 2rem; font-size: 1rem; }
.scroll-indicator {
  width: 34px; height: 60px; border: 2px solid var(--soft-4); border-radius: 999px; position: relative;
}
.scroll-indicator span {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 6px; height: 12px; border-radius: 999px; background: var(--secondary); animation: scroll 1.7s infinite;
}
.floating-circle {
  position: absolute; border-radius: 50%; filter: blur(10px); opacity: 0.8; pointer-events: none; animation: float 8s ease-in-out infinite;
}
.circle-one { width: 160px; height: 160px; right: 8%; top: 16%; background: rgba(0,229,255,0.18); }
.circle-two { width: 220px; height: 220px; left: 5%; bottom: 16%; background: rgba(10,132,255,0.2); }
.circle-three { width: 120px; height: 120px; right: 24%; bottom: 8%; background: rgba(0,229,255,0.16); }

/* Sections and cards */
.section { padding: 5.25rem 0; }
.page-hero { padding: 6.3rem 0 3.5rem; background: var(--page-hero-bg); }
.intro-grid, .contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; align-items: start; }
.glass-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); backdrop-filter: blur(18px); transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.glass-card:hover { transform: translateY(-6px); border-color: rgba(0,229,255,0.4); box-shadow: 0 18px 40px rgba(0, 229, 255, 0.12); }
.glass-card ul { padding-left: 1rem; color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service-card, .portfolio-card, .contact-form, .faq-list details { transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; }
.service-card:hover, .portfolio-card:hover, .contact-form:hover { transform: translateY(-6px); border-color: rgba(0,229,255,0.4); box-shadow: 0 18px 40px rgba(0,229,255,0.12); }
/* Product artwork. The SVGs carry their own dark panel, so they sit the same
   way in both themes; the border just softens the edge against light cards. */
.portfolio-image, .product-image {
  display: block; width: 100%; height: 180px; object-fit: cover; border-radius: 18px; margin-bottom: 1rem; border: 1px solid var(--line); background: #071426;
}
.portfolio-card:hover .portfolio-image { border-color: rgba(0,229,255,0.4); }
.tags { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 0.8rem 0; }
.tags span { padding: 0.35rem 0.6rem; border-radius: 999px; background: rgba(0,229,255,0.12); color: var(--accent); font-size: 0.82rem; }
.text-link { color: var(--accent); font-weight: 600; }

/* Counters */
.stats-section { padding-top: 0; }
.stat-grid, .about-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat-card {
  text-align: center; padding: 1.3rem; background: var(--soft-1); border: 1px solid var(--hairline); border-radius: 20px;
}
.stat-card strong { display: block; font-size: 2rem; color: var(--accent); text-shadow: 0 0 20px rgba(0,229,255,0.16); }
.stat-card span { color: var(--muted); }

/* About page */
.page-hero .hero-text { max-width: 720px; }
.breadcrumb { display: flex; align-items: center; gap: 0.55rem; margin-top: 1rem; color: var(--muted); }
.breadcrumb a { color: var(--accent); }
.about-intro-grid, .mission-vision-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; align-items: start; }
.about-highlight-list { padding-left: 1rem; color: var(--muted); }
.about-pill-wrap { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.about-pill-wrap .tag {
  padding: 0.42rem 0.7rem; border-radius: 999px; background: rgba(0,229,255,0.12); color: var(--accent); font-size: 0.82rem;
}
.about-icon {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 1rem; border-radius: 50%; background: rgba(0,229,255,0.12); color: var(--accent); font-size: 1.1rem;
}
.timeline { position: relative; display: grid; gap: 1rem; margin-top: 2rem; padding-left: 1.25rem; }
.timeline::before { content: ''; position: absolute; left: 0.3rem; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--secondary), var(--hairline)); }
.timeline-item {
  position: relative; padding: 1.2rem 1.2rem 1.2rem 1.4rem; border-left: 2px solid rgba(0,229,255,0.26); border-radius: 0 18px 18px 0; background: var(--soft-1);
}
.timeline-item::before {
  content: ''; position: absolute; left: -0.36rem; top: 1.35rem; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--secondary); box-shadow: 0 0 18px rgba(0,229,255,0.28);
}
.timeline-year {
  display: inline-block; margin-bottom: 0.4rem; color: var(--accent); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
/* Team cards use initials rather than stock photos, so the section stays
   honest until real portraits are available. */
.team-avatar {
  display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 1rem; border-radius: 50%; background: linear-gradient(135deg, rgba(10,132,255,0.85), rgba(0,229,255,0.75)); color: #04111f; font-size: 1.4rem; font-weight: 700; letter-spacing: 0.04em;
}
.team-role { margin: 0 0 0.6rem; color: var(--accent); font-weight: 600; }
.team-contact { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.35rem; }
.team-contact a { color: var(--muted); font-size: 0.9rem; overflow-wrap: anywhere; }
.team-contact a:hover { color: var(--accent); }

.tech-item { display: flex; align-items: center; gap: 1rem; }
.tech-item h3 { margin: 0 0 0.15rem; }

/* Testimonials and FAQ */
.section-heading { max-width: 720px; margin-bottom: 2rem; }
.features-grid { grid-template-columns: repeat(4, 1fr); }
.testimonials-section { background: var(--soft-1); }
.testimonial-slider { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; }
.slider-btn {
  width: 46px; height: 46px; border-radius: 50%; background: var(--hairline); color: var(--text); border: 1px solid var(--soft-4); cursor: pointer;
}
.testimonial-card { display: none; padding: 2rem; border-radius: 24px; background: var(--soft-1); border: 1px solid var(--hairline); }
.testimonial-card.active { display: block; }
.testimonial-card img { width: 56px; height: 56px; border-radius: 50%; margin-bottom: 1rem; }
.faq-list details { padding: 1rem 1.2rem; margin-bottom: 0.8rem; border-radius: 18px; background: var(--soft-1); border: 1px solid var(--soft-4); }
.faq-list summary { cursor: pointer; font-weight: 600; }
.faq-list p { color: var(--muted); }

/* Contact CTA */
.contact-cta {
  display: flex; justify-content: space-between; align-items: center; padding: 2rem; border-radius: 24px; background: linear-gradient(135deg, rgba(0,229,255,0.12), rgba(10,132,255,0.16)); border: 1px solid var(--soft-4);
}

/* Footer */
.site-footer { padding: 3rem 0 1.5rem; border-top: 1px solid var(--hairline); background: var(--footer-bg); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; color: var(--muted); }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom { padding-top: 1.3rem; color: var(--muted); border-top: 1px solid var(--hairline); margin-top: 1.4rem; }
.footer-social-icons { display: flex; gap: 0.7rem; margin-top: 0.9rem; }
.footer-social-icons a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--soft-2); border: 1px solid var(--line); color: var(--muted); transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease; }
.footer-social-icons a:hover { color: var(--accent); border-color: rgba(0,229,255,0.4); background: rgba(0,229,255,0.1); }
.footer-social-icons svg { width: 18px; height: 18px; fill: currentColor; }

/* Contact and form */
.contact-list { list-style: none; padding: 0; color: var(--muted); }
.contact-list li { margin: 0.6rem 0; }
.map-frame iframe { width: 100%; min-height: 260px; border: 0; border-radius: 18px; margin-top: 1rem; }
.contact-form label { display: grid; gap: 0.45rem; margin-bottom: 0.7rem; color: var(--muted); }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 0.9rem 1rem; border-radius: 12px; border: 1px solid var(--soft-4); background: var(--soft-1); color: var(--text); transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,229,255,0.16); outline: none;
}

/* Floating buttons */
.back-to-top {
  position: fixed; right: 1.2rem; bottom: 8.5rem; z-index: 1200; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 999px; color: white; background: linear-gradient(135deg, var(--primary), var(--secondary)); box-shadow: 0 12px 28px rgba(0,229,255,0.18); transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.back-to-top:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 36px rgba(0,229,255,0.24); }
.floating-chat-trigger {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 1200; display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.85rem 1rem; border: 0; border-radius: 999px; color: #fff; background: linear-gradient(135deg, var(--primary), var(--secondary)); box-shadow: 0 12px 28px rgba(0,229,255,0.18); font-weight: 700; cursor: pointer; animation: chatPulse 2s infinite; transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.floating-chat-trigger:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 36px rgba(0,229,255,0.24); }
.floating-chat-icon { font-size: 1rem; }

.chat-widget {
  position: fixed; right: 1.2rem; bottom: 5.3rem; z-index: 1190; width: min(360px, calc(100vw - 1.6rem)); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--panel-bg); backdrop-filter: blur(18px); box-shadow: var(--shadow); display: none;
}
.chat-widget.open { display: block; }
.chat-widget.minimized .chat-widget-body,
.chat-widget.minimized .chat-widget-footer,
.chat-widget.minimized .chat-widget-footer-note,
.chat-widget.minimized .chat-quick-replies { display: none; }

.chat-widget-header { display: flex; align-items: center; justify-content: space-between; gap: 0.9rem; padding: 0.95rem 1rem; background: linear-gradient(135deg, rgba(10,132,255,0.24), rgba(0,229,255,0.2)); border-bottom: 1px solid var(--line); }
.chat-brand { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.chat-brand img { width: 42px; height: 42px; object-fit: contain; flex-shrink: 0; }
.chat-brand-copy { min-width: 0; }
.chat-brand h3 { margin: 0; font-size: 0.95rem; }
.chat-brand p { margin: 0; color: var(--muted); font-size: 0.72rem; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-header-actions { display: flex; align-items: center; gap: 0.3rem; flex-shrink: 0; }
.chat-icon-button { display: grid; place-items: center; border: 0; border-radius: 999px; width: 30px; height: 30px; background: var(--soft-4); color: var(--text); font-size: 0.95rem; line-height: 1; cursor: pointer; transition: background 0.2s ease; }
.chat-icon-button:hover { background: rgba(0,229,255,0.24); }

.chat-widget-body { max-height: min(46vh, 340px); overflow-y: auto; padding: 1rem; display: grid; gap: 0.75rem; align-content: start; }
.chat-message { display: grid; gap: 0.25rem; max-width: 88%; animation: chatFadeUp 0.28s ease; }
.chat-message.user { justify-self: end; }
.chat-message-content { padding: 0.75rem 0.9rem; border-radius: 14px; font-size: 0.92rem; line-height: 1.55; overflow-wrap: anywhere; }
.chat-message.bot .chat-message-content { background: var(--soft-2); color: var(--text); border: 1px solid var(--hairline); }
.chat-message.user .chat-message-content { background: linear-gradient(135deg, rgba(10,132,255,0.92), rgba(0,229,255,0.8)); color: #04111f; }
.chat-message-content pre { margin: 0.4rem 0 0; padding: 0.6rem; border-radius: 10px; background: var(--soft-3); overflow-x: auto; }
.chat-message-content a { color: var(--accent); text-decoration: underline; }
.chat-message-meta { display: flex; align-items: center; gap: 0.45rem; font-size: 0.7rem; color: var(--muted); }
.chat-message.user .chat-message-meta { justify-content: flex-end; }
.chat-message.bot .chat-message-meta { justify-content: space-between; }
.chat-copy-btn { border: 0; border-radius: 999px; padding: 0.2rem 0.55rem; background: var(--soft-3); color: var(--muted); font-size: 0.7rem; cursor: pointer; }
.chat-copy-btn:hover { color: var(--text); }

.chat-typing { display: inline-flex; gap: 0.3rem; padding: 0.7rem 0.8rem; width: max-content; border-radius: 14px; background: var(--soft-2); border: 1px solid var(--hairline); }
.chat-typing span { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--secondary); animation: chatTyping 1.1s infinite ease-in-out; }
.chat-typing span:nth-child(2) { animation-delay: 0.18s; }
.chat-typing span:nth-child(3) { animation-delay: 0.36s; }

.chat-quick-replies { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0.7rem 0.8rem 0.2rem; }
.quick-reply { border: 1px solid rgba(0,229,255,0.28); border-radius: 999px; padding: 0.4rem 0.7rem; background: rgba(0,229,255,0.1); color: var(--accent); font-size: 0.78rem; cursor: pointer; transition: transform 0.2s ease, border-color 0.2s ease; }
.quick-reply:hover { transform: translateY(-2px); border-color: rgba(0,229,255,0.5); }

/* WhatsApp handoff — a persistent row plus an inline offer after each answer. */
.chat-handoff { display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem; padding: 0.5rem 0.8rem 0; }
.chat-handoff-label { color: var(--muted); font-size: 0.75rem; margin-right: 0.15rem; }
.chat-handoff-btn {
  display: inline-flex; align-items: center; gap: 0.3rem; border: 1px solid rgba(37,211,102,0.45); border-radius: 999px; padding: 0.34rem 0.7rem; background: rgba(37,211,102,0.14); color: #25D366; font-size: 0.78rem; font-weight: 600; white-space: nowrap; transition: background 0.2s ease, transform 0.2s ease;
}
.chat-handoff-btn:hover { background: rgba(37,211,102,0.24); transform: translateY(-1px); }
:root[data-theme="light"] .chat-handoff-btn { color: #128C7E; border-color: rgba(18,140,126,0.45); background: rgba(18,140,126,0.1); }
.chat-handoff-actions { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.6rem; }
.chat-handoff-inline .chat-message-content p { margin: 0; }

.chat-widget-footer { display: flex; align-items: center; gap: 0.5rem; padding: 0.8rem; border-top: 1px solid var(--line); }
.chat-input-wrap { flex: 1; min-width: 0; }
.chat-widget-footer input { width: 100%; border: 1px solid var(--line); border-radius: 999px; padding: 0.65rem 0.9rem; background: var(--soft-2); color: var(--text); font: inherit; font-size: 0.9rem; }
.chat-widget-footer input::placeholder { color: var(--muted); }
.chat-widget-footer input:disabled { opacity: 0.6; }
.chat-send { border: 0; border-radius: 999px; padding: 0.65rem 1rem; color: #fff; background: linear-gradient(135deg, var(--primary), var(--secondary)); font-weight: 600; cursor: pointer; flex-shrink: 0; }
.chat-send:disabled { opacity: 0.6; cursor: progress; }
.chat-widget-footer-note { padding: 0 0.8rem 0.7rem; text-align: center; color: var(--muted); font-size: 0.7rem; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Contact rows with a leading symbol */
.contact-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem; margin: 0.5rem 0; }
.contact-line a { overflow-wrap: anywhere; }
.contact-icon { flex-shrink: 0; color: var(--accent); align-self: center; }
.contact-icon.whatsapp { color: #25D366; }
:root[data-theme="light"] .contact-icon.whatsapp { color: #128C7E; }

/* Store availability badge on product cards */
.store-badge {
  display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.9rem; padding: 0.42rem 0.8rem; border-radius: 999px; border: 1px dashed var(--soft-4); background: var(--soft-1); color: var(--muted); font-size: 0.78rem; font-weight: 600;
}
.store-badge.live { border-style: solid; border-color: rgba(0,229,255,0.4); background: rgba(0,229,255,0.1); color: var(--accent); }

/* Contact form status message */
.form-message { margin-top: 0.75rem; font-weight: 600; min-height: 1.4rem; }
.form-message[data-state="error"] { color: #d92d20; }
.form-message[data-state="pending"] { color: var(--accent); }
.form-message[data-state="success"] { color: #067647; }
:root[data-theme="dark"] .form-message[data-state="error"] { color: #ff7a7a; }
:root[data-theme="dark"] .form-message[data-state="success"] { color: #7dffb2; }

/* Theme toggle (injected by js/script.js) */
.theme-toggle {
  margin-left: 0.75rem; border: 1px solid var(--line); border-radius: 999px; width: 42px; height: 42px; flex-shrink: 0; cursor: pointer; background: var(--soft-2); color: var(--text); font-size: 1rem; transition: background 0.2s ease;
}
.theme-toggle:hover { background: var(--soft-4); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: all 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 992px) {
  .about-intro-grid,
  .mission-vision-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .card-grid,
  .about-stats-grid,
  .stat-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    padding-left: 0.8rem;
  }

  .timeline-item {
    padding-left: 1.1rem;
  }
}

/* Keyframes */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes scroll { 0% { transform: translate(-50%, 0); opacity: 0; } 50% { opacity: 1; } 100% { transform: translate(-50%, 16px); opacity: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-16px); } }
@keyframes chatPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(0,229,255,0.22); } 50% { box-shadow: 0 0 0 12px rgba(0,229,255,0); } }
@keyframes chatTyping { 0%, 80%, 100% { transform: translateY(0); opacity: 0.54; } 40% { transform: translateY(-4px); opacity: 1; } }
@keyframes chatFadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
