/* ==========================================================================
   Grace Ministries — styles
   ========================================================================== */

:root {
	--g-navy: #16235C;
	--g-navy-dark: #101a4a;
	--g-orange: #F29A1F;
	--g-orange-dark: #B8650A;
	--g-magenta: #D62F7C;
	--g-tint: #EEF2FA;
	--g-warm: #FFF1DD;
	--g-ink: #1d2340;
	--g-text: #3a4163;
	--g-muted: #5a6186;
	--g-line: #e3e7f2;
	--g-head: "Bricolage Grotesque", Georgia, "Times New Roman", serif;
	--g-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
	--g-sec: 120px;
	--g-header-h: 96px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--g-body); color: var(--g-ink); -webkit-font-smoothing: antialiased; }
[id] { scroll-margin-top: calc(var(--g-header-h) + 8px); }

/* Elementor wrappers around our sections: no spacing */
.elementor-section.g-el-section > .elementor-container > .elementor-column > .elementor-widget-wrap { padding: 0 !important; }
.elementor-widget[class*="elementor-widget-grace-"] { margin-bottom: 0 !important; --kit-widget-spacing: 0px; }

/* Base ------------------------------------------------------------------ */
.grace, .grace * { box-sizing: border-box; }
.grace { font-family: var(--g-body); color: var(--g-ink); }
.grace img { max-width: 100%; height: auto; display: block; }
.grace p { margin: 0; }
.grace h1, .grace h2, .grace h3 { font-family: var(--g-head); margin: 0; color: var(--g-navy); }
.grace figure { margin: 0; }
.grace ul { margin: 0; padding: 0; list-style: none; }

.g-wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.g-topbar .g-wrap, .g-header .g-wrap { width: min(1320px, 100% - 48px); }
.g-sec { padding-block: var(--g-sec); position: relative; }
.g-sec--flush-top { padding-top: 0; }
.g-stack { display: flex; flex-direction: column; gap: 22px; }
.g-center { text-align: center; align-items: center; }
.g-self-start { align-self: flex-start; }
.g-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 88px; align-items: center; }
.g-split--tight { gap: 64px; }

.grace .g-kicker { color: var(--g-orange-dark); font-weight: 700; font-size: 16px; }
.grace .g-kicker--light { color: var(--g-orange); }
.grace .g-h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; color: var(--g-navy); }
.grace .g-h2--light { color: #fff; }
.grace .g-h3 { font-size: 21px; line-height: 1.2; font-weight: 700; color: var(--g-navy); }
.grace .g-h3--light { color: #fff; }
.grace .g-display { font-size: clamp(48px, 6.2vw, 88px); line-height: .95; font-weight: 800; letter-spacing: -0.035em; color: var(--g-navy); }
.grace .g-lead, .grace .g-lead p { font-size: 18px; line-height: 1.7; color: var(--g-text); }
.grace .g-lead p + p { margin-top: 1em; }

/* Buttons ---------------------------------------------------------------- */
.grace .g-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
	font-family: var(--g-body); font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; text-align: center; white-space: nowrap;
	transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}
.grace .g-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(22, 35, 92, .22); }
.grace .g-btn:focus-visible { outline: 3px solid var(--g-orange); outline-offset: 3px; }
.grace .g-btn.g-btn--orange, .grace .g-btn.g-btn--orange:hover { background: var(--g-orange); color: var(--g-navy); }
.grace .g-btn.g-btn--navy, .grace .g-btn.g-btn--navy:hover { background: var(--g-navy); color: #fff; }
.grace .g-btn.g-btn--outline, .grace .g-btn.g-btn--outline:hover { background: transparent; border-color: var(--g-navy); color: var(--g-navy); }
.grace .g-btn.g-btn--light, .grace .g-btn.g-btn--light:hover { background: transparent; border-color: #fff; color: #fff; }
.grace .g-btn--lg { min-height: 56px; padding: 14px 30px; font-size: 17px; }
.grace .g-btn--xl { min-height: 62px; padding: 16px 38px; font-size: 19px; }
.grace .g-btn--block { width: 100%; }

/* Sun motif */
.g-sun { display: block; color: var(--g-orange); }
.g-sun--mini { width: 44px; height: 22px; flex-shrink: 0; }

/* Top bar ----------------------------------------------------------------- */
.g-topbar { background: var(--g-navy); color: #dfe5fb; font-size: 14px; }
.g-topbar__inner { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.g-topbar__contacts { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.grace.g-topbar a { color: #dfe5fb; display: inline-flex; gap: 8px; align-items: center; text-decoration: none; }
.grace.g-topbar a:hover { color: var(--g-orange); }
.g-topbar .g-icon { color: var(--g-orange); }
.grace .g-topbar__tagline { font-style: italic; color: var(--g-orange); }

/* Language switcher */
.g-topbar__right { display: flex; align-items: center; gap: 22px; }
.g-lang { display: flex; align-items: center; gap: 8px; }
.grace .g-lang--bar .g-lang__link { color: #dfe5fb; font-size: 14px; font-weight: 600; text-decoration: none; padding: 4px 2px; border-bottom: 2px solid transparent; }
.grace .g-lang--bar .g-lang__link:hover { color: var(--g-orange); }
.grace .g-lang--bar .g-lang__link.is-current { color: #fff; border-bottom-color: var(--g-orange); }
.g-lang__sep { color: rgba(255, 255, 255, .35); font-size: 13px; }
.g-lang--pills { padding: 16px 20px 4px; gap: 6px; flex-wrap: wrap; }
.grace .g-lang--pills .g-lang__link { padding: 7px 11px; border-radius: 999px; border: 2px solid var(--g-line); color: var(--g-navy); font-weight: 700; font-size: 13px; text-decoration: none; }
.grace .g-lang--pills .g-lang__link.is-current { background: var(--g-navy); border-color: var(--g-navy); color: #fff; }

/* Header ------------------------------------------------------------------ */
.g-header { position: sticky; top: 0; z-index: 900; background: #fff; box-shadow: 0 1px 0 #e6e9f3; transition: box-shadow .2s ease; }
.admin-bar .g-header { top: 32px; }
.g-header.is-scrolled { box-shadow: 0 8px 30px rgba(22, 35, 92, .10); }
.g-header__inner { height: var(--g-header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.g-header__brand { display: flex; align-items: center; flex-shrink: 0; }
.grace .g-logo { height: 76px; width: auto; }
.grace .g-logo--sm { height: 54px; }
.g-nav { display: flex; gap: clamp(16px, 1.8vw, 28px); align-items: center; }
.grace .g-nav__link { color: var(--g-navy); font-weight: 600; font-size: 15px; padding: 10px 0; border-bottom: 2px solid transparent; text-decoration: none; white-space: nowrap; }
.grace .g-nav__link:hover, .grace .g-nav__link:focus-visible { color: var(--g-navy); border-bottom-color: var(--g-orange); }
.g-header__actions { display: flex; gap: 12px; align-items: center; }
.g-show-sm { display: none; }
.grace .g-burger {
	display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; padding: 0;
	background: var(--g-navy); color: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.grace .g-burger:hover, .grace .g-burger:focus { background: var(--g-navy-dark); color: #fff; }

/* Off-canvas -------------------------------------------------------------- */
.g-oc { position: fixed; inset: 0; z-index: 99999; visibility: hidden; pointer-events: none; }
.g-oc.is-open { visibility: visible; pointer-events: auto; }
.g-oc__backdrop { position: absolute; inset: 0; background: rgba(12, 19, 56, .72); opacity: 0; transition: opacity .3s ease; }
.g-oc.is-open .g-oc__backdrop { opacity: 1; }
.g-oc__panel {
	position: absolute; top: 0; right: 0; height: 100%; width: min(340px, 86vw); background: #fff;
	display: flex; flex-direction: column; overflow-y: auto; transform: translateX(100%);
	transition: transform .35s cubic-bezier(.2, .8, .2, 1); box-shadow: -20px 0 50px rgba(0, 0, 0, .25);
}
.g-oc.is-open .g-oc__panel { transform: translateX(0); }
.g-oc__head { min-height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 10px 16px 10px 20px; border-bottom: 1px solid #e6e9f3; }
.grace .g-oc__close { width: 46px; height: 46px; border-radius: 50%; border: 0; padding: 0; background: var(--g-tint); color: var(--g-navy); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.grace .g-oc__close:hover, .grace .g-oc__close:focus { background: var(--g-warm); color: var(--g-navy); }
.g-oc__nav { display: flex; flex-direction: column; padding: 14px 12px; gap: 2px; }
.grace .g-oc__link { padding: 13px 14px; border-radius: 12px; color: var(--g-navy); text-decoration: none; font-family: var(--g-head); font-weight: 700; font-size: 21px; }
.grace .g-oc__link:hover, .grace .g-oc__link:focus-visible { background: var(--g-tint); color: var(--g-navy); }
.g-oc__btns { padding: 8px 24px 24px; display: flex; flex-direction: column; gap: 12px; }
.g-oc__contact { margin-top: auto; background: var(--g-navy); padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.grace .g-oc__contact a { color: #fff; font-weight: 600; text-decoration: none; }
.grace .g-oc__contact a.g-oc__mail { color: var(--g-orange); font-weight: 400; word-break: break-all; }
body.g-lock { overflow: hidden; }

/* Hero slider ------------------------------------------------------------- */
.g-hero { position: relative; height: 720px; overflow: hidden; background: var(--g-navy); }
.g-hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
.g-hero__slide.is-active { opacity: 1; visibility: visible; z-index: 2; transition: opacity .9s ease; }
.grace .g-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.g-hero__slide.is-active .g-hero__img { animation: g-zoom 9s ease-out both; }
@keyframes g-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.g-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16, 26, 74, .94) 0%, rgba(16, 26, 74, .78) 42%, rgba(16, 26, 74, .15) 78%); }
.g-hero__content { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding-bottom: 40px; }
.g-hero__content > * { max-width: 640px; }
.grace .g-hero__kicker { display: flex; align-items: center; gap: 12px; color: var(--g-orange); font-weight: 600; font-size: 17px; }
.grace .g-hero__title { font-size: clamp(38px, 4.6vw, 66px); line-height: 1.02; font-weight: 800; color: #fff; letter-spacing: -0.025em; }
.grace .g-hero__text { font-size: 20px; line-height: 1.55; color: #dfe5fb; max-width: 560px; }
.g-hero__btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.g-hero__nav { position: absolute; left: 0; right: 0; bottom: 40px; z-index: 4; display: flex; justify-content: space-between; align-items: center; }
.g-hero__dots { display: flex; gap: 10px; align-items: center; }
.grace .g-hero__dot { width: 24px; height: 6px; padding: 0; border: 0; border-radius: 6px; background: rgba(255, 255, 255, .55); cursor: pointer; transition: width .3s ease, background .3s ease; }
.grace .g-hero__dot:hover, .grace .g-hero__dot:focus { background: rgba(255, 255, 255, .85); }
.grace .g-hero__dot.is-active { width: 48px; background: var(--g-orange); }
.g-hero__arrows { display: flex; gap: 12px; }
.grace .g-hero__arrow { width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); background: transparent; color: #fff; padding: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.grace .g-hero__arrow:hover, .grace .g-hero__arrow:focus { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.grace .g-hero__arrow--next, .grace .g-hero__arrow--next:hover, .grace .g-hero__arrow--next:focus { background: var(--g-orange); border-color: var(--g-orange); color: var(--g-navy); }

/* About ------------------------------------------------------------------- */
.g-about__media { position: relative; height: 560px; }
.grace .g-about__img1 { position: absolute; left: 0; top: 0; width: 62%; height: 500px; object-fit: cover; border-radius: 24px; }
.grace .g-about__img2 { position: absolute; right: 0; bottom: 0; width: 47%; height: 380px; object-fit: cover; border-radius: 24px; border: 8px solid #fff; box-shadow: 0 24px 50px rgba(22, 35, 92, .18); }
.g-about__badge {
	position: absolute; left: 47%; top: 36px; width: 150px; height: 150px; border-radius: 50%;
	background: var(--g-magenta); color: #fff; display: flex; align-items: center; justify-content: center; text-align: center;
	font-family: var(--g-head); font-weight: 700; font-size: 18px; line-height: 1.2; padding: 16px;
}
.g-words { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 6px; }
.g-word { padding: 18px 20px; border-radius: 16px; font-family: var(--g-head); font-weight: 700; font-size: 22px; color: var(--g-navy); background: var(--g-tint); }
.g-word:nth-child(4n+2), .g-word:nth-child(4n+3) { background: var(--g-warm); }

/* Activities -------------------------------------------------------------- */
.g-acts { background: var(--g-navy); overflow: hidden; padding-bottom: calc(var(--g-sec) + 30px); }
.g-acts__sun { position: absolute; left: 50%; bottom: -40px; width: min(1100px, 120%); height: auto; transform: translateX(-50%); opacity: .1; pointer-events: none; }
.g-acts .g-wrap { position: relative; }
.g-acts__head { margin-bottom: 64px; gap: 16px; }
.g-acts__head .g-h2 { max-width: 760px; }
.g-acts__grid { display: grid; grid-template-columns: repeat(var(--g-cols, 5), minmax(0, 1fr)); gap: 20px; }
.g-acts__item { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 22px; padding: 36px 20px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; transition: background .25s ease, transform .25s ease; }
.g-acts__item:hover { background: rgba(255, 255, 255, .1); transform: translateY(-4px); }
.g-acts__icon { width: 76px; height: 76px; border-radius: 50%; background: var(--g-orange); color: var(--g-navy); display: flex; align-items: center; justify-content: center; }
.grace .g-acts .g-h3 { font-size: 24px; }
.grace .g-acts__desc { color: #c9d2f2; font-size: 15px; line-height: 1.55; }

/* Project ----------------------------------------------------------------- */
.g-list { display: flex; flex-direction: column; gap: 14px; }
.g-list__item { display: flex; gap: 18px; align-items: center; padding: 18px; border: 1px solid var(--g-line); border-radius: 18px; }
.g-list__icon { width: 56px; height: 56px; flex-shrink: 0; border-radius: 14px; background: var(--g-tint); color: var(--g-navy); display: flex; align-items: center; justify-content: center; }
.g-list__icon.is-warm { background: var(--g-warm); }
.g-list__desc { display: block; font-size: 15px; color: var(--g-muted); margin-top: 4px; }
.g-project__media { position: relative; }
.grace .g-project__img { width: 100%; height: 640px; object-fit: cover; border-radius: 28px; }
.g-place { position: absolute; left: -36px; bottom: 44px; background: var(--g-orange); color: var(--g-navy); border-radius: 20px; padding: 20px 24px; display: flex; gap: 14px; align-items: center; box-shadow: 0 20px 40px rgba(22, 35, 92, .2); font-size: 14px; }
.g-place strong { display: block; font-size: 18px; }

/* Mission ----------------------------------------------------------------- */
.g-mission { background: var(--g-tint); }
.grace .g-mission__img { width: 100%; height: 440px; object-fit: cover; border-radius: 28px; }
.grace .g-mission__sub { font-size: 32px; font-weight: 800; margin: 88px 0 32px; }
.g-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.g-card { background: #fff; border-radius: 26px; overflow: hidden; display: flex; box-shadow: 0 2px 0 #dde3f2; }
.grace .g-card__img { width: 230px; flex-shrink: 0; height: auto; min-height: 100%; object-fit: cover; }
.g-card__body { padding: 34px; display: flex; flex-direction: column; gap: 14px; }
.grace .g-card .g-h3 { font-size: 26px; line-height: 1.15; }
.grace .g-card p { font-size: 16px; line-height: 1.6; color: #4a5173; }
.g-card .g-btn { margin-top: auto; }

/* Gallery ----------------------------------------------------------------- */
.g-gallery__head { margin-bottom: 44px; gap: 14px; }
.g-gallery__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 250px; grid-auto-flow: dense; gap: 18px; }
.g-gallery__item { display: block; border-radius: 22px; overflow: hidden; background: var(--g-tint); }
.g-gallery__item.is-big { grid-column: span 2; grid-row: span 2; }
.g-gallery__item.is-tall { grid-row: span 2; }
.g-gallery__item.is-wide { grid-column: span 2; }
.grace .g-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.g-gallery__item:hover img { transform: scale(1.04); }
.g-gallery__item:focus-visible { outline: 3px solid var(--g-orange); outline-offset: 3px; }

/* Contact + form ---------------------------------------------------------- */
.g-contact__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 28px; align-items: stretch; }
.g-contact__card { position: relative; overflow: hidden; background: var(--g-navy); color: #fff; border-radius: 28px; padding: 48px 44px; display: flex; flex-direction: column; gap: 28px; }
.g-contact__sun { position: absolute; right: -80px; bottom: -30px; width: 420px; height: auto; opacity: .16; pointer-events: none; }
.g-contact__card > *:not(.g-contact__sun) { position: relative; }
.grace .g-contact__card .g-h2 { font-size: 40px; }
.g-contact__list { display: flex; flex-direction: column; gap: 22px; }
.g-contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.g-contact__list .g-icon { color: var(--g-orange); flex-shrink: 0; margin-top: 2px; }
.g-contact__label { display: block; font-size: 14px; color: #aeb8e0; }
.grace .g-contact__list a, .g-contact__value { display: block; color: #fff; font-size: 19px; font-weight: 600; text-decoration: none; word-break: break-word; }
.grace .g-contact__list a:hover { color: var(--g-orange); }
.g-contact__founder { margin-top: auto; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .18); }
.g-contact__founder strong { display: block; font-size: 18px; }
.g-contact__founder span { color: #aeb8e0; font-size: 15px; }

.g-form { border: 1px solid var(--g-line); border-radius: 28px; padding: 48px; display: flex; flex-direction: column; gap: 26px; }
.g-form__head { gap: 10px; }
.grace .g-form .g-h2 { font-size: 40px; }
.g-form__notice { padding: 18px 20px; border-radius: 14px; background: var(--g-warm); color: var(--g-navy); font-size: 15px; line-height: 1.5; }

/* Forminator inside our form box (set Forminator design style to "None") */
.g-form .forminator-ui.forminator-custom-form { margin: 0 !important; }
.g-form .forminator-label { display: block; font-weight: 600; font-size: 15px; color: var(--g-navy); margin-bottom: 8px; }
.g-form input[type="text"], .g-form input[type="email"], .g-form input[type="tel"], .g-form input[type="number"],
.g-form input[type="date"], .g-form select, .g-form textarea {
	width: 100%; min-height: 52px; border: 1px solid #cfd6ea; border-radius: 12px; padding: 12px 16px;
	font: inherit; font-size: 16px; color: var(--g-ink); background: #F8F9FD; transition: border-color .2s ease, box-shadow .2s ease;
}
.g-form textarea { min-height: 130px; }
.g-form input:focus, .g-form select:focus, .g-form textarea:focus { outline: none; border-color: var(--g-orange); box-shadow: 0 0 0 3px rgba(242, 154, 31, .25); background: #fff; }
.g-form .forminator-row { margin-bottom: 18px; }
.g-form .forminator-button, .g-form .forminator-button-submit, .g-form button[type="submit"] {
	min-height: 56px; padding: 14px 32px; border: 0; border-radius: 999px; background: var(--g-orange); color: var(--g-navy);
	font-family: var(--g-body); font-weight: 700; font-size: 17px; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
}
.g-form .forminator-button:hover, .g-form .forminator-button-submit:hover, .g-form button[type="submit"]:hover { background: var(--g-orange); color: var(--g-navy); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(22, 35, 92, .22); }
.g-form .forminator-error-message { color: #b3261e; font-size: 14px; margin-top: 6px; display: block; }

/* Donate band ------------------------------------------------------------- */
.g-donate { background: var(--g-orange); padding-block: 64px; }
.g-donate__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.grace .g-donate__title { font-size: clamp(34px, 3.8vw, 52px); line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; color: var(--g-navy); }
.grace .g-donate__text { font-size: 19px; color: var(--g-navy); margin-top: 12px; }
.g-donate .g-btn { flex-shrink: 0; }

/* Footer ------------------------------------------------------------------ */
.g-footer { background: var(--g-navy-dark); color: #c9d2f2; padding-top: 72px; }
.g-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 64px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.g-footer__about { display: flex; flex-direction: column; gap: 20px; }
.grace .g-footer__about p { font-size: 16px; line-height: 1.7; max-width: 380px; color: #c9d2f2; }
.g-footer__logo { align-self: flex-start; background: #fff; border-radius: 18px; padding: 12px 18px; }
.grace .g-footer__logo .g-logo { height: 70px; }
.grace .g-footer__about .g-footer__motto { font-family: var(--g-head); font-weight: 700; font-size: 20px; color: var(--g-orange); }
.g-footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.grace .g-footer__title { color: #fff; font-weight: 700; font-size: 18px; margin-bottom: 6px; }
.grace .g-footer__col a:not(.g-btn) { color: #c9d2f2; text-decoration: none; word-break: break-word; }
.grace .g-footer__col a:not(.g-btn):hover { color: var(--g-orange); }
.g-footer__don { margin-top: 10px; }
.g-footer__bottom { padding: 24px 0; font-size: 14px; color: #8e9ac6; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1380px) {
	.g-hide-md { display: none !important; }
}

@media (max-width: 1240px) {
	.g-nav { display: none; }
	.g-hide-md { display: none !important; }
	.grace .g-burger { display: inline-flex; }
	.g-split { gap: 56px; }
	.g-acts__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.g-place { left: 20px; }
}

@media (max-width: 1024px) {
	:root { --g-sec: 88px; }
	.g-split, .g-contact__grid { grid-template-columns: minmax(0, 1fr); }
	.g-project__media { order: 2; }
	.grace .g-project__img { height: 460px; }
	.g-cards { grid-template-columns: minmax(0, 1fr); }
	.g-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
	.g-footer__about { grid-column: span 2; }
	.g-gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 220px; }
}

@media (max-width: 782px) {
	.admin-bar .g-header { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .g-header { top: 0; }
}

@media (max-width: 767px) {
	:root { --g-sec: 72px; --g-header-h: 76px; }
	.g-wrap { width: calc(100% - 40px); }
	.g-topbar { display: none; }
	.grace .g-logo { height: 56px; }
	.g-header__actions { gap: 10px; }
	.grace .g-header__don { min-height: 44px; padding: 10px 18px; font-size: 15px; }
	.g-hide-sm { display: none; }
	.g-show-sm { display: inline; }
	.g-header__don .g-icon { display: none; }

	.g-hero { height: 640px; }
	.g-hero__shade { background: linear-gradient(180deg, rgba(16, 26, 74, .25) 0%, rgba(16, 26, 74, .72) 42%, rgba(16, 26, 74, .96) 75%); }
	.g-hero__content { justify-content: flex-end; padding-bottom: 96px; gap: 16px; }
	.grace .g-hero__kicker { font-size: 15px; }
	.grace .g-hero__text { font-size: 16px; }
	.g-hero__btns { flex-direction: column; }
	.g-hero__btns .g-btn { width: 100%; }
	.g-hero__btns .g-btn--light { display: none; }
	.g-hero__nav { bottom: 24px; }
	.grace .g-hero__arrow { width: 44px; height: 44px; }
	.grace .g-hero__dot { width: 20px; }
	.grace .g-hero__dot.is-active { width: 40px; }
	.g-sun--mini { display: none; }

	.g-about__media { height: 380px; }
	.grace .g-about__img1 { height: 340px; width: 62%; }
	.grace .g-about__img2 { height: 250px; width: 45%; border-width: 6px; }
	.g-about__badge { width: 112px; height: 112px; font-size: 14px; left: auto; right: 0; top: 0; }
	.g-word { font-size: 19px; padding: 16px; }

	.g-acts__head { margin-bottom: 36px; align-items: flex-start; text-align: left; }
	.g-acts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.g-acts__item:last-child:nth-child(odd) { grid-column: span 2; }
	.g-acts__item { padding: 24px 12px; gap: 12px; }
	.g-acts__icon { width: 60px; height: 60px; }
	.g-acts__icon .g-icon { width: 28px; height: 28px; }
	.grace .g-acts .g-h3 { font-size: 19px; }

	.g-list__item { padding: 14px; gap: 14px; }
	.g-list__icon { width: 48px; height: 48px; }
	.grace .g-project__img { height: 380px; border-radius: 22px; }
	.g-place { left: 14px; bottom: 14px; padding: 12px 16px; border-radius: 14px; }
	.g-place .g-icon { display: none; }

	.grace .g-mission__img { height: 240px; border-radius: 22px; }
	.grace .g-mission__sub { font-size: 24px; margin: 40px 0 20px; }
	.g-card { flex-direction: column; }
	.grace .g-card__img { width: 100%; height: 190px; min-height: 0; }
	.g-card__body { padding: 24px; }
	.grace .g-card .g-h3 { font-size: 22px; }
	.g-card .g-btn { width: 100%; }

	.g-gallery__head { margin-bottom: 24px; }
	.g-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; gap: 10px; }
	.g-gallery__item { border-radius: 16px; }
	.g-gallery__item.is-wide { grid-column: span 2; }

	.g-contact__card { padding: 32px 24px; border-radius: 22px; }
	.grace .g-contact__card .g-h2, .grace .g-form .g-h2 { font-size: 30px; }
	.grace .g-contact__list a, .g-contact__value { font-size: 17px; }
	.g-form { padding: 28px 22px; border-radius: 22px; }

	.g-donate { padding-block: 48px; }
	.g-donate__inner { flex-direction: column; align-items: stretch; gap: 20px; }
	.g-donate .g-btn { width: 100%; }

	.g-footer { padding-top: 48px; }
	.g-footer__grid { grid-template-columns: 1fr; gap: 32px; }
	.g-footer__about { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.grace *, .grace *::before, .grace *::after { animation: none !important; transition: none !important; }
}
