/* ============================================================
   AZTEC INDIA — Dark Theme Stylesheet (mobile-first, responsive)
   Palette: black #0a0a0d · red #c1121f · silver #c5c9d2
   ============================================================ */

:root {
  --bg: #0a0a0d;
  --bg-soft: #121218;
  --bg-card: #17171f;
  --border: #26262f;
  --red: #c1121f;
  --red-soft: #e14550;
  --silver: #c5c9d2;
  --text: #e8e8ec;
  --muted: #9aa0ab;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { overflow-x: hidden; max-width: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--silver); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--red-soft); }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.center { text-align: center; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--red);
  color: #fff; padding: 8px 16px; z-index: 300;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 40px;
  font-weight: 600; letter-spacing: .4px; border: 2px solid transparent;
  cursor: pointer; font-size: 1rem; transition: all .25s ease; text-align: center;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #a30e19; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(193, 18, 31, .35); }
.btn-outline { border-color: var(--silver); color: var(--silver); background: transparent; }
.btn-outline:hover { border-color: var(--red); color: var(--red-soft); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  /* NOTE: no backdrop-filter here — it would create a containing block
     and trap the fixed-position mobile nav inside the header. */
  background: rgba(10, 10, 13, .97);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
.brand img { width: 150px; height: auto; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none;
  border: 0; cursor: pointer; padding: 8px; z-index: 250;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--silver); border-radius: 2px; transition: all .3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.site-nav ul { display: flex; align-items: center; gap: 26px; }
.site-nav a { font-weight: 500; padding: 6px 2px; position: relative; }
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--red); transition: width .25s ease;
}
.site-nav a:not(.btn):hover::after, .site-nav a:not(.btn).active::after { width: 100%; }
.site-nav a.active:not(.btn) { color: #fff; }
.nav-cta { padding: 10px 22px; font-size: .92rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 50% 120%, rgba(193, 18, 31, .22), transparent 60%), var(--bg);
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px;
  align-items: center; padding: 70px 20px;
}
.hero h1 { font-size: clamp(1.9rem, 4.5vw, 3.2rem); line-height: 1.15; margin-bottom: 18px; }
.hero h1 .accent { color: var(--red-soft); }
.hero p.lead { color: var(--muted); font-size: 1.08rem; margin-bottom: 28px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-img { border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.badge {
  border: 1px solid var(--border); background: var(--bg-card); color: var(--muted);
  border-radius: 30px; padding: 6px 14px; font-size: .82rem;
}

/* ---------- Sections ---------- */
.section { padding: 70px 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { text-align: center; font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--muted); max-width: 720px; margin: 0 auto 46px; }
.title-bar { width: 64px; height: 4px; background: var(--red); margin: 14px auto 40px; border-radius: 4px; }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--red); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 10px; font-size: 1.12rem; }
.card p { color: var(--muted); font-size: .95rem; }
.card .icon { font-size: 2rem; margin-bottom: 14px; display: block; }

.feature-chip {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 10px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 12px; font-size: .9rem; font-weight: 600;
  transition: border-color .25s, transform .25s;
}
.feature-chip:hover { border-color: var(--red); transform: translateY(-4px); }
.feature-chip .icon { font-size: 1.8rem; }

/* ---------- Benefits (image cards) ---------- */
.benefit-card { overflow: hidden; padding: 0; }
.benefit-card img { width: 100%; aspect-ratio: 5 / 2; object-fit: cover; }
.benefit-card .body { padding: 22px; }

/* ---------- Product gallery ---------- */
.product-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.product-card img { width: 100%; }
.product-card .body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.product-card .body p { flex: 1; }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.product-meta span {
  font-size: .78rem; border: 1px solid var(--border); color: var(--muted);
  padding: 4px 10px; border-radius: 20px;
}

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 620px; background: var(--bg-card); }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: .93rem; }
th { background: #1d1d26; color: #fff; letter-spacing: .3px; }
tr:last-child td { border-bottom: 0; }
td { color: var(--muted); }
td:first-child { color: var(--text); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, #1a0507, #2a090d 45%, #14141b);
  border: 1px solid #3a1116; border-radius: var(--radius);
  padding: 48px 34px; text-align: center;
}
.cta-band h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 10px; }
.cta-band p { color: var(--muted); margin-bottom: 24px; }

/* ---------- Forms ---------- */
.form-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
label { font-size: .9rem; font-weight: 600; color: var(--silver); }
label .req { color: var(--red-soft); }
input, select, textarea {
  background: #101017; border: 1px solid var(--border); color: var(--text);
  border-radius: 10px; padding: 12px 14px; font-size: .96rem; font-family: inherit;
  width: 100%; transition: border-color .2s ease;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--red); }
textarea { resize: vertical; min-height: 110px; }
.radio-row { display: flex; flex-wrap: wrap; gap: 18px; padding-top: 4px; }
.radio-row label { display: flex; align-items: center; gap: 8px; font-weight: 400; color: var(--muted); cursor: pointer; }
.radio-row input { width: auto; accent-color: var(--red); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.alert { border-radius: 10px; padding: 14px 18px; margin-bottom: 22px; font-size: .95rem; }
.alert-success { background: rgba(35, 134, 54, .15); border: 1px solid #2ea043; color: #7ee2a0; }
.alert-error { background: rgba(193, 18, 31, .12); border: 1px solid var(--red); color: #ff9ba3; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: start; }
.contact-info-card { display: flex; flex-direction: column; gap: 18px; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; }
.contact-line .icon { font-size: 1.4rem; color: var(--red-soft); }
.map-embed { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-top: 30px; }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; filter: grayscale(.4) invert(.92) hue-rotate(180deg); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-grid img { border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); }
.founder-card { text-align: center; }
.founder-card .avatar {
  width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg, #2a2a34, #17171f);
  border: 2px solid var(--red); display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 700; color: var(--silver);
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: #0d0d12; margin-top: 70px; }
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1.2fr .8fr .7fr;
  gap: 34px; padding: 54px 20px 40px;
}
.footer-col h3 { font-size: 1.02rem; margin-bottom: 16px; color: #fff; letter-spacing: .4px; }
.footer-col img { width: 170px; margin-bottom: 14px; }
.footer-list li { margin-bottom: 10px; font-size: .93rem; }
.footer-bottom { border-top: 1px solid var(--border); padding: 18px 0; text-align: center; color: var(--muted); font-size: .88rem; }

/* ---------- WhatsApp bubble ---------- */
.whatsapp-bubble {
  position: fixed; right: 22px; bottom: 22px; z-index: 300;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 22px rgba(37, 211, 102, .45);
  transition: transform .25s ease;
  animation: wa-pulse 2.4s infinite;
}
.whatsapp-bubble:hover { transform: scale(1.1); }
.whatsapp-tooltip {
  position: absolute; right: 70px; white-space: nowrap;
  background: var(--bg-card); border: 1px solid var(--border); color: var(--text);
  font-size: .82rem; padding: 7px 13px; border-radius: 8px;
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.whatsapp-bubble:hover .whatsapp-tooltip { opacity: 1; }
@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); }
  70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ============================================================
   RESPONSIVE — tablets & phones
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4, .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: 0; background: rgba(10, 10, 13, .98);
    transform: translateX(100%); transition: transform .3s ease;
    display: flex; align-items: center; justify-content: center;
  }
  .site-nav.open { transform: translateX(0); }
  .site-nav ul { flex-direction: column; gap: 30px; text-align: center; }
  .site-nav a { font-size: 1.25rem; }

  .hero-inner { grid-template-columns: 1fr; padding: 46px 20px; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-badges { justify-content: center; }
  .hero-img { order: -1; }

  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
}

@media (max-width: 560px) {
  .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .feature-grid-sm { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand img { width: 125px; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  .whatsapp-bubble { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .cta-band { padding: 36px 20px; }
}
