/* Elegant Windows Ltd — one stylesheet. Leaf green from the logo, deep forest, white and a pale green tint.
   Tokens use Elementor's global names and the blog uses Elementor's own class names, so they carry straight across at the port. */

/* Fallbacks measured against Figtree (width ratio → 1.000) so the swap does not move the page. */
@font-face { font-family: "Sans Fallback"; src: local("Arial"); font-weight: 400; size-adjust: 100.7%; }
@font-face { font-family: "Sans Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 700; size-adjust: 96.1%; }

:root {
  --e-global-color-primary: #23511B;    /* deep leaf green: buttons, headings accents. 9.3:1 on white */
  --e-global-color-secondary: #16281A;  /* forest: dark bands, footer */
  --e-global-color-text: #1F2A22;       /* body text */
  --e-global-color-accent: #6BB02F;     /* logo green: lines and marks only, never small text */
  --muted: #4A564D;
  --tint: #F1F6EC;
  --line: #D5DED0;
  --white: #FFFFFF;
  --error: #A4161A;
  --e-global-typography-primary-font-family: "Figtree", "Sans Fallback", Arial, sans-serif;
  --r: 8px;
  --wrap: 1180px;
  --shadow: 0 1px 2px rgba(22, 40, 26, .08), 0 6px 18px rgba(22, 40, 26, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--e-global-color-text); font: 400 1.0625rem/1.65 var(--e-global-typography-primary-font-family); }
img, video { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3 { line-height: 1.2; font-weight: 700; color: var(--e-global-color-secondary); margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.7rem); }
h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.95rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--e-global-color-primary); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--e-global-color-secondary); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #0B57D0; outline-offset: 2px; border-radius: 2px; }
main:focus { outline: none; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -5rem; background: var(--e-global-color-secondary); color: var(--white); padding: .7rem 1rem; z-index: 50; border-radius: var(--r); }
.skip:focus { top: 1rem; color: var(--white); }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.small { font-size: .95rem; color: var(--muted); }
.measure { max-width: 68ch; }

/* Buttons: at least 44px tall */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .55rem 1.2rem; border-radius: var(--r); border: 2px solid var(--e-global-color-primary); background: var(--e-global-color-primary); color: var(--white); font: 700 1rem/1.25 var(--e-global-typography-primary-font-family); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--e-global-color-secondary); border-color: var(--e-global-color-secondary); color: var(--white); }
.btn-ghost { background: transparent; color: var(--e-global-color-primary); }
.btn-ghost:hover { color: var(--white); }
.btn-light { background: var(--white); border-color: var(--white); color: var(--e-global-color-secondary); }
.btn-light:hover { background: var(--tint); border-color: var(--tint); color: var(--e-global-color-secondary); }
.btn-outline-light { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline-light:hover { background: var(--white); border-color: var(--white); color: var(--e-global-color-secondary); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0 0; }
.actions.center { justify-content: center; }

/* Header */
.topbar { background: var(--e-global-color-secondary); color: var(--white); font-size: .95rem; }
.topbar-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .1rem 1.5rem; padding-block: .3rem; }
.topbar p { margin: 0; }
@media (max-width: 760px) { .topbar p { display: none; } .topbar ul { flex-direction: column; } }
.topbar ul { display: flex; flex-wrap: wrap; gap: 0 1.25rem; list-style: none; margin: 0; padding: 0; }
.topbar a { color: var(--white); display: inline-flex; align-items: center; gap: .4rem; min-height: 32px; overflow-wrap: anywhere; }
.topbar a:hover { color: var(--white); }
.topbar :focus-visible, .home-hero :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible { outline-color: #FFFFFF; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .5rem; flex-wrap: wrap; }
.brand { display: block; flex: none; }
.brand img { width: auto; height: 72px; }
.menu-btn { display: none; align-items: center; gap: .6rem; min-height: 46px; padding: .4rem .9rem; border: 2px solid var(--e-global-color-primary); border-radius: var(--r); background: var(--white); color: var(--e-global-color-primary); font: 700 1rem var(--e-global-typography-primary-font-family); cursor: pointer; }
.bars { display: grid; gap: 4px; width: 22px; }
.bars span { height: 2px; background: currentColor; }
.nav { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.nav-list { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .25rem; list-style: none; margin: 0; padding: 0; }
.nav-list a { display: flex; align-items: center; min-height: 44px; padding: .25rem .6rem; color: var(--e-global-color-secondary); font-weight: 600; text-decoration: none; border-radius: 4px; }
.nav-list a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.nav-list a[aria-current] { color: var(--e-global-color-primary); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.has-sub { position: relative; display: flex; flex-wrap: wrap; align-items: center; }
.has-sub > a { padding-right: .15rem; }
.sub-btn { display: none; width: 32px; height: 44px; padding: 0; border: 0; border-radius: 4px; background: none; color: var(--e-global-color-secondary); cursor: pointer; align-items: center; justify-content: center; }
.js .sub-btn { display: inline-flex; }
.sub-btn[aria-expanded="true"] .ico { transform: rotate(180deg); }
.sub { list-style: none; margin: 0; padding: .35rem; }
.no-js .sub { width: 100%; }
.js .sub { display: none; }
.js .sub.is-open { display: block; position: absolute; left: 0; top: 100%; z-index: 20; min-width: 15rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
@media (max-width: 1099px) {
  .js .menu-btn { display: inline-flex; }
  .js .nav { display: none; width: 100%; }
  .js .nav.is-open { display: block; padding-bottom: .75rem; }
  .nav-list { display: block; }
  .nav-list li { border-top: 1px solid var(--line); }
  .has-sub { justify-content: space-between; }
  .js .sub.is-open { position: static; width: 100%; box-shadow: none; border: 0; padding: 0 0 0 1rem; }
  .sub-btn { width: 46px; }
  .nav-cta { margin-top: .75rem; width: 100%; }
}

/* Sections */
.section { padding-block: clamp(2.25rem, 5vw, 4rem); }
.section-tint { background: var(--tint); }
.kicker { margin: 0 0 .5rem; font-weight: 700; color: var(--e-global-color-primary); }
.lede { font-size: 1.15rem; }
.prose-wide { max-width: 860px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.split-center { align-items: center; }
.split figure + figure { margin-top: 1rem; }
.split img, .prose-wide > img { border-radius: var(--r); }
.split > div > :last-child { margin-bottom: 0; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }

.ticks { list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: .65rem; }
.ticks li { display: flex; gap: .6rem; align-items: flex-start; }
.ticks .ico { color: var(--e-global-color-primary); margin-top: .25em; }

/* Home hero */
.home-hero { background: var(--e-global-color-secondary); color: var(--white); padding-block: clamp(2rem, 5vw, 3.5rem); }
.home-hero h1 { color: var(--white); }
.home-hero .kicker { color: #CFE8B4; }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.home-hero summary, .home-hero details { color: var(--white); }
@media (max-width: 900px) { .home-hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* Inner page banner */
.page-hero { background: var(--tint); padding-block: clamp(1.5rem, 3vw, 2.5rem); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.page-hero-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.page-hero .lede:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: minmax(0, 1fr); } }

.crumbs ol { display: flex; flex-wrap: wrap; gap: .15rem .4rem; list-style: none; margin: 0 0 .75rem; padding: 0; font-size: .95rem; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--muted); }
.crumbs a { display: inline-block; padding-block: .1rem; }

/* Cards: 3 → 1, 4 → 2 → 1, so no row is ever left short */
.cards { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1.25rem; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.card > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 1rem 1.1rem 1.15rem; }
.card-body p { margin-bottom: .75rem; }
.card-strap { font-weight: 600; }
.more { margin-top: auto; font-weight: 700; display: inline-block; padding-block: .2rem; }
@media (max-width: 1000px) { .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .cards-3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .cards-4 { grid-template-columns: minmax(0, 1fr); } }

.award { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 1.25rem; align-items: start; background: var(--tint); border-radius: var(--r); padding: 1.1rem; }
.award img { border-radius: 6px; }
@media (max-width: 480px) { .award { grid-template-columns: minmax(0, 1fr); } }
.logos { margin-top: 1rem; background: var(--white); }

.photo-row { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; }
.photo-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.photo-row-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.photo-row img { width: 100%; border-radius: 6px; aspect-ratio: 3 / 2; object-fit: cover; }
.photo-row-4 img { aspect-ratio: 3 / 4; }
.photo-row figcaption { margin-top: .35rem; font-weight: 600; font-size: .95rem; }
@media (max-width: 760px) { .photo-row-3 { grid-template-columns: minmax(0, 1fr); } .photo-row-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.plans { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.plans li { flex: 0 1 180px; text-align: center; font-weight: 600; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: .85rem; }
.plans img { width: 110px; margin: 0 auto .5rem; }
.benefits { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.benefits li { display: grid; gap: .1rem; border-top: 3px solid var(--e-global-color-accent); padding-top: .6rem; }
@media (max-width: 900px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .benefits { grid-template-columns: minmax(0, 1fr); } }

/* Video */
.video-block video { width: 100%; background: #000; border-radius: var(--r); }
.video-block details { margin-top: .5rem; font-size: 1rem; }
.video-block summary { min-height: 44px; display: list-item; padding-block: .55rem; cursor: pointer; font-weight: 600; }
.home-hero .video-block summary { color: var(--white); }

/* Brochures: 12 → 4 → 3 → 2 columns; 5 sits centred as 3 + 2 */
.brochures { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.brochures-12 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.brochures-5 { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.1rem; }
.brochures-5 li { flex: 0 1 calc((100% - 2.2rem) / 3); }
.brochures a { display: flex; flex-direction: column; height: 100%; gap: .2rem; padding: .75rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--e-global-color-secondary); }
.brochures a:hover .brochure-name { text-decoration: underline; }
.brochures img { width: 100%; max-width: 200px; margin: 0 auto .5rem; box-shadow: var(--shadow); }
.brochure-name { font-weight: 700; color: var(--e-global-color-primary); }
.brochure-meta { display: inline-flex; gap: .35rem; align-items: center; font-size: .95rem; color: var(--muted); }
@media (max-width: 1000px) { .brochures-12 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .brochures-12 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .brochures-5 li { flex-basis: calc((100% - 1.1rem) / 2); } }

/* CTA band */
.cta-band { background: var(--e-global-color-primary); color: var(--white); padding-block: 2rem; }
.cta-title { font-size: 1.5rem; font-weight: 700; margin-bottom: .25rem; }
.cta-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }

/* ---------- Blog archive: Elementor Posts widget, cards skin ---------- */
.archive-head, .post-head { background: var(--tint); padding-block: clamp(1.5rem, 3vw, 2.5rem); }
.archive-head .lede { margin-bottom: 0; max-width: 68ch; }
.elementor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px 30px; }   /* 3 columns, then 1: nine and six posts never leave a short row. Set the same in the Posts widget. */
@media (max-width: 767px) { .elementor-grid { grid-template-columns: minmax(0, 1fr); } }
.elementor-post__card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.elementor-post__thumbnail__link { display: block; }
.elementor-post__thumbnail img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.elementor-post__text { display: flex; flex-direction: column; flex: 1; padding: 1.25rem clamp(1rem, 2vw, 1.5rem) .5rem; }
.elementor-post__title { font-size: 1.15rem; margin: 0 0 .6rem; }
.elementor-post__title a { color: var(--e-global-color-secondary); text-decoration: none; }
.elementor-post__title a:hover { color: var(--e-global-color-primary); text-decoration: underline; }
.elementor-post__excerpt { margin: 0 0 .8rem; font-size: 1rem; }
.elementor-post__read-more { display: inline-block; margin-top: auto; padding-block: .35rem; font-weight: 700; }
.elementor-post__meta-data { padding: .7rem clamp(1rem, 2vw, 1.5rem); border-top: 1px solid var(--line); font-size: .95rem; color: var(--muted); }
.elementor-pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem; margin-top: 2.25rem; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: .3rem .8rem; border: 1px solid var(--line); border-radius: var(--r); font-weight: 600; }
.page-numbers.current { background: var(--e-global-color-primary); border-color: var(--e-global-color-primary); color: var(--white); }

/* ---------- Single post: theme-post widgets in a column, with a sidebar ---------- */
.elementor-widget-theme-post-title .elementor-heading-title { margin-bottom: .4rem; }
.elementor-post-info { list-style: none; margin: 0; padding: 0; color: var(--muted); }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(1.5rem, 4vw, 3.5rem); padding-block: clamp(2rem, 4vw, 3rem); align-items: start; }
.elementor-widget-theme-post-featured-image { margin-bottom: 1.5rem; }
.elementor-widget-theme-post-featured-image img { border-radius: var(--r); }
.elementor-widget-theme-post-content { max-width: 68ch; }
.elementor-widget-theme-post-content ul:not(.elementor-gallery) { padding-left: 1.25rem; }
.elementor-widget-theme-post-content h2 { margin-top: 1.5rem; font-size: 1.4rem; }
.elementor-widget-theme-post-content .video-block { max-width: 340px; }
.elementor-gallery { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .85rem; width: 100%; }
.elementor-gallery li { flex: 0 1 calc((100% - 1.7rem) / 3); }
.gallery-count-2 li { flex-basis: calc((100% - .85rem) / 2); }
.gallery-item img { width: 100%; border-radius: 6px; object-fit: cover; }
.gallery-tall .gallery-item img { aspect-ratio: 3 / 4; }
.gallery-wide .gallery-item img { aspect-ratio: 4 / 3; }
@media (max-width: 560px) { .elementor-gallery li, .gallery-count-2 li { flex-basis: calc((100% - .85rem) / 2); } }
.elementor-post-navigation { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.elementor-post-navigation a { display: block; padding: .3rem 0; font-weight: 600; }
.post-navigation__next { text-align: right; }
.post-navigation__label { display: block; font-size: .95rem; font-weight: 400; color: var(--muted); }
.post-sidebar { display: grid; gap: 1.25rem; }
.sidebar-box { background: var(--tint); border-radius: var(--r); padding: 1.1rem 1.25rem; }
.sidebar-box h2 { font-size: 1.15rem; }
.sidebar-box ul { list-style: none; margin: 0 0 .5rem; padding: 0; display: grid; gap: .3rem; }
.sidebar-box li a { display: inline-block; padding-block: .3rem; }
.sidebar-box p:last-child { margin-bottom: 0; }
@media (max-width: 960px) { .post-layout { grid-template-columns: minmax(0, 1fr); } .elementor-widget-theme-post-content { max-width: none; } }
@media (max-width: 480px) { .elementor-post-navigation { grid-template-columns: minmax(0, 1fr); } .post-navigation__next { text-align: left; } }

/* Contact */
.contact { background: var(--tint); padding-block: clamp(2.25rem, 5vw, 4rem); border-top: 4px solid var(--e-global-color-accent); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-list { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .55rem; }
.contact-list li { display: flex; gap: .6rem; align-items: flex-start; overflow-wrap: anywhere; }
.contact-list .ico { color: var(--e-global-color-primary); margin-top: .3em; }
.contact-list a { display: inline-block; }
.map-link { display: block; font-weight: 600; }
.map-link img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); margin-bottom: .4rem; border: 1px solid var(--line); }
.contact-form { background: var(--white); border-radius: var(--r); padding: clamp(1.1rem, 3vw, 1.75rem); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 1rem; }
@media (max-width: 560px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .25rem; }
.req { font-weight: 400; color: var(--muted); font-size: .95rem; }
.field input, .field textarea { display: block; width: 100%; min-height: 46px; padding: .55rem .7rem; border: 1px solid #5F6D63; border-radius: 6px; font: 400 1rem/1.4 var(--e-global-typography-primary-font-family); color: var(--e-global-color-text); background: var(--white); }
.field [aria-invalid="true"] { border: 2px solid var(--error); }
.hint { margin: 0 0 .25rem; font-size: .95rem; color: var(--muted); }
.error { margin: 0 0 .25rem; color: var(--error); font-weight: 600; }
.error-summary { border: 2px solid var(--error); border-radius: var(--r); padding: .85rem 1rem; margin-bottom: 1.1rem; }
.error-summary-title { font-weight: 700; margin-bottom: .35rem; }
.error-summary ul { margin: 0; padding-left: 1.2rem; }
.error-summary a { color: var(--error); }
.form-note { font-size: .95rem; color: var(--muted); }
.form-done { border-left: 4px solid var(--e-global-color-primary); padding: .35rem 0 .35rem 1rem; }
.form-done-title { font-weight: 700; font-size: 1.15rem; margin-bottom: .35rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: var(--e-global-color-secondary); color: var(--white); padding-block: 1.75rem; font-size: 1rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--white); text-decoration-thickness: 2px; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: .1rem 1rem; list-style: none; margin: 0 0 1rem; padding: 0; }
.site-footer li a { display: inline-block; padding-block: .3rem; }
.site-footer p { margin: 0 0 .35rem; }

@media (prefers-reduced-motion: no-preference) { .btn { transition: background-color .15s, color .15s; } }
@media print { .site-header, .contact, .site-footer, .cta-band, .post-sidebar { display: none; } }
