/* YBLPay — shared site styles */

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

:root {
  --brand: #1583AF;
  --brand-dark: #0F6A8F;
  --brand-deep: #0B4E6E;
  --brand-light: #EAF4FA;
  --ink: #10161C;
  --muted: #5B6672;
  --muted-2: #8A93A0;
  --muted-3: #9AA3AF;
  --border: #EEF1F4;
  --border-2: #E7EEF3;
  --surface: #F4F6F8;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #FFFFFF;
  color: var(--ink);
  font-family: 'Manrope', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: 'Manrope', Helvetica, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

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

::selection { background: #CFE8F4; color: var(--ink); }

@keyframes yp-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .3; transform: scale(.75); }
}

.page-bg {
  min-height: 100vh;
  background:
    radial-gradient(1100px 620px at 80% -10%, #E1F1F9 0%, rgba(225,241,249,0) 62%),
    radial-gradient(900px 560px at -5% 38%, #F1F8FB 0%, rgba(241,248,251,0) 58%),
    radial-gradient(1200px 700px at 90% 62%, #EAF4FA 0%, rgba(234,244,250,0) 55%),
    radial-gradient(1000px 640px at 6% 88%, #F1F8FB 0%, rgba(241,248,251,0) 55%),
    linear-gradient(180deg, #FFFFFF 0%, #FBFDFE 45%, #F6FAFC 100%);
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  padding: 6px 20px;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.logo { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; min-width: 0; }
.logo-img { height: clamp(72px, 9vw, 96px); width: auto; display: block; }

.burger {
  display: none;
  width: 48px; height: 48px; flex: 0 0 auto;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  border-radius: 14px; border: 1px solid var(--border-2); background: #FFFFFF;
  cursor: pointer; padding: 0;
}
.burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); }

nav.main-nav {
  display: flex; align-items: center; gap: 4px; flex-wrap: wrap;
}
nav.main-nav a.nav-link {
  padding: 11px 16px; border-radius: 999px; font-size: 15px; font-weight: 600; color: #4B5563;
}
nav.main-nav a.nav-link:hover { background: var(--surface); color: var(--ink); }
nav.main-nav a.nav-link.active { background: var(--surface); color: var(--ink); }
nav.main-nav a.nav-cta {
  margin-left: 8px; padding: 14px 24px; min-height: 48px;
  display: inline-flex; align-items: center; border-radius: 999px;
  background: var(--brand); color: #FFFFFF; font-weight: 700; font-size: 15px;
}
nav.main-nav a.nav-cta:hover { background: var(--brand-dark); color: #FFFFFF; }

@media (max-width: 899px) {
  .burger { display: flex; }
  nav.main-nav {
    display: none; order: 3; width: 100%;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 8px 0 6px;
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a.nav-cta {
    margin-top: 6px; margin-left: 0; padding: 16px 24px; min-height: 54px;
    justify-content: center; font-size: 16px;
  }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 16px 30px; border-radius: 999px;
  font-weight: 700; font-size: 17px;
}
.btn-primary { background: var(--brand); color: #FFFFFF; }
.btn-primary:hover { background: var(--brand-dark); color: #FFFFFF; }
.btn-secondary { background: var(--surface); color: var(--ink); }
.btn-secondary:hover { background: var(--brand-light); color: var(--brand-dark); }
.btn-white { background: #FFFFFF; color: var(--brand-dark); }
.btn-white:hover { background: var(--brand-light); color: var(--brand-dark); }
.btn-ghost-light { background: rgba(255,255,255,0.14); color: #FFFFFF; }
.btn-ghost-light:hover { background: rgba(255,255,255,0.26); color: #FFFFFF; }

/* Eyebrow / pill */
.pill {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px; border-radius: 999px; background: var(--brand-light);
  font-size: 13px; font-weight: 700; color: var(--brand-dark);
}
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); animation: yp-pulse 1.8s ease-in-out infinite; }

.eyebrow {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 700; color: var(--muted-3);
}

/* Hero */
.hero {
  padding: clamp(40px,6vw,80px) 0 clamp(44px,6vw,84px);
  display: grid; grid-template-columns: repeat(auto-fit,minmax(min(330px,100%),1fr));
  gap: clamp(32px,5vw,60px); align-items: center;
}
.hero h1 { font-size: clamp(40px,6.2vw,64px); line-height: 1.04; color: var(--ink); }
.hero h1 .accent { color: var(--brand); }
.hero-copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.hero-copy > p { font-size: clamp(16px,1.9vw,19px); line-height: 1.65; color: var(--muted); max-width: 50ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-badges {
  display: flex; align-items: center; gap: 12px; color: var(--muted-2);
  font-size: 14px; font-weight: 600; flex-wrap: wrap;
}
.dot-sep { width: 4px; height: 4px; border-radius: 50%; background: #C9D0D8; }

.hero-media { position: relative; min-width: 0; }
.hero-media .frame { border-radius: 28px; overflow: hidden; background: var(--surface); aspect-ratio: 4/3.2; }
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; }

.ticker {
  background: #FFFFFF; border-radius: 20px; padding: 14px 18px;
  box-shadow: 0 14px 36px -16px rgba(11,78,110,0.3);
  display: flex; align-items: center; gap: 13px;
  margin-top: 14px; border: 1px solid var(--border-2);
}
@media (min-width: 900px) {
  .ticker { position: absolute; left: 16px; bottom: -24px; max-width: calc(100% - 32px); margin-top: 0; border: none; }
}
.ticker-icon {
  width: 44px; height: 44px; flex: 0 0 auto; border-radius: 14px; background: var(--brand-light);
  display: grid; place-items: center; font-weight: 800; font-size: 13px; color: var(--brand);
}
.ticker-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ticker-amount { font-weight: 800; font-size: 16px; color: var(--ink); letter-spacing: -0.02em; }
.ticker-sub { font-size: 13px; font-weight: 600; color: var(--brand); display: flex; align-items: center; gap: 7px; }
.ticker-sub .pill-dot { animation-duration: 1.4s; }

/* Stats band */
.stats-band {
  padding: clamp(36px,4vw,52px) 0;
}
.stats-card {
  background: linear-gradient(135deg,#1A93C4 0%,#1583AF 48%,#0B4E6E 100%);
  border-radius: 28px; box-shadow: 0 24px 50px -28px rgba(11,78,110,0.55);
  padding: clamp(28px,4vw,44px);
  display: grid; grid-template-columns: repeat(auto-fit,minmax(min(180px,100%),1fr)); gap: 26px;
}
.stats-card .stat { display: flex; flex-direction: column; gap: 6px; }
.stats-card .stat .num { font-weight: 800; font-size: clamp(28px,3.6vw,38px); color: #FFFFFF; line-height: 1; letter-spacing: -0.04em; }
.stats-card .stat .label { font-size: 14.5px; font-weight: 600; color: #CDE6F1; }

/* Partner logos */
.partners-section { padding: clamp(20px,3vw,32px) 0 clamp(40px,5vw,60px); display: flex; flex-direction: column; gap: 22px; align-items: center; }
.partners-section > p { text-align: center; }
.partners-grid { width: 100%; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(150px,100%),1fr)); gap: 12px; }
.partner-box {
  height: 72px; border-radius: 18px;
  background: linear-gradient(165deg, #F7F9FA 0%, #F0F3F5 100%);
  border: 1px solid #E9EDEF;
  display: grid; place-items: center; padding: 10px; text-align: center;
  font-weight: 700; font-size: 13px; color: #A6AEB9;
}

/* Feature cards */
.feature-grid { padding: clamp(40px,6vw,80px) 0; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(310px,100%),1fr)); gap: 24px; }
.feature-card {
  background: linear-gradient(165deg,#FBFDFE 0%,#F1F7FA 60%,#ECF4F8 100%);
  border: 1px solid #E4EFF4;
  border-radius: 28px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 1px 2px rgba(16,22,28,0.03), 0 20px 40px -30px rgba(11,78,110,0.3);
}
.feature-card .media { aspect-ratio: 16/10; background: #EDF1F4; }
.feature-card .media img { width: 100%; height: 100%; object-fit: cover; }
.feature-card .body { padding: clamp(24px,3vw,32px); display: flex; flex-direction: column; gap: 11px; }
.tag-pill {
  align-self: flex-start; padding: 7px 14px; border-radius: 999px; background: var(--brand-light);
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-dark);
}
.feature-card h3 { font-size: clamp(23px,2.8vw,28px); color: var(--ink); line-height: 1.18; }
.feature-card .body > p { font-size: 16px; line-height: 1.65; color: var(--muted); }

/* Values */
.values-section { padding: clamp(30px,4vw,50px) 0 clamp(40px,6vw,70px); display: flex; flex-direction: column; gap: clamp(26px,3.5vw,40px); }
.values-head { display: flex; flex-direction: column; gap: 12px; max-width: 58ch; }
.values-head h2 { font-size: clamp(28px,4vw,42px); color: var(--ink); line-height: 1.12; }
.values-head > p { font-size: 17px; line-height: 1.6; color: var(--muted); }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(235px,100%),1fr)); gap: 16px; }
.value-card {
  background: linear-gradient(165deg, #FFFFFF 0%, #FBFDFE 60%, #F6FAFC 100%);
  border: 1px solid #E4EFF4; border-radius: 24px; padding: 26px;
  display: flex; flex-direction: column; gap: 11px;
  box-shadow: 0 1px 2px rgba(16,22,28,0.03), 0 16px 34px -30px rgba(11,78,110,0.3);
  transition: box-shadow .25s ease, transform .25s ease;
}
.value-card:hover { box-shadow: 0 1px 2px rgba(16,22,28,0.04), 0 22px 40px -26px rgba(11,78,110,0.38); }
.value-mark {
  width: 46px; height: 46px; border-radius: 15px;
  background: linear-gradient(135deg, #EAF4FA 0%, #DCEEF6 100%);
  color: var(--brand-dark);
  display: grid; place-items: center; font-weight: 800; font-size: 15px;
  box-shadow: inset 0 0 0 1px rgba(21,131,175,0.12);
}
.value-card h4 { font-size: 18.5px; color: var(--ink); }
.value-card p { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* Services */
.services-section {
  position: relative;
  background:
    radial-gradient(900px 480px at 12% 0%, rgba(21,131,175,0.07) 0%, rgba(21,131,175,0) 60%),
    radial-gradient(900px 520px at 88% 100%, rgba(21,131,175,0.06) 0%, rgba(21,131,175,0) 55%),
    linear-gradient(180deg,rgba(255,255,255,0) 0%,#F3F9FC 22%,#EFF7FB 50%,#F3F9FC 78%,rgba(255,255,255,0) 100%);
}
.services-section .inner { padding: clamp(48px,6vw,84px) 0; display: flex; flex-direction: column; gap: clamp(26px,3.5vw,40px); }
.services-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; }
.services-head .left { display: flex; flex-direction: column; gap: 12px; max-width: 54ch; }
.services-head h2, .services-head h1 { font-size: clamp(28px,4vw,42px); color: var(--ink); line-height: 1.12; }
.services-head .hint { font-size: 15px; font-weight: 600; color: var(--muted-2); }
.services-head .view-all { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--brand); white-space: nowrap; }
.services-head .view-all:hover { color: var(--brand-dark); }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(300px,100%),1fr)); gap: 20px; align-items: start; }
.service-card {
  position: relative;
  background: linear-gradient(155deg, #FFFFFF 0%, #FBFDFE 55%, #F5FAFC 100%);
  border: 1px solid #E4EFF4;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(16,22,28,0.03), 0 18px 36px -28px rgba(11,78,110,0.28);
  transition: box-shadow .25s ease, transform .25s ease;
  display: flex; flex-direction: column;
}
.service-card:hover {
  box-shadow: 0 1px 2px rgba(16,22,28,0.04), 0 22px 44px -24px rgba(11,78,110,0.38);
  transform: translateY(-2px);
}

/* Colored banner per service, set via --svc-a / --svc-b / --svc-c custom props */
.service-banner {
  position: relative;
  height: 108px;
  padding: 16px;
  display: flex; align-items: flex-start; justify-content: space-between;
  overflow: hidden;
  background: linear-gradient(135deg, var(--svc-a) 0%, var(--svc-b) 100%);
}
.service-banner .ghost-icon {
  position: absolute; right: -6px; bottom: -14px;
  width: 96px; height: 96px; color: var(--svc-c);
  opacity: .28; pointer-events: none;
}
.service-banner .ghost-icon svg { width: 100%; height: 100%; }
.service-icon {
  position: relative; z-index: 1;
  width: 46px; height: 46px; border-radius: 14px; flex: 0 0 auto;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(2px);
  display: grid; place-items: center;
  color: var(--svc-c);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6);
}
.service-icon svg { width: 24px; height: 24px; }
.service-tagline {
  position: relative; z-index: 1;
  align-self: flex-end;
  padding: 6px 11px; border-radius: 999px;
  background: rgba(255,255,255,0.65);
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--svc-c);
  white-space: nowrap;
}

.service-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.service-name { font-weight: 800; font-size: 20px; color: var(--ink); line-height: 1.25; letter-spacing: -0.03em; }
.service-subtitle { font-size: 13.5px; font-weight: 600; color: var(--muted-2); margin-top: -8px; }
.service-desc { font-size: 15px; line-height: 1.6; color: var(--muted); }

.service-detail {
  padding-top: 14px; display: flex; flex-direction: column; gap: 14px;
  border-top: 1px solid #E4EFF4;
}
.service-detail ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.service-detail li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.55; color: #3B4552; }
.service-detail li .bullet { margin-top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--svc-c, var(--brand)); flex: 0 0 auto; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.service-tags span {
  padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--brand-dark);
  background: linear-gradient(135deg, #EEF6FA 0%, #E3F0F6 100%);
  border: 1px solid #DCEBF2;
}

/* Impact */
.impact-section { padding: clamp(48px,6vw,88px) 0; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(310px,100%),1fr)); gap: clamp(30px,5vw,52px); align-items: center; }
.impact-copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.impact-copy h2 { font-size: clamp(28px,4vw,42px); line-height: 1.12; color: var(--ink); }
.impact-copy > p { font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 48ch; }
.impact-stats { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(130px,100%),1fr)); gap: 16px; }
.impact-stat { background: var(--surface); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 3px; }
.impact-stat .num { font-weight: 800; font-size: 27px; color: var(--brand); letter-spacing: -0.04em; }
.impact-stat .label { font-size: 13.5px; font-weight: 600; color: var(--muted); }

.testimonial { margin: 0; background: var(--brand-light); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 15px; }
.testimonial blockquote { margin: 0; font-family: 'Noto Serif Devanagari', Manrope, serif; font-size: clamp(18px,2.2vw,22px); line-height: 1.6; color: var(--ink); }
.testimonial .translation { font-size: 15.5px; line-height: 1.6; color: var(--muted); font-style: italic; }
.testimonial figcaption { display: flex; align-items: center; gap: 13px; }
.testimonial .avatar { width: 52px; height: 52px; border-radius: 50%; flex: 0 0 auto; background: var(--brand); display: grid; place-items: center; font-weight: 800; font-size: 16px; color: #FFFFFF; }
.testimonial .who { display: flex; flex-direction: column; gap: 2px; }
.testimonial .name { font-weight: 700; font-size: 15px; color: var(--ink); }
.testimonial .role { font-size: 13.5px; font-weight: 600; color: var(--muted-2); }

.impact-media { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.impact-media .frame { border-radius: 28px; overflow: hidden; background: #EDF1F4; aspect-ratio: 4/5; }
.impact-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.impact-media .caption { font-size: 13px; font-weight: 600; color: var(--muted-3); text-align: center; }

/* CTA band */
.cta-section { padding: clamp(20px,3vw,32px) 0 clamp(48px,6vw,84px); }
.cta-card {
  background: linear-gradient(135deg,#1A93C4 0%,#1583AF 45%,#0B4E6E 100%);
  border-radius: 32px; box-shadow: 0 30px 60px -30px rgba(11,78,110,0.5);
  padding: clamp(34px,5vw,64px) clamp(24px,4vw,48px);
  display: flex; flex-direction: column; gap: 22px; align-items: center; text-align: center;
}
.cta-eyebrow { padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,0.16); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #FFFFFF; }
.cta-card h2 { font-size: clamp(28px,4.4vw,46px); color: #FFFFFF; line-height: 1.1; max-width: 24ch; }
.cta-card > p { font-size: 17px; line-height: 1.65; color: #D3E9F3; max-width: 50ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; padding-top: 4px; }
.cta-note { font-size: 14px; font-weight: 600; color: #CDE6F1; }

/* Page header (for inner pages) */
.page-hero { padding: clamp(40px,6vw,72px) 0 clamp(28px,4vw,40px); display: flex; flex-direction: column; gap: 16px; }
.page-hero h1 { font-size: clamp(34px,5vw,54px); line-height: 1.06; color: var(--ink); }
.page-hero > p { font-size: clamp(16px,1.9vw,19px); line-height: 1.65; color: var(--muted); max-width: 60ch; }

/* About page extras */
.about-block { padding: clamp(20px,3vw,32px) 0; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(310px,100%),1fr)); gap: clamp(30px,5vw,52px); align-items: center; }
.about-copy { display: flex; flex-direction: column; gap: 18px; }
.about-copy h2 { font-size: clamp(26px,3.6vw,36px); color: var(--ink); line-height: 1.15; }
.about-copy p { font-size: 16.5px; line-height: 1.7; color: var(--muted); }
.about-media .frame { border-radius: 28px; overflow: hidden; background: var(--surface); aspect-ratio: 4/3.4; }
.about-media .frame img { width: 100%; height: 100%; object-fit: cover; }

/* Contact page */
.contact-grid { padding: clamp(24px,4vw,40px) 0 clamp(60px,7vw,96px); display: grid; grid-template-columns: repeat(auto-fit,minmax(min(320px,100%),1fr)); gap: clamp(28px,4vw,44px); align-items: start; }
.contact-card {
  background: #FFFFFF; border: 1px solid var(--border); border-radius: 24px; padding: clamp(24px,3vw,32px);
  display: flex; flex-direction: column; gap: 18px;
}
.contact-card h3 { font-size: 20px; color: var(--ink); }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .icon {
  width: 44px; height: 44px; flex: 0 0 auto; border-radius: 14px; background: var(--brand-light);
  display: grid; place-items: center; color: var(--brand); font-weight: 800; font-size: 14px;
}
.contact-item .txt { display: flex; flex-direction: column; gap: 3px; }
.contact-item .txt .label { font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-3); }
.contact-item .txt a, .contact-item .txt p { font-size: 15.5px; color: var(--ink); font-weight: 600; margin: 0; line-height: 1.6; }
.contact-item .txt p { font-weight: 500; color: var(--muted); }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(220px,100%),1fr)); gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.form-field input, .form-field select, .form-field textarea {
  font-family: Manrope, Helvetica, Arial, sans-serif;
  font-size: 15.5px; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--border-2);
  background: #FBFDFE; color: var(--ink); outline: none;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--brand); background: #FFFFFF;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-submit {
  border: 0; cursor: pointer; align-self: flex-start;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 15px 30px; border-radius: 999px;
  background: var(--brand); color: #FFFFFF; font-weight: 700; font-size: 16px; font-family: Manrope;
}
.form-submit:hover { background: var(--brand-dark); }
.form-note { font-size: 13px; color: var(--muted-2); }
.form-status { font-size: 14.5px; font-weight: 600; padding: 12px 16px; border-radius: 14px; display: none; }
.form-status.success { display: block; background: #E7F6ED; color: #1E7A46; }
.form-status.error { display: block; background: #FDECEC; color: #B3261E; }

.map-frame { border-radius: 24px; overflow: hidden; border: 1px solid var(--border); }
.map-frame iframe { display: block; width: 100%; height: 320px; border: 0; }

/* Footer */
.site-footer { background: linear-gradient(180deg,#F7FBFD 0%,#EDF5F9 100%); border-top: 1px solid var(--border-2); }
.footer-grid {
  padding: clamp(44px,5vw,70px) 0 clamp(26px,3vw,34px);
  display: grid; grid-template-columns: repeat(auto-fit,minmax(min(220px,100%),1fr)); gap: clamp(28px,4vw,44px);
}
.footer-brand { display: flex; flex-direction: column; gap: 15px; min-width: 0; }
.footer-brand .logo-row { display: flex; align-items: center; gap: 10px; }
.footer-brand .logo-row .logo-img { height: clamp(64px, 7vw, 80px); width: auto; display: block; }
.footer-brand p { font-size: 15px; line-height: 1.7; color: var(--muted); max-width: 38ch; }
.social-row { display: flex; gap: 9px; }
.social-row a {
  width: 42px; height: 42px; border-radius: 14px; background: #FFFFFF; border: 1px solid var(--border);
  display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--muted);
}
.social-row a:hover { background: var(--brand); color: #FFFFFF; }

.footer-col { display: flex; flex-direction: column; gap: 13px; min-width: 0; }
.footer-col h4 { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-3); font-weight: 800; }
.footer-col .links { display: flex; flex-direction: column; gap: 10px; }
.footer-col .links a { font-size: 15px; color: var(--muted); }
.footer-col .links a:hover { color: var(--brand); }
.footer-col address { font-style: normal; font-size: 15px; line-height: 1.7; color: var(--muted); }
.footer-col .phone-link { font-size: 16px; font-weight: 700; color: var(--ink); }
.footer-col .phone-link:hover { color: var(--brand); }

.footer-bottom { border-top: 1px solid var(--border); }
.footer-bottom .row {
  padding: 22px 0; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
}
.footer-bottom p { font-size: 14px; color: var(--muted-2); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-legal a { font-size: 14px; color: var(--muted-2); }
.footer-legal a:hover { color: var(--brand); }

/* 404 */
.error-page { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; padding: 60px 20px; }
.error-page .code { font-size: clamp(64px,10vw,120px); font-weight: 800; color: var(--brand-light); line-height: 1; }
.error-page h1 { font-size: clamp(24px,3vw,32px); color: var(--ink); }
.error-page p { font-size: 16px; color: var(--muted); max-width: 46ch; }

/* Legal / policy documents */
.legal-doc { padding-bottom: clamp(60px,8vw,96px); display: flex; flex-direction: column; gap: 8px; }
.legal-doc .legal-intro { font-size: 16.5px; line-height: 1.75; color: var(--muted); max-width: 74ch; margin-bottom: 18px; }
.legal-doc .legal-toc {
  background: linear-gradient(165deg, #FBFDFE 0%, #F5FAFC 100%);
  border: 1px solid #E4EFF4; border-radius: 18px; padding: 22px 26px; margin-bottom: 8px; max-width: 74ch;
}
.legal-doc .legal-toc h2 { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-3); margin-bottom: 12px; }
.legal-doc .legal-toc ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 7px; }
.legal-doc .legal-toc a { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.legal-doc .legal-toc a:hover { color: var(--brand); }
.legal-section { max-width: 74ch; padding-top: 28px; border-top: 1px solid var(--border); scroll-margin-top: 100px; }
.legal-section:first-of-type { border-top: none; padding-top: 8px; }
.legal-section h2 { font-size: clamp(19px,2.4vw,22px); color: var(--ink); line-height: 1.3; margin-bottom: 12px; }
.legal-section p { font-size: 15.5px; line-height: 1.75; color: var(--muted); margin-bottom: 12px; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul, .legal-section ol.legal-list { margin: 0 0 12px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal-section li { font-size: 15.5px; line-height: 1.7; color: var(--muted); }
.legal-section strong { color: var(--ink); font-weight: 700; }
.legal-section .legal-table { width: 100%; border-collapse: collapse; margin-bottom: 12px; font-size: 14.5px; }
.legal-section .legal-table th, .legal-section .legal-table td { text-align: left; padding: 10px 14px; border: 1px solid var(--border); color: var(--muted); }
.legal-section .legal-table th { background: var(--surface); color: var(--ink); font-weight: 700; }
.legal-callout {
  background: var(--brand-light); border-left: 3px solid var(--brand); border-radius: 0 14px 14px 0;
  padding: 16px 20px; font-size: 15px; line-height: 1.65; color: #14424F; max-width: 74ch;
}
