/* ==========================================================================
   NetMet — global styles
   Values are taken from the live site (Elementor kit 8 + header 2816 +
   footer 1185). Breakpoints match the live site: tablet <= 1020px,
   mobile <= 778px.

   1. Tokens          5. Header          9. Blog
   2. Reset / base    6. Mega-menu      10. Utilities
   3. Typography      7. Mobile panel   11. Responsive
   4. Layout          8. Footer
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
	/* Brand */
	--c-yellow:        #FBC02D;   /* el_color_1   — buttons, strips */
	--c-yellow-dark:   #F9A825;   /* el_color_1_2 — links, accents */
	--c-yellow-light:  #FDD835;   /* el_color_1_4 */
	--c-yellow-50:     #FBC02D80;
	--c-yellow-17:     #FBC02D2B;
	--c-blue:          #0159D3;   /* el_color_2 */
	--c-blue-dark:     #00347D;   /* el_color_2_2 / el_color_3 */
	--c-blue-bright:   #136FEF;   /* el_color_2_3 */
	--c-banner:        #002173;   /* promo banner background */
	--c-navy:          #0F1B2D;   /* el_color_6 — footer */
	--c-red:           #E53935;
	--c-orange:        #FA8835;
	--c-teal:          #00A7BA;

	/* Neutrals */
	--c-ink:           #11181C;   /* el_color_7   — headings, menu */
	--c-text:          #5F676D;   /* el_color_7_1 — body copy */
	--c-muted:         #8D959B;   /* el_color_7_2 */
	--c-line:          #11181C1F; /* el_color_7_4 */
	--c-soft:          #F1F3F5;   /* el_color_7_6 */
	--c-grey-3:        #BBBDBE;
	--c-white:         #FFFFFF;
	--c-white-50:      #FFFFFF80;
	--c-white-20:      #FFFFFF33;
	--c-cream:         #FEFBF2;

	/* Type */
	--ff:              "Poppins", sans-serif;
	--fs-h1: 47px;  --lh-h1: 1.1;
	--fs-h2: 35px;  --lh-h2: 1.2;
	--fs-h3: 27px;  --lh-h3: 1.3;
	--fs-h4: 20px;  --lh-h4: 1.4;
	--fs-h5: 18px;  --lh-h5: 1.4;
	--fs-h6: 16px;  --lh-h6: 1.4;
	--fs-lead: 18px;  /* el_content_4 */
	--fs-body: 16px;  /* el_content_1 */
	--fs-small: 15px; /* el_content_2 */
	--fs-xs: 13px;    /* el_content_3 */

	/* Layout */
	--container: 1231px;
	--gutter: 30px;
	--header-z: 100;
}

/* 2. Reset / base ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	font-family: var(--ff);
	font-size: var(--fs-body);
	font-weight: 400;
	line-height: 1.8;
	color: var(--c-text);
	background: var(--c-white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-yellow-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-ink); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; }
p { margin: 0 0 1em; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 2px; }

.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	padding: 10px 16px; background: var(--c-ink); color: var(--c-white); border-radius: 4px;
}
.skip-link:focus { top: 12px; color: var(--c-white); }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.ic { width: 1em; height: 1em; flex: none; }
/* Single-colour SVG from the media library, recoloured with CSS: <span class="mask-icon" style="--icon:url(...)"> */
.mask-icon { display: inline-block; flex: none; width: 1em; height: 1em; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }

/* 3. Typography ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-family: var(--ff); font-weight: 500; color: var(--c-ink); text-transform: none; }
h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); }
h4 { font-size: var(--fs-h4); line-height: var(--lh-h4); }
h5 { font-size: var(--fs-h5); line-height: var(--lh-h5); }
h6 { font-size: var(--fs-h6); line-height: var(--lh-h6); }

/* Reusable type classes for page HTML (match the kit presets). */
.t-lead  { font-size: var(--fs-lead);  line-height: 1.8; }
.t-small { font-size: var(--fs-small); line-height: 1.7; }
.t-xs    { font-size: var(--fs-xs);    line-height: 1.6; }
.t-accent { color: var(--c-yellow-dark); }
.t-blue   { color: var(--c-blue); }

/* 4. Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 900px; }
.section { padding: 100px 0; }
.section--soft { background: var(--c-soft); }
.section--navy { background: var(--c-navy); color: var(--c-white); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--c-white); }

/* Buttons used across pages (live: 200x56, 16px/500, 3px radius). */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-width: 200px; min-height: 56px; padding: 12px 24px; border-radius: 3px;
	font-size: 16px; font-weight: 500; line-height: 1; text-align: center;
	transition: background-color .25s, color .25s, border-color .25s;
}
.btn--primary { background: var(--c-yellow-light); color: var(--c-ink); }
.btn--primary:hover { background: var(--c-yellow); color: var(--c-ink); }
.btn--outline { border: 1px solid var(--c-yellow); color: var(--c-yellow); font-size: 17px; }
.btn--outline:hover { background: var(--c-yellow); color: var(--c-ink); }
.btn .ic { width: 17px; height: 17px; }
.link-arrow {
	display: inline-flex; align-items: center; gap: 10px; padding-bottom: 6px;
	border-bottom: 1px solid var(--c-yellow); font-size: 16px; font-weight: 500; line-height: 1; color: var(--c-white);
}
.link-arrow:hover { color: var(--c-yellow); }
.link-arrow .ic { width: 14px; height: 14px; }

/* Section headings: "Why Choose <span class="hl">NetMet Solutions?</span>" with the yellow swoosh. */
.sec-title { margin: 0 0 10px; font-size: 43px; line-height: 1.3; font-weight: 500; color: var(--c-ink); }
.sec-title--md { font-size: var(--fs-h2); line-height: 1.2; }
.sec-title .hl { position: relative; display: inline-block; color: var(--c-blue-dark); }
.sec-title .hl::after {
	content: ""; position: absolute; left: -2%; right: -2%; bottom: -14px; height: 16px; pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 16' preserveAspectRatio='none'%3E%3Cpath d='M3 11C90 3 230 1 397 13' fill='none' stroke='%23FBC02D' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.sec-title .hl--plain::after { display: none; }
.eyebrow { margin: 0; font-size: 20px; line-height: 28px; font-weight: 500; color: var(--c-muted); }
.on-dark { color: var(--c-white); }
.bg-navy-waves { position: relative; isolation: isolate; background: var(--c-navy); }
.bg-navy-waves::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
	background: url("/wp-content/uploads/2020/05/wicked-bg-the7-5.svg") center / cover no-repeat;
	opacity: .5; mix-blend-mode: color-dodge;
}

/* Block editor content: let full-width HTML sections span the page. */
.page-content > * { margin-top: 0; margin-bottom: 0; }
.page-content .alignwide { max-width: calc(var(--container) + var(--gutter) * 2); margin-left: auto; margin-right: auto; }

/* 5. Header ---------------------------------------------------------------- */
/* Only the main bar stays pinned: the header sticks at minus the height of the
   promo banner + contact strip (--nm-pre-h, measured in main.js), so those two
   scroll away and the white bar remains. */
.site-header {
	position: sticky; top: calc(-1 * var(--nm-pre-h, 127px)); z-index: var(--header-z);
	background: var(--c-white);
}
.admin-bar .site-header { top: calc(32px - var(--nm-pre-h, 127px)); }

.promo-banner { background: var(--c-banner); padding: 6px 10px; }
.promo-banner img { display: block; width: 100%; height: auto; max-height: 46px; object-fit: contain; margin: 0 auto; }

.topbar { background: var(--c-yellow); }
.topbar__list {
	list-style: none; display: flex; justify-content: flex-end; align-items: center;
	gap: 60px; min-height: 32px; padding: 0;
}
.topbar__item:last-child { margin-left: -17px; } /* live spacing: 60px then 43px */
.topbar__item a {
	display: flex; align-items: center; gap: 15px;
	color: var(--c-white); font-size: 14px; font-weight: 600; line-height: 22px;
}
.topbar__item a:hover { color: var(--c-ink); }
.topbar__item .ic { width: 22px; height: 22px; }

.mainbar {
	display: flex; align-items: center;
	min-height: 84px; padding: 0 24px 0 34px;
	background: var(--c-white);
	transition: min-height .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled .mainbar { min-height: 66px; box-shadow: 0 6px 24px rgba(17, 24, 28, .08); }
.site-logo { flex: 0 0 160px; display: flex; align-items: center; }
.site-logo img { width: auto; height: 62px; transition: height .25s ease; } /* logo is 160x125: size by height */
.site-header.is-scrolled .site-logo img { height: 48px; }
@media (prefers-reduced-motion: reduce) { .mainbar, .site-logo img { transition: none; } }

.primary-nav { flex: 1; display: flex; justify-content: center; }
.primary-nav__list { list-style: none; display: flex; align-items: center; gap: 61px; }
.primary-nav__item { position: static; }
.primary-nav__link {
	position: relative; display: flex; align-items: center; gap: 4px;
	padding: 6px 0; font-size: 16px; font-weight: 400; line-height: 28.8px; color: var(--c-ink);
}
.primary-nav__link::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
	background: var(--c-yellow-dark); transform: scaleX(0); transition: transform .25s;
}
.primary-nav__link:hover, .primary-nav__item.is-current > .primary-nav__link { color: var(--c-ink); }
.primary-nav__link:hover::after,
.primary-nav__item.is-current > .primary-nav__link::after,
.has-mega.is-open > .primary-nav__link::after { transform: scaleX(1); }
.primary-nav__link .caret { width: 10px; height: 10px; }

.student-login {
	display: flex; align-items: center; gap: 10px; margin-left: 35px; white-space: nowrap;
	font-size: 17px; font-weight: 500; line-height: 25px; color: var(--c-yellow);
}
.student-login .ic { width: 16px; height: 16px; color: var(--c-yellow-dark); }
.student-login:hover { color: var(--c-yellow-dark); }

.menu-toggle { display: none; color: var(--c-ink); }
.menu-toggle .ic { width: 24px; height: 24px; }

/* 6. Mega-menu ------------------------------------------------------------- */
.mega {
	position: absolute; left: 0; right: 0; top: 100%;
	background: var(--c-white);
	border-top: 1px solid var(--c-line);
	box-shadow: 0 20px 40px rgba(17, 24, 28, .08);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .2s, transform .2s, visibility 0s .2s;
}
.has-mega.is-open > .mega,
.has-mega:focus-within > .mega {
	opacity: 1; visibility: visible; transform: none;
	transition: opacity .2s, transform .2s;
}
@media (hover: hover) {
	.has-mega:hover > .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
}
.mega__inner {
	display: grid; grid-template-columns: repeat(4, 1fr) 1.3fr; gap: 40px;
	max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 40px var(--gutter) 45px;
}
.mega__title { margin: 0 0 14px; font-size: 16px; font-weight: 500; line-height: 1.4; color: var(--c-ink); }
.mega ul { list-style: none; display: grid; gap: 10px; }
.mega ul a { font-size: 15px; line-height: 1.5; color: var(--c-text); }
.mega ul a:hover, .mega ul a[aria-current="page"] { color: var(--c-yellow-dark); }
.mega__contact { display: grid; gap: 18px; align-content: start; }
.mega__contact-item { display: flex; gap: 12px; margin: 0; font-size: 14px; line-height: 1.5; color: var(--c-text); }
.mega__contact-item strong { display: block; font-size: 15px; font-weight: 500; color: var(--c-ink); }
.mega__contact-item .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--c-yellow-dark); }

/* 7. Mobile panel ---------------------------------------------------------- */
.mobile-panel { position: fixed; inset: 0; z-index: 1000; }
.mobile-panel[hidden] { display: none; }
.mobile-panel__backdrop { position: absolute; inset: 0; background: rgba(17, 24, 28, .45); }
.mobile-panel__sheet {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88vw);
	padding: 64px 28px 40px; overflow-y: auto; background: var(--c-white);
	animation: panel-in .25s ease-out;
}
@keyframes panel-in { from { transform: translateX(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .mobile-panel__sheet { animation: none; } }
.mobile-panel__close { position: absolute; top: 18px; right: 20px; color: var(--c-yellow); }
.mobile-panel__close .ic { width: 24px; height: 24px; }
.mobile-nav, .mobile-nav ul { list-style: none; }
.mobile-nav__item { border-bottom: 1px solid var(--c-line); }
.mobile-nav__link {
	display: flex; width: 100%; justify-content: space-between; align-items: center;
	padding: 12px 0; font-size: 16px; line-height: 1.5; text-align: left; color: var(--c-ink);
}
.mobile-nav__link .ic { width: 20px; height: 20px; transition: transform .2s; }
.sub-toggle[aria-expanded="true"] .ic { transform: rotate(180deg); }
.mobile-nav__sub { padding: 0 0 12px 14px; }
.mobile-nav__group-title { display: block; padding: 8px 0 4px; font-size: 14px; font-weight: 500; color: var(--c-ink); }
.mobile-nav__group a { display: block; padding: 5px 0 5px 12px; font-size: 14px; color: var(--c-text); }
.mobile-nav__group a:hover { color: var(--c-yellow-dark); }

/* 8. Footer ---------------------------------------------------------------- */
.site-footer {
	position: relative; isolation: isolate;
	padding-top: 100px;
	background: var(--c-navy);
	color: var(--c-white);
}
/* Wave overlay, as on the live footer: 50% opacity, colour-dodge over navy. */
.site-footer::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: url("/wp-content/uploads/2020/05/wicked-bg-the7-5.svg") center / cover no-repeat;
	opacity: .5; mix-blend-mode: color-dodge;
}
.footer-grid { display: grid; grid-template-columns: 35% 37% 28%; padding-bottom: 80px; }
.footer-logo { width: 160px; height: auto; margin-bottom: 30px; }
.footer-mission { max-width: 370px; font-size: 16px; line-height: 28.8px; color: var(--c-white); }
.footer-title { margin: 0 0 25px; font-size: 16px; font-weight: 500; line-height: 22.4px; color: var(--c-white); }

.footer-contact { list-style: none; display: grid; gap: 20px; max-width: 372px; }
.footer-contact li { display: flex; gap: 11px; }
.footer-contact .ic { width: 16px; height: 16px; margin-top: 5px; color: var(--c-white); }
.footer-contact a, .footer-contact address { display: block; font-size: 15px; line-height: 25.5px; color: var(--c-white); }
.footer-contact a:hover { color: var(--c-yellow); }
.footer-contact__lead { font-size: 18px !important; font-weight: 500; line-height: 25.2px !important; }
.footer-contact__note { display: block; font-size: 13px; line-height: 20.8px; color: var(--c-white-50); }

.footer-links { list-style: none; display: grid; gap: 26px; line-height: 20px; } /* live: 46px link-to-link */
.footer-links a { font-size: 16px; line-height: 20px; color: var(--c-yellow-dark); }
.footer-links a:hover { color: var(--c-white); }

.footer-bottom {
	display: flex; justify-content: space-between; align-items: center; gap: 20px;
	padding: 30px 0; border-top: 1px solid var(--c-white-20);
}
.footer-copy { margin: 0; font-size: 13px; line-height: 20.8px; color: var(--c-white-50); }
.footer-social { list-style: none; display: flex; gap: 20px; }
.footer-social a { display: block; color: rgba(255, 255, 255, .6); }
.footer-social a:hover { color: var(--c-yellow); }
.footer-social .ic { width: 16px; height: 16px; }

.to-top {
	position: fixed; right: 16px; bottom: 16px; z-index: 90;
	display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
	background: var(--c-yellow); color: var(--c-ink);
	opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--c-yellow-dark); color: var(--c-ink); }
.to-top .ic { width: 22px; height: 22px; }

/* 9. Blog ------------------------------------------------------------------ */
.page-hero { padding: 70px 0 50px; background: var(--c-soft); }
.page-hero__title { margin: 0; }
.blog-wrap { padding-top: 70px; padding-bottom: 100px; }
.post-list { display: grid; gap: 50px; }
.post-card { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: 40px; align-items: start; }
.post-card:not(:has(.post-card__thumb)) { grid-template-columns: 1fr; }
.post-card__thumb img { width: 100%; border-radius: 6px; }
.post-card__title { margin: 0 0 12px; font-size: var(--fs-h4); line-height: var(--lh-h4); }
.post-card__title a { color: var(--c-ink); }
.post-card__title a:hover { color: var(--c-yellow-dark); }
.post-card__excerpt { margin-bottom: 10px; }
.post-card__more { font-weight: 500; }
.post-meta { display: flex; gap: 18px; margin-top: 10px; font-size: var(--fs-xs); line-height: 1.6; color: var(--c-muted); }
.single-post__thumb { margin: 50px 0 0; }
.single-post__thumb img { width: 100%; border-radius: 6px; }
.entry-content { padding: 50px 0; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 1.6em; }
.entry-content ul, .entry-content ol { margin: 0 0 1em 1.4em; }
.entry-content img { border-radius: 4px; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; }
.entry-content th, .entry-content td { padding: 10px 14px; border: 1px solid var(--c-line); text-align: left; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; padding: 30px 0 80px; border-top: 1px solid var(--c-line); font-weight: 500; }
.pagination { margin-top: 60px; }
.pagination .page-numbers {
	display: inline-grid; place-items: center; min-width: 40px; height: 40px; margin-right: 6px;
	border: 1px solid var(--c-line); border-radius: 4px; color: var(--c-ink);
}
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--c-yellow); border-color: var(--c-yellow); }
.not-found { padding: 70px var(--gutter) 120px; }

/* 10. Utilities ------------------------------------------------------------ */
.u-center { text-align: center; }
.u-hide { display: none !important; }

/* 11. Responsive ----------------------------------------------------------- */
@media (max-width: 1200px) {
	.primary-nav__list { gap: clamp(24px, 3.5vw, 61px); }
}

@media (max-width: 1020px) { /* tablet: compact bar + slide-in menu (desktop menu would be cramped) */
	:root { --fs-lead: 17px; }
	.mainbar, .site-header.is-scrolled .mainbar { min-height: 64px; padding: 0 16px 0 20px; justify-content: space-between; }
	.site-logo { flex: none; }
	.site-logo img, .site-header.is-scrolled .site-logo img { height: 50px; }
	.primary-nav { display: none; }
	.student-login { gap: 10px; font-size: 15px; color: var(--c-ink); margin-left: auto; margin-right: 24px; }
	.student-login .ic { width: 20px; height: 20px; color: var(--c-yellow); }
	.menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; }
	.mega__inner { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; row-gap: 50px; }
	.footer-col--brand { grid-column: 1 / -1; }
}

@media (max-width: 778px) { /* mobile */
	:root { --fs-h1: 35px; --fs-h2: 25px; --fs-h3: 23px; --gutter: 20px; }
	.admin-bar .site-header { top: calc(0px - var(--nm-pre-h, 70px)); } /* WP admin bar is not fixed on phones */

	.promo-banner { padding: 4px 5px; }
	.promo-banner img { max-height: 30px; }

	.topbar__list { justify-content: center; gap: 14px; min-height: 32px; padding: 0; }
	.topbar__item--email { display: none; }
	.topbar__item:last-child { margin-left: 0; }
	.topbar__item a { gap: 6px; font-size: 12px; }
	.topbar__item .ic { width: 16px; height: 16px; }

	.mainbar, .site-header.is-scrolled .mainbar { min-height: 60px; padding: 0 12px 0 16px; }
	.site-logo img, .site-header.is-scrolled .site-logo img { height: 46px; }
	.student-login { font-size: 14px; margin-right: 14px; }

	.footer-grid { grid-template-columns: 1fr; }
	.footer-bottom { flex-direction: column-reverse; align-items: flex-start; }

	.section { padding: 60px 0; }
	.post-card { grid-template-columns: 1fr; gap: 20px; }
}

/* 12. Shared page components (home + course pages) ---------------------- */
/* CTA band ------------------------------------------------------------- */
.cta-band { padding: 120px 0 140px; }
.cta-band__title { max-width: 800px; margin: 0 auto 45px; font-size: 35px; line-height: 42px; }
.cta-band__actions { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; }
.cta-band .btn--outline { min-width: 240px; }

/* Contact block ------------------------------------------------------------- */
.hm-contact { padding: 10px; }
.hm-contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.contact-card { padding: 160px 50px; border-radius: 8px; color: var(--c-white); }
.contact-card h2 { margin: 0 0 30px; font-size: 35px; line-height: 42px; }
.contact-card__list { list-style: none; display: grid; gap: 30px; }
.contact-card__list li { display: flex; gap: 10px; align-items: center; }
.contact-card__list .contact-card__icon {
	display: grid; place-items: center; width: 58px; height: 58px; flex: none; border-radius: 50%;
	background: var(--c-white); border: 2px solid var(--c-yellow); color: var(--c-yellow);
}
.contact-card__icon .ic { width: 32px; height: 32px; }
.contact-card__list strong { display: block; font-size: 20px; line-height: 28px; font-weight: 500; color: #FCFCFC; }
.contact-card__list a, .contact-card__list span { font-size: 16px; line-height: 28.8px; color: var(--c-white); }
.contact-card__list a:hover { color: var(--c-yellow); }
.contact-form { padding: 40px 15px 40px 0; }
.contact-form .sec-title { margin-bottom: 30px; }

/* Contact Form 7 inside the home contact block. */
.contact-form .wpcf7 .hidden-fields-container { display: none; }
.contact-form .wpcf7 select { appearance: none; -webkit-appearance: none; cursor: pointer; }
/* CF7 template rows are <div class="container"><div class="child">…; undo the theme's .container. */
.contact-form .wpcf7 .container { display: flex; gap: 10px; max-width: none; margin: 0 0 20px; padding: 0; }
.contact-form .wpcf7 .child { flex: 1; min-width: 0; }
.contact-form .wpcf7 p { margin: 0; }
.contact-form .wpcf7 br { display: none; }
.contact-form .wpcf7-form-control-wrap { display: block; }
.contact-form .wpcf7 input:not([type="submit"]),
.contact-form .wpcf7 select,
.contact-form .wpcf7 textarea {
	width: 100%; height: 41px; padding: 0 12px; border: 1px solid #E6DDBE; border-radius: 8px;
	background: var(--c-cream); font: 400 16px/1.4 var(--ff); color: var(--c-ink);
}
.contact-form .wpcf7 textarea { height: 100px; padding-top: 10px; resize: vertical; }
.contact-form .wpcf7 ::placeholder { color: #B0B3B6; }
.contact-form .wpcf7 input[type="submit"] {
	width: 100%; height: 34px; border: 0; border-radius: 2px; background: var(--c-yellow);
	font: 500 13px/1 var(--ff); color: var(--c-ink); cursor: pointer;
}
.contact-form .wpcf7 input[type="submit"]:hover { background: var(--c-yellow-dark); }

@media (max-width: 1020px) { .hm-contact__grid { grid-template-columns: 1fr; } .contact-card { padding: 80px 40px; } }
@media (max-width: 778px) {
	.cta-band { padding: 70px 0; }
	.cta-band__title { font-size: 25px; line-height: 32px; }
	.cta-band__actions { gap: 20px; }
	.contact-card { padding: 50px 24px; }
	.contact-form { padding: 20px 0; }
	.contact-form .wpcf7 .container { flex-direction: column; gap: 20px; }
}

/* 13. Form popups (inc/popups.php) — live: 645px wide, 10px radius, "Fill The Form". */
dialog.popup {
	width: min(645px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 40px 40px 30px;
	border: 0; border-radius: 10px; background: var(--c-white); color: var(--c-text); overflow: auto;
}
dialog.popup::backdrop { background: rgba(17, 24, 28, .6); }
.popup__close { position: absolute; top: 14px; right: 14px; color: var(--c-ink); }
.popup__close .ic { width: 20px; height: 20px; }
.popup__title { margin: 0 0 24px; font-size: 27px; line-height: 35.1px; font-weight: 500; color: var(--c-ink); text-align: center; }
.popup .wpcf7 .hidden-fields-container { display: none; }
.popup .wpcf7 p { margin: 0 0 14px; }
.popup .wpcf7 br { display: none; }
.popup .wpcf7 .container { display: flex; gap: 10px; max-width: none; margin: 0; padding: 0; }
.popup .wpcf7 .child { flex: 1; min-width: 0; }
.popup .wpcf7-form-control-wrap { display: block; }
.popup .wpcf7 input:not([type="submit"]), .popup .wpcf7 select, .popup .wpcf7 textarea {
	width: 100%; height: 41px; padding: 0 12px; border: 1px solid #E6DDBE; border-radius: 8px;
	background: var(--c-cream); font: 400 16px/1.4 var(--ff); color: var(--c-ink); appearance: none;
}
.popup .wpcf7 textarea { height: 100px; padding-top: 10px; }
.popup .wpcf7 input[type="submit"] { width: 100%; height: 40px; border: 0; border-radius: 3px; background: var(--c-yellow); font: 500 15px/1 var(--ff); color: var(--c-ink); cursor: pointer; }
@media (max-width: 778px) { dialog.popup { padding: 36px 20px 24px; } .popup .wpcf7 .container { flex-direction: column; gap: 0; } }
