:root {
  --primary: #0276fe;
  --primary-dark: #015ed0;
  --primary-light: #eaf4ff;
  --white: #ffffff;
  --background: #f8fbff;
  --text-dark: #102033;
  --text-muted: #5f6f82;
  --border: #d8e8fb;
  --success: #16a34a;
  --warning: #f59e0b;
  --radius: 18px;
  --shadow: 0 16px 40px rgba(2, 118, 254, 0.08);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--text-dark); background: var(--white); line-height: 1.65; }
img { max-width: 100%; display: block; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid rgba(2, 118, 254, .38); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.skip-link { position: absolute; left: -999px; top: 1rem; background: var(--primary); color: var(--white); padding: .75rem 1rem; z-index: 1000; border-radius: 999px; }
.skip-link:focus { left: 1rem; }
.container { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.narrow { width: min(820px, calc(100% - 32px)); }
.section { padding: 82px 0; }
.soft { background: var(--background); }
.center { text-align: center; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background:
    radial-gradient(circle at 18% 0%, rgba(255,255,255,.98), rgba(255,255,255,.46) 34%, transparent 58%),
    linear-gradient(135deg, rgba(255,255,255,.78), rgba(234,244,255,.48) 54%, rgba(255,255,255,.68)),
    rgba(255,255,255,.62);
  border-bottom: 1px solid rgba(180, 214, 255, .56);
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 -1px 0 rgba(255,255,255,.46) inset,
    0 20px 54px rgba(2, 118, 254, .08),
    0 8px 24px rgba(16, 32, 51, .06);
  backdrop-filter: blur(34px) saturate(1.85) contrast(1.03);
  -webkit-backdrop-filter: blur(34px) saturate(1.85) contrast(1.03);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255,255,255,.82), rgba(255,255,255,.22) 38%, rgba(2,118,254,.08) 62%, rgba(255,255,255,.5)),
    linear-gradient(180deg, rgba(255,255,255,.56), rgba(255,255,255,0));
  mix-blend-mode: screen;
}
.site-header > * {
  position: relative;
  z-index: 1;
}
.site-header.has-shadow {
  border-color: rgba(141, 194, 255, .68);
  box-shadow:
    0 1px 0 rgba(255,255,255,.92) inset,
    0 -1px 0 rgba(255,255,255,.42) inset,
    0 24px 64px rgba(2, 118, 254, .12),
    0 12px 32px rgba(16, 32, 51, .1);
}
.nav-shell { min-height: 78px; display: flex; align-items: center; gap: 14px; }
.brand { flex: 0 0 auto; }
.brand img { width: 150px; height: auto; }
.site-nav { margin-left: auto; display: flex; align-items: center; justify-content: flex-end; gap: clamp(10px, 1.2vw, 18px); font-weight: 700; font-size: clamp(.78rem, .82vw, .94rem); min-width: 0; flex: 1 1 auto; }
.site-nav a { white-space: nowrap; line-height: 1.15; }
.site-nav a, .mobile-menu a { color: var(--text-muted); }
.site-nav a:hover, .site-nav a.is-active, .mobile-menu a.is-active { color: var(--primary); }
.admin-access-link {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: var(--primary);
  transition: .2s ease;
}
.admin-access-link svg { width: 21px; height: 21px; fill: currentColor; display: block; }
.admin-access-link:hover, .admin-access-link:focus-visible {
  border-color: var(--primary);
  color: var(--primary-dark);
  background: rgba(255, 255, 255, .92);
}
.mobile-menu a.btn-primary,
.mobile-menu a.btn-primary:hover,
.mobile-menu a.btn-primary.is-active { color: var(--white); }
.nav-donate { margin-left: 4px; flex: 0 0 auto; white-space: nowrap; }
.language-switcher { position: relative; }
.language-toggle { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 999px; background: var(--white); color: var(--primary); cursor: pointer; transition: .2s ease; }
.language-toggle:hover, .language-switcher.is-open .language-toggle { border-color: var(--primary); background: var(--primary-light); }
.language-toggle svg { width: 21px; height: 21px; fill: currentColor; }
.language-menu { position: absolute; top: calc(100% + 10px); right: 0; width: 190px; max-height: 320px; overflow-y: auto; display: none; padding: 8px; border: 1px solid var(--border); border-radius: 14px; background: var(--white); box-shadow: var(--shadow); z-index: 80; }
.language-switcher.is-open .language-menu { display: grid; }
.language-menu button { width: 100%; border: 0; background: transparent; text-align: left; padding: .55rem .7rem; border-radius: 10px; color: var(--text-muted); font-weight: 800; cursor: pointer; }
.language-menu button:hover { background: var(--primary-light); color: var(--primary); }
.mobile-language { display: none; }
.translate-widget { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skiptranslate, .goog-te-banner-frame, .goog-te-gadget, .goog-te-gadget-icon { display: none !important; visibility: hidden !important; height: 0 !important; }
iframe.goog-te-banner-frame, body > .skiptranslate { display: none !important; }
html.translated-ltr body, html.translated-rtl body, body { top: 0 !important; position: static !important; }
body.translated-compact-header .brand { margin-right: auto; }
body.translated-compact-header .site-nav { display: none; }
body.translated-compact-header .menu-toggle { display: inline-flex; margin-left: 0; }
body.translated-compact-header .nav-shell { justify-content: flex-start; }
body.translated-compact-header .mobile-menu {
  border-top: 1px solid var(--border);
  padding: 16px max(20px, calc((100vw - 1120px) / 2));
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
}
body.translated-compact-header .mobile-menu.is-open {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 14px 22px;
}
body.translated-compact-header .mobile-menu a {
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.25;
}
body.translated-compact-header .mobile-menu .btn {
  width: fit-content;
  min-width: 160px;
}
body.translated-compact-header .mobile-language {
  display: inline-block;
  width: fit-content;
}
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--border); background: var(--white); border-radius: 12px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-toggle span { width: 20px; height: 2px; background: var(--text-dark); }
.mobile-menu { display: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; padding: .9rem 1.3rem; font-weight: 800; cursor: pointer; transition: .2s ease; min-height: 46px; }
.btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 12px 28px rgba(2,118,254,.25); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-secondary { background: var(--primary-light); color: var(--primary-dark); }
.btn-light { background: var(--white); color: var(--primary-dark); }
.text-link { color: var(--primary); font-weight: 800; }
.badge { display: inline-flex; color: var(--primary-dark); background: var(--primary-light); border-radius: 999px; padding: .35rem .7rem; font-weight: 800; font-size: .82rem; }
.badge-success { color: #047857; background: #ecfdf5; border: 1px solid #bbf7d0; }
.badge-warning { color: #92400e; background: #fffbeb; border: 1px solid #fde68a; }
.eyebrow { color: var(--primary); text-transform: uppercase; letter-spacing: .08em; font-weight: 900; font-size: .8rem; margin: 0 0 .6rem; }

.hero { padding: 80px 0 60px; background: linear-gradient(180deg, var(--primary-light), var(--white)); overflow: hidden; }
.hero-slider { position: relative; min-height: 680px; display: grid; align-items: center; isolation: isolate; background: #071c35; }
.hero-slider::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(2, 16, 38, .86), rgba(2, 16, 38, .55) 48%, rgba(2, 16, 38, .18)); }
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; object-fit: cover; transition: opacity 900ms ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slider .hero-grid { grid-template-columns: 1fr; position: relative; z-index: 1; }
.hero-slider .hero-copy { max-width: 780px; color: var(--white); }
.hero-slider .hero-copy p { color: rgba(255,255,255,.9); }
.hero-slider .eyebrow { color: rgba(255,255,255,.82); }
.hero-dots { display: flex; gap: 10px; margin-top: 34px; }
.hero-dots button { width: 12px; height: 12px; border: 1px solid rgba(255,255,255,.85); border-radius: 999px; background: transparent; cursor: pointer; padding: 0; }
.hero-dots button.is-active { width: 34px; background: var(--white); }
.hero-grid, .two-column { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1, .page-hero h1 { font-size: clamp(2.35rem, 6vw, 4.8rem); line-height: 1.02; margin: 0 0 1.25rem; letter-spacing: 0; }
.hero p, .page-hero p, .section-header p { color: var(--text-muted); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-media { position: relative; }
.hero-media img, .rounded-image { border-radius: var(--radius); min-height: 360px; width: 100%; box-shadow: var(--shadow); background: var(--primary-light); }
.event-detail-layout { align-items: start; }
.event-detail-image { align-self: start; object-position: top center; }
.page-hero { padding: 86px 0; background: var(--background); }
.blue-hero { background: var(--primary); color: var(--white); }
.blue-hero .eyebrow, .blue-hero p { color: rgba(255,255,255,.88); }
.image-hero { position: relative; min-height: 520px; display: grid; align-items: center; color: var(--white); background: linear-gradient(90deg, rgba(2, 16, 38, .82), rgba(2, 16, 38, .38)), var(--page-hero-image) center / cover no-repeat; }
.image-hero p, .image-hero .eyebrow { color: rgba(255,255,255,.9); }
.about-values-bg {
  position: relative;
  isolation: isolate;
  background: var(--background);
  overflow: hidden;
}
.about-values-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../images/about-values-bg.jpg") center / cover no-repeat;
  opacity: .34;
  filter: saturate(1) contrast(1.04);
}
.about-values-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(248,251,255,.82), rgba(242,248,255,.78));
}
.about-values-bg .section {
  background: transparent;
}

.section-header { max-width: 760px; margin-bottom: 34px; }
.section-header h2, h2 { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.1; margin: 0 0 1rem; }
h3 { margin: 0 0 .65rem; line-height: 1.2; }
p { margin-top: 0; }
.cards-grid, .stats-grid, .focus-grid, .steps, .gallery-grid, .amount-grid, .mission-grid { display: grid; gap: 22px; }
.cards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats-grid, .focus-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-stats-section { position: relative; overflow: hidden; background: var(--soft); }
.home-stats-section::before { content: ""; position: absolute; inset: 0; background: url("../images/home-stats-bg.jpg") center / cover no-repeat; opacity: .34; filter: saturate(.95); }
.home-stats-section::after { content: ""; position: absolute; inset: 0; background: rgba(247, 251, 255, .52); }
.home-stats-section > .container { position: relative; z-index: 1; }
.steps, .amount-grid, .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mission-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mission-media-layout { display: grid; grid-template-columns: minmax(420px, 1fr) minmax(0, 1.12fr); gap: 34px; align-items: stretch; }
.mission-card-stack { display: grid; grid-template-columns: 1fr; gap: 22px; }
.mission-animation { display: flex; align-items: stretch; justify-content: center; min-height: 520px; }
.mission-animation img { display: block; width: 100%; height: 100%; min-height: 520px; object-fit: cover; object-position: center; border-radius: var(--radius); }
.about-image-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.about-image-stack img { width: 100%; min-height: 360px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); }
.about-image-stack img:first-child { transform: translateY(-20px); }
.about-image-stack.single { grid-template-columns: 1fr; }
.about-image-stack.single img:first-child { transform: none; }
.team-rail-shell { position: relative; }
.team-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 300px); gap: 22px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: inline mandatory; scroll-padding-inline: 4px; padding: 4px 4px 18px; }
.testimonial-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 360px); gap: 22px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: inline mandatory; scroll-padding-inline: 4px; padding: 4px 4px 18px; }
.team-rail::-webkit-scrollbar, .testimonial-rail::-webkit-scrollbar { height: 10px; }
.team-rail::-webkit-scrollbar-track, .testimonial-rail::-webkit-scrollbar-track { background: var(--primary-light); border-radius: 999px; }
.team-rail::-webkit-scrollbar-thumb, .testimonial-rail::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 999px; }
.team-card, .testimonial-rail .testimonial-card { scroll-snap-align: start; }
.team-card img {
  width: 100%;
  height: 300px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--primary-light);
}
.auto-scroll-rail { overflow: hidden; scroll-snap-type: none; scrollbar-width: none; }
.auto-scroll-rail::-webkit-scrollbar { display: none; }
.auto-scroll-track { display: flex; gap: 22px; width: max-content; animation: autoRailScroll 42s linear infinite; will-change: transform; }
.auto-scroll-track:hover, .auto-scroll-rail:focus-within .auto-scroll-track { animation-play-state: paused; }
.team-rail.auto-scroll-rail, .testimonial-rail.auto-scroll-rail { display: block; padding: 4px 0 18px; }
.team-rail .auto-scroll-track > * { flex: 0 0 300px; }
.testimonial-rail .auto-scroll-track > * { flex: 0 0 360px; }
@keyframes autoRailScroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 11px)); }
}
.team-socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.team-socials a { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 999px; color: var(--primary); }
.team-socials svg, .social-links svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.team-socials a:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }
.rail-btn { position: absolute; top: 40%; z-index: 2; width: 46px; height: 46px; border: 1px solid var(--border); border-radius: 999px; background: var(--white); color: var(--primary); box-shadow: var(--shadow); font-size: 2rem; line-height: 1; cursor: pointer; }
.rail-prev { left: -18px; }
.rail-next { right: -18px; }
.spaced { margin-bottom: 44px; }
.section-cta { margin-top: 28px; }

.card, .impact-card, .testimonial-card, .cta-panel, .support-box, .form-card, .featured-article, .focus-grid article, .steps article, .mission-grid article, .mission-card-stack article { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.card img { height: 220px; width: 100%; border-radius: var(--radius) var(--radius) 0 0; background: var(--primary-light); }
.card-body, .impact-card, .testimonial-card, .cta-panel, .support-box, .featured-article, .focus-grid article, .steps article, .mission-grid article, .mission-card-stack article { padding: 24px; }
.mission-card-stack article { background: linear-gradient(135deg, #ffffff 0%, #f7fbff 58%, rgba(2,118,254,.10) 100%); backdrop-filter: blur(8px); border-color: rgba(2,118,254,.14); }
.dashboard-card { position: relative; }
.dashboard-count-badge { position: absolute; top: 16px; right: 16px; min-width: 28px; height: 28px; padding: 0 8px; display: inline-grid; place-items: center; border-radius: 999px; background: #dc2626; color: var(--white); font-size: .82rem; font-weight: 900; line-height: 1; box-shadow: 0 10px 24px rgba(220, 38, 38, .28); }
.card-icon { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; background: transparent; color: var(--primary); border: 1px solid rgba(2, 118, 254, .28); margin-bottom: 18px; box-shadow: none; }
.card-icon svg { width: 22px; height: 22px; fill: currentColor; display: block; }
.impact-card .card-icon { margin-bottom: 12px; }
.impact-card strong { display: block; font-size: 2.4rem; color: var(--primary); line-height: 1; margin: 10px 0; }
.testimonial-card { margin: 0; }
.testimonial-rail .testimonial-card { min-height: 100%; }
.testimonial-card blockquote { margin: 0 0 20px; color: var(--text-dark); font-size: 1.03rem; }
.testimonial-card span, .meta-line { color: var(--text-muted); font-size: .95rem; }
.steps b { color: var(--primary); font-size: 1.8rem; }
.check-list { padding-left: 1.2rem; }
.check-list li { margin-bottom: .6rem; }
.progress { height: 14px; background: var(--primary-light); border-radius: 999px; overflow: hidden; margin: 22px 0; }
.progress span { display: block; height: 100%; background: var(--success); border-radius: inherit; }

.newsletter-band { background: var(--primary); color: var(--white); }
.newsletter-inner { display: flex; gap: 24px; align-items: center; justify-content: space-between; }
.newsletter-inner p { color: rgba(255,255,255,.86); }
.inline-form, .compact-form { display: flex; gap: 10px; align-items: end; }
.newsletter-form { flex-wrap: wrap; justify-content: flex-end; }
.newsletter-form input { min-width: 190px; }
.newsletter-preferences { display: flex; gap: 12px; align-items: center; border: 0; padding: 0; margin: 0; color: var(--white); }
.newsletter-preferences legend { font-weight: 900; font-size: .9rem; margin-right: 2px; }
.newsletter-preferences .check { position: static; width: auto; height: auto; overflow: visible; display: flex; color: var(--white); margin: 0; gap: 6px; white-space: nowrap; }
.newsletter-preferences .check input { min-width: 0; width: auto; margin-top: .2rem; accent-color: var(--white); }
.partners-section { background: var(--white); }
.partner-logo-rail { padding: 6px 0; }
.partner-logo-rail .auto-scroll-track { align-items: center; animation-duration: 34s; }
.partner-logo-card { flex: 0 0 180px; height: 92px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); padding: 18px; line-height: 0; }
.partner-logo-card img { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; object-position: center center; margin: auto; }
.partner-logo-card:hover { border-color: rgba(2, 118, 254, .4); transform: translateY(-1px); }
.inline-form label, .compact-form label { position: absolute; width: 1px; height: 1px; overflow: hidden; }
input, textarea, select { width: 100%; border: 1px solid var(--border); border-radius: 14px; padding: .9rem 1rem; color: var(--text-dark); background: var(--white); }
label { display: grid; gap: .45rem; font-weight: 800; color: var(--text-dark); margin-bottom: 14px; }
.form-card { padding: 28px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; color: var(--text-muted); }
.check input { width: auto; margin-top: .35rem; }
.form-note { color: var(--text-muted); font-size: .92rem; margin-top: 14px; }
.form-note.is-error { color: #be123c; }
.form-error, .form-success { border-radius: 14px; padding: 12px 14px; font-weight: 800; }
.form-error { background: #fff1f2; color: #be123c; border: 1px solid #fecdd3; }
.form-success { background: #ecfdf5; color: #047857; border: 1px solid #bbf7d0; }
.honeypot { position: absolute !important; left: -9999px !important; }
.amount-grid button { text-align: left; border: 1px solid var(--border); background: var(--white); border-radius: var(--radius); padding: 20px; font-weight: 900; color: var(--primary); box-shadow: var(--shadow); cursor: pointer; }
.amount-grid button .card-icon { display: flex; color: var(--primary); margin-bottom: 14px; }
.amount-grid button span { display: block; color: var(--text-muted); font-weight: 600; margin-top: 6px; }
.amount-grid button .card-icon svg { fill: currentColor; }
.amount-grid button.is-selected { border-color: var(--primary); background: var(--primary-light); }
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-row a { padding: .65rem 1rem; border: 1px solid var(--border); border-radius: 999px; font-weight: 800; color: var(--text-muted); }
.filter-row a.is-active { background: var(--primary); color: var(--white); border-color: var(--primary); }
.article-page img { border-radius: var(--radius); margin: 26px 0; max-height: 460px; width: 100%; }
.gallery-grid img, .event-gallery img { width: 100%; height: 280px; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); background: var(--primary-light); }
.event-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.event-gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); }
.event-gallery img { height: 230px; transition: transform .28s ease, filter .28s ease; }
.event-gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
.event-gallery figure:first-child img { height: 478px; }
.event-gallery figure:hover img { transform: scale(1.035); filter: saturate(1.04); }
.map-placeholder { min-height: 240px; display: grid; place-items: center; border: 1px dashed var(--primary); border-radius: var(--radius); background: var(--primary-light); color: var(--primary-dark); font-weight: 900; margin-top: 22px; }

.faq-item { border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; background: var(--white); margin-bottom: 12px; }
.faq-item summary { cursor: pointer; font-weight: 900; color: var(--text-dark); }
.faq-item p { color: var(--text-muted); margin: 12px 0 0; }

.legal-page h2 { font-size: clamp(1.35rem, 3vw, 2rem); margin-top: 34px; }
.legal-page p { color: var(--text-muted); }
.legal-page strong, .legal-page a { color: var(--text-dark); }
.legal-page a { font-weight: 800; text-decoration: underline; text-decoration-color: rgba(2, 118, 254, .35); text-underline-offset: 4px; }
.admin-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; margin-bottom: 32px; }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.message-actions { margin-bottom: 14px; }
.dashboard-insights { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: -8px 0 28px; }
.dashboard-insights article { position: relative; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 10px; align-items: center; min-height: 86px; padding: 12px; border: 1px solid var(--border); border-radius: 14px; background: var(--white); box-shadow: var(--shadow); }
.dashboard-insights article.has-alert { border-color: rgba(220, 38, 38, .35); }
.dashboard-insights article.has-alert::after { content: ""; position: absolute; top: 10px; right: 10px; width: 8px; height: 8px; border-radius: 999px; background: #dc2626; box-shadow: 0 0 0 3px rgba(220, 38, 38, .12); }
.dashboard-insights .card-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: 0 0 auto; margin: 0; padding: 0; line-height: 0; }
.dashboard-insights .card-icon svg { width: 18px; height: 18px; display: block; margin: auto; transform: none; }
.dashboard-insights strong { display: block; color: var(--text-dark); font-size: 1.5rem; line-height: 1; }
.dashboard-insights span { display: block; color: var(--text-dark); font-size: .86rem; font-weight: 900; margin-top: 2px; white-space: normal; overflow-wrap: anywhere; }
.dashboard-insights p { margin: 2px 0 0; color: var(--text-muted); font-size: .78rem; line-height: 1.25; }
.danger-btn { background: #be123c; color: var(--white); }
.danger-btn:hover { background: #9f1239; }
.admin-user-list { display: grid; gap: 12px; }
.admin-user-list article { border: 1px solid var(--border); border-radius: 14px; padding: 14px; background: var(--background); }
.admin-user-list strong, .admin-user-list span, .admin-user-list em { display: block; }
.admin-user-list strong { margin-top: 6px; }
.admin-user-list span { color: var(--text-muted); }
.admin-user-list em { width: fit-content; color: var(--primary); background: var(--primary-light); border: 1px solid var(--border); border-radius: 999px; padding: 4px 10px; font-size: .78rem; font-style: normal; font-weight: 900; text-transform: capitalize; }
.settings-form h2 { font-size: 1.35rem; margin: 30px 0 16px; }
.settings-form h2:first-of-type { margin-top: 0; }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 8px; align-items: start; }
.settings-grid > label { align-self: start; }
.content-form .settings-grid { gap: 22px 24px; }
.content-form input:not([type="file"]), .content-form select { min-height: 54px; }
.content-form input[type="date"] { min-height: 54px; height: 54px; }
.content-form .admin-image-field { display: grid; gap: 10px; }
.content-form .admin-image-preview { height: 150px; margin-bottom: 0; box-shadow: none; }
.content-form input[type="file"] { min-height: 54px; padding: .7rem 1rem; }
.admin-image-field { align-content: start; }
.admin-image-preview { width: 100%; height: 180px; border: 1px solid var(--border); border-radius: 14px; background: var(--primary-light); object-fit: cover; box-shadow: var(--shadow); margin-bottom: 10px; }
.logo-preview { height: 96px; object-fit: contain; padding: 16px; background: var(--white); }
.dark-preview { background: #071c35; }
.favicon-preview { width: 92px; height: 92px; object-fit: contain; padding: 12px; }
.image-crop-modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 18px; background: rgba(16, 32, 51, .58); }
.image-crop-dialog { width: min(620px, 100%); display: grid; gap: 16px; padding: 20px; border-radius: 18px; background: var(--white); box-shadow: 0 24px 80px rgba(16, 32, 51, .28); }
.image-crop-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.image-crop-head h2 { margin: 0; font-size: 1.35rem; }
.image-crop-head button { width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 999px; background: var(--white); color: var(--text-dark); cursor: pointer; font-size: 1.35rem; line-height: 1; }
.image-crop-dialog canvas { width: 100%; height: auto; border: 1px solid var(--border); border-radius: 14px; background: var(--background); }
.crop-controls { display: grid; gap: 10px; }
.crop-controls label { display: grid; gap: 6px; margin: 0; color: var(--text-muted); font-weight: 800; }
.crop-controls input { padding: 0; }
.file-label { display: block; color: var(--primary); font-weight: 900; font-size: .9rem; margin-top: 8px; }
.gallery-manager { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin: 20px 0; background: var(--background); }
.gallery-manager h2 { font-size: 1.35rem; margin-bottom: 6px; }
.admin-gallery-preview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.hero-slide-admin-preview { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery-admin-item { display: grid; gap: 8px; align-content: start; margin: 0; padding: 10px; border: 1px solid var(--border); border-radius: 14px; background: var(--white); font-weight: 800; color: var(--text-muted); }
.gallery-admin-item img { width: 100%; height: 130px; object-fit: cover; border-radius: 10px; background: var(--primary-light); }
.hero-slide-admin-preview .gallery-admin-item img { height: 110px; }
.gallery-admin-item input { width: auto; margin-right: 6px; }
.gallery-admin-item.is-new { border-color: rgba(22, 163, 74, .35); background: #ecfdf5; }
.repeatable-list { display: grid; gap: 14px; margin: 14px 0; }
.repeatable-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 14px; align-items: end; padding: 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--white); }
.repeatable-item label { margin: 0; }
.repeatable-item textarea { min-height: 96px; }
.single-field-repeatable { grid-template-columns: minmax(0, 1fr) auto; }
.repeatable-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.repeatable-actions .btn { min-height: 40px; padding: .65rem .9rem; }
.mini-settings-card { display: grid; gap: 14px; border: 1px solid var(--border); border-radius: 14px; padding: 16px; background: var(--background); }
.mini-settings-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mini-settings-head h3 { margin: 0; }
.two-field-repeatable { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
.stat-repeatable { grid-template-columns: .7fr minmax(0, 1fr) minmax(0, 1.4fr) .8fr auto; align-items: start; }
.focus-card-repeatable { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) .8fr auto; align-items: start; }
.reply-history-list { display: grid; gap: 14px; margin-top: 14px; }
.reply-history-item { border: 1px solid var(--border); border-radius: 14px; padding: 14px; background: var(--soft); }
.reply-history-item h4 { margin: 4px 0 8px; }
.reply-history-item p:last-child { margin-bottom: 0; }
.cookie-consent { position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 1200; display: flex; align-items: center; justify-content: space-between; gap: 18px; max-width: 920px; margin: 0 auto; padding: 18px; border: 1px solid var(--border); border-radius: 18px; background: var(--white); box-shadow: 0 22px 60px rgba(18,32,51,.18); }
.cookie-consent[hidden] { display: none; }
.cookie-consent strong { display: block; margin-bottom: 4px; }
.cookie-consent p { margin: 0; color: var(--text-muted); }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--white); }
.admin-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 15px 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.admin-table input[type="checkbox"] { width: auto; }
.admin-table th { background: var(--primary-light); color: var(--text-dark); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tr.is-unread td { background: #f8fbff; font-weight: 800; }
.admin-table a { color: var(--primary); font-weight: 800; }
.table-thumb { width: 72px; height: 54px; border-radius: 10px; object-fit: cover; border: 1px solid var(--border); background: var(--primary-light); }
.contain-thumb { object-fit: contain; padding: 6px; }
.table-actions { min-width: 140px; }
.button-link { border: 0; background: transparent; padding: 0; cursor: pointer; display: block; margin-bottom: 8px; text-align: left; }
.message-preview-trigger { font-weight: 900; color: var(--primary); }
.danger-link { color: #be123c; }
.modal-open { overflow: hidden; }
.admin-modal[hidden] { display: none !important; }
.admin-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px; }
.admin-modal-backdrop { position: absolute; inset: 0; background: rgba(7, 28, 53, .62); backdrop-filter: blur(4px); }
.admin-modal-panel { position: relative; width: min(680px, 100%); max-height: min(720px, calc(100vh - 48px)); overflow-y: auto; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 28px 90px rgba(7, 28, 53, .28); padding: 32px; outline: none; }
.admin-modal-close { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; display: inline-grid; place-items: center; border: 1px solid var(--border); border-radius: 999px; background: var(--white); color: var(--text-dark); font-size: 1.7rem; line-height: 1; cursor: pointer; }
.admin-modal-close:hover { border-color: var(--primary); color: var(--primary); }
.message-preview-meta { display: flex; gap: 10px 16px; flex-wrap: wrap; padding-bottom: 18px; margin: 12px 0 20px; border-bottom: 1px solid var(--border); color: var(--text-muted); font-weight: 800; }
.message-preview-meta a { color: var(--primary); }
.message-preview-body { white-space: pre-wrap; color: var(--text-dark); line-height: 1.75; font-size: 1.05rem; }
.admin-detail-card { max-width: 100%; }
.admin-detail-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--border); }
.admin-detail-top h2 { margin: 12px 0 6px; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.admin-detail-top p { margin: 0; color: var(--text-muted); font-weight: 800; }
.admin-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; }
.admin-detail-grid div { border: 1px solid var(--border); border-radius: 14px; padding: 16px; background: var(--background); }
.admin-detail-grid dt { color: var(--text-muted); font-size: .85rem; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.admin-detail-grid dd { margin: 0; color: var(--text-dark); font-weight: 800; overflow-wrap: anywhere; }
.admin-detail-grid a { color: var(--primary); }
.admin-detail-note { margin-top: 22px; border: 1px solid var(--border); border-radius: 14px; padding: 20px; background: var(--white); }
.admin-detail-note h3 { margin-bottom: 10px; }
.admin-detail-note p { margin: 0; color: var(--text-muted); white-space: normal; }
.admin-content-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 28px; align-items: start; }
.single-admin-form { grid-template-columns: minmax(0, 1fr); }
.pagination { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; margin-top: 18px; }
.pagination a { min-width: 40px; height: 40px; display: inline-grid; place-items: center; border: 1px solid var(--border); border-radius: 999px; color: var(--text-muted); font-weight: 900; }
.pagination a:hover, .pagination a.is-active { background: var(--primary); border-color: var(--primary); color: var(--white); }
.cke_chrome {
  border-color: var(--border) !important;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cke_top {
  border-bottom-color: var(--border) !important;
  background: var(--background) !important;
}
.cke_bottom { display: none !important; }
.cke_wysiwyg_frame, .cke_wysiwyg_div { min-height: 360px !important; }
.cke_notifications_area,
.cke_notification,
.cke_notification_warning {
  display: none !important;
  visibility: hidden !important;
}
.cke_editable { color: var(--text-dark); line-height: 1.7; }
.cke_editable h2 { font-size: 1.65rem; line-height: 1.15; }
.cke_editable h3 { font-size: 1.35rem; line-height: 1.2; }
.cke_editable a { color: var(--primary); }
.editor-field { display: grid; gap: 10px; margin: 16px 0; font-weight: 900; color: var(--text-dark); }
.editor-field > label { margin: 0; }
.simple-editor { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.simple-editor-toolbar { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px; border-bottom: 1px solid var(--border); background: var(--background); }
.simple-editor-toolbar button { width: auto; border: 1px solid var(--border); border-radius: 9px; background: var(--white); color: var(--text-dark); font-weight: 900; padding: 7px 10px; cursor: pointer; }
.simple-editor-toolbar button:hover, .simple-editor-toolbar button:focus-visible { border-color: var(--primary); color: var(--primary); outline: none; }
.simple-editor-content { min-height: 260px; padding: 18px; outline: none; color: var(--text-dark); line-height: 1.7; font-weight: 500; }
.simple-editor-content:focus { box-shadow: inset 0 0 0 3px rgba(2,118,254,.16); }

.site-footer { background: #071c35; color: var(--white); padding: 64px 0 22px; }
.footer-grid { display: grid; grid-template-columns: minmax(320px, 1.25fr) minmax(360px, 1fr) minmax(360px, .95fr); gap: 52px; align-items: start; }
.footer-link-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.footer-logo { width: 190px; max-width: 100%; height: auto; margin-bottom: 18px; }
.site-footer p, .site-footer a { color: rgba(255,255,255,.78); }
.site-footer h2 { font-size: 1rem; margin-bottom: 12px; color: var(--white); }
.site-footer a { display: block; margin-bottom: 9px; }
.footer-contact-lines { margin-bottom: 20px; }
.footer-contact-pair { display: grid; grid-template-columns: 1fr; gap: 14px; align-items: start; }
.footer-contact-pair p { margin: 0; }
.footer-contact-pair p + p { margin-top: 14px; }
.footer-contact-pair p:last-child { margin-top: 0; }
.footer-contact-pair strong { display: block; margin-bottom: 6px; line-height: 1.2; }
.footer-contact-lines p { margin: 0 0 14px; color: rgba(255,255,255,.84); }
.footer-contact-lines p:last-child { margin-top: 18px; }
.footer-contact-lines strong { color: var(--white); font-weight: 900; }
.footer-contact-lines a { margin-bottom: 6px; font-size: 1.02rem; }
.footer-contact-pair a { display: block; margin: 0 0 6px; line-height: 1.35; }
.social-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.social-links a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 0; margin: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 34px; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-legal a { font-weight: 800; margin: 0; }

.live-chat-widget { position: fixed; right: 18px; bottom: 18px; z-index: 120; }
.live-chat-toggle { display: inline-flex; align-items: center; gap: 9px; min-height: 52px; padding: 0 18px; border: 1px solid rgba(2, 118, 254, .32); border-radius: 999px; background: var(--white); color: var(--primary); box-shadow: var(--shadow); font-weight: 900; cursor: pointer; }
.live-chat-toggle svg { width: 20px; height: 20px; fill: currentColor; }
.live-chat-panel { position: absolute; right: 0; bottom: 66px; width: min(380px, calc(100vw - 32px)); max-height: min(720px, calc(100vh - 96px)); overflow: hidden; border: 1px solid var(--border); border-radius: 22px; background: var(--white); box-shadow: 0 20px 60px rgba(16, 32, 51, .18); display: flex; flex-direction: column; }
.live-chat-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; background: var(--primary); color: var(--white); }
.live-chat-header strong, .live-chat-header span { display: block; }
.live-chat-header span { color: rgba(255,255,255,.82); font-size: .85rem; }
.live-chat-header button { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 34px; padding: 0 0 2px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; background: transparent; color: var(--white); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.live-chat-messages { height: clamp(210px, 34vh, 340px); overflow-y: auto; padding: 16px; background: var(--background); overscroll-behavior: contain; }
.chat-message { max-width: 84%; margin-bottom: 12px; padding: 11px 13px; border-radius: 16px; border: 1px solid var(--border); background: var(--white); }
.chat-message strong { display: block; font-size: .78rem; color: var(--text-muted); margin-bottom: 4px; }
.chat-message p { margin: 0; color: var(--text-dark); }
.chat-message.is-visitor { margin-left: auto; background: var(--primary); border-color: var(--primary); }
.chat-message.is-visitor strong, .chat-message.is-visitor p { color: var(--white); }
.live-chat-form { padding: 16px; display: grid; gap: 10px; flex: 0 0 auto; }
.live-chat-form label { margin-bottom: 0; }
.chat-start-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.live-chat-form textarea { resize: vertical; min-height: 84px; }
.crm-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 22px; }
.crm-metrics article { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; background: var(--white); box-shadow: var(--shadow); }
.crm-metrics span { display: block; color: var(--primary); font-size: 2rem; font-weight: 900; line-height: 1; }
.crm-metrics p { margin: 8px 0 0; color: var(--text-muted); font-weight: 800; }
.crm-layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 22px; align-items: start; }
.crm-list, .crm-panel { border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.crm-list { overflow: hidden; max-height: 720px; display: flex; flex-direction: column; }
.crm-list a { position: relative; display: grid; gap: 3px; padding: 16px 44px 16px 16px; border-bottom: 1px solid var(--border); }
.crm-list a:last-child { border-bottom: 0; }
.crm-list a.is-active { background: var(--primary-light); }
.crm-list span, .crm-list small { color: var(--text-muted); }
.crm-list em { position: absolute; right: 14px; top: 16px; min-width: 24px; height: 24px; display: grid; place-items: center; border-radius: 999px; background: var(--primary); color: var(--white); font-style: normal; font-size: .78rem; font-weight: 900; }
.crm-panel { padding: 20px; }
.crm-panel-header { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; border-bottom: 1px solid var(--border); padding-bottom: 16px; margin-bottom: 16px; }
.crm-panel-header h2 { font-size: 1.5rem; margin-bottom: 4px; }
.crm-thread { height: clamp(360px, 52vh, 640px); overflow-y: auto; padding: 4px; overscroll-behavior: contain; }
.crm-thread article { max-width: 78%; margin-bottom: 14px; padding: 13px 15px; border: 1px solid var(--border); border-radius: 16px; background: var(--background); }
.crm-thread article.is-agent { margin-left: auto; background: var(--primary-light); }
.crm-thread strong, .crm-thread span { display: block; color: var(--text-muted); font-size: .85rem; }
.crm-thread p { margin: 5px 0; }
.crm-reply { border-top: 1px solid var(--border); margin-top: 16px; padding-top: 16px; }
.crm-pagination { justify-content: center; padding: 12px; margin-top: auto; border-top: 1px solid var(--border); }
.crm-pagination a { min-width: 34px; height: 34px; }

.animate-in { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.animate-in.is-visible { opacity: 1; transform: translateY(0); }
