/* =========================================================
   Marque Virtual Care – static landing page
   ========================================================= */

:root {
  --primary: #1E3B41;      /* dark teal – headings, buttons */
  --accent: #577784;       /* muted blue-gray */
  --text: #1C1C1C;
  --light: #DFE4E6;        /* header / card background */
  --line: #C4CBDB;
  --footer: #54595F;
  --list: #0D2D68;
  --white: #fff;
  --font-head: "Poppins", Arial, sans-serif;
  --font-body: "Manrope", Arial, sans-serif;
  --max: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); color: var(--primary); font-weight: 400; margin: 0; }
h1 strong, h2 strong { font-weight: 700; }
p { margin: 0 0 1em; }
ul { list-style: none; margin: 0; padding: 0; }

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

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--primary); color: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 10px; top: 10px; }

section { padding: 80px 0; }
.section-title { font-size: clamp(30px, 4.5vw, 45px); line-height: 1.15; margin-bottom: 20px; }
.intro { max-width: 700px; margin: 0 auto 40px; }

/* ---------- Button ---------- */
.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  padding: 18px 25px;
  border-radius: 4px;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.btn:hover, .btn:focus-visible { background: var(--accent); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header { background: var(--light); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 80px; }
.logo img { width: 190px; height: auto; }
.header-contact { display: flex; gap: 30px; }
.header-contact a {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--primary); text-decoration: none;
}
.header-contact a:hover { color: var(--accent); }
.header-contact svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Hero ---------- */
.hero { padding-top: 90px; padding-bottom: 0; }
.hero h1 { font-size: clamp(40px, 6vw, 55px); line-height: 1.05; margin-bottom: 25px; }
.hero .lead { max-width: 640px; margin: 0 auto 25px; }
.hero-tags { font-family: var(--font-head); font-size: clamp(18px, 2.4vw, 26px); font-weight: 500; color: var(--primary); margin-bottom: 30px; }
.hero-image { margin-top: 60px; border-radius: 0 0 50px 0; overflow: hidden; }
.hero-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 35%; }

/* ---------- Stats ---------- */
.stats { padding: 70px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px; text-align: center; }
.stat { display: flex; flex-direction: column; align-items: center; color: var(--primary); }
.stat-icon {
  width: 50px; height: 50px; display: grid; place-items: center;
  border: 3px solid var(--primary); border-radius: 10%; margin-bottom: 12px;
}
.stat-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stat-number { font-family: var(--font-head); font-size: 32px; font-weight: 800; line-height: 1.1; }
.stat-label { font-family: var(--font-head); font-size: 15px; line-height: 1.3; margin-top: 4px; }

/* ---------- Name lists (providers + help) ---------- */
.providers { padding-top: 20px; }
.providers-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; }
.help-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px 60px; }
.group-title {
  font-size: 16px; padding: 0 0 12px; margin-bottom: 4px;
  border-bottom: 1px solid var(--primary);
}
.name-list li {
  font-family: var(--font-body); font-weight: 500; font-size: 15px; color: var(--list);
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.name-list.two-col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
.name-list.chips li { font-family: var(--font-head); font-weight: 400; color: var(--accent); }
.note { font-size: 13px; font-style: italic; margin-top: 40px; }

/* ---------- Service cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.card {
  background: var(--light);
  border-radius: 0 0 50px 0;
  padding: 120px 30px 35px;
  transition: transform .25s;
}
.card:hover { transform: translateY(-4px); }
.card h3 { font-size: 30px; line-height: 1.05; margin-bottom: 18px; }
.card p { font-size: 14px; color: var(--primary); margin: 0; }

/* ---------- Why choose ---------- */
.why { background: linear-gradient(180deg, #fff 0%, #f3f6f8 45%, #fff 100%); }
.why .narrow { margin-bottom: 60px; }
.check-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px;
  max-width: 760px; margin: 30px auto 60px;
}
.check-list li {
  font-family: var(--font-head); color: var(--primary); font-size: 16px;
  display: flex; align-items: center; gap: 10px;
}
.check-list li::before {
  content: ""; flex: 0 0 18px; height: 18px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat;
  opacity: .75;
}
.wide-image { border-radius: 0 0 50px 0; overflow: hidden; }
.wide-image img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: center 20%; }

/* ---------- Steps ---------- */
.step { margin-top: 60px; }
.step-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--light); font-family: var(--font-head); font-size: 16px; color: var(--primary);
  margin-bottom: 20px;
}
.step h3 { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; margin-bottom: 12px; }
.step p { max-width: 560px; margin: 0 auto; }

.call-card {
  position: relative; width: 100%; max-width: 400px; margin: 40px auto 0;
  border-radius: 30px; overflow: hidden; box-shadow: 0 20px 50px rgba(30, 59, 65, .15);
}
.call-card video { width: 100%; aspect-ratio: 284 / 400; object-fit: cover; object-position: center 30%; }
.call-avatar {
  position: absolute; top: 18px; left: 18px; width: 56px; height: 56px;
  border-radius: 10px; border: 3px solid #fff; object-fit: cover;
}
.call-controls { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; align-items: center; gap: 22px; }
.ctrl { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.9); display: grid; place-items: center; }
.ctrl svg { width: 18px; height: 18px; fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ctrl.end { width: 56px; height: 56px; background: #E0564B; }
.ctrl.end svg { width: 26px; height: 26px; fill: #fff; stroke: none; }

/* ---------- Reviews ---------- */
.reviews { background: #f6f8f9; }
.reviews .section-title { margin-bottom: 40px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 900px; margin: 0 auto; display: grid; gap: 18px; }
.faq details { border: 1px solid #d5dbe0; border-radius: 4px; background: #fff; }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 25px 70px 25px 35px;
  font-family: var(--font-head); font-size: 18px; color: var(--primary);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 35px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg); transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 35px 25px; margin: 0; }

/* ---------- CTA ---------- */
.cta {
  padding: 110px 0 130px;
  background: radial-gradient(at 50% 100%, rgba(30, 59, 65, .35) 0%, rgba(30, 59, 65, 0) 65%);
}
.cta p { margin-bottom: 35px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: #fff; padding: 40px 0 25px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-bottom: 25px; border-bottom: 1px solid rgba(255,255,255,.2); }
.footer-top img { width: 170px; height: auto; }
.footer-links li + li { margin-top: 6px; }
.footer-links a, .footer-bottom p { font-size: 14px; color: #fff; text-decoration: none; opacity: .9; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 22px; }
.footer-bottom p { margin: 0; }
.social { display: flex; gap: 14px; }
.social a { display: grid; place-items: center; width: 30px; height: 30px; }
.social svg { width: 17px; height: 17px; fill: #fff; transition: opacity .2s; }
.social svg.stroke { fill: none; stroke: #fff; stroke-width: 2; }
.social a:hover svg { opacity: .7; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .card { padding-top: 80px; }
}
@media (max-width: 767px) {
  section { padding: 60px 0; }
  .header-inner { flex-direction: column; justify-content: center; padding: 14px 20px; gap: 8px; }
  .logo img { width: 160px; }
  .header-contact { gap: 20px; }
  .hero { padding-top: 55px; }
  .hero-image { margin-top: 40px; }
  .hero-image img { aspect-ratio: 1 / 1; object-position: 70% center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat:last-child { grid-column: 1 / -1; }
  .providers-grid, .help-grid { grid-template-columns: 1fr; gap: 40px; }
  .card-grid { grid-template-columns: 1fr; }
  .card { padding: 50px 25px 30px; }
  .check-list { grid-template-columns: 1fr; max-width: 320px; }
  .wide-image img { aspect-ratio: 4 / 3; }
  .faq summary { padding: 20px 55px 20px 20px; font-size: 16px; }
  .faq summary::after { right: 22px; }
  .faq details p { padding: 0 20px 20px; }
  .footer-top, .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 420px) {
  .name-list.two-col { grid-template-columns: 1fr; }
}
