/* Vanguard Life – new theme. Clean, modern, mobile-first. */
:root {
  --brand: #2f37c8;
  --brand-dark: #1f2a8a;
  --navy: #0e1a4a;
  --ink: #101633;
  --text: #4a5170;
  --muted: #7a8099;
  --line: #e6e8f2;
  --soft: #f5f6fc;
  --soft-2: #eef0fb;
  --accent: #ffb547;
  --green: #25d366;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px rgba(16, 22, 51, .08);
  --shadow-lg: 0 24px 60px rgba(16, 22, 51, .14);
  --head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.65 var(--body); color: var(--text); background: #fff; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); margin: 0; line-height: 1.2; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
svg { width: 1em; height: 1em; fill: currentColor; flex: none; }
button { font: inherit; cursor: pointer; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.narrow { max-width: 800px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; font-weight: 600; font-size: 15px; line-height: 1.2; transition: transform .15s, background .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(47, 55, 200, .25); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-light:hover { border-color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--brand); }
.link-arrow svg { transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow.back svg { transform: scaleX(-1); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.eyebrow.light { color: var(--accent); }
.tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--brand); background: var(--soft-2); padding: 4px 10px; border-radius: 999px; }

/* Top contact bar + header */
.topbar { background: var(--navy); color: #d9dcf2; font-size: 14px; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; }
.topbar-contact li { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar-contact svg { color: var(--accent); font-size: 13px; }
.topbar-help { color: #fff; font-weight: 600; }
.topbar-contact a { color: #d9dcf2; }
.topbar-contact a:hover { color: #fff; }
.topbar .social { gap: 6px; flex: none; }
.topbar .social a { width: 28px; height: 28px; font-size: 13px; background: rgba(255,255,255,.08); }
@media (max-width: 899px) { .topbar-contact .topbar-help { display: none; } }
@media (max-width: 767px) { .topbar-contact .topbar-mail { display: none; } }
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(16,22,51,.06); }
.header-in { display: flex; align-items: center; gap: 20px; height: 84px; }
.logo { flex: none; }
.logo img { width: 148px; }
.nav { margin-left: auto; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.menu > li { position: relative; }
.menu > li > a { display: block; white-space: nowrap; padding: 10px 12px; border-radius: 999px; color: var(--ink); font-weight: 500; font-size: 15px; }
.menu > li > a:hover, .menu > li:focus-within > a { background: var(--soft); }
.menu > li.current > a { color: var(--brand); background: var(--soft-2); }
.sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.sub a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--ink); font-size: 15px; }
.sub a:hover { background: var(--soft); color: var(--brand); }
.menu > li:hover > .sub, .menu > li:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.sub-toggle, .nav-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: 14px; }
.header-phone svg { color: var(--brand); }
.icon-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--ink); background: var(--soft); font-size: 18px; }
.icon-btn:hover { color: var(--brand); }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--soft); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: .2s; }
.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header-phone, .header-cta { white-space: nowrap; flex: none; }
@media (max-width: 1539px) { .header-phone { display: none; } }
@media (max-width: 1180px) {
  .header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .header-in { height: 72px; }
  .logo img { width: 124px; }
  .burger { display: flex; }
  .header-actions { margin-left: auto; }
  .nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); margin: 0; background: #fff; padding: 84px 20px 24px; overflow-y: auto; transform: translateX(100%); transition: transform .3s; box-shadow: var(--shadow-lg); z-index: 90; }
  .nav-open .nav { transform: none; }
  .menu { flex-direction: column; gap: 2px; }
  .menu > li > a { padding: 12px 14px; border-radius: 12px; font-size: 16px; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 12px; display: none; min-width: 0; }
  .menu li.open > .sub { display: block; }
  .menu > li:hover > .sub { opacity: 1; }
  .sub-toggle { display: grid; place-items: center; position: absolute; right: 6px; top: 6px; width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); }
  .sub-toggle svg { transform: rotate(90deg); transition: transform .2s; }
  .menu li.open .sub-toggle svg { transform: rotate(-90deg); }
  .nav-extra { display: grid; gap: 12px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
  .nav-search { display: flex; align-items: center; gap: 8px; padding: 0 14px; height: 46px; border-radius: 999px; background: var(--soft); color: var(--muted); }
  .nav-search input { border: 0; background: transparent; outline: 0; font: inherit; width: 100%; color: var(--ink); }
  .header .burger { position: relative; z-index: 95; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(14,26,74,.35); z-index: 80; }
}
@media (max-width: 599px) {
  .header-cta, .icon-btn { display: none; }
  .topbar { font-size: 13px; }
  .topbar-contact .topbar-office { display: none; }
  .topbar .social a { width: 26px; height: 26px; }
}

/* Sticky menu bar: white at the top, a see-through shade of the logo blue once the page is scrolled */
.header { transition: background .3s, border-color .3s, box-shadow .3s; }
.logo img { transition: filter .3s; }
.header.scrolled { background: rgba(47, 55, 200, .86); border-color: rgba(255,255,255,.12); box-shadow: 0 6px 24px rgba(14,26,74,.25); }
.header.scrolled .logo img { filter: brightness(0) invert(1); }
.header.scrolled .header-phone { color: #fff; }
.header.scrolled .header-phone svg { color: var(--accent); }
.header.scrolled .header-search { background: rgba(255,255,255,.16); }
.header.scrolled .header-search:focus-within { background: rgba(255,255,255,.26); border-color: rgba(255,255,255,.6); }
.header.scrolled .header-search input { color: #fff; }
.header.scrolled .header-search input::placeholder { color: rgba(255,255,255,.85); }
.header.scrolled .header-search button { color: #fff; }
.header.scrolled .header-search button:hover { color: var(--accent); }
.header.scrolled .header-cta { background: #fff; color: var(--brand-dark); box-shadow: 0 8px 20px rgba(14,26,74,.25); }
.header.scrolled .header-cta:hover { background: var(--accent); color: var(--ink); }
.header.scrolled .burger { background: rgba(255,255,255,.16); }
.header.scrolled .burger span { background: #fff; }
.nav-open .header .burger { background: var(--soft); }
.nav-open .header .burger span { background: var(--ink); }
@media (min-width: 1181px) {
  .header.scrolled .menu > li > a { color: #fff; }
  .header.scrolled .menu > li > a:hover, .header.scrolled .menu > li:focus-within > a { background: rgba(255,255,255,.14); }
  .header.scrolled .menu > li.current > a { color: #fff; background: rgba(255,255,255,.22); }
}
@media (max-width: 1180px) {
  .header.scrolled { background: rgba(47, 55, 200, .95); }
}

/* Sections */
.section { padding: 88px 0; }
.section.soft { background: var(--soft); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.section-head p { margin: 12px 0 0; max-width: 560px; }
@media (max-width: 767px) { .section { padding: 64px 0; } .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 28px; } }

/* Hero */
.hero { position: relative; padding: 72px 0 120px; background: radial-gradient(1000px 500px at 85% 10%, #e3e6ff 0, transparent 60%), linear-gradient(180deg, #fbfbff, #f2f3fc); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1, .hero .h1 { font-size: clamp(36px, 5.2vw, 60px); font-weight: 800; }
/* Home slider */
.slides { display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateX(24px); transition: opacity .7s ease, transform .7s ease, visibility .7s; }
.slide.active { opacity: 1; visibility: visible; transform: none; }
.slider-controls { display: flex; align-items: center; gap: 14px; margin-top: 36px; }
.slider-prev, .slider-next { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 18px; box-shadow: var(--shadow); transition: background .2s, color .2s; }
.slider-prev svg { transform: scaleX(-1); }
.slider-prev:hover, .slider-next:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.slider-dots { display: flex; gap: 8px; }
.slider-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: #c9cdf0; transition: width .3s, background .3s; }
.slider-dots button.active { width: 30px; background: var(--brand); }
.hero .stats { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; transform: none; } }
.hero .lead { font-size: 18px; margin: 22px 0 32px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.stats { list-style: none; padding: 0; margin: 44px 0 0; display: flex; flex-wrap: wrap; gap: 36px; }
.stats strong { display: block; font-family: var(--head); font-size: 30px; color: var(--ink); line-height: 1.1; }
.stats span { font-size: 14px; color: var(--muted); }
.hero-media { position: relative; }
.hero-photo { border-radius: 40px 40px 40px 140px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 1 / 1; background: var(--soft-2); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::before { content: ""; position: absolute; inset: -18px -18px auto auto; width: 140px; height: 140px; border-radius: 50%; background: var(--accent); opacity: .9; z-index: -1; }
.hero-badge { position: absolute; left: -28px; bottom: 36px; display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); }
.hero-badge > svg { font-size: 30px; color: var(--brand); }
.hero-badge strong { display: block; color: var(--ink); font-size: 15px; line-height: 1.3; }
.hero-badge span { font-size: 13px; color: var(--muted); }
@media (max-width: 899px) {
  .hero { padding: 48px 0 96px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { max-width: 520px; }
  .hero-badge { left: 12px; bottom: 16px; }
}
@media (max-width: 599px) { .stats { gap: 22px; } .stats strong { font-size: 24px; } .hero .lead { font-size: 16px; } .hero-actions .btn { flex: 1 1 100%; } }

/* Quick actions */
.quick-section { margin-top: -64px; position: relative; z-index: 2; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.quick-card { display: flex; align-items: center; gap: 14px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--text); transition: transform .2s, box-shadow .2s, border-color .2s; }
.quick-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #cfd3f5; }
.quick-card > svg { margin-left: auto; color: var(--muted); }
.quick-text { display: flex; flex-direction: column; line-height: 1.4; font-size: 14px; }
.quick-text strong { color: var(--ink); font-size: 16px; font-family: var(--head); margin-bottom: 2px; }
.quick-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--soft-2); color: var(--brand); font-size: 22px; flex: none; }
.quick-icon.small { width: 40px; height: 40px; font-size: 18px; border-radius: 12px; }
@media (max-width: 1023px) { .quick { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .quick { grid-template-columns: 1fr; } }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft-2); }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px; flex: 1; }
.product-body h3 { font-size: 20px; }
.product-body h3 a { color: var(--ink); }
.product-body p { font-size: 15px; margin: 0; flex: 1; }
@media (max-width: 1023px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .product-grid { grid-template-columns: 1fr; } }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.split-text h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 18px; }
.split-text strong { color: var(--ink); }
.checks { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li > svg { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--brand); color: #fff; margin-top: 2px; }
.checks strong { display: block; color: var(--ink); }
.checks div span { font-size: 15px; }
@media (max-width: 899px) { .split { grid-template-columns: 1fr; gap: 36px; } }

/* Promo (OSA) */
.promo { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; padding: 56px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--brand-dark), var(--brand) 60%, #4b6cf0); color: #dfe3ff; overflow: hidden; position: relative; }
.promo::after { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -160px; border-radius: 50%; background: rgba(255,255,255,.08); }
.promo h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); margin-bottom: 16px; }
.promo p { margin-bottom: 26px; }
.promo-media { position: relative; z-index: 1; }
.promo-media img { border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,.25); }
@media (max-width: 899px) { .promo { grid-template-columns: 1fr; padding: 36px 24px; } }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-grid.two { grid-template-columns: repeat(2, 1fr); margin-top: 32px; }
.news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft-2); }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-img img, .news-feature:hover .news-img img { transform: scale(1.04); }
.news-body { padding: 22px; }
.news-body time { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.news-body h3 { font-size: 19px; line-height: 1.35; margin-bottom: 10px; }
.news-body h3 a, .news-body h2 a { color: var(--ink); }
.news-body h3 a:hover, .news-body h2 a:hover { color: var(--brand); }
.news-body p { font-size: 15px; margin: 0; }
.news-feature { display: grid; grid-template-columns: 1.2fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.news-feature .news-img { aspect-ratio: auto; min-height: 340px; }
.news-feature .news-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; }
.news-feature h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 8px; }
.news-feature p { margin-bottom: 16px; }
@media (max-width: 1023px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .news-grid, .news-grid.two, .news-feature { grid-template-columns: 1fr; } .news-feature .news-img { min-height: 220px; } .news-feature .news-body { padding: 24px; } }

/* CTA */
.cta-section { padding-top: 0; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 48px 56px; border-radius: var(--radius-lg); background: var(--navy); color: #c9cde6; }
.cta h2 { color: #fff; font-size: clamp(24px, 2.8vw, 32px); margin-bottom: 8px; }
.cta p { margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 899px) { .cta { flex-direction: column; align-items: flex-start; padding: 36px 24px; } }

/* Footer */
.footer { background: var(--navy); color: #b8bdd9; padding-top: 72px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-logo img { width: 150px; filter: brightness(0) invert(1); }
.footer-brand p { margin: 18px 0; max-width: 300px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: #dfe2f4; }
.footer a:hover { color: #fff; }
.footer-contact { margin: 0; display: grid; gap: 4px; }
.footer-contact dt { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: 14px; }
.footer-contact dt:not(:first-child) { margin-top: 10px; }
.footer-contact dt svg { color: var(--accent); }
.footer-contact dd { margin: 0 0 0 22px; line-height: 1.55; }
.social { list-style: none; padding: 0; margin: 0; display: flex !important; gap: 10px; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; }
.social a:hover { background: var(--brand); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.footer-bottom p { margin: 0; }
@media (max-width: 1023px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.whatsapp { position: fixed; right: 18px; bottom: 18px; z-index: 70; width: 56px; height: 56px; border-radius: 50%; background: var(--green); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(37,211,102,.4); transition: transform .2s; }
.whatsapp svg { width: 32px; height: 32px; }
.whatsapp:hover { transform: scale(1.07); }

/* Inner pages */
.page-hero { padding: 56px 0 60px; background: radial-gradient(800px 300px at 90% 0, #e3e6ff 0, transparent 60%), linear-gradient(180deg, #fbfbff, #f2f3fc); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; max-width: 900px; }
.page-hero p { margin: 14px 0 0; font-size: 18px; max-width: 640px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.crumbs span { margin: 0 4px; }
.prose { color: var(--text); }
.prose h2 { font-size: 26px; margin: 40px 0 14px; }
.prose .lead { font-size: 19px; color: var(--ink); line-height: 1.6; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { text-align: center; padding: 32px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: box-shadow .2s, transform .2s; }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pillar img { width: 120px; margin: 0 auto 18px; }
.pillar-icon { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 20px; background: var(--soft-2); color: var(--brand); font-size: 32px; }
.pillar h3 { font-size: 22px; margin-bottom: 8px; }
.pillar p { margin: 0; }
@media (max-width: 767px) { .pillars { grid-template-columns: 1fr; } }

.story { display: grid; grid-template-columns: 1fr 300px; gap: 64px; align-items: start; }
.story-text > .lead:first-child { margin-top: 0; }
.story-side { position: sticky; top: 110px; }
.story-side img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
@media (max-width: 899px) { .story { grid-template-columns: 1fr; } .story-side { position: static; max-width: 320px; } }

.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.post-meta svg + span, .post-meta svg + time { margin-right: 12px; }
.post-img { width: 100%; border-radius: var(--radius-lg); margin-bottom: 32px; }
.back { margin-top: 16px; }

.csr-card { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--soft); border: 1px solid var(--line); color: inherit; transition: box-shadow .2s; }
.csr-card:hover { box-shadow: var(--shadow-lg); }
.csr-img img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.csr-body { padding: 48px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; }
.csr-body h2 { font-size: clamp(26px, 3vw, 36px); }
@media (max-width: 767px) { .csr-card { grid-template-columns: 1fr; } .csr-img img { min-height: 220px; } .csr-body { padding: 28px 24px; } }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 500; font-size: 15px; }
.chip:hover { border-color: var(--brand); }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.photo { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--soft-2); }
.photo[hidden] { display: none; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.photo span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; color: #fff; font-size: 14px; font-weight: 500; background: linear-gradient(transparent, rgba(14,26,74,.75)); opacity: 0; transition: opacity .2s; }
.photo:hover img { transform: scale(1.05); }
.photo:hover span, .photo:focus span { opacity: 1; }
@media (max-width: 899px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 499px) { .photo-grid { grid-template-columns: 1fr; } .photo span { opacity: 1; } }
.lightbox { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 20px; background: rgba(8,12,34,.92); }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1000px, 100%); }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 12px; }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 12px; }
.lightbox button { border: 0; background: rgba(255,255,255,.12); color: #fff; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 20px; }
.lightbox .lb-close { position: absolute; top: 16px; right: 16px; font-size: 28px; }
.lb-prev svg { transform: scaleX(-1); }
@media (max-width: 599px) { .lb-prev, .lb-next { position: absolute; bottom: 20px; } .lb-prev { left: 30%; } .lb-next { right: 30%; } }

.product-rows { display: grid; gap: 72px; }
.product-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; scroll-margin-top: 110px; }
.product-row.flip .product-row-img { order: 2; }
.product-row-img img { border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.product-row h2 { font-size: clamp(26px, 3vw, 36px); margin: 12px 0 14px; }
.product-row p { font-size: 17px; margin-bottom: 24px; }
@media (max-width: 767px) { .product-row { grid-template-columns: 1fr; gap: 24px; } .product-row.flip .product-row-img { order: 0; } .product-rows { gap: 48px; } }

.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); line-height: 1.5; transition: box-shadow .2s, transform .2s; }
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.contact-card strong { color: var(--ink); font-family: var(--head); font-size: 17px; margin-top: 6px; }
.contact-card span:last-child { font-size: 15px; }
@media (max-width: 1023px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 499px) { .contact-cards { grid-template-columns: 1fr; } }
#claim { scroll-margin-top: 90px; }
.form { display: grid; gap: 16px; padding: 32px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.form label { display: grid; gap: 6px; font-weight: 500; color: var(--ink); font-size: 14px; }
.form input, .form textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); color: var(--ink); }
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(47,55,200,.12); }
.form .btn { justify-self: start; }
.branch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.branch { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); line-height: 1.45; }
.branch strong { display: block; color: var(--ink); }
.branch span { font-size: 14px; color: var(--muted); }
@media (max-width: 899px) { .branch-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .branch-grid { grid-template-columns: 1fr; } .form { padding: 22px; } }

.faq details { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; background: #fff; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; font-family: var(--head); font-weight: 700; color: var(--ink); font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--soft-2); flex: none; }
.faq .plus::before, .faq .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--brand); transition: transform .2s; }
.faq .plus::after { transform: rotate(90deg); }
.faq details[open] .plus::after { transform: rotate(0); }
.faq details p { padding: 0 24px 20px; margin: 0; }

.search-big { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 18px; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); color: var(--muted); font-size: 20px; }
.search-big input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 17px; color: var(--ink); min-width: 0; background: transparent; }
.results { margin-top: 28px; }
.results ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.results li a { display: block; padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); font-weight: 500; }
.results li a:hover { border-color: var(--brand); color: var(--brand); }

/* Sign-up strip under products */
.signup-strip { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding: 16px 22px; border-radius: var(--radius); background: var(--soft-2); color: var(--ink); font-weight: 500; }
.signup-strip strong { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--brand); white-space: nowrap; }
.signup-strip:hover strong svg { transform: translateX(3px); }
@media (max-width: 599px) { .signup-strip { flex-wrap: wrap; } .signup-strip strong { margin-left: 54px; } }

/* News: journey timeline + branches card */
.journey { display: grid; grid-template-columns: 1fr 280px; gap: 56px; align-items: start; }
.journey-title { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 32px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 2px solid #d5d9f5; display: grid; gap: 32px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -36px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 5px var(--soft-2); }
.timeline .year { display: none; }
.timeline h3 { font-size: 24px; margin-bottom: 6px; }
.timeline p { margin: 0; max-width: 620px; }
.side-card { position: sticky; top: 110px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.side-card h4 { font-size: 18px; margin-bottom: 14px; }
.side-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.side-card a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--ink); }
.side-card a:hover { background: var(--soft); color: var(--brand); }
.side-card svg { color: var(--brand); }
@media (max-width: 899px) { .journey { grid-template-columns: 1fr; } .side-card { position: static; } }

/* Header search box */
.header-search { display: flex; align-items: center; height: 42px; border-radius: 999px; background: var(--soft); border: 1px solid transparent; transition: border-color .2s, background .2s; }
.header-search:focus-within { background: #fff; border-color: var(--brand); }
.header-search input { width: 110px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 14px; color: var(--ink); padding: 0 0 0 16px; transition: width .25s; }
.header-search input:focus { width: 170px; }
.header-search button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font-size: 17px; }
.header-search button:hover { color: var(--brand); }
@media (max-width: 1299px) { .header-search input { width: 86px; } .header-search input:focus { width: 130px; } }
@media (max-width: 599px) { .header-search { display: none; } }

/* Management & Board */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.person { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.person:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.person-photo { aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--soft-2), #dfe3ff); display: grid; place-items: center; overflow: hidden; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.avatar { display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-dark), var(--brand)); color: #fff; font-family: var(--head); font-weight: 800; font-size: 38px; letter-spacing: .02em; box-shadow: 0 12px 30px rgba(47,55,200,.3); }
.person-body { padding: 22px 24px 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.person-body h3 { font-size: 20px; }
.person-body p { margin: 4px 0 0; font-size: 15px; }
@media (max-width: 1023px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .team-grid { grid-template-columns: 1fr; } }
/* Whole card opens the profile; social icons stay separately clickable */
.person { position: relative; cursor: pointer; }
.person-link { color: var(--ink); }
.person-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.person:hover .person-link { color: var(--brand); }
.person:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.person-body { flex: 1; }
.person-body p { flex: 1; }
.person-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: 10px; }
.person:hover .person-foot .link-arrow svg { transform: translateX(3px); }
.person-social { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.person-social a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--soft-2); color: var(--brand-dark); font-size: 15px; transition: background .2s, color .2s; }
.person-social a:hover { background: var(--brand); color: #fff; }
.person-social.big a { width: 40px; height: 40px; font-size: 18px; }
/* Profile page */
.profile { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
.profile-side { position: sticky; top: 110px; display: grid; gap: 16px; }
.profile-photo { aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, var(--soft-2), #dfe3ff); box-shadow: var(--shadow); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.profile-photo .avatar { width: 150px; height: 150px; font-size: 52px; }
.profile-card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.profile-card strong { font-family: var(--head); font-size: 20px; color: var(--ink); }
.profile-group { font-size: 14px; color: var(--muted); }
.profile-card .person-social { margin-top: 6px; }
.profile-text > .lead:first-child { margin-top: 0; }
@media (max-width: 899px) { .profile { grid-template-columns: 1fr; gap: 32px; } .profile-side { position: static; grid-template-columns: 180px 1fr; align-items: center; } }
@media (max-width: 499px) { .profile-side { grid-template-columns: 1fr; } .profile-photo { max-width: 240px; } }

/* Menu: arrow on items with a dropdown, and a clear first link to the page itself */
.menu .caret { width: 16px; height: 16px; margin-left: 2px; vertical-align: -3px; opacity: .7; transition: transform .2s; }
.menu > li:hover > a .caret, .menu > li:focus-within > a .caret { transform: rotate(180deg); }
.sub .sub-overview a { display: grid; gap: 2px; padding: 10px 12px 12px; margin-bottom: 6px; background: var(--soft-2); border-radius: 10px; }
.sub .sub-overview strong { color: var(--brand-dark); font-size: 15px; }
.sub .sub-overview span { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); }
.sub .sub-overview a:hover { background: var(--brand); }
.sub .sub-overview a:hover strong, .sub .sub-overview a:hover span { color: #fff; }
@media (max-width: 1180px) { .menu .caret { display: none; } .sub .sub-overview a { margin: 4px 0 6px; } }

/* Products: home group links, What We Do tiles, product pages */
.category-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.category-link { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--text); transition: box-shadow .2s, transform .2s; }
.category-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.category-link strong { color: var(--ink); font-family: var(--head); font-size: 17px; }
.category-link span { font-size: 14px; color: var(--muted); }
.category-link svg { margin-left: auto; color: var(--brand); }
@media (max-width: 767px) { .category-links { grid-template-columns: 1fr; } }
.category-nav { margin: 28px 0 0; }
.product-category { scroll-margin-top: 90px; }
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: transform .2s, box-shadow .2s; scroll-margin-top: 110px; }
.product-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-icon { width: 76px; height: 76px; object-fit: contain; margin-bottom: 6px; }
.product-icon.big { width: 120px; height: 120px; }
.product-tile h3 { font-size: 20px; }
.product-tile h3 a { color: var(--ink); }
.product-tile h3 a:hover { color: var(--brand); }
.product-tile p { margin: 0; font-size: 15px; flex: 1; }
@media (max-width: 1023px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .tile-grid { grid-template-columns: 1fr; } .product-tile { padding: 22px; } }
.product-detail { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.product-detail-main { min-width: 0; }
.product-detail-main > .lead:first-child { margin-top: 0; }
.product-detail-side .side-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.product-detail-side .side-card p { margin: 0; font-size: 15px; }
.product-detail-side .btn { width: 100%; }
.side-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 899px) { .product-detail { grid-template-columns: 1fr; gap: 32px; } .product-detail-side .side-card { position: static; } }
