/* ==========================================================================
   VuyoM Online, Design System
   Palette pulled from the existing brand: coral/red accent, deep plum-navy,
   warm white. Typographic pairing: Space Grotesk (display) + IBM Plex Sans
   (body/UI), a technical, confident pairing suited to an ICT/security firm.
   ========================================================================== */

:root {
  /* Color */
  --red:        #E8434D;   /* primary accent, CTAs, links, active states */
  --red-dark:   #C22E38;   /* hover/pressed */
  --maroon:     #9C1B2E;   /* logo-mark echo, used sparingly for depth */
  --navy:       #302D46;   /* secondary bar, dark UI, headings on light */
  --navy-deep:  #201E30;   /* darkest surface, footer, hero overlay */
  --ink:        #211F30;   /* body heading text */
  --slate:      #625F73;   /* body copy on light */
  --line:       #E7E4EC;   /* hairline borders */
  --paper:      #FFFFFF;   /* base surface */
  --paper-tint: #F6F5F9;   /* alternating section surface */
  --gold:       #D6A25A;   /* rare warm highlight, echoes the dot-accents in the old hero */

  /* Type */
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;

  /* Layout */
  --max: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 3px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
h3 { font-size: 1.25rem; }

p { max-width: 62ch; margin: 0 0 1.1em; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
img { max-width: 100%; display: block; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85em 1.7em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--paper); border-color: rgba(255,255,255,0.45); }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--navy);
  color: #fff;
  font-size: 0.86rem;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  flex-wrap: wrap;
}
.topbar-contacts { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.topbar-contacts a { color: #fff; }
.topbar-contacts strong { color: var(--red); display: block; font-size: 0.72rem; letter-spacing: 0.02em; }
.topbar-social { display: flex; gap: 0.6rem; }
.topbar-social a {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.85rem;
}
.topbar-social a:hover { border-color: var(--red); color: var(--red); }

/* ---------- Header / nav ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled { box-shadow: 0 4px 16px rgba(32, 30, 48, 0.08); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
  gap: 1.5rem;
}
.logo { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); }
.logo-mark { width: 40px; height: 40px; flex-shrink: 0; }
.logo-text { font-size: 1.15rem; font-weight: 700; color: var(--ink); line-height: 1.1; }
.logo-text span { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.68rem; color: var(--slate); letter-spacing: 0.03em; }
.logo-img { height: 26px; width: auto; display: block; }
.footer-logo-img { height: 34px; }
.header-cta {
  height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 1em;
  font-size: 0.8rem;
}

.main-nav { display: flex; align-items: center; gap: 2.1rem; }
.main-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}
.main-nav a.active, .main-nav a:hover { color: var(--red); }
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy-deep);
  color: #fff;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(32,30,48,0.92) 0%, rgba(32,30,48,0.72) 45%, rgba(32,30,48,0.4) 100%);
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding-top: clamp(4.5rem, 12vw, 9rem);
  padding-bottom: clamp(4.5rem, 12vw, 9rem);
}
.hero-eyebrow {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--red);
  background: rgba(232,67,77,0.12);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  padding: 0.35em 0.9em;
  border-radius: var(--radius);
  margin-bottom: 1.1rem;
}
.hero h1 { color: #fff; }
.hero p.lede { color: rgba(255,255,255,0.85); font-size: 1.1rem; }
.hero-ctas { display: flex; gap: 1rem; margin-top: 1.6rem; flex-wrap: wrap; }

/* ---------- Section scaffolding ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-tint { background: var(--paper-tint); }
.section-navy { background: var(--navy-deep); color: rgba(255,255,255,0.8); }
.section-navy h2 { color: #fff; }
.section-head { max-width: 900px; margin-bottom: 2.75rem; }
.section-head .kicker { color: var(--red); font-weight: 600; font-size: 0.85rem; margin-bottom: 0.6rem; display: block; }

/* ---------- Service grid (home) ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card {
  background: #fff;
  padding: 2.1rem 1.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.service-card .num { font-family: var(--font-display); color: var(--line); font-size: 0.85rem; font-weight: 700; }
.service-card h3 { margin-bottom: 0; transition: color 0.15s ease; }
.service-card p { font-size: 0.95rem; margin-bottom: 0.4rem; }
.service-card a.more { font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.3em; }
.service-card a.more svg { transition: transform 0.15s ease; }
.service-icon { width: 42px; height: 42px; color: var(--red); transition: transform 0.18s ease; }

/* Hover: lift the card, echo the accent on its heading and icon.
   prefers-reduced-motion already disables the transition globally. */
@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 34px rgba(32, 30, 48, 0.12);
    z-index: 2;
  }
  .service-card:hover h3 { color: var(--red); }
  .service-card:hover .service-icon { transform: scale(1.08); }
  .service-card:hover a.more { text-decoration: underline; }
}

/* ---------- Two column feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split.reverse .split-art { order: 2; }

/* ---------- Stat strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 1.6rem;
  border-left: 1px solid var(--line);
  text-align: left;
}
.stat:first-child { border-left: none; }
.stat .n { font-family: var(--font-display); font-size: 2rem; color: var(--navy); font-weight: 700; display: block; }
.stat .l { font-size: 0.85rem; }

/* ---------- Testimonial / quote block ---------- */
.quote-block { border-left: 3px solid var(--red); padding-left: 1.6rem; }
.quote-block p { font-size: 1.2rem; color: var(--ink); font-family: var(--font-display); font-weight: 500; }
.quote-block cite { font-style: normal; font-size: 0.88rem; color: var(--slate); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--red);
  color: #fff;
}
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding: 3rem var(--gutter); }
.cta-band h2 { color: #fff; margin-bottom: 0.25rem; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 0; }
.cta-band .btn-outline { color: #fff; border-color: rgba(255,255,255,0.6); }
.cta-band .btn-outline:hover { background: #fff; color: var(--red); }

/* ---------- List with markers ---------- */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.85rem; }
.check-list li { display: flex; gap: 0.7rem; align-items: flex-start; }
.check-list svg { flex-shrink: 0; margin-top: 0.2rem; color: var(--red); }

/* ---------- Breadcrumb / page header (inner pages) ---------- */
.page-header {
  background: var(--navy-deep);
  color: #fff;
  padding: 3rem 0 2.6rem;
}
.page-header .crumb { color: rgba(255,255,255,0.55); font-size: 0.85rem; margin-bottom: 0.7rem; }
.page-header .crumb a { color: rgba(255,255,255,0.75); }
.page-header h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.7rem); }
.page-header p { color: rgba(255,255,255,0.72); }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 1.1rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 0.4rem; }
input, textarea, select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 0.75em 0.9em;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}
input:focus, textarea:focus, select:focus { border-color: var(--red); outline: none; }
textarea { min-height: 140px; resize: vertical; }

/* ---------- Contact info cards ---------- */
.info-card {
  border: 1px solid var(--line);
  padding: 1.6rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.info-card svg { color: var(--red); flex-shrink: 0; }
.info-card h3 { font-size: 1rem; margin-bottom: 0.2rem; }
.info-card p { font-size: 0.92rem; margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.65); }
.footer-top { padding: 3.5rem 0 2.5rem; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.site-footer h4 { color: #fff; font-size: 0.92rem; margin-bottom: 1.1rem; letter-spacing: 0.01em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.site-footer a { color: rgba(255,255,255,0.65); font-size: 0.92rem; }
.site-footer a:hover { color: var(--red); }
.footer-logo { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.footer-logo .logo-text { color: #fff; }
.footer-logo .logo-text span { color: rgba(255,255,255,0.55); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 1.4rem 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.8rem;
  font-size: 0.82rem;
}
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { border-color: var(--red); color: var(--red); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.wa-float:hover { color: #fff; filter: brightness(1.05); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 40;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy-deep);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s, background 0.15s ease;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--red); }
@media (max-width: 640px) {
  .back-to-top { width: 40px; height: 40px; bottom: 1.1rem; left: 1.1rem; }
}

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.gap-sm { display: grid; gap: 0.9rem; }
.pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--red);
  background: rgba(232,67,77,0.1);
  padding: 0.3em 0.8em;
  border-radius: 20px;
  margin-bottom: 0.9rem;
}

/* ---------- Pricing comparison table (hosting) ---------- */
.pricing-table-wrap {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.pricing-table-scroll { overflow-x: auto; }
table.pricing-table { width: 100%; border-collapse: collapse; min-width: 700px; }
.pricing-table th, .pricing-table td {
  padding: 1.05rem 1.3rem;
  text-align: left;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--line);
}
.pricing-table thead th { background: var(--navy-deep); color: #fff; vertical-align: top; border-bottom: none; position: relative; }
.pricing-table thead th.featured { background: var(--red); }
.pricing-table thead th:first-child { background: var(--paper-tint); color: var(--ink); }
.pricing-table tbody tr:last-child td { border-bottom: none; }
.pricing-table tbody tr:nth-child(even) { background: var(--paper-tint); }
.pricing-table tbody tr:nth-child(even) td:first-child { background: var(--paper-tint); }
.pricing-table tbody td:first-child, .pricing-table thead th:first-child {
  font-weight: 600; color: var(--ink); width: 200px; background: #fff;
}
.pt-badge {
  position: absolute; top: 0.8rem; right: 1rem;
  background: rgba(255,255,255,0.2); color: #fff;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.02em;
  padding: 0.25em 0.65em; border-radius: 10px;
}
.pt-plan-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 0.35rem; }
.pt-plan-price { font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; margin-bottom: 0.9rem; }
.pt-plan-price .per { font-family: var(--font-body); font-size: 0.72rem; font-weight: 500; opacity: 0.8; margin-left: 0.25em; }

/* ---------- Anchor pills (quick jump links) ---------- */
.anchor-pills { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1.5rem; }
.anchor-pills a {
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  padding: 0.5em 1.1em;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}
.anchor-pills a:hover { border-color: var(--red); color: var(--red); background: #fff; }

/* ---------- Partner / certification strip ---------- */
.partner-strip-wrap { padding: 2.6rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partner-strip-label {
  text-align: center; font-size: 0.78rem; font-weight: 600; color: var(--slate);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1.5rem;
}
.partner-strip { display: flex; align-items: center; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.partner-strip img {
  height: 40px; width: auto; object-fit: contain;
  filter: grayscale(1); opacity: 0.7;
  transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}
@media (hover: hover) {
  .partner-strip img:hover { filter: grayscale(0); opacity: 1; transform: scale(1.08); }
}
@media (max-width: 640px) {
  .partner-strip { gap: 2rem; }
  .partner-strip img { height: 32px; }
}

/* ---------- "How it works" numbered process steps ---------- */
.process-flow { display: flex; align-items: flex-start; gap: 0.5rem; }
.process-flow-step { flex: 1; display: flex; flex-direction: column; align-items: flex-start; text-align: left; min-width: 0; }
.process-flow-icon-wrap { position: relative; margin-bottom: 1.2rem; }
.process-flow-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--paper-tint);
  display: flex; align-items: center; justify-content: center;
}
.process-flow-icon svg { width: 34px; height: 34px; color: var(--red); }
.process-flow-num {
  position: absolute; bottom: -4px; left: -4px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.82rem;
  border: 3px solid #fff;
}
.process-flow-arrow { flex-shrink: 0; align-self: flex-start; margin-top: 34px; color: var(--line); }
.process-flow-step h4 { font-size: 1rem; margin-bottom: 0.35rem; }
.process-flow-step p { font-size: 0.88rem; margin-bottom: 0; }
@media (max-width: 900px) {
  .process-flow { flex-direction: column; gap: 2rem; }
  .process-flow-arrow { display: none; }
}

/* ---------- FAQ accordion ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  padding: 1.15rem 0;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--red);
  transition: transform 0.15s ease;
}
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item p { padding: 0 0 1.15rem; margin: 0; font-size: 0.95rem; max-width: 68ch; }

/* ---------- Responsive additions for new components ---------- */


/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .split, .split.reverse .split-art { grid-template-columns: 1fr; }
  .split.reverse .split-art { order: -1; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .topbar-contacts { display: none; }
}

@media (max-width: 640px) {
  .main-nav { position: fixed; inset: 0 0 0 30%; background: #fff; flex-direction: column; align-items: flex-start; padding: 6rem 2rem 2rem; gap: 1.6rem; transform: translateX(100%); transition: transform 0.25s ease; box-shadow: -8px 0 24px rgba(0,0,0,0.15); }
  .main-nav.open { transform: translateX(0); }
  .nav-toggle { display: flex; }
  .service-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 1px solid var(--line); }
  .stat:nth-child(2n+1) { border-left: none; }
  .footer-top { grid-template-columns: 1fr; text-align: center; }
  .footer-logo { justify-content: center; }
  .footer-top > div > p { margin-left: auto; margin-right: auto; }
  .site-footer ul { justify-items: center; }
  .footer-social { justify-content: center; }
  .form-row-2 { grid-template-columns: 1fr; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .partner-strip { justify-content: flex-start; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 0.6rem; padding: 1.6rem 0; }
  .footer-bottom span { max-width: 100%; }
}
