/* ATAV TELECOM public homepage — match reference artwork */
:root {
  --blue: #073b82;
  --navy: #062a5c;
  --orange: #f58220;
  --white: #ffffff;
  --ice: #f2f8ff;
  --text: #17365d;
  --muted: #5a7394;
  --line: #d7e4f5;
  --shadow: 0 10px 28px rgba(6, 42, 92, 0.08);
  --radius: 16px;
  --max: 1180px;
  font-family: Poppins, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 8px; z-index: 80; background: #fff; padding: 8px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #7dd3fc; outline-offset: 2px;
}

.topbar {
  background: var(--navy);
  color: #fff;
  font-size: 12px;
}
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 32px; gap: 12px;
}
.topbar a { color: #fff; opacity: .92; }
.top-follow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.top-follow svg { width: 14px; height: 14px; fill: currentColor; vertical-align: -2px; }

.mast {
  background: #fff;
  border-bottom: 1px solid #eef3f9;
}
.mast-inner {
  display: flex; align-items: center; gap: 16px;
  min-height: 78px;
}
.brand {
  display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--navy);
}
.brand img { width: 54px; height: 54px; object-fit: contain; mix-blend-mode: multiply; }
.brand small { display: block; font-size: 10px; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.mast-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.phone-chip, .wa-chip {
  display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700;
}
.phone-chip b { display: block; font-size: 15px; color: var(--blue); }
.wa-chip { color: #128c7e; }
.wa-chip span { display: block; font-weight: 600; color: var(--muted); font-size: 11px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 999px; padding: 10px 18px; font: inherit; font-weight: 700;
  font-size: 13px; border: 0; cursor: pointer;
}
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { filter: brightness(1.06); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-login { background: var(--navy); color: #fff; }
.mast-toggle, .nav-burger {
  display: none; width: 42px; height: 42px; border: 0; background: var(--ice);
  border-radius: 10px; font-size: 20px; cursor: pointer;
}

.navbar { background: #fff; box-shadow: 0 6px 16px rgba(6,42,92,.06); position: sticky; top: 0; z-index: 40; }
.nav-inner { display: flex; align-items: center; gap: 6px; min-height: 48px; }
.nav-links { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-links > a, .drop > summary {
  list-style: none; cursor: pointer;
  padding: 8px 14px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--text);
}
.nav-links > a.is-on, .nav-links > a[aria-current="page"] {
  background: var(--blue); color: #fff;
}
.drop { position: relative; }
.drop summary { display: inline-flex; align-items: center; gap: 4px; }
.drop summary::-webkit-details-marker { display: none; }
.drop-menu {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow);
  padding: 8px; display: grid; z-index: 20;
}
.drop-menu a { padding: 8px 10px; border-radius: 8px; font-size: 13px; }
.drop-menu a:hover { background: var(--ice); color: var(--blue); }
.nav-login { margin-left: auto; display: none; }

.hero-slider { position: relative; overflow: hidden; background: #eaf4ff; }
.hero-track { display: flex; transition: transform .55s ease; }
.hero-slide {
  flex: 0 0 100%; min-width: 100%;
  margin: 0;
  position: relative;
  background: #e8f4ff;
}
.hero-slide img.banner {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-hit {
  position: absolute;
  left: 5%;
  bottom: 11%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.hero-copy { padding-left: max(56px, calc((100% - var(--max)) / 2 + 8px)); padding-right: 12px; }
.hero-kicker { margin: 0; color: var(--orange); font-weight: 800; letter-spacing: .14em; font-size: 13px; }
.hero-copy h1 {
  margin: 4px 0 8px; font-size: clamp(42px, 6vw, 72px); line-height: .95;
  color: var(--blue); letter-spacing: -.03em;
}
.hero-sub { margin: 0; font-weight: 700; font-size: 18px; }
.hero-all { margin: 6px 0 12px; color: var(--muted); }
.pills-words { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 18px; padding: 0; list-style: none; }
.pills-words li {
  background: #fff; border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 13px;
  box-shadow: var(--shadow); color: var(--blue);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.wa-cta {
  display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px;
  padding: 6px 12px 6px 8px; box-shadow: var(--shadow); font-size: 12px;
}
.wa-cta b { display: block; color: #128c7e; }
.hero-art {
  position: relative; height: 100%;
  display: grid; place-items: center;
  padding-right: max(16px, calc((100% - var(--max)) / 2));
}
.hero-art img.hardware {
  width: min(520px, 100%); height: 390px; object-fit: contain; object-position: right center;
  filter: drop-shadow(0 18px 30px rgba(6,42,92,.18));
}
.grow-badge {
  position: absolute; right: 8%; top: 18%;
  width: 118px; height: 118px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #3aa0ff, #073b82);
  color: #fff; display: grid; place-items: center; text-align: center;
  font-size: 13px; font-weight: 800; line-height: 1.2; box-shadow: var(--shadow);
}
.hero-nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff;
  box-shadow: var(--shadow); font-size: 22px; cursor: pointer; z-index: 2;
}
.hero-prev { left: 12px; }
.hero-next { right: 12px; }
.hero-dots {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
  display: flex; gap: 6px;
}
.hero-dots button {
  width: 8px; height: 8px; border: 0; border-radius: 999px; background: #9bb8d9; cursor: pointer; padding: 0;
}
.hero-dots button.is-on { width: 22px; background: var(--orange); }

.strip {
  background: #fff; margin-top: -28px; position: relative; z-index: 3;
  border-radius: 22px; box-shadow: var(--shadow); padding: 18px;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px;
}
.strip article { text-align: center; padding: 8px 4px; }
.strip .ico {
  width: 54px; height: 54px; margin: 0 auto 8px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-size: 20px;
}
.strip h3 { margin: 0; font-size: 13px; }
.strip p { margin: 4px 0 0; font-size: 11px; color: var(--muted); }
.c1 { background: #f59e0b; } .c2 { background: #2563eb; } .c3 { background: #16a34a; }
.c4 { background: #db2777; } .c5 { background: #0ea5e9; } .c6 { background: #22c55e; }

.section { padding: 56px 0; }
.section h2 {
  margin: 0 0 22px; text-align: center; color: var(--blue);
  font-size: clamp(22px, 3vw, 32px); letter-spacing: .04em;
}
.types {
  display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px;
}
.type-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 16px 8px; text-align: center; box-shadow: var(--shadow);
  min-height: 118px; transition: transform .18s ease, box-shadow .18s ease;
}
.type-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(6,42,92,.12); }
.type-card .ico {
  width: 48px; height: 48px; margin: 0 auto 8px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ice); color: var(--blue); font-size: 20px;
}
.type-card span { font-size: 12px; font-weight: 700; display: block; }

.feat-block { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: center; }
.feat-visual { position: relative; min-height: 320px; }
.feat-visual img.desk { width: 100%; border-radius: 16px; }
.feat-visual img.phone {
  position: absolute; left: 8px; bottom: -12px; width: 150px;
  filter: drop-shadow(0 12px 20px rgba(6,42,92,.2));
}
.feat-copy h2 { text-align: left; margin-bottom: 8px; }
.partner {
  float: right; width: 120px; height: 120px; border-radius: 50%;
  background: linear-gradient(135deg, #1d4ed8, #073b82);
  color: #fff; display: grid; place-items: center; text-align: center;
  font-size: 12px; font-weight: 800; line-height: 1.25;
}
.checks { list-style: none; margin: 12px 0 18px; padding: 0; display: grid; gap: 8px; }
.checks li { font-size: 14px; font-weight: 600; }
.checks li::before { content: "✓ "; color: #16a34a; font-weight: 800; }

.stats {
  background: linear-gradient(90deg, #0a4aa6, #073b82 40%, #062a5c);
  color: #fff; padding: 28px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; text-align: center; }
.stats-grid strong { display: block; font-size: 34px; }
.stats-grid span { font-size: 13px; opacity: .9; }

.cloud { background: var(--ice); }
.cloud-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: center; }
.cloud-grid h2 { text-align: left; }
.stores { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 18px; }
.store {
  background: #111; color: #fff; border-radius: 10px; padding: 8px 12px; font-size: 12px; font-weight: 700;
}
.mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-cards article {
  background: #fff; border-radius: 14px; padding: 14px; box-shadow: var(--shadow);
}
.mini-cards h3 { margin: 0 0 4px; font-size: 14px; }
.mini-cards p { margin: 0; font-size: 12px; color: var(--muted); }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.quote {
  background: #fff; border-radius: 16px; padding: 18px; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.quote .mark { color: var(--blue); font-size: 36px; line-height: 1; }
.who { display: flex; gap: 10px; align-items: center; margin-top: 12px; }
.who b { display: block; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-weight: 800;
}

.final-cta {
  background: linear-gradient(90deg, #0a4aa6, #073b82);
  color: #fff; border-radius: 22px; padding: 28px 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.final-cta h2 { margin: 0 0 6px; color: #fff; text-align: left; }
.final-cta p { margin: 0; opacity: .92; }
.final-cta .right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.about-hero {
  background: linear-gradient(120deg, #062a5c, #073b82 55%, #0a4aa6);
  color: #fff;
  padding: 56px 0 48px;
}
.about-hero h1 {
  margin: 8px 0 14px;
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: -.02em;
  line-height: 1.15;
}
.about-hero .kicker { color: #fdba74; font-weight: 800; letter-spacing: .16em; font-size: 12px; }
.about-hero p { max-width: 760px; font-size: 17px; line-height: 1.65; opacity: .95; }
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: start; }
.about-grid h2, .pillars h2 { text-align: left; margin-bottom: 12px; }
.about-grid p { color: var(--muted); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }
.pillar h3 { margin: 0 0 8px; color: var(--blue); }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 8px; }
.about-stats div { background: var(--ice); border-radius: 14px; padding: 16px; text-align: center; }
.about-stats strong { display: block; font-size: 26px; color: var(--blue); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: grid; gap: 4px; font-size: 12px; font-weight: 700; }
input, select, textarea {
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font: inherit;
}
.full { grid-column: 1 / -1; }

.foot { background: var(--navy); color: #d5e4f7; padding: 40px 0 16px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 18px; }
.foot h4 { margin: 0 0 10px; color: #fff; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13px; }
.foot a:hover { color: #fff; }
.legal {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px;
}
.drawer {
  display: none; position: fixed; inset: 0 0 0 auto; width: min(320px, 92vw);
  background: #fff; z-index: 60; box-shadow: -12px 0 40px rgba(6,42,92,.2);
  padding: 20px; overflow: auto; transform: translateX(100%); transition: transform .25s ease;
}
body.nav-open .drawer { transform: translateX(0); display: block; }
body.nav-open .scrim { display: block; }
.scrim { display: none; position: fixed; inset: 0; background: rgba(6,42,92,.35); z-index: 50; }
.drawer a, .drawer summary { display: block; padding: 10px 0; font-weight: 700; }

@media (max-width: 1024px) {
  .types { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .strip, .stats-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .hero-slider { height: auto; }
  .hero-slide img.banner { height: 220px; }
  .hero-hit { left: 12px; bottom: 12px; transform: scale(0.92); transform-origin: left bottom; }
  .feat-block, .cloud-grid, .quotes, .foot-grid, .form-grid, .strip, .stats-grid, .about-grid, .pillars, .about-stats {
    grid-template-columns: 1fr;
  }
  .types { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .nav-links, .nav-login, .mast-actions .wa-chip { display: none; }
  .nav-burger, .mast-toggle { display: inline-flex; }
  .mast-inner { min-height: 64px; }
  .quotes { display: flex; overflow: auto; scroll-snap-type: x mandatory; gap: 12px; }
  .quote { min-width: 82%; scroll-snap-align: start; }
  .partner { float: none; margin: 0 0 12px; }
  .feat-visual img.phone { width: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-track { transition: none; }
}
