/* =====================================================
   ADI Technologies – Main Stylesheet
   ===================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand:    #0057b8;
  --accent:   #00aaff;
  --dark:     #0a1628;
  --darker:   #060e1c;
  --mid:      #112240;
  --light-bg: #f4f7fc;
  --text:     #1e2d45;
  --muted:    #5a6e8c;
  --white:    #ffffff;
  --green:    #25d366;
  --radius:   12px;
  --shadow:   0 4px 24px rgba(0,0,0,.12);
  --transition: .25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

a { text-decoration: none; color: inherit; }

/* ---- CONTAINER ---- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary   { background: var(--brand);  color: var(--white); border-color: var(--brand); }
.btn-primary:hover { background: #004499; border-color: #004499; transform: translateY(-1px); }
.btn-whatsapp  { background: var(--green);  color: var(--white); border-color: var(--green); }
.btn-whatsapp:hover { background: #1da851; border-color: #1da851; transform: translateY(-1px); }
.btn-outline   { background: transparent;  color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.mt { margin-top: 16px; }

/* ---- HEADER ---- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,22,40,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo { line-height: 1.2; }
.logo-a   { font-size: 1.7rem; font-weight: 800; color: var(--accent); letter-spacing: 2px; }
.logo-tag { font-size: 1.1rem; font-weight: 600; color: var(--white); }
.logo-sub { font-size: .7rem; color: rgba(255,255,255,.5); letter-spacing: 1px; text-transform: uppercase; }

.nav { display: flex; gap: 28px; }
.nav a { font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.8); transition: color var(--transition); }
.nav a:hover { color: var(--accent); }

.hamburger { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg,#060e1c 0%,#0a1628 40%,#0d2045 100%),
              url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1600&q=80') center/cover no-repeat;
  background-blend-mode: multiply;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 68px;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 60%, rgba(0,87,184,.3) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(0,170,255,.15) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; padding: 80px 0; }
.badge {
  display: inline-block;
  background: rgba(0,170,255,.15);
  border: 1px solid rgba(0,170,255,.4);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.accent { color: var(--accent); }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,.75); max-width: 600px; margin-bottom: 36px; line-height: 1.7; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---- STATS BAR ---- */
.stats-bar { background: var(--brand); padding: 28px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.stat {
  display: flex; flex-direction: column; align-items: center;
  border-right: 1px solid rgba(255,255,255,.2);
  padding: 8px;
}
.stat:last-child { border-right: none; }
.stat-num  { font-size: 2rem; font-weight: 800; color: var(--white); line-height: 1; }
.stat-label { font-size: .8rem; color: rgba(255,255,255,.8); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* ---- SECTION COMMON ---- */
.section { padding: 88px 0; }
.section-dark  { background: var(--dark); color: var(--white); }
.section-light { background: var(--light-bg); }
.section-head  { text-align: center; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(1.8rem,3.5vw,2.8rem); font-weight: 800; margin-bottom: 12px; }
.section-head p  { color: var(--muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.section-dark .section-head p { color: rgba(255,255,255,.6); }

/* ---- PRODUCT GRID ---- */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}
.prod-card {
  background: var(--white);
  border: 1px solid #e0ebf8;
  border-radius: var(--radius);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 2px 16px rgba(0,87,184,.07);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.prod-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 36px rgba(0,87,184,.14);
  border-color: var(--accent);
}
.prod-icon {
  font-size: 2.6rem;
  margin-bottom: 14px;
  line-height: 1;
}
.prod-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 8px;
}
.prod-card p {
  font-size: .875rem;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.6;
}
.prod-card ul {
  list-style: none;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}
.prod-card ul li {
  font-size: .82rem;
  color: var(--text);
  padding-left: 16px;
  position: relative;
}
.prod-card ul li::before {
  content: "\2022";
  color: var(--accent);
  font-weight: 800;
  position: absolute;
  left: 0;
}
.prod-btn {
  display: inline-block;
  padding: 9px 20px;
  background: transparent;
  border: 2px solid var(--brand);
  color: var(--brand);
  border-radius: 7px;
  font-size: .85rem;
  font-weight: 700;
  text-align: center;
  transition: var(--transition);
  align-self: flex-start;
}
.prod-btn:hover {
  background: var(--brand);
  color: var(--white);
}

/* ---- MODEL PAGE ---- */
.model-detail-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
}
.model-card {
  background: var(--white);
  border: 1px solid #e0ebf8;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  position: sticky;
  top: 84px;
}
.model-brand-badge {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}
.model-name  { font-size: 1rem; font-weight: 700; color: var(--brand); }
.model-num   { font-size: 1.5rem; font-weight: 800; color: var(--dark); margin: 6px 0; }
.model-cat   { font-size: .78rem; color: var(--muted); margin-bottom: 12px; }
.model-avail { font-size: .82rem; color: #1a9c4a; font-weight: 600; margin-bottom: 20px; }
.model-actions { display: flex; flex-direction: column; }

.model-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.model-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: var(--text);
}
.model-features li::before {
  content: "✔";
  color: var(--brand);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.model-info-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.model-info-box {
  background: var(--light-bg);
  border-radius: 8px;
  padding: 14px 16px;
}
.model-info-box h4 { font-size: .8rem; font-weight: 700; color: var(--brand); margin-bottom: 4px; }
.model-info-box p  { font-size: .82rem; color: var(--muted); }

.related-models-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.related-model-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: var(--white);
  border: 1px solid #d8e7f6;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: .82rem;
  transition: var(--transition);
  min-width: 110px;
  text-align: center;
}
.related-model-chip:hover {
  background: var(--brand);
  border-color: var(--brand);
}
.related-model-chip:hover span { color: white !important; }

@media (max-width: 768px) {
  .model-detail-grid { grid-template-columns: 1fr; }
  .model-card { position: static; }
  .model-info-row { grid-template-columns: 1fr 1fr; }
}

/* ---- BRANDS SECTION ---- */
.brand-cat {
  margin-bottom: 36px;
}
.brand-cat:last-child { margin-bottom: 0; }

.brand-cat-title {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.brand-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.brand-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50px;
  padding: 9px 20px 9px 8px;
  transition: var(--transition);
  cursor: default;
}
.brand-chip:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.brand-chip span:last-child {
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  letter-spacing: .3px;
}
.brand-abbr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: 0;
  flex-shrink: 0;
}

/* section-dark override for brand-cat-title */
.section-light .brand-cat-title { color: var(--muted); border-color: #dce8f5; }
.section-light .brand-chip      { background: var(--white); border-color: #dde8f7; }
.section-light .brand-chip:hover{ background: var(--light-bg); border-color: var(--brand); }
.section-light .brand-chip span:last-child { color: var(--text); }
.section-light .brand-abbr      { background: rgba(0,87,184,.08); }

/* ---- PRODUCT CATEGORY LABEL ---- */
.prod-cat-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  color: var(--white);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
}

/* ---- FOOTER WIDE (5 cols) ---- */
.footer-inner-wide {
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
}

/* ---- SERVICES ---- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 28px; }
.card {
  background: var(--white);
  border: 1px solid #e4ecf7;
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,87,184,.15); }
.card-icon { font-size: 2.5rem; margin-bottom: 16px; }
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; color: var(--brand); }
.card p  { font-size: .9rem; color: var(--muted); }

/* ---- SOLUTIONS GRID ---- */
.solutions-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(480px,1fr)); gap: 32px; }
.sol-card {
  background: var(--mid);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.sol-img { width: 100%; height: 220px; object-fit: cover; }
.sol-body { padding: 32px 28px; flex: 1; display: flex; flex-direction: column; }
.sol-body h3  { font-size: 1.25rem; font-weight: 700; color: var(--accent); margin-bottom: 12px; }
.sol-body p   { font-size: .9rem; color: rgba(255,255,255,.75); margin-bottom: 16px; }
.sol-body ul  { list-style: none; margin-bottom: 8px; display: flex; flex-direction: column; gap: 6px; }
.sol-body ul li::before { content: "✔ "; color: var(--accent); }
.sol-body ul li { font-size: .88rem; color: rgba(255,255,255,.8); }

/* ---- SUPPORT STRIP ---- */
.support-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  background: linear-gradient(90deg,var(--brand),#0088dd);
  border-radius: var(--radius);
  padding: 28px 36px;
  margin-top: 48px;
}
.support-strip strong { display: block; font-size: 1.1rem; color: var(--white); margin-bottom: 4px; }
.support-strip span   { font-size: .9rem; color: rgba(255,255,255,.8); }
.support-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- CITIES ---- */
.cities-wrap { background: var(--light-bg); border-radius: var(--radius); padding: 36px; }
.cities-grid {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
}
.cities-grid span {
  background: var(--white);
  border: 1px solid #cddcf0;
  border-radius: 50px;
  padding: 6px 16px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--brand);
  transition: var(--transition);
  cursor: default;
}
.cities-grid span:hover { background: var(--brand); color: white; border-color: var(--brand); }
.city-note { text-align: center; margin-top: 20px; color: var(--muted); font-size: .9rem; }
.city-note a { color: var(--brand); font-weight: 600; }

/* ---- WHY ---- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 28px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-icon { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }
.why-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; color: var(--brand); }
.why-item p  { font-size: .88rem; color: var(--muted); }

/* ---- CONTACT ---- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 52px; align-items: start; }
.contact-info h3 { font-size: 1.4rem; font-weight: 700; color: var(--white); margin-bottom: 20px; }
.contact-info p, .contact-info a { font-size: .95rem; color: rgba(255,255,255,.75); margin-bottom: 10px; display: block; }
.contact-info a:hover { color: var(--accent); }
.contact-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.business-hours { margin-top: 24px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; }
.business-hours h4 { color: var(--accent); font-size: .9rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.business-hours p { font-size: .88rem; color: rgba(255,255,255,.6); margin-bottom: 4px; }

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 13px 16px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  color: var(--white);
  font-family: inherit;
  font-size: .92rem;
  outline: none;
  transition: border-color var(--transition);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,.4); }
.contact-form select option { background: var(--dark); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--accent); }
.contact-form textarea { resize: vertical; }

/* ---- FOOTER ---- */
.footer { background: var(--darker); color: rgba(255,255,255,.7); padding: 60px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand p { font-size: .85rem; margin-top: 10px; line-height: 1.8; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links h4,
.footer-contact h4 { color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.footer-links a,
.footer-contact a { font-size: .85rem; color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-links a:hover,
.footer-contact a:hover { color: var(--accent); }
.footer-contact { display: flex; flex-direction: column; gap: 8px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); text-align: center; padding: 18px 0; font-size: .8rem; color: rgba(255,255,255,.35); }

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.7); }
.whatsapp-float svg { width: 32px; height: 32px; }

/* ---- MODEL PRODUCT PAGE ---- */
.model-product-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.model-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand);
  color: #fff;
  padding: 5px 16px;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.model-info h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 14px;
  line-height: 1.2;
}
.model-specs h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light-bg);
}
.model-feat-list {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.model-feat-list li {
  font-size: .9rem;
  color: var(--text);
  padding-left: 22px;
  position: relative;
  line-height: 1.4;
}
.model-feat-list li::before {
  content: "✔";
  color: var(--accent);
  position: absolute;
  left: 0;
  font-weight: 800;
}
.related-models {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid #e0ebf8;
}
.related-models h4 {
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.related-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.related-chip {
  display: inline-block;
  padding: 5px 12px;
  background: var(--light-bg);
  border: 1px solid #cddcf0;
  border-radius: 6px;
  font-size: .72rem;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  transition: var(--transition);
}
.related-chip:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
@media (max-width: 768px) {
  .model-product-wrap { grid-template-columns: 1fr; gap: 28px; }
}

/* ---- SEO KEYWORDS ---- */
.seo-keywords {
  background: #f9f9f9;
  border-top: 1px solid #eee;
  padding: 10px 20px;
  font-size: 10px;
  line-height: 1.8;
  color: #bbb;
  word-break: break-word;
  text-align: left;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .solutions-grid { grid-template-columns: 1fr; }
  .contact-wrap   { grid-template-columns: 1fr; }
  .footer-inner,
  .footer-inner-wide { grid-template-columns: 1fr 1fr; }
  .stats-grid     { grid-template-columns: repeat(2,1fr); }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.2); padding: 14px; }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.2); }
}

@media (max-width: 680px) {
  .nav { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--dark); padding: 20px; gap: 16px; }
  .nav.open { display: flex; }
  .hamburger { display: block; }
  .footer-inner, .footer-inner-wide { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.4rem; }
  .support-strip { flex-direction: column; text-align: center; }
}
