/* =====================================================================
   iTechStellar – Main Stylesheet
   Brand colours are taken from the logo. Change them here once and the
   whole site updates.
   ===================================================================== */

:root {
  --brand-blue: #00aeef;     /* "ITECH STELLAR" wordmark */
  --brand-teal: #26b5d2;     /* centre node */
  --brand-orange: #f7941d;   /* left nodes */
  --brand-green: #8cc63f;    /* right nodes */
  --brand-navy: #0a1a2f;     /* dark sections */
  --brand-navy-2: #10284a;
  --ink: #16202e;
  --muted: #5b6b7f;
  --surface: #ffffff;
  --surface-alt: #f4f8fb;
  --border: #e3ebf2;

  --grad-brand: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-teal) 50%, var(--brand-green) 100%);
  --grad-warm: linear-gradient(135deg, var(--brand-orange) 0%, #ffb347 100%);
  --radius: 18px;
  --shadow-sm: 0 4px 14px rgba(10, 26, 47, 0.06);
  --shadow-md: 0 14px 40px rgba(10, 26, 47, 0.10);
  --shadow-lg: 0 24px 60px rgba(10, 26, 47, 0.16);

  /* Bootstrap overrides */
  --bs-primary: var(--brand-blue);
  --bs-primary-rgb: 0, 174, 239;
  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bs-body-color: var(--ink);
  --bs-link-color: var(--brand-blue);
  --bs-link-hover-color: #0090c7;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--bs-body-font-family);
  color: var(--ink);
  background: var(--surface);
  overflow-x: hidden;
  padding-top: 76px; /* height of fixed navbar */
}
h1, h2, h3, h4, h5, h6, .font-display {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}
p { line-height: 1.7; }
.text-muted-2 { color: var(--muted) !important; }
.text-brand { color: var(--brand-blue) !important; }
.text-orange { color: var(--brand-orange) !important; }
.text-green { color: var(--brand-green) !important; }
.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.bg-alt { background: var(--surface-alt); }
@media (max-width: 767.98px) {
  .section { padding: 64px 0; }
  .section-sm { padding: 48px 0; }
}

/* ---------- Section headings ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--brand-orange);
}
.section-title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 16px; }
.section-lead { color: var(--muted); font-size: 1.08rem; max-width: 640px; }
.text-center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 50px; padding: 0.75rem 1.6rem; transition: all 0.25s ease; }
.btn-brand {
  background: var(--brand-blue);
  border: 0;
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 174, 239, 0.32);
}
.btn-brand:hover, .btn-brand:focus { background: #0098d1; color: #fff; transform: translateY(-2px); }
.btn-orange {
  background: var(--brand-orange);
  border: 0;
  color: #fff;
  box-shadow: 0 10px 24px rgba(247, 148, 29, 0.32);
}
.btn-orange:hover, .btn-orange:focus { background: #e3830f; color: #fff; transform: translateY(-2px); }
.btn-outline-light:hover { color: var(--brand-navy); }
.btn-outline-brand { border: 2px solid var(--brand-blue); color: var(--brand-blue); background: transparent; }
.btn-outline-brand:hover { background: var(--brand-blue); color: #fff; }

/* ---------- Navbar ---------- */
.site-navbar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  min-height: 76px;
  transition: box-shadow 0.3s ease, min-height 0.3s ease;
}
.site-navbar.scrolled { box-shadow: 0 6px 24px rgba(10, 26, 47, 0.08); }
.site-navbar .navbar-brand img { height: 48px; width: auto; }
.site-navbar .nav-link {
  font-weight: 600;
  color: var(--ink);
  padding: 0.5rem 1rem !important;
  position: relative;
}
.site-navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 2px;
  height: 3px;
  border-radius: 3px;
  background: var(--brand-orange);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.site-navbar .nav-link:hover, .site-navbar .nav-link.active { color: var(--brand-blue); }
.site-navbar .nav-link:hover::after, .site-navbar .nav-link.active::after { transform: scaleX(1); }
.site-navbar .navbar-toggler { border: 0; box-shadow: none; font-size: 1.8rem; color: var(--ink); }
@media (max-width: 991.98px) {
  .site-navbar .navbar-collapse {
    background: #fff;
    margin: 8px -12px 0;
    padding: 12px 16px 20px;
    border-top: 1px solid var(--border);
  }
  .site-navbar .nav-link::after { display: none; }
  .site-navbar .navbar-brand img { height: 42px; }
}

/* ---------- Hero ---------- */
.hero, .page-hero {
  position: relative;
  background: radial-gradient(circle at 15% 20%, rgba(0, 174, 239, 0.25), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(140, 198, 63, 0.18), transparent 45%),
    linear-gradient(160deg, var(--brand-navy) 0%, var(--brand-navy-2) 100%);
  color: #fff;
  overflow: hidden;
}
.hero { padding: 110px 0 120px; }
.network-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.85; }
.hero .container, .page-hero .container { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1.12; margin-bottom: 22px; }
.hero .lead { color: rgba(255, 255, 255, 0.78); font-size: 1.15rem; max-width: 560px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 24px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-green); box-shadow: 0 0 0 4px rgba(140, 198, 63, 0.25); }
.hero-trust { color: rgba(255, 255, 255, 0.7); font-size: 0.92rem; }
.hero-trust i { color: var(--brand-green); }

/* hero visual: floating product cards */
.hero-visual { position: relative; min-height: 440px; }
.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  animation: floaty 6s ease-in-out infinite;
}
.float-card h6 { margin: 0; font-size: 1rem; }
.float-card small { color: var(--muted); }
.float-card:nth-child(1) { top: 2%; left: 4%; }
.float-card:nth-child(2) { top: 26%; right: 0; animation-delay: -1.5s; }
.float-card:nth-child(3) { top: 54%; left: 0; animation-delay: -3s; }
.float-card:nth-child(4) { bottom: 0; right: 8%; animation-delay: -4.5s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (max-width: 991.98px) {
  .hero { padding: 72px 0 80px; }
  .hero-visual { min-height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 48px; }
  .float-card { position: static; animation: none; padding: 14px; }
}
@media (max-width: 575.98px) {
  .hero-visual { grid-template-columns: 1fr; }
}

/* page hero (inner pages) */
.page-hero { padding: 90px 0 80px; text-align: center; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 12px; }
.page-hero p { color: rgba(255, 255, 255, 0.78); max-width: 640px; margin: 0 auto; font-size: 1.08rem; }
.page-hero .breadcrumb { justify-content: center; margin-bottom: 18px; }
.page-hero .breadcrumb-item, .page-hero .breadcrumb-item a { color: rgba(255, 255, 255, 0.7); text-decoration: none; font-size: 0.9rem; }
.page-hero .breadcrumb-item.active { color: var(--brand-orange); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, 0.4); }

/* colourful brand stripe under heroes */
.brand-stripe { height: 6px; background: linear-gradient(90deg, var(--brand-orange) 0 25%, var(--brand-teal) 25% 50%, var(--brand-blue) 50% 75%, var(--brand-green) 75% 100%); }

/* ---------- Icon boxes & colour helpers ---------- */
.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  flex-shrink: 0;
}
.icon-box.lg { width: 72px; height: 72px; font-size: 2rem; border-radius: 20px; }
.c-teal { --c: var(--brand-teal); --c-soft: rgba(38, 181, 210, 0.12); }
.c-green { --c: var(--brand-green); --c-soft: rgba(140, 198, 63, 0.14); }
.c-orange { --c: var(--brand-orange); --c-soft: rgba(247, 148, 29, 0.13); }
.c-blue { --c: var(--brand-blue); --c-soft: rgba(0, 174, 239, 0.12); }
.icon-box { background: var(--c-soft, rgba(0, 174, 239, 0.12)); color: var(--c, var(--brand-blue)); }

/* ---------- Cards ---------- */
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.feature-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 4px;
  background: var(--c, var(--brand-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card h4 { font-size: 1.25rem; margin: 20px 0 10px; }
.feature-card p { color: var(--muted); margin-bottom: 0; }
.feature-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-weight: 600;
  color: var(--c, var(--brand-blue));
  text-decoration: none;
}
.feature-card .card-link i { transition: transform 0.25s ease; }
.feature-card .card-link:hover i { transform: translateX(4px); }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; color: var(--ink); }
.check-list li::before {
  content: "\F26E"; /* bi-check-circle-fill */
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--c, var(--brand-green));
}
.check-list.two-col { columns: 2; column-gap: 28px; }
.check-list.two-col li { break-inside: avoid; }
@media (max-width: 575.98px) { .check-list.two-col { columns: 1; } }

/* product card (home) */
.product-card { text-align: left; }
.product-card .product-type { font-size: 0.82rem; font-weight: 600; color: var(--c); text-transform: uppercase; letter-spacing: 0.08em; }
.product-card h4 { margin-top: 18px; margin-bottom: 4px; }
.saas-tag {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 50px;
  background: var(--surface-alt);
  color: var(--muted);
}

/* ---------- About snippet ---------- */
.about-visual { position: relative; }
.about-visual .main-box {
  border-radius: 28px;
  background: var(--grad-brand);
  padding: 48px 40px;
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.about-visual .main-box::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, 0.1);
  right: -90px;
  bottom: -90px;
}
.about-visual .main-box i.bi-quote { font-size: 3.4rem; line-height: 1; opacity: 0.6; }
.about-visual .main-box blockquote { font-family: "Poppins", sans-serif; font-size: 1.3rem; font-weight: 500; line-height: 1.55; margin: 12px 0 0; position: relative; z-index: 1; }
.about-visual .mini-badge {
  position: absolute;
  bottom: -26px;
  left: 28px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.about-visual .mini-badge img { height: 34px; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--brand-navy); color: #fff; position: relative; overflow: hidden; }
.stat-item { text-align: center; padding: 12px; }
.stat-item .num { font-family: "Poppins", sans-serif; font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; }
.stat-item:nth-child(4n+1) .num { color: var(--brand-orange); }
.stat-item:nth-child(4n+2) .num { color: var(--brand-teal); }
.stat-item:nth-child(4n+3) .num { color: var(--brand-blue); }
.stat-item:nth-child(4n+4) .num { color: var(--brand-green); }
.stat-item .label { color: rgba(255, 255, 255, 0.72); margin-top: 8px; font-weight: 500; }

/* ---------- Process steps ---------- */
.process-step { text-align: center; padding: 0 12px; position: relative; }
.process-step .step-num {
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
  background: var(--c);
  box-shadow: 0 0 0 8px var(--c-soft);
  position: relative;
  z-index: 1;
}
.process-step h5 { margin-bottom: 8px; }
.process-step p { color: var(--muted); font-size: 0.95rem; }
@media (min-width: 992px) {
  .process-row { position: relative; }
  .process-row::before {
    content: "";
    position: absolute;
    top: 38px;
    left: 12%;
    right: 12%;
    border-top: 2px dashed var(--border);
  }
}

/* ---------- Product detail (products page) ---------- */
.product-detail { padding: 80px 0; border-bottom: 1px solid var(--border); }
.product-detail:last-of-type { border-bottom: 0; }
.product-detail .product-type { color: var(--c); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.85rem; }
.product-detail h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 10px 0 14px; }
.product-detail .desc { color: var(--muted); font-size: 1.05rem; margin-bottom: 24px; }
.product-nav { position: sticky; top: 76px; z-index: 10; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.product-nav .nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.product-nav .nav::-webkit-scrollbar { display: none; }
.product-nav .nav-link { white-space: nowrap; color: var(--ink); font-weight: 600; padding: 16px 18px; border-bottom: 3px solid transparent; }
.product-nav .nav-link i { color: var(--c); }
.product-nav .nav-link:hover, .product-nav .nav-link.active { color: var(--c); border-bottom-color: var(--c); }

/* mock app window */
.mock-window {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--surface-alt); border-bottom: 1px solid var(--border); }
.mock-bar span { width: 11px; height: 11px; border-radius: 50%; }
.mock-bar span:nth-child(1) { background: #ff6058; }
.mock-bar span:nth-child(2) { background: #ffbd2e; }
.mock-bar span:nth-child(3) { background: #28ca42; }
.mock-bar .mock-url { margin-left: 12px; flex: 1; height: 22px; border-radius: 6px; background: #fff; border: 1px solid var(--border); font-size: 0.72rem; color: var(--muted); display: flex; align-items: center; padding: 0 10px; width: auto; }
.mock-body { display: grid; grid-template-columns: 64px 1fr; min-height: 300px; }
.mock-side { background: var(--c); padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 18px; color: rgba(255, 255, 255, 0.75); font-size: 1.2rem; }
.mock-side i:first-child { color: #fff; font-size: 1.5rem; }
.mock-main { padding: 20px; }
.mock-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.mock-tile { border-radius: 12px; padding: 12px; background: var(--surface-alt); }
.mock-tile b { display: block; font-family: "Poppins", sans-serif; font-size: 1.1rem; }
.mock-tile small { color: var(--muted); font-size: 0.72rem; }
.mock-tile:first-child { background: var(--c-soft); }
.mock-tile:first-child b { color: var(--c); }
.mock-chart { display: flex; align-items: flex-end; gap: 8px; height: 120px; padding: 12px; border-radius: 12px; background: var(--surface-alt); }
.mock-chart div { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--c); opacity: 0.85; transform-origin: bottom; animation: grow 1.2s ease both; }
.mock-chart div:nth-child(even) { opacity: 0.45; }
.mock-rows { margin-top: 14px; display: grid; gap: 8px; }
.mock-rows span { height: 10px; border-radius: 5px; background: var(--surface-alt); }
.mock-rows span:nth-child(1) { width: 92%; }
.mock-rows span:nth-child(2) { width: 76%; }
.mock-rows span:nth-child(3) { width: 84%; }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.mock-floating {
  position: absolute;
  right: -14px;
  bottom: 28px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.88rem;
}
.mock-floating i { color: var(--brand-green); font-size: 1.3rem; }
@media (max-width: 575.98px) {
  .mock-floating { right: 10px; }
  .mock-body { grid-template-columns: 48px 1fr; }
  .mock-tiles { grid-template-columns: repeat(2, 1fr); }
  .mock-tiles .mock-tile:nth-child(3) { display: none; }
}

/* ---------- Services page ---------- */
.service-block { border-radius: 24px; background: #fff; border: 1px solid var(--border); padding: 40px; height: 100%; transition: box-shadow 0.3s ease, transform 0.3s ease; }
.service-block:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-block h3 { font-size: 1.5rem; margin: 22px 0 12px; }
.service-block p { color: var(--muted); }
@media (max-width: 575.98px) { .service-block { padding: 28px 22px; } }
.mini-service { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: #fff; height: 100%; border: 1px solid var(--border); }
.mini-service h6 { margin-bottom: 4px; font-size: 1.02rem; }
.mini-service p { margin: 0; color: var(--muted); font-size: 0.93rem; }

.sla-panel { background: var(--brand-navy); color: #fff; border-radius: 28px; padding: 56px; position: relative; overflow: hidden; }
.sla-panel .network-canvas { opacity: 0.5; }
.sla-panel > .row { position: relative; z-index: 1; }
.sla-panel p { color: rgba(255, 255, 255, 0.75); }
.sla-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); height: 100%; }
.sla-item i { font-size: 1.5rem; color: var(--brand-green); }
.sla-item h6 { margin-bottom: 4px; }
.sla-item p { margin: 0; font-size: 0.9rem; }
@media (max-width: 767.98px) { .sla-panel { padding: 36px 22px; border-radius: 20px; } }

/* ---------- About page ---------- */
.mvv-card { padding: 36px 30px; border-radius: var(--radius); background: #fff; height: 100%; border: 1px solid var(--border); border-top: 4px solid var(--c); box-shadow: var(--shadow-sm); }
.mvv-card h4 { margin: 18px 0 10px; }
.mvv-card p { color: var(--muted); margin: 0; }
.team-card { text-align: center; background: #fff; border-radius: var(--radius); padding: 32px 20px; border: 1px solid var(--border); height: 100%; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-avatar {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #fff;
  background: var(--c);
  box-shadow: 0 0 0 6px var(--c-soft);
  overflow: hidden;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h5 { margin-bottom: 4px; font-size: 1.1rem; }
.team-card small { color: var(--muted); font-weight: 500; }
.why-item { display: flex; gap: 16px; margin-bottom: 26px; }
.why-item h6 { margin-bottom: 4px; font-size: 1.05rem; }
.why-item p { margin: 0; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: 28px;
  padding: 60px 56px;
  background: var(--grad-brand);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-band::before, .cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}
.cta-band::before { width: 320px; height: 320px; right: -80px; top: -120px; }
.cta-band::after { width: 180px; height: 180px; right: 180px; bottom: -110px; background: rgba(247, 148, 29, 0.35); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta-band p { color: rgba(255, 255, 255, 0.9); margin: 0; }
.cta-band .btn-light { color: var(--brand-navy); }
@media (max-width: 767.98px) { .cta-band { padding: 40px 26px; border-radius: 20px; text-align: center; } }

/* ---------- Contact page ---------- */
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); margin-bottom: 16px; transition: box-shadow 0.25s ease; }
.contact-card:hover { box-shadow: var(--shadow-sm); }
.contact-card h6 { margin-bottom: 4px; }
.contact-card a, .contact-card p { color: var(--muted); text-decoration: none; margin: 0; word-break: break-word; }
.contact-card a:hover { color: var(--brand-blue); }
.form-panel { background: #fff; border-radius: 24px; padding: 40px; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
@media (max-width: 575.98px) { .form-panel { padding: 26px 18px; } }
.form-control, .form-select { border-radius: 12px; padding: 0.8rem 1rem; border-color: var(--border); background-color: var(--surface-alt); }
.form-control:focus, .form-select:focus { border-color: var(--brand-blue); box-shadow: 0 0 0 4px rgba(0, 174, 239, 0.15); background-color: #fff; }
.form-label { font-weight: 600; font-size: 0.92rem; }
.map-wrap { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); line-height: 0; }
.map-wrap iframe { width: 100%; height: 380px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-navy); color: rgba(255, 255, 255, 0.72); padding-top: 80px; }
.site-footer .footer-logo { background: #fff; display: inline-block; padding: 10px 16px; border-radius: 14px; }
.site-footer .footer-logo img { height: 52px; }
.site-footer h6 { color: #fff; font-size: 1.05rem; margin-bottom: 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255, 255, 255, 0.72); text-decoration: none; transition: color 0.2s ease; }
.site-footer a:hover { color: var(--brand-orange); }
.site-footer .footer-contact li { display: flex; gap: 12px; }
.site-footer .footer-contact i { color: var(--brand-teal); margin-top: 3px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.1rem;
}
.social-links a:hover { background: var(--brand-orange); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 56px; padding: 22px 0; font-size: 0.9rem; }

/* ---------- Floating buttons ---------- */
.whatsapp-float, .back-to-top {
  position: fixed;
  right: 22px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 1030;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.whatsapp-float { bottom: 22px; background: #25d366; font-size: 1.6rem; }
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }
.back-to-top { bottom: 88px; width: 44px; height: 44px; right: 27px; background: var(--brand-blue); border: 0; font-size: 1.2rem; opacity: 0; pointer-events: none; }
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card, .mock-chart div { animation: none; }
}

/* offset anchor jumps for the fixed navbar (+ sticky product tabs) */
[id] { scroll-margin-top: 96px; }
.product-detail { scroll-margin-top: 130px; }

/* comfortable side gutter on phones */
@media (max-width: 575.98px) {
  .container { padding-left: 1rem; padding-right: 1rem; }
}
@media (max-width: 575.98px) {
  .row.g-5, .row.gx-5 { --bs-gutter-x: 2rem; }
}
body { overflow-x: clip; }
