/* ============================================================
   Altclick ICT — Shared Stylesheet
   Brand colors: Deep Blue + Signal Red
   ============================================================ */

:root {
  --blue-900: #062a5c;
  --blue-800: #0a3d7a;
  --blue-700: #0e4f9c;
  --blue-600: #1463c4;
  --blue-100: #e8f0fb;
  --red-600: #d7263d;
  --red-500: #ef2f45;
  --red-100: #fdeaec;
  --ink: #101828;
  --grey-600: #475467;
  --grey-300: #d0d5dd;
  --grey-100: #f5f6f8;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(6, 42, 92, 0.10);
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ---------- Topbar ---------- */
.topbar { background: var(--blue-900); color: var(--blue-100); font-size: 13px; }
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; gap: 6px;
}
.topbar span { margin-right: 18px; }
.topbar a.cta-mini { background: var(--red-600); color: var(--white); padding: 4px 12px; border-radius: 20px; font-weight: 600; }

/* ---------- Header / Nav ---------- */
header.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); box-shadow: 0 2px 12px rgba(16, 24, 40, 0.06); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; color: var(--blue-900); }
.logo .mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-700), var(--red-600));
  display: flex; align-items: center; justify-content: center; color: white; font-size: 18px; font-weight: 900;
}
.logo .tag { font-size: 11px; font-weight: 600; color: var(--grey-600); display: block; letter-spacing: 0.5px; }
nav.main-nav ul { display: flex; gap: 28px; list-style: none; align-items: center; }
nav.main-nav a { font-weight: 600; font-size: 15px; color: var(--ink); padding: 6px 2px; border-bottom: 2px solid transparent; transition: 0.2s; }
nav.main-nav a:hover, nav.main-nav a.active { color: var(--blue-700); border-bottom-color: var(--red-600); }
.nav-cta { background: var(--red-600); color: white !important; padding: 10px 20px; border-radius: 8px; font-weight: 700 !important; border-bottom: none !important; }
.nav-cta:hover { background: var(--red-500); border-bottom: none !important; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(120deg, var(--blue-900) 0%, var(--blue-700) 55%, var(--blue-600) 100%); color: white; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(215,38,61,0.35), transparent 70%); border-radius: 50%;
}
.hero .container { padding: 90px 24px 80px; position: relative; z-index: 2; }
.hero .eyebrow { display: inline-block; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3); padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.hero h1 { font-size: 46px; line-height: 1.15; max-width: 720px; margin: 0 0 18px; font-weight: 800; }
.hero h1 span { color: #ff6b7a; }
.hero p.lead { font-size: 18px; max-width: 600px; color: var(--blue-100); margin-bottom: 34px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.page-hero { background: linear-gradient(120deg, var(--blue-900), var(--blue-700)); color: white; padding: 64px 24px; text-align: center; }
.page-hero h1 { font-size: 36px; margin: 0 0 10px; font-weight: 800; }
.page-hero p { color: var(--blue-100); max-width: 640px; margin: 0 auto; font-size: 16px; }
.breadcrumb { font-size: 13px; color: var(--blue-100); margin-bottom: 14px; opacity: 0.85; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 13px 26px; border-radius: 8px; font-weight: 700; font-size: 15px; transition: 0.2s; border: 2px solid transparent; cursor: pointer; }
.btn-primary { background: var(--red-600); color: white; }
.btn-primary:hover { background: var(--red-500); transform: translateY(-1px); }
.btn-outline { background: transparent; color: white; border-color: rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-blue { background: var(--blue-700); color: white; }
.btn-blue:hover { background: var(--blue-600); }

/* ---------- Sections ---------- */
section { padding: 70px 0; }
.section-alt { background: var(--grey-100); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 46px; }
.section-head .kicker { color: var(--red-600); font-weight: 700; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; display: block; }
.section-head h2 { font-size: 32px; margin: 0 0 12px; color: var(--blue-900); font-weight: 800; }
.section-head p { color: var(--grey-600); font-size: 16px; }

/* ---------- Grids & Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: white; border: 1px solid var(--grey-300); border-radius: var(--radius); padding: 30px 26px; transition: 0.25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--blue-600); }
.card .icon { width: 52px; height: 52px; border-radius: 12px; background: var(--blue-100); color: var(--blue-700); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 18px; }
.card h3 { margin: 0 0 10px; font-size: 19px; color: var(--blue-900); }
.card p { color: var(--grey-600); font-size: 14.5px; margin: 0 0 14px; }
.card ul { list-style: none; }
.card ul li { font-size: 14px; color: var(--grey-600); padding: 5px 0 5px 22px; position: relative; }
.card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--red-600); font-weight: 800; }
.card .price { font-size: 22px; font-weight: 800; color: var(--blue-900); margin: 14px 0 4px; }
.card .price small { font-size: 13px; color: var(--grey-600); font-weight: 500; }
.badge { display: inline-block; background: var(--red-100); color: var(--red-600); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 12px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats .stat-num { font-size: 34px; font-weight: 800; color: var(--red-500); }
.stats .stat-label { font-size: 13px; color: var(--blue-100); margin-top: 4px; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { display: flex; gap: 18px; margin-bottom: 28px; }
.step .num { counter-increment: step; min-width: 44px; height: 44px; border-radius: 50%; background: var(--blue-900); color: white; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.step .num::before { content: counter(step); }
.step h4 { margin: 4px 0 6px; color: var(--blue-900); }
.step p { margin: 0; color: var(--grey-600); font-size: 14.5px; }

/* ---------- Testimonials ---------- */
.testimonial { background: white; border-radius: var(--radius); padding: 26px; border: 1px solid var(--grey-300); }
.testimonial p.quote { font-style: italic; color: var(--ink); margin-bottom: 16px; }
.testimonial .who { display: flex; align-items: center; gap: 12px; }
.testimonial .avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--blue-700), var(--red-600)); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.testimonial .who strong { display: block; font-size: 14px; }
.testimonial .who span { font-size: 12.5px; color: var(--grey-600); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--red-600), #ff5c6b); color: white; border-radius: 20px; padding: 50px 40px; text-align: center; }
.cta-band h2 { font-size: 28px; margin: 0 0 12px; }
.cta-band p { margin: 0 0 26px; color: rgba(255,255,255,0.92); }
.cta-band .btn-outline { border-color: rgba(255,255,255,0.7); }

/* ---------- Forms ---------- */
.form-card { background: white; border: 1px solid var(--grey-300); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; color: var(--blue-900); }
.form-row input, .form-row select, .form-row textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--grey-300); border-radius: 8px; font-size: 14.5px; font-family: inherit; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--blue-600); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ---------- Table ---------- */
table.compare { width: 100%; border-collapse: collapse; background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
table.compare th, table.compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--grey-300); font-size: 14.5px; }
table.compare th { background: var(--blue-900); color: white; }
table.compare tr:last-child td { border-bottom: none; }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--blue-900); color: var(--blue-100); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.12); }
footer h4 { color: white; font-size: 15px; margin: 0 0 16px; }
footer p { font-size: 13.5px; color: var(--blue-100); }
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul a { font-size: 13.5px; color: var(--blue-100); }
footer ul a:hover { color: var(--red-500); }
.footer-bottom { padding: 20px 0; text-align: center; font-size: 12.5px; color: rgba(232,240,251,0.7); }
.social-row { display: flex; gap: 10px; margin-top: 14px; }
.social-row a { width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.social-row a:hover { background: var(--red-600); }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }

/* ---------- Nav Toggle (Hamburger) ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: none;
  background: var(--blue-100);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--blue-900);
  margin: 0 auto;
  transition: 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Responsive ---------- */

/* Large tablets / small laptops */
@media (max-width: 1080px) {
  .container { padding: 0 20px; }
  .hero h1 { font-size: 40px; }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
}

/* Tablets */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero .container { padding: 64px 20px 56px; }
  .hero h1 { font-size: 34px; }
  section { padding: 54px 0; }
}

/* Mobile nav breakpoint */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  nav.main-nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 12px 24px rgba(16,24,40,0.12);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  nav.main-nav.open { max-height: 520px; }
  nav.main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 20px;
  }
  nav.main-nav ul li { width: 100%; }
  nav.main-nav a {
    display: block;
    padding: 13px 4px;
    border-bottom: 1px solid var(--grey-100);
  }
  nav.main-nav a.active { border-bottom-color: var(--grey-100); }
  .nav-cta { text-align: center; margin-top: 8px; }
  .nav-wrap { position: relative; }
}

/* Phones */
@media (max-width: 720px) {
  .topbar .container { justify-content: center; text-align: center; }
  .topbar span { margin-right: 12px; font-size: 12px; }
  .hero h1 { font-size: 28px; }
  .hero p.lead { font-size: 16px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { text-align: center; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .page-hero { padding: 46px 20px; }
  .page-hero h1 { font-size: 26px; }
  .section-head h2 { font-size: 26px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stats .stat-num { font-size: 26px; }
  .cta-band { padding: 36px 22px; }
  .cta-band h2 { font-size: 22px; }
  .card { padding: 24px 20px; }
  table.compare { display: block; overflow-x: auto; white-space: nowrap; }
  .logo { font-size: 18px; }
  .logo .mark { width: 32px; height: 32px; font-size: 15px; }
}

/* Small phones */
@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
  .hero h1 { font-size: 24px; }
  .nav-wrap { padding: 12px 16px; }
  .container { padding: 0 16px; }
}
