/* Vivâmee Shared Services — site styles.
   Colors come from the logo: charcoal grey for text, soft blue for accents.
   The logo blue (#6797CE) is 3:1 on white, so buttons and links use a darker shade of it (5.5:1) for WCAG AA. */
:root {
  --charcoal: #444346;
  --blue: #6797ce;        /* logo blue: borders and decorative accents */
  --blue-dark: #3a6ba5;   /* links and buttons (AA contrast on white) */
  --blue-darker: #2f5b8e; /* hover */
  --tint: #f2f6fb;
  --white: #ffffff;
  --font: Futura, "Futura PT", "Century Gothic", "Avenir Next", Avenir, "Trebuchet MS", Arial, sans-serif;
  --max: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue-dark); text-underline-offset: 0.15em; }
a:hover { color: var(--blue-darker); }

:focus-visible { outline: 3px solid var(--blue-dark); outline-offset: 3px; }

h1, h2, h3 { line-height: 1.25; font-weight: 500; letter-spacing: 0.01em; margin: 0 0 0.6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 760px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--charcoal); color: var(--white);
  padding: 0.75rem 1rem; z-index: 10; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--white); }

/* Header */
.site-header { border-bottom: 1px solid #e3e6ea; background: var(--white); }
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.75rem 2rem; padding-top: 1rem; padding-bottom: 1rem;
}
.brand { display: inline-block; }
.brand img { width: 230px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--charcoal); text-decoration: none; font-size: 0.95rem;
  letter-spacing: 0.04em; text-transform: uppercase;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--blue-dark); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--blue); }

/* Hero */
.hero { padding: 4.5rem 0 3.5rem; background: linear-gradient(180deg, var(--white) 0%, var(--tint) 100%); }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.85rem;
  color: var(--blue-dark); margin-bottom: 0.75rem;
}
.lead { font-size: 1.2rem; max-width: 46em; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 0.75rem 1.75rem; background: var(--blue-dark); color: var(--white);
  text-decoration: none; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.95rem;
  border-radius: 2px;
}
.button:hover { background: var(--blue-darker); color: var(--white); }

/* Sections */
.section { padding: 3.5rem 0; }
.section-tint { background: var(--tint); }
.section-intro { max-width: 46em; margin-bottom: 2rem; }

/* Service cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { position: relative; padding: 1.75rem 1.5rem; border: 1px solid #e3e6ea; border-top: 4px solid var(--blue); background: var(--white); }
.card h3 a { color: var(--charcoal); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; } /* whole card is clickable */
.card:hover h3 a { color: var(--blue-dark); text-decoration: underline; }
.card:focus-within { outline: 3px solid var(--blue-dark); outline-offset: 3px; }
.card h3 a:focus-visible { outline: none; }
.card p { margin: 0; }

/* What's included */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem 2rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.checklist li { padding-left: 1rem; border-left: 3px solid var(--blue); }
.checklist h3 { margin-bottom: 0.3em; }
.checklist p { margin: 0; }

/* FAQ */
.faq-item { padding: 1.25rem 0; border-bottom: 1px solid #d9e2ee; }
.faq-item:last-child { border-bottom: 0; }
.faq-item p { margin: 0; }

/* Related links */
.related-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; }
.related-links a { display: inline-flex; align-items: center; min-height: 44px; }

/* Call to action */
.cta { padding: 4rem 0; text-align: center; background: var(--charcoal); color: var(--white); }
.cta h2 { color: var(--white); }
.cta .button { background: var(--white); color: var(--charcoal); }
.cta .button:hover { background: var(--tint); color: var(--charcoal); }
.cta a { color: var(--white); }
.cta :focus-visible { outline-color: var(--white); }
.cta-email { font-size: 0.95rem; margin-top: 1rem; }

/* Footer */
.site-footer { padding: 2.5rem 0; border-top: 4px solid var(--blue); font-size: 0.95rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem 3rem; }
.footer-name { text-transform: uppercase; letter-spacing: 0.12em; font-weight: 500; margin-bottom: 0.5rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 600px) {
  .brand img { width: 180px; }
  .hero { padding: 3rem 0 2.5rem; }
  .section { padding: 2.5rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
