/* Rotary Brand Center–aligned overrides + marketing layout */
:root {
  --azure: #0050a2;
  --royal: #17458f;
  --gold: #f7a81b;
  --gold-deep: #c98600;
  --sky: #00a2e0;
  --powder: #b9d9eb;
  --blue: #0050a2;
  --blue-deep: #17458f;
  --blue-mid: #00a2e0;
  --line: rgba(23, 69, 143, 0.14);
  --bg: #eef4fa;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: contain;
  background: transparent;
  box-shadow: 0 4px 14px rgba(23, 69, 143, 0.22);
  transition: transform 0.35s var(--ease);
}
.brand:hover .brand-logo { transform: scale(1.05) rotate(-3deg); }
.brand-mark { display: none; }

.btn-blue {
  background: var(--royal);
  box-shadow: 0 8px 20px rgba(23, 69, 143, 0.28);
}
.btn-gold {
  background: linear-gradient(180deg, #ffc147, var(--gold));
  color: #1a1400;
}

/* Photo hero */
.hero.hero-photo {
  position: relative;
  min-height: min(88vh, 720px);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.hero-photo .hero-bg { display: none; }
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroKen 22s ease-in-out infinite alternate;
}
@keyframes heroKen {
  from { transform: scale(1.04); }
  to { transform: scale(1.1) translate(-1.2%, -0.8%); }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(12, 40, 80, 0.9) 0%, rgba(0, 80, 162, 0.58) 50%, rgba(23, 69, 143, 0.75) 100%),
    linear-gradient(to top, rgba(8, 24, 48, 0.78), transparent 45%);
}
.hero-inner {
  max-width: 760px;
  padding: 80px 28px 88px;
  text-align: center;
  animation: riseIn 0.85s var(--ease) both;
}
.hero-emblem {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin: 0 auto 18px;
  display: block;
  object-fit: contain;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 0 3px rgba(247, 168, 27, 0.55);
}
.hero-kicker {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(247, 168, 27, 0.2);
  border: 1px solid rgba(247, 168, 27, 0.5);
  color: #ffe7a8;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-brand {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.6rem, 10vw, 5.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.92;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.hero-tagline {
  margin: 12px 0 18px;
  font-size: clamp(1.2rem, 2.8vw, 1.65rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}
.hero-lead {
  margin: 0 auto 28px;
  max-width: 38rem;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.hero-proof {
  margin: 22px 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 231, 168, 0.92);
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* Purpose with photo */
.purpose-grid-visual {
  grid-template-columns: 0.95fr 1.15fr;
  align-items: center;
  gap: 36px;
}
.purpose-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(23, 69, 143, 0.18);
}
.purpose-visual img {
  display: block;
  width: 100%;
  min-height: 320px;
  object-fit: cover;
}
.purpose-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 16px 18px;
  background: linear-gradient(to top, rgba(23, 69, 143, 0.92), transparent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}
.purpose-copy .eyebrow {
  margin: 0 0 8px;
  color: var(--azure);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
}
.purpose-bullets {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.purpose-bullets li {
  padding: 12px 14px;
  background: #fff;
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
  box-shadow: 0 8px 24px rgba(23, 69, 143, 0.06);
  color: var(--muted);
  font-size: 0.95rem;
}
.purpose-bullets strong { color: var(--royal); }

.story-strip {
  background: linear-gradient(90deg, var(--royal), var(--azure));
  color: #fff;
  padding: 36px 28px;
  text-align: center;
}
.story-inner { max-width: 720px; margin: 0 auto; }
.story-strip blockquote {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.story-strip p { margin: 0; opacity: 0.92; font-weight: 500; }

.footer-logo {
  display: block;
  margin: 0 auto 14px;
  border-radius: 16px;
  object-fit: contain;
  box-shadow: 0 0 0 3px rgba(247, 168, 27, 0.55);
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  border: 1px solid rgba(23, 69, 143, 0.22);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.lang-btn {
  padding: 5px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--royal, #17458f);
  text-decoration: none;
  line-height: 1;
}
.lang-btn.is-active {
  background: var(--royal, #17458f);
  color: #fff;
}
.lang-btn:not(.is-active):hover {
  background: #f0f7ff;
}
.site-footer .footer-tag {
  color: #ffd56a !important;
  font-weight: 700 !important;
  margin-bottom: 12px !important;
}

.site-footer {
  background: linear-gradient(180deg, #17458f, #0c2d5c) !important;
}

@media (max-width: 900px) {
  .purpose-grid-visual { grid-template-columns: 1fr; }
  .hero-emblem { width: 80px; height: 80px; }
}


/* Address autocomplete (Kunduz-style) */
.address-field { position: relative; z-index: 5; }
.address-autocomplete { position: relative; }
.address-autocomplete input {
  width: 100%;
}
.address-suggest {
  position: absolute;
  z-index: 60;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: min(280px, 40vh);
  overflow: auto;
  background: #fff;
  border: 1px solid rgba(23, 69, 143, 0.18);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(23, 69, 143, 0.14);
}
.address-suggest__item {
  display: block;
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: none;
  border-bottom: 1px solid rgba(23, 69, 143, 0.1);
  background: transparent;
  text-align: left;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink, #0e1c2c);
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
}
.address-suggest__item:last-child { border-bottom: none; }
.address-suggest__item:hover,
.address-suggest__item:focus-visible {
  background: #f0f7ff;
  color: var(--azure, #0050a2);
}
.address-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.address-status {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted, #4d6073);
  text-transform: none;
  letter-spacing: 0;
}
.address-status.is-ok { color: #1b5e20; }
.address-status.is-err { color: #b71c1c; }
