/* ==========================================================================
   Amiri Marketing - main stylesheet
   Colors are set in Appearance > Customize > Brand Colors.
   ========================================================================== */
:root {
	--primary: #7F47BA;
	--dark: #592987;
	--accent: #1497A5;
	--text: #241a30;
	--muted: #6f667c;
	--bg: #fff;
	--soft: #f6f1fb;
	--tint: #e6d7f5;
	--line: #e3dcea;
	--primary-light: #c3a2e6;
	--deep: #26103a;
	--radius: 22px;
	--font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}
@supports (color: color-mix(in srgb, red 10%, white)) {
	:root {
		--soft: color-mix(in srgb, var(--primary) 6%, white);
		--tint: color-mix(in srgb, var(--primary) 20%, white);
		--line: color-mix(in srgb, var(--primary) 14%, white);
		--primary-light: color-mix(in srgb, var(--primary) 55%, white);
		--deep: color-mix(in srgb, var(--dark) 42%, #0a0510);
	}
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.7; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--dark); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font); font-weight: 500; line-height: 1.2; margin: 0 0 .6em; color: var(--text); }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 3.1vw, 2.5rem); }
h3 { font-size: 1.2rem; }
h2 strong { font-weight: 600; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
.container { width: min(1240px, 92%); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal; }
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; margin: 0; padding: 12px 20px; background: #fff; color: var(--dark); z-index: 1000; top: 8px; left: 8px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Buttons ------------------------------------------------------------- */
.btn, button.btn { --ink: var(--primary); display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: 999px; border: 1.5px solid transparent; font-family: var(--font); font-size: .95rem; font-weight: 500; line-height: 1.2; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn .icon-arrowc { flex-shrink: 0; color: #fff; }
.icon-arrowc path { stroke: var(--ink, #fff); }
.btn-sm { padding: 10px 20px; font-size: .85rem; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--dark); color: #fff; --ink: var(--dark); }
.btn-dark { --ink: #150a22; background: #150a22; color: #fff; }
.btn-dark:hover { background: var(--dark); color: #fff; --ink: var(--dark); }
.btn-outline { --ink: #150a22; background: transparent; color: #fff; border-color: rgba(255, 255, 255, .75); }
.btn-outline:hover { background: #fff; color: #150a22; }
.btn-outline:hover .icon-arrowc { color: #150a22; }
.btn-outline:hover .icon-arrowc path { stroke: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn-mini { display: inline-block; background: #150a22; color: #fff; font-size: .72rem; font-weight: 600; padding: 5px 12px; border-radius: 6px; }
.btn-mini:hover { background: var(--primary); color: #fff; }

/* Header -------------------------------------------------------------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .3s, box-shadow .3s; }
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.site-title { display: inline-flex; align-items: center; gap: 10px; font-size: 1.35rem; font-weight: 600; color: #fff; line-height: 1.1; }
.site-title:hover { color: #fff; }
.logo-mark { width: 40px; height: 40px; border-radius: 11px; background: var(--primary); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.custom-logo { max-height: 56px; width: auto; display: block; }
.main-nav { display: flex; align-items: center; flex: 1; gap: 24px; }
.main-nav .menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0 auto; padding: 0; }
.main-nav .menu li { position: relative; }
.main-nav .menu a { display: block; padding: 10px 14px; color: #fff; font-weight: 400; font-size: .95rem; }
.main-nav .menu a:hover, .main-nav .menu .current-menu-item > a, .main-nav .menu .current_page_item > a { color: var(--primary-light); }
.main-nav .sub-menu { position: absolute; left: 0; top: 100%; min-width: 210px; list-style: none; margin: 0; padding: 10px; background: #fff; border-radius: 14px; box-shadow: 0 16px 40px rgba(20, 8, 35, .18); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.main-nav .sub-menu a { color: var(--text); border-radius: 8px; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu .sub-menu { left: 100%; top: 0; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-cta { padding: 13px 26px; }
.account-link { color: #fff; display: inline-flex; }
.account-link:hover { color: var(--primary-light); }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after { content: ''; display: block; width: 24px; height: 2px; background: #fff; position: absolute; left: 10px; transition: .25s; }
.menu-toggle .bars { top: 21px; }
.menu-toggle .bars::before { top: -7px; left: 0; }
.menu-toggle .bars::after { top: 7px; left: 0; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }
/* Solid state: after scrolling, or on pages with no dark hero */
.site-header.is-scrolled, body.no-hero .site-header { background: rgba(255, 255, 255, .97); box-shadow: 0 6px 24px rgba(36, 26, 48, .08); backdrop-filter: blur(8px); }
.site-header.is-scrolled .site-title, body.no-hero .site-title { color: var(--dark); }
.site-header.is-scrolled .main-nav .menu > li > a, body.no-hero .main-nav .menu > li > a, .site-header.is-scrolled .account-link, body.no-hero .account-link { color: var(--text); }
.site-header.is-scrolled .main-nav .menu a:hover, body.no-hero .main-nav .menu a:hover, .site-header.is-scrolled .menu .current-menu-item > a, body.no-hero .menu .current-menu-item > a { color: var(--primary); }
.site-header.is-scrolled .menu-toggle .bars, body.no-hero .menu-toggle .bars, .site-header.is-scrolled .menu-toggle .bars::before, body.no-hero .menu-toggle .bars::before, .site-header.is-scrolled .menu-toggle .bars::after, body.no-hero .menu-toggle .bars::after { background: var(--dark); }
.site-header.is-scrolled .menu-toggle[aria-expanded="true"] .bars, body.no-hero .menu-toggle[aria-expanded="true"] .bars { background: transparent; }
body.no-hero .site-content { padding-top: 84px; }

/* Hero ---------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; color: #fff; min-height: min(100vh, 880px); display: flex; align-items: flex-end; padding: 150px 0 86px; border-radius: 0 0 38px 38px; background: var(--deep); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 5, 24, .8), rgba(14, 5, 24, .3) 75%), linear-gradient(0deg, rgba(14, 5, 24, .62), transparent 60%); }
.hero-inner { position: relative; z-index: 1; }
.hero h1 { color: #fff; font-weight: 500; font-size: clamp(2.4rem, 5.6vw, 4.5rem); max-width: 860px; line-height: 1.1; margin-bottom: .45em; }
.hero .lead { font-size: 1.15rem; max-width: 760px; color: rgba(255, 255, 255, .93); margin-bottom: 0; }

/* Partners ------------------------------------------------------------ */
.partners { padding: 34px 0; }
.partners-inner { display: flex; align-items: center; gap: 36px; }
.partners-label { margin: 0; font-weight: 600; white-space: nowrap; color: var(--text); }
.marquee { overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee-set { display: flex; align-items: center; gap: 64px; padding-right: 64px; }
.marquee-set img { max-height: 34px; width: auto; filter: grayscale(1); opacity: .6; }
.logo-ph { min-width: 130px; text-align: center; font-weight: 700; font-size: 1.25rem; color: #b9b0c6; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-25%); } }

/* Shared section bits -------------------------------------------------- */
.section { padding: 80px 0; }
.eyebrow-sm { display: inline-block; font-size: .8rem; font-weight: 500; margin-bottom: 12px; color: var(--text); }
.pill { display: inline-block; border: 1px solid currentColor; border-radius: 999px; padding: 3px 14px; font-size: .75rem; font-weight: 500; line-height: 1.6; }
.pill-light { color: #fff; }
.round-icon { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--text); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head p { color: var(--muted); font-size: .95rem; margin: 0; }
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-bottom: 40px; }
.split-head h2 { margin: 0; max-width: 520px; }
.split-head p { color: var(--muted); margin-bottom: 1.2em; }
.feat-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--soft); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1px solid var(--line); }

/* About --------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: .9fr 1fr; gap: 80px; align-items: center; }
.about-media { position: relative; max-width: 470px; }
.about-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); display: block; }
.about-card { position: absolute; left: -36px; bottom: 46px; width: 230px; background: var(--primary); color: #fff; padding: 18px; border-radius: 16px; border: 6px solid #fff; display: flex; flex-direction: column; gap: 10px; }
.about-card strong { font-weight: 500; font-size: .95rem; line-height: 1.3; }
.about-card-icon { width: 34px; height: 34px; border-radius: 10px; background: #fff; color: var(--primary); display: inline-flex; align-items: center; justify-content: center; }
.avatars { display: flex; align-items: center; }
.avatars img { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; object-fit: cover; }
.avatars img:first-child { margin-left: 0; }
.avatars small { margin-left: 8px; font-size: .75rem; }
.about-copy h2 { font-weight: 400; margin-bottom: .7em; }
.about-copy h2 strong { font-weight: 600; }
.feat-row { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-bottom: 20px; }
.feat { display: flex; align-items: center; gap: 10px; font-size: .85rem; line-height: 1.3; max-width: 190px; }
.feat strong { font-weight: 500; }
.about-copy > p { color: var(--muted); font-size: .95rem; }
.points { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 8px; }
.points li { display: flex; align-items: center; gap: 10px; font-size: .88rem; }
.check { width: 18px; height: 18px; border-radius: 50%; background: var(--text); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* Expertise bento ------------------------------------------------------ */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(270px, auto); gap: 16px; }
.bento-wide { grid-column: span 2; background: var(--tint); border-radius: var(--radius); padding: 14px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; overflow: hidden; }
.bento-wide-copy { padding: 18px 0 18px 18px; display: flex; flex-direction: column; align-items: flex-start; }
.bento-wide-copy h3 { color: var(--dark); font-size: 1.15rem; font-weight: 500; }
.bento-wide-copy p { font-size: .85rem; color: #3b2f49; margin-bottom: .9em; }
.bento-wide-copy .btn { margin-top: auto; }
.bento-wide-img { border-radius: 16px; overflow: hidden; }
.bento-wide-img img, .bento-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.bento-img { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--deep); }
.bento-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 5, 24, .72), transparent 55%); }
.bento-img:hover img { transform: scale(1.06); }
.bento-img .cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; color: #fff; font-weight: 600; font-size: .98rem; line-height: 1.25; }

/* Path & stats --------------------------------------------------------- */
.path-grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 16px; }
.path-col { display: flex; flex-direction: column; gap: 14px; }
.path-img { border-radius: var(--radius); overflow: hidden; height: 290px; }
.path-img-sm { height: 190px; }
.path-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.path-card { height: 290px; border-radius: var(--radius); background: var(--primary); color: #fff; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; }
.path-card-icon { width: 36px; height: 36px; border-radius: 10px; background: #fff; color: var(--primary); display: inline-flex; align-items: center; justify-content: center; }
.path-card p { font-size: .82rem; margin-bottom: .6em; }
.path-card p:first-child { font-weight: 500; font-size: .95rem; }
.stat-num { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 600; line-height: 1.1; color: var(--text); }
.stat-suffix { color: var(--primary); }
.stat-label { font-size: .8rem; color: var(--muted); }
.path-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.path-list li { display: flex; gap: 14px; align-items: flex-start; }
.path-list strong { font-weight: 600; font-size: .95rem; display: block; margin-bottom: 2px; }
.path-list p { font-size: .8rem; color: var(--muted); margin: 0; }

/* Three cards ---------------------------------------------------------- */
.pillars { padding-top: 40px; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pillar { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 400px; padding: 20px; display: flex; flex-direction: column; }
.pillar-soft { background: var(--soft); border: 1px solid var(--line); }
.pillar-top { display: flex; align-items: center; justify-content: space-between; }
.pillar-soft .round-icon { background: #fff; }
.pillar h3 { font-size: 1.1rem; font-weight: 600; margin: 16px 0; max-width: 270px; }
.pillar-img { margin-top: auto; border-radius: 14px; overflow: hidden; height: 170px; }
.pillar-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pillar-photo { color: #fff; justify-content: flex-start; }
.pillar-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 5, 24, .75), rgba(14, 5, 24, .1) 60%); }
.pillar-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pillar-photo .pillar-top, .pillar-photo h3 { position: relative; z-index: 1; }
.pillar-photo h3 { color: #fff; margin-top: auto; margin-bottom: 4px; }

/* Banner --------------------------------------------------------------- */
.banner-section { padding: 0 0 80px; }
.banner { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; color: #fff; background: var(--deep); }
.banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 5, 24, .7), rgba(14, 5, 24, .1) 70%); }
.banner-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner-icon { position: relative; z-index: 1; }
.banner-foot { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.banner-foot h3 { color: #fff; font-size: clamp(1.2rem, 2.4vw, 1.7rem); font-weight: 600; margin: 0; }

/* Blog cards ----------------------------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); gap: 14px; }
.post-card { display: flex; flex-direction: column; }
.post-card-thumb { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px; background: var(--soft); margin-bottom: 14px; }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.post-card:hover .post-card-thumb img { transform: scale(1.06); }
.post-card h3 { font-size: .95rem; font-weight: 600; line-height: 1.3; margin-bottom: 6px; }
.post-card h3 a { color: var(--text); }
.post-card h3 a:hover { color: var(--primary); }
.post-meta { font-size: .72rem; color: var(--muted); margin-bottom: 6px; display: flex; gap: 14px; flex-wrap: wrap; }
.post-meta a { color: inherit; }
.post-card p { font-size: .8rem; color: var(--muted); margin-bottom: 12px; }
.post-card-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.post-card-body .btn-mini { margin-top: auto; }

/* Map + testimonials --------------------------------------------------- */
.clients { overflow-x: clip; }
.clients .section-head h2 { font-weight: 500; }
.map-wrap { position: relative; max-width: 1000px; margin: 0 auto -40px; }
.map-img { width: 100%; display: block; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
.pin { position: absolute; transform: translate(-50%, -100%); color: var(--accent); cursor: pointer; line-height: 0; }
.pin::after { content: ''; position: absolute; left: 50%; bottom: -3px; width: 18px; height: 6px; margin-left: -9px; border-radius: 50%; background: rgba(36, 26, 48, .18); animation: pulse 2.2s infinite; }
.pin svg { position: relative; z-index: 1; }
.pin-tip { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%) translateY(6px); background: #fff; color: var(--text); font-size: .75rem; font-weight: 500; line-height: 1.3; white-space: nowrap; padding: 7px 12px; border-radius: 8px; box-shadow: 0 8px 24px rgba(36, 26, 48, .18); opacity: 0; visibility: hidden; transition: .2s; z-index: 3; }
.pin-right .pin-tip { left: auto; right: -10px; transform: translateY(6px); }
.pin:hover .pin-tip, .pin:focus .pin-tip { opacity: 1; visibility: visible; transform: translateX(-50%); }
.pin-right:hover .pin-tip, .pin-right:focus .pin-tip { transform: none; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.8); opacity: 0; } }
.testi-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.testi-card { margin: 0; background: var(--soft); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; border: 1px solid var(--line); }
.testi-card blockquote { margin: 0 0 18px; font-size: .78rem; line-height: 1.65; color: #4a4057; flex: 1; }
.testi-card figcaption { display: flex; align-items: center; gap: 10px; }
.testi-card figcaption strong { display: block; font-size: .8rem; line-height: 1.2; }
.testi-card figcaption em { font-style: normal; font-size: .72rem; color: var(--muted); }
.avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }

/* FAQ ----------------------------------------------------------------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: start; }
.faq-head h2 { margin-top: 14px; font-weight: 600; }
.faq-head p { color: var(--muted); font-size: .92rem; max-width: 420px; margin-bottom: 30px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 4px; font-weight: 500; font-size: .92rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ic { color: var(--text); display: inline-flex; }
.faq-item[open] .ic-plus, .faq-item:not([open]) .ic-minus { display: none; }
.faq-a { padding: 0 4px 6px; color: var(--muted); font-size: .88rem; }

/* Contact -------------------------------------------------------------- */
.contact-section { padding: 70px 0 0; background: linear-gradient(180deg, #fff 50%, var(--deep) 50%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; border-radius: 26px; overflow: hidden; box-shadow: 0 24px 60px rgba(14, 5, 24, .22); background: var(--soft); }
.contact-card { padding: 40px 36px; }
.contact-card h2 { margin: 14px 0 .4em; font-weight: 600; }
.contact-card > p { color: var(--muted); font-size: .9rem; margin-bottom: 24px; }
.contact-form { display: grid; gap: 12px; justify-items: start; }
.contact-form input, .contact-form textarea { width: 100%; }
.contact-photo img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; display: block; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"], input[type="password"], input[type="number"], textarea, select { width: 100%; padding: 11px 14px; font-family: var(--font); font-size: .85rem; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 8px; transition: border-color .2s, box-shadow .2s; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(127, 71, 186, .15); }
textarea { resize: vertical; }
.notice { padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; font-weight: 500; font-size: .88rem; }
.notice-ok { background: #e7f7f0; color: #0e6b49; border: 1px solid #b7e6d1; }
.notice-err { background: #fdecec; color: #a12727; border: 1px solid #f4c3c3; }

/* Footer -------------------------------------------------------------- */
.site-footer { background: var(--deep); color: #d5cbe3; padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.site-footer .site-title { margin-bottom: 20px; }
.site-footer .custom-logo { margin-bottom: 20px; }
.footer-address { color: #fff; font-weight: 600; font-size: .9rem; margin-bottom: 14px; max-width: 220px; }
.footer-contact { font-size: .88rem; margin-bottom: 18px; }
.footer-col h3 { color: rgba(255, 255, 255, .5); font-size: .9rem; font-weight: 500; margin-bottom: 1.1em; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; font-size: .85rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--primary-light); }
.site-footer .btn-primary:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 0; font-size: .8rem; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.social-links { display: flex; gap: 14px; }
.social-links a { display: inline-flex; color: #fff; }

/* Inner pages --------------------------------------------------------- */
.page-hero { background: linear-gradient(135deg, var(--dark), var(--primary)); color: #fff; text-align: center; padding: 150px 0 70px; border-radius: 0 0 38px 38px; }
.page-hero h1 { color: #fff; margin: 0; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.page-hero .post-meta { justify-content: center; color: rgba(255, 255, 255, .85); margin-bottom: 12px; font-size: .85rem; }
.page-hero .post-meta a { color: #fff; }
.page-hero-desc { margin-top: 12px; opacity: .9; }
.page-wrap { padding-top: 70px; padding-bottom: 90px; }
.entry { max-width: 820px; margin-inline: auto; }
.entry-thumb img { border-radius: var(--radius); width: 100%; margin-bottom: 34px; display: block; }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 1.6em; }
.entry-content img { border-radius: 12px; }
.entry-content blockquote { margin-left: 0; padding: 8px 0 8px 24px; border-left: 4px solid var(--accent); font-size: 1.1rem; color: var(--dark); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.entry-content pre { background: #150a22; color: #eee; padding: 20px; border-radius: 12px; overflow: auto; }
.entry-content .alignwide { max-width: min(1100px, 92vw); margin-inline: auto; }
.entry-content .alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption-text, figcaption { font-size: .85rem; color: var(--muted); }
.entry-tags { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.entry-tags a { background: var(--soft); padding: 4px 14px; border-radius: 999px; font-size: .85rem; }
.full-width-content { width: 100%; }
.post-navigation, .comments-area { max-width: 820px; margin: 56px auto 0; }
.nav-links { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.pagination { margin-top: 56px; }
.pagination .nav-links { justify-content: center; gap: 8px; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); font-weight: 500; color: var(--text); }
.page-numbers.current, .page-numbers:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.search-form { display: flex; gap: 10px; max-width: 480px; margin: 20px auto; }
.search-form .search-field { flex: 1; }
.no-results { text-align: center; }
.not-found { text-align: center; padding: 110px 0; }
.big-404 { font-size: clamp(5rem, 16vw, 10rem); font-weight: 700; line-height: 1; background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.comments-title { font-size: 1.5rem; }
.comment-list, .comment-list ol { list-style: none; padding: 0; }
.comment-list .children { padding-left: 28px; }
.comment-body { background: var(--soft); border-radius: 14px; padding: 20px; margin-bottom: 16px; }
.comment-meta { font-size: .85rem; margin-bottom: 8px; }
.comment-author .avatar { float: left; margin-right: 14px; width: 48px; height: 48px; }
.comment-form label { margin-top: 12px; }
.comment-form .submit { background: var(--primary); color: #fff; border: 0; padding: 14px 30px; border-radius: 999px; font-family: var(--font); font-weight: 500; cursor: pointer; }
.comment-form .submit:hover { background: var(--dark); }

/* Scroll reveal (added by JS, so nothing is hidden without JS) --------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; transition: none; }
	.marquee-track, .pin::after { animation: none; }
	* { transition-duration: .01ms !important; }
}

/* Responsive ---------------------------------------------------------- */
@media (max-width: 1100px) {
	.card-grid-4 { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.about-grid { gap: 50px; }
}
@media (max-width: 991px) {
	.menu-toggle { display: block; }
	.main-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 14px; padding: 18px 4%; box-shadow: 0 20px 30px rgba(36, 26, 48, .12); max-height: calc(100vh - 84px); overflow-y: auto; display: none; }
	.main-nav.is-open { display: flex; }
	.main-nav .menu { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
	.main-nav .menu a, .site-header .main-nav .menu > li > a { color: var(--text); padding: 12px 6px; border-bottom: 1px solid var(--line); }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 16px; }
	.header-actions { justify-content: space-between; }
	.header-actions .account-link, .site-header .account-link { color: var(--text); }
	.header-cta { flex: 1; }
	.hero { min-height: 640px; padding: 130px 0 64px; border-radius: 0 0 28px 28px; }
	.about-grid, .faq-grid, .split-head { grid-template-columns: 1fr; gap: 36px; }
	.about-media { max-width: 520px; margin-inline: auto; }
	.about-card { left: 12px; }
	.bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(240px, auto); }
	.bento-wide { grid-column: span 2; }
	.path-grid, .pillar-grid { grid-template-columns: 1fr 1fr; }
	.path-col:last-child { grid-column: span 2; }
	.card-grid { grid-template-columns: repeat(2, 1fr); }
	.testi-grid { grid-template-columns: 1fr; }
	.contact-grid { grid-template-columns: 1fr; }
	.contact-photo img { min-height: 280px; }
	.section { padding: 64px 0; }
}
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 640px) {
	.bento { grid-template-columns: 1fr; }
	.bento-wide { grid-column: auto; grid-template-columns: 1fr; }
	.bento { grid-auto-rows: auto; }
	.bento-img { min-height: 240px; }
	.bento-wide-img { height: 200px; }
	.path-grid, .pillar-grid, .card-grid, .card-grid-4 { grid-template-columns: 1fr; }
	.path-col:last-child { grid-column: auto; }
	.footer-grid { grid-template-columns: 1fr; }
	.partners-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
	.partners-inner .marquee { width: 100%; }
	.btn-row .btn { width: 100%; }
	.banner-foot { flex-direction: column; align-items: flex-start; }
	.search-form { flex-direction: column; }
	.contact-card { padding: 28px 22px; }
}
