:root {
  --red: #e41937;
  --red-dark: #c4122c;
  --navy: #1f386b;
  --navy-mid: #1c325f;
  --navy-deep: #142343;
  --ink: #222222;
  --heading: #333333;
  --text: #666666;
  --muted: #8a8a8a;
  --line: #e6e6e6;
  --soft: #f6f7f8;
  --footer: #1b1d22;
  --footer-bottom: #121316;
  --band: #6e7d92;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(20, 35, 67, 0.08);
  --container: 1170px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--red); }
button, input, select, textarea { font-family: inherit; }
h1, h2, h3, h4, h5 {
  font-family: Montserrat, "Segoe UI", Arial, sans-serif;
  color: var(--heading);
  line-height: 1.3;
  font-weight: 700;
}
p { margin: 0 0 14px; }
ul { margin: 0; padding: 0; }
.topbar ul, .social, .link-list, .schedule, .expert-social { list-style: none; }

.container { width: min(var(--container), calc(100% - 30px)); margin: 0 auto; }
.skip {
  position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 12px; z-index: 300;
}
.skip:focus { left: 8px; }

/* Top bar */
.topbar { background: var(--red); color: #fff; font-size: 13px; }
.topbar-inner, .header-inner, .footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.topbar-inner { min-height: 42px; }
.topbar ul { display: flex; align-items: center; gap: 8px; list-style: none; flex-wrap: wrap; }
.topbar a, .topbar li { color: #fff; }
.topbar a:hover { color: #fff; opacity: 0.85; }
.topbar .sep { opacity: 0.7; }
.topbar svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 5px; fill: none; stroke: #fff; stroke-width: 1.8; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 80; background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 8px 18px rgba(0,0,0,.04);
}
.header-inner { min-height: 86px; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; }
.brand:hover { color: inherit; }
.brand-mark { width: 54px; height: 54px; flex: 0 0 54px; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.brand-name { display: block; font-family: Montserrat, Arial, sans-serif; font-weight: 800; font-size: 22px; letter-spacing: 0.3px; line-height: 1; }
.brand-name .a { color: var(--navy); }
.brand-name .b { color: var(--red); }
.brand-tag { display: block; margin-top: 4px; color: #8d8d8d; font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; }
.footer .brand-name .a, .footer .brand-tag { color: #d5d5d5; }
.footer .brand-mark .fig { fill: #fff; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: #333; font-family: Montserrat, Arial, sans-serif; font-size: 14px; font-weight: 600;
  padding: 9px 12px; border-radius: 3px;
}
.main-nav a:hover { color: var(--red); }
.main-nav a.active { background: var(--navy); color: #fff; }
.main-nav a.active:hover { color: #fff; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 0; background: var(--navy); padding: 11px 9px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; }

/* Hero */
.hero {
  position: relative;
  min-height: 620px;
  display: flex; align-items: center;
  background:
    linear-gradient(90deg, rgba(12, 24, 48, 0.86) 0%, rgba(12, 24, 48, 0.62) 46%, rgba(12, 24, 48, 0.18) 100%),
    url("../images/couple.jpg") center 30% / cover no-repeat;
  color: #fff;
}
.hero-copy { max-width: 640px; padding: 80px 0 120px; }
.hero h1 {
  margin: 0 0 8px; color: #fff; font-size: 54px; letter-spacing: 0.5px; text-transform: uppercase; line-height: 1.05;
}
.hero h1 span { color: #fff; display: block; font-size: 28px; letter-spacing: 2px; margin-top: 8px; font-weight: 600; }
.hero p { color: rgba(255,255,255,.92); font-size: 16px; max-width: 520px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

.btn {
  display: inline-block; border: 0; cursor: pointer; text-align: center;
  padding: 11px 18px; font-family: Montserrat, Arial, sans-serif; font-weight: 700; font-size: 13px;
  letter-spacing: 0.4px; text-transform: uppercase; border-radius: 2px;
}
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); color: #fff; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-white { background: #fff; color: var(--navy); border-radius: 20px; padding: 8px 18px; }
.btn-white:hover { background: var(--navy); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-sm { padding: 8px 14px; font-size: 12px; }
.more { color: #fff; font-weight: 700; font-size: 14px; }
.more:hover { color: #ffe1e6; }

.hero-boxes { margin-top: -90px; position: relative; z-index: 3; padding-bottom: 10px; }
.box-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.box { color: #fff; padding: 32px 28px 36px; min-height: 270px; }
.box.dark { background: var(--navy-mid); }
.box.mid { background: var(--navy); }
.box h3 { color: #fff; margin: 0 0 14px; text-transform: uppercase; font-size: 22px; }
.box p { color: rgba(255,255,255,.92); }
.schedule { list-style: none; margin: 0 0 16px; }
.schedule li {
  display: flex; justify-content: space-between; gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,.18); padding: 8px 0; color: #fff; font-size: 14px;
}

/* Sections */
.section { padding: 70px 0; }
.section.tight { padding: 50px 0 30px; }
.sec-title { text-align: center; max-width: 760px; margin: 0 auto 34px; }
.sec-title h2, .block-title {
  text-transform: uppercase; font-size: 32px; margin: 0 0 12px; color: #2b2b2b;
}
.sec-title h2 span, .block-title span, .red { color: var(--red); }
.sec-title p { color: #777; }
.underline { width: 54px; height: 2px; background: var(--navy); margin: 12px auto 0; }
.underline.left { margin-left: 0; background: #fff; }

.split { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 36px; align-items: start; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.lead { font-size: 16px; color: #555; }

.photo-card img { width: 100%; height: 210px; object-fit: cover; }
.photo-card h3 { margin: 12px 0 8px; font-size: 20px; letter-spacing: 0.4px; }
.photo-card h3 span { color: var(--red); }

.care-side { border: 10px solid #f3f3f3; padding: 6px 18px 10px; background: #fff; }
.care-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid #f0f0f0; }
.care-item:last-child { border-bottom: 0; }
.ico {
  width: 54px; height: 54px; border-radius: 50%; border: 1px solid #c5d0e4; color: var(--navy);
  display: grid; place-items: center; flex: 0 0 54px; background: #fff;
}
.ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.care-item h3 { margin: 2px 0 4px; font-size: 16px; }
.care-item h3 a { color: var(--heading); }
.care-item p { margin: 0; font-size: 14px; color: #888; }

.why { display: grid; grid-template-columns: 1fr 1fr; }
.why-copy { background: var(--navy); color: #fff; padding: 72px 64px; }
.why-copy h2 { color: #fff; text-transform: uppercase; margin: 0 0 8px; font-size: 32px; }
.why-item { display: flex; gap: 18px; margin-top: 26px; }
.why-item .big {
  width: 64px; flex: 0 0 64px; color: #fff;
}
.why-item .big svg { width: 52px; height: 52px; fill: none; stroke: #fff; stroke-width: 1.6; }
.why-item h3 { color: #fff; margin: 0 0 6px; font-size: 18px; letter-spacing: 0.4px; }
.why-item p { color: rgba(255,255,255,.9); margin: 0; }
.why-photo { min-height: 520px; background: url("../images/pex-senior1.jpg") center / cover no-repeat; }

/* Services */
.service-card { background: #fff; border: 1px solid #ececec; height: 100%; display: flex; flex-direction: column; }
.service-card img { width: 100%; height: 190px; object-fit: cover; }
.service-card .body { background: var(--navy); color: #fff; text-align: center; padding: 18px 16px 20px; flex: 1; }
.service-card h3 { margin: 0 0 8px; font-size: 16px; text-transform: uppercase; }
.service-card h3 a { color: #fff; }
.service-card p { color: rgba(255,255,255,.9); font-size: 14px; margin: 0; }
.carousel { overflow: hidden; }
.carousel-track { display: flex; transition: transform .45s ease; }
.carousel-track > * { flex: 0 0 33.333%; padding: 0 10px; }
.dots { display: flex; justify-content: center; gap: 7px; margin-top: 18px; }
.dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: #d0d0d0; padding: 0; cursor: pointer; }
.dots button.on { background: var(--navy); }

.stats {
  background:
    linear-gradient(rgba(96, 96, 96, 0.84), rgba(96, 96, 96, 0.84)),
    url("../images/senior-woman.jpg") center / cover no-repeat;
  color: #fff; padding: 58px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.stats svg { width: 42px; height: 42px; stroke: #fff; fill: none; stroke-width: 1.6; }
.stats .num { font-family: Montserrat, Arial, sans-serif; font-size: 40px; font-weight: 500; margin: 8px 0 0; color: #fff; }
.stats h3 { color: #fff; font-size: 16px; letter-spacing: 0.6px; text-transform: uppercase; margin: 4px 0 0; font-weight: 600; }

.expert {
  border: 1px solid #ececec; background: #fff; height: 100%;
}
.expert img { width: 100%; height: 280px; object-fit: cover; object-position: center top; }
.expert-social { background: var(--navy); display: flex; justify-content: center; gap: 8px; padding: 10px; }
.expert-social a, .social a {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45);
  display: grid; place-items: center; color: #fff;
}
.expert-social a:hover, .social a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.expert-social svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.social svg { width: 14px; height: 14px; fill: currentColor; }
.expert .pad { padding: 16px 16px 20px; text-align: center; }
.expert h3 { margin: 0 0 8px; font-size: 18px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.events {
  background:
    linear-gradient(rgba(20, 22, 28, 0.82), rgba(20, 22, 28, 0.82)),
    url("../images/care4.jpg") center / cover no-repeat;
  padding: 70px 0 40px;
}
.events .sec-title h2, .events .sec-title p, .band h2, .band p { color: #fff; }
.event {
  display: grid; grid-template-columns: 180px 1fr; background: var(--red); color: #fff; min-height: 180px; margin-bottom: 22px;
}
.event-photo { position: relative; min-height: 180px; }
.event-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.date-badge { position: absolute; left: 10px; bottom: 10px; width: 54px; text-align: center; z-index: 1; }
.date-badge strong, .date-badge span { display: block; }
.date-badge strong { background: #f3f3f3; color: #333; padding: 6px 0 4px; font-size: 16px; }
.date-badge span { background: var(--navy); color: #fff; font-size: 11px; letter-spacing: 0.6px; text-transform: uppercase; padding: 4px 0; }
.event-copy { padding: 22px 18px; }
.event-copy h3 { margin: 0 0 8px; font-size: 18px; }
.event-copy h3 a, .event-copy p, .event-copy .meta { color: #fff; }
.event-copy .meta { font-size: 13px; opacity: 0.95; margin-bottom: 8px; }
.event-copy .go { color: #fff; font-weight: 700; }

.filters { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.filters button {
  background: none; border: 0; border-bottom: 2px solid transparent; color: #555;
  font-family: Montserrat, Arial, sans-serif; font-weight: 700; padding: 6px 10px; cursor: pointer;
}
.filters button.on { color: var(--navy); border-color: var(--red); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
button.g-item { border: 0; padding: 0; background: transparent; cursor: pointer; font: inherit; color: #fff; width: 100%; }
.g-item { position: relative; overflow: hidden; aspect-ratio: 1; background: #ddd; display: block; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.g-item:hover img { transform: scale(1.06); }
.g-item .shade {
  position: absolute; inset: 0; background: rgba(31, 56, 107, 0.62);
  color: #fff; display: grid; place-items: center; text-align: center; padding: 10px;
  opacity: 0; transition: opacity .25s ease; font-family: Montserrat, Arial, sans-serif; font-weight: 700;
}
.g-item:hover .shade, .g-item:focus .shade { opacity: 1; }
.g-item.hide { display: none; }

.quotes {
  background:
    linear-gradient(rgba(70, 74, 80, 0.88), rgba(70, 74, 80, 0.88)),
    url("../images/pex-care1.jpg") center / cover no-repeat;
  padding: 70px 0;
}
.quote {
  background: var(--red); color: #fff; padding: 54px 22px 22px; text-align: left; position: relative; margin-top: 36px; min-height: 250px;
}
.quote img {
  width: 74px; height: 74px; border-radius: 50%; object-fit: cover; border: 4px solid #fff;
  position: absolute; top: -32px; left: 22px;
}
.quote h3, .quote .role, .quote p { color: #fff; }
.quote h3 { margin: 8px 0 0; font-size: 18px; }
.quote .role { margin: 0 0 10px; font-size: 13px; opacity: 0.9; font-weight: 600; }
.quote p { font-style: italic; margin: 0; }

.news-card { background: #fff; border: 1px solid #eee; height: 100%; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.news-card img { width: 100%; height: 190px; object-fit: cover; }
.news-card .pad { padding: 16px 16px 8px; flex: 1; }
.news-card h3 { margin: 0 0 8px; font-size: 18px; text-transform: none; }
.news-meta {
  background: var(--navy); color: #fff; text-align: center; padding: 10px 8px; font-size: 13px;
}
.news-meta span { margin: 0 8px; }

.partners { background: var(--navy); color: #fff; padding: 18px 0; }
.partner-row {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-family: Montserrat, Arial, sans-serif; font-weight: 700; letter-spacing: 0.8px;
  text-transform: uppercase; font-size: 13px; opacity: 0.95;
}

/* Page banner */
.page-banner {
  background:
    linear-gradient(rgba(20, 24, 34, 0.62), rgba(20, 24, 34, 0.62)),
    url("../images/senior-woman.jpg") center 30% / cover no-repeat;
  text-align: center; padding: 78px 0 70px; color: #fff;
}
.page-banner h1 { color: #fff; margin: 0; font-size: 42px; font-weight: 600; }
.crumbs { margin-top: 8px; color: rgba(255,255,255,.8); font-size: 13px; }
.crumbs a { color: #fff; }
.crumbs span { margin: 0 6px; opacity: 0.8; }

/* Footer */
.footer {
  background-color: var(--footer);
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 22px 22px;
  color: #c7c7c7; padding: 60px 0 30px;
  position: relative;
}
.footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.18;
  background: radial-gradient(circle at 20% 40%, transparent 0 40px, rgba(255,255,255,.08) 41px 42px, transparent 43px),
    radial-gradient(circle at 70% 50%, transparent 0 70px, rgba(255,255,255,.06) 71px 72px, transparent 73px);
}
.footer .container { position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 0.8fr 1fr; gap: 28px; }
.footer h3 { color: #fff; font-size: 18px; margin: 0 0 16px; position: relative; padding-bottom: 10px; }
.footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--red); }
.footer p { color: #bdbdbd; }
.footer a { color: #cfcfcf; }
.footer a:hover { color: var(--red); }
.link-list { list-style: none; }
.link-list li { border-bottom: 1px dotted rgba(255,255,255,.16); }
.link-list a { display: block; padding: 8px 0; }
.mini-post { display: flex; gap: 10px; margin-bottom: 12px; }
.mini-post img { width: 72px; height: 52px; object-fit: cover; flex: 0 0 72px; }
.mini-post h4 { margin: 0 0 3px; font-size: 14px; font-weight: 600; }
.mini-post time { color: #8e8e8e; font-size: 12px; }
.social { display: flex; gap: 6px; margin-top: 16px; }
.social a { border-radius: 2px; border: 0; width: 32px; height: 32px; }
.social a.fb { background: #3b5998; }
.social a.tw { background: #02b0e8; }
.social a.li { background: #0a66c2; }
.social a.ig { background: #25d366; }
.social a.yt { background: #c22e2a; }
.news-inline { display: flex; margin-top: 8px; }
.news-inline input {
  flex: 1; border: 0; padding: 10px 12px; min-width: 0;
}
.news-inline button { width: 44px; border: 0; background: var(--navy); color: #fff; cursor: pointer; display: grid; place-items: center; }
.news-inline button svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 1.8; }
.footer-note { color: #9ad29a; font-size: 13px; margin-top: 8px; display: none; }
.footer-note.show { display: block; }
.footer-bottom { background: var(--footer-bottom); color: #9a9a9a; font-size: 12px; }
.footer-bottom-inner { min-height: 54px; }
.footer-bottom a { color: #cfcfcf; }
.footer-bottom .sep { margin: 0 8px; color: #666; }
.legal-links { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; }

.to-top {
  position: fixed; right: 16px; bottom: 16px; width: 40px; height: 40px; border: 0;
  background: var(--navy); color: #fff; cursor: pointer; display: none; z-index: 70; font-size: 20px;
}
.to-top.show { display: grid; place-items: center; }

/* Inner layouts */
.prose h2 { font-size: 24px; margin: 28px 0 10px; color: var(--navy); text-transform: none; }
.prose h3 { font-size: 18px; margin: 20px 0 8px; }
.prose p, .prose li { color: #555; }
.prose ul, .prose ol { padding-left: 20px; margin: 0 0 14px; }
.prose li { margin: 6px 0; }
.layout { display: grid; grid-template-columns: 280px 1fr; gap: 30px; align-items: start; }
.layout.flip { grid-template-columns: 1fr 300px; }
.side-box { background: #fff; border: 1px solid var(--line); padding: 18px; margin-bottom: 18px; }
.side-box h3 { margin: 0 0 12px; font-size: 16px; color: var(--red); text-transform: uppercase; }
.side-box a { display: block; padding: 8px 0; border-bottom: 1px solid #f0f0f0; color: #555; }
.side-box button.linkish {
  display: block; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid #f0f0f0;
  padding: 8px 0; color: #555; cursor: pointer;
}
.side-box button.linkish.on { color: var(--red); font-weight: 700; }

.doc {
  display: grid; grid-template-columns: 230px 1fr; gap: 18px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.doc img { width: 100%; height: 170px; object-fit: cover; object-position: center top; }
.doc h2 { margin: 0 0 4px; font-size: 22px; }
.stars { color: #e2a100; letter-spacing: 2px; font-size: 14px; }
.price-line { color: var(--navy); font-weight: 700; margin: 6px 0; }
.profile { scroll-margin-top: 100px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.profile-head { display: grid; grid-template-columns: 180px 1fr; gap: 18px; margin-bottom: 10px; }
.profile-head img { width: 100%; height: 180px; object-fit: cover; object-position: center top; }

.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.plan { display: grid; grid-template-columns: 1fr 1fr; background: #fff; box-shadow: var(--shadow); min-height: 230px; }
.plan img { width: 100%; height: 100%; object-fit: cover; min-height: 230px; }
.plan-body { background: var(--red); color: #fff; text-align: center; padding: 28px 16px; display: flex; flex-direction: column; justify-content: center; }
.plan-body .amount { font-family: Montserrat, Arial, sans-serif; font-size: 42px; font-weight: 700; color: #fff; line-height: 1; }
.plan-body h3 { color: #fff; margin: 8px 0 12px; font-size: 22px; }
.plan-body .per { display: block; font-size: 13px; font-weight: 500; opacity: 0.9; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--soft); }
.tile { text-align: center; padding: 42px 18px; }
.tile .ico { margin: 0 auto 10px; width: 64px; height: 64px; }
.tile h3 { margin: 8px 0; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; }
.contact-grid h2 { margin-top: 0; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }

.form-card { background: #fff; border: 1px solid var(--line); }
.form-card h3.bar, .panel-head {
  margin: 0; background: var(--navy); color: #fff; padding: 14px 16px; text-transform: uppercase; font-size: 18px;
}
.form-body { padding: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; color: #333; margin-bottom: 6px; font-size: 14px; }
.req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid #ddd; background: #fff; color: #333; padding: 11px 12px; font-size: 14px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid rgba(31,56,107,.25); border-color: var(--navy); }
.field.has-error input:not([type="checkbox"]),
.field.has-error select,
.field.has-error textarea { border-color: var(--red); }
.err { color: var(--red); font-size: 12px; min-height: 16px; display: block; }
.field label.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.45;
  color: #444;
  cursor: pointer;
}
.field label.check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  flex: 0 0 18px;
  margin: 1px 0 0;
  padding: 0;
  accent-color: var(--navy);
}
.field.has-error label.check input[type="checkbox"] {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
.success {
  display: none; background: #f3fbf4; border: 1px solid #b7e0bc; color: #176b32;
  padding: 16px 18px; font-weight: 700; margin-bottom: 14px;
}
.success.show { display: block; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.empty { padding: 18px; background: var(--soft); color: #555; }

.band {
  background: var(--band); text-align: center; padding: 54px 16px; color: #fff;
}
.band h2 { font-size: 32px; font-weight: 500; margin: 0 0 8px; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
.feature { display: flex; gap: 12px; }
.feature h3 { margin: 0 0 4px; font-size: 16px; }
.feature p { margin: 0; }

.article-hero { width: 100%; height: 360px; object-fit: cover; margin-bottom: 18px; }
.meta-line { color: #888; font-size: 13px; margin-bottom: 12px; }
.narrow { max-width: 760px; margin: 0 auto; }
.center-card { max-width: 680px; margin: 0 auto; background: #fff; box-shadow: var(--shadow); }

.lb {
  position: fixed; inset: 0; background: rgba(0,0,0,.88); display: none; z-index: 200; place-items: center; padding: 20px;
}
.lb.open { display: grid; }
.lb img { max-width: min(1000px, 94vw); max-height: 86vh; }
.lb button {
  position: absolute; top: 14px; right: 14px; background: var(--red); color: #fff; border: 0; width: 40px; height: 40px; cursor: pointer; font-size: 22px;
}
.lb figcaption { color: #fff; margin-top: 8px; text-align: center; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { background: var(--soft); padding: 18px; border-top: 3px solid var(--red); }
.step strong { display: block; color: var(--navy); font-family: Montserrat, Arial, sans-serif; margin-bottom: 6px; }

@media (max-width: 992px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; flex-direction: column; align-items: stretch; padding: 8px 16px 16px;
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
  }
  .main-nav.open { display: flex; }
  .header-inner { position: relative; }
  .split, .why, .layout, .layout.flip, .contact-grid, .plan, .doc, .profile-head, .cards-3, .footer-grid, .box-grid, .stats-grid, .plan-grid, .tiles, .steps {
    grid-template-columns: 1fr;
  }
  .cards-2, .two, .grid-2, .feature-grid { grid-template-columns: 1fr; }
  .carousel-track > * { flex-basis: 100%; }
  .hero { min-height: 520px; }
  .hero h1 { font-size: 38px; }
  .hero-boxes { margin-top: 0; }
  .why-copy { padding: 36px 22px; }
  .why-photo { min-height: 280px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom-inner, .legal-links { justify-content: center; text-align: center; }
  .event { grid-template-columns: 1fr; }
  .event-photo { min-height: 180px; position: relative; }
  .event-photo img { position: relative; height: 180px; }
}

@media (max-width: 640px) {
  .topbar-inner { flex-direction: column; align-items: flex-start; padding: 8px 0; }
  .brand-name { font-size: 16px; }
  .hero h1 { font-size: 30px; }
  .hero h1 span { font-size: 18px; }
  .page-banner h1, .sec-title h2 { font-size: 28px; }
  .stats-grid, .gallery-grid { grid-template-columns: 1fr; }
  .partner-row { justify-content: center; text-align: center; }
}
