/* Galantic: components for the multi-page site. Builds on styles.css tokens. */

.staging-banner { padding: 8px 16px; color: var(--green-deep); background: #fff4cd; font-size: .78rem; font-weight: 700; text-align: center; }

/* ---------- page hero ---------- */
.page-hero { position: relative; color: var(--white); background: var(--green-deep); overflow: hidden; isolation: isolate; }
.page-hero__image, .page-hero__shade, .page-hero__pattern { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.page-hero__image { object-fit: cover; object-position: 50% 55%; }
.page-hero__shade { background: linear-gradient(90deg, rgba(2,24,12,.92) 0%, rgba(2,32,16,.74) 45%, rgba(2,31,16,.25) 80%), linear-gradient(0deg, rgba(2,24,12,.45), transparent 50%); }
.page-hero__pattern {
  background:
    radial-gradient(circle at 85% 20%, rgba(220,15,29,.22), transparent 38%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 22px),
    linear-gradient(120deg, var(--green-deep), var(--green-dark) 60%, #05562b);
}
.page-hero--pattern .page-hero__shade { display: none; }
.page-hero__inner { display: grid; align-content: center; min-height: min(600px, 72svh); padding-block: 64px 84px; }
.page-hero--compact .page-hero__inner { min-height: 0; padding-block: 56px 70px; }
.page-hero h1 {
  max-width: 900px; margin: 0; font-family: var(--heading); font-size: clamp(3.1rem, 6.6vw, 6.2rem); font-stretch: condensed;
  font-weight: 900; letter-spacing: -.05em; line-height: .9; text-transform: uppercase; text-wrap: balance;
}
.page-hero h1 em { display: block; color: #ffd7da; font-style: normal; }
.page-hero h1 em::before { content: ""; display: inline-block; width: .5em; height: .09em; margin: 0 .18em .2em 0; background: var(--red); vertical-align: middle; }
.page-hero__lede { max-width: 640px; margin: 26px 0 0; color: #dfeee4; font-size: clamp(1rem, 1.5vw, 1.18rem); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button__icon { width: 18px; height: 18px; fill: currentColor; }

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 28px; padding: 0; list-style: none; color: #a9c8b4; font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #6f9a80; }
.breadcrumb a { color: #e7f4eb; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 4px; }
.breadcrumb [aria-current] { color: #a9c8b4; }

/* ---------- section variants ---------- */
.section--tight { padding-block: clamp(70px, 8vw, 104px); }
.section--cream { background: var(--cream); }
.section-intro--compact { margin-bottom: clamp(34px, 4vw, 52px); }
.section-intro--compact h2 { font-size: clamp(2.3rem, 4vw, 3.6rem); }
.display-h2 { margin: 0 0 24px; font-family: var(--heading); font-size: clamp(2.3rem, 4vw, 3.6rem); font-weight: 900; letter-spacing: -.045em; line-height: .95; text-transform: uppercase; text-wrap: balance; }
.muted-note { color: var(--muted); font-size: .9rem; }
.eyebrow__icon { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ---------- intro + aside ---------- */
.intro-split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(40px, 7vw, 100px); align-items: start; }
.intro-split__copy > p:not(.eyebrow) { max-width: 680px; margin: 0 0 18px; color: #3d4a43; font-size: 1.04rem; }
.intro-split .check-list { margin-top: 30px; }
.aside-card { position: sticky; top: 110px; display: grid; gap: 14px; padding: 32px; background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--red); box-shadow: var(--shadow); }
.aside-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.aside-card .aside-card__kicker { color: var(--green); font-size: .72rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.aside-card .aside-card__title { color: var(--ink); font-family: var(--heading); font-size: 1.8rem; font-weight: 900; line-height: 1; text-transform: uppercase; }
.aside-card .button { margin-top: 6px; }
.aside-card__line { display: flex; align-items: center; gap: 12px; padding-top: 12px; color: var(--green-deep); font-weight: 800; text-decoration: none; border-top: 1px solid var(--line); }
.aside-card__line svg { width: 20px; height: 20px; fill: none; stroke: var(--green); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.aside-card__line:first-of-type svg { fill: var(--green); stroke: none; }
.aside-card__line:hover span { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- type cards ---------- */
.type-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid #cbd5ce; border-left: 1px solid #cbd5ce; }
.type-card { position: relative; padding: 34px 30px 36px; background: rgba(255,255,255,.55); border-right: 1px solid #cbd5ce; border-bottom: 1px solid #cbd5ce; transition: background .25s ease, color .25s ease; }
.type-card:hover { color: var(--white); background: var(--green); }
.type-card__num { display: block; margin-bottom: 48px; color: var(--red); font-family: var(--heading); font-size: 1rem; font-weight: 900; letter-spacing: .1em; }
.type-card:hover .type-card__num { color: #ffd7da; }
.type-card h3 { margin: 0; font-family: var(--heading); font-size: 1.45rem; line-height: 1.05; text-transform: uppercase; }
.type-card p { margin: 14px 0 0; color: var(--muted); font-size: .92rem; }
.type-card:hover p { color: #e1eee5; }

/* ---------- gallery ---------- */
.gallery-grid { display: grid; gap: 14px; }
.gallery-grid--1 { grid-template-columns: 1fr; }
.gallery-grid--2 { grid-template-columns: 1fr 1fr; }
.gallery-grid--3 { grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery-grid--3 figure:first-child { grid-row: span 2; }
.gallery-grid figure { position: relative; margin: 0; min-height: 260px; overflow: hidden; background: var(--green-soft); }
.gallery-grid--1 figure { min-height: 0; aspect-ratio: 16 / 7; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-grid figure:hover img { transform: scale(1.03); }
.gallery-grid figcaption { position: absolute; left: 16px; bottom: 16px; padding: 7px 12px; color: var(--white); background: rgba(2,31,16,.82); font-size: .78rem; font-weight: 800; letter-spacing: .03em; }

/* ---------- considerations ---------- */
.cons-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 100px); align-items: start; }
.cons-split > div:first-child { position: sticky; top: 110px; }
.cons-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: cons; }
.cons-list li { position: relative; padding: 26px 0 26px 66px; border-top: 1px solid var(--line); counter-increment: cons; }
.cons-list li:last-child { border-bottom: 1px solid var(--line); }
.cons-list li::before { content: counter(cons, decimal-leading-zero); position: absolute; top: 24px; left: 0; display: grid; place-items: center; width: 44px; height: 44px; color: var(--green); font-family: var(--heading); font-weight: 900; border: 2px solid var(--green); border-radius: 50%; }
.cons-list h3 { margin: 0 0 6px; font-family: var(--heading); font-size: 1.35rem; text-transform: uppercase; }
.cons-list p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 100px); align-items: start; }
.faq__list { border-top: 1px solid #cbd5ce; }
.faq__item { border-bottom: 1px solid #cbd5ce; }
.faq__item summary { position: relative; display: block; padding: 24px 56px 24px 0; font-size: 1.08rem; font-weight: 800; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { position: absolute; top: 50%; right: 4px; width: 32px; height: 32px; margin-top: -16px; border: 1px solid var(--green); border-radius: 50%; }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--green); transition: transform .25s ease; }
.faq__item summary i::after { transform: rotate(90deg); }
.faq__item[open] summary i::after { transform: rotate(0); }
.faq__item summary:hover { color: var(--green); }
.faq__item p { margin: 0; padding: 0 56px 26px 0; color: var(--muted); }

/* ---------- related / hub cards ---------- */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.related-card { position: relative; display: grid; grid-template-rows: 220px auto; height: 100%; color: var(--ink); text-decoration: none; background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.related-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.related-card:hover img { transform: scale(1.04); }
.related-card__pattern { display: block; background: repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 2px, transparent 2px 18px), linear-gradient(135deg, var(--green-dark), var(--green)); }
.related-card__body { position: relative; display: grid; gap: 6px; padding: 24px 64px 26px 24px; }
.related-card__body strong { font-family: var(--heading); font-size: 1.45rem; line-height: 1.05; text-transform: uppercase; }
.related-card__body small { color: var(--muted); font-size: .9rem; }
.related-card__body i { position: absolute; top: 24px; right: 22px; display: grid; place-items: center; width: 36px; height: 36px; color: var(--white); background: var(--red); font-style: normal; transition: transform .25s ease; }
.related-card:hover .related-card__body i { transform: translateX(4px); }
.related-grid--hub .related-card { grid-template-rows: 260px auto; }

/* ---------- home: service card links ---------- */
.service-card__link { position: relative; z-index: 2; display: inline-flex; gap: 8px; margin-top: 22px; color: var(--green); font-size: .8rem; font-weight: 900; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }
.service-card__link::before { content: ""; position: absolute; inset: -400px -400px -40px -400px; }
.service-card:hover .service-card__link { color: var(--white); }
.service-card__link:focus-visible { outline-offset: 6px; }

/* ---------- areas ---------- */
.areas-band { color: var(--white); background: var(--green); padding-block: clamp(70px, 8vw, 100px); }
.areas-band__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 90px); align-items: center; }
.areas-band h2 { margin: 0; font-family: var(--heading); font-size: clamp(2.4rem, 4.4vw, 3.9rem); font-weight: 900; letter-spacing: -.045em; line-height: .95; text-transform: uppercase; text-wrap: balance; }
.areas-band p:not(.eyebrow) { max-width: 520px; margin: 22px 0 30px; color: #d9eadf; }
.area-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.area-chips li { padding: 8px 14px; color: var(--green-deep); background: var(--white); border: 1px solid var(--line); font-size: .86rem; font-weight: 700; }
.area-chips--light li { color: var(--white); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); }
.area-chips--light li a { color: inherit; text-decoration: none; }
.area-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 34px 40px; }
.area-group h3 { margin: 0 0 14px; padding-bottom: 10px; font-family: var(--heading); font-size: 1.3rem; text-transform: uppercase; border-bottom: 3px solid var(--red); width: fit-content; }
.link-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin: 0; padding: 0; list-style: none; }
.link-list a { display: flex; justify-content: space-between; padding: 18px 0; color: var(--ink); font-weight: 800; text-decoration: none; border-bottom: 1px solid var(--line); }
.link-list a::after { content: "→"; color: var(--red); }
.link-list a:hover { color: var(--green); }

/* ---------- nav, footer, form status, consent ---------- */
.primary-nav > a[aria-current="page"]:not(.button)::after { transform: scaleX(1); }
.site-footer__main--wide { grid-template-columns: 1.3fr 1fr .8fr 1fr; }
.footer-link-button { padding: 0; color: inherit; background: none; border: 0; font-size: inherit; cursor: pointer; }
.footer-link-button:hover { color: var(--white); }
.form-status { margin: 0; color: var(--green-dark); font-weight: 700; }
.form-status:empty { display: none; }

.consent-panel { position: fixed; z-index: 9999; left: 16px; bottom: 16px; width: min(460px, calc(100% - 32px)); padding: 22px 22px 18px; color: var(--ink); background: var(--white); border-top: 4px solid var(--green); box-shadow: 0 20px 60px rgba(2, 31, 16, .28); }
.consent-panel h2 { margin: 0 0 8px; font-family: var(--heading); font-size: 1.25rem; text-transform: uppercase; }
.consent-panel p { margin: 0 0 16px; color: var(--muted); font-size: .88rem; line-height: 1.55; }
.consent-panel p a { color: var(--green); }
.consent-panel__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent-panel__actions button { min-height: 46px; padding: 10px 14px; color: var(--green-deep); background: var(--white); border: 1.5px solid var(--green); font-size: .82rem; font-weight: 800; cursor: pointer; }
.consent-panel__actions button:hover { color: var(--white); background: var(--green); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .type-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-split { grid-template-columns: minmax(0, 1fr) 320px; }
}

@media (max-width: 900px) {
  .page-hero__inner { min-height: 0; padding-block: 56px 72px; }
  .intro-split, .cons-split, .faq, .areas-band__grid { grid-template-columns: 1fr; }
  .aside-card, .cons-split > div:first-child { position: static; }
  .aside-card { max-width: 560px; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .site-footer__main--wide { grid-template-columns: 1fr 1fr; }
  .site-footer__main--wide > div:last-child { grid-column: auto; }
  .site-footer__main--wide .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .page-hero h1 { font-size: clamp(2.6rem, 13vw, 3.6rem); }
  .page-hero__image { object-position: 60% 50%; }
  .page-hero__actions { display: grid; }
  .page-hero__actions .button { width: 100%; }
  .breadcrumb ol { margin-bottom: 20px; }
  .display-h2, .section-intro--compact h2, .areas-band h2 { font-size: clamp(2.1rem, 10vw, 2.8rem); }
  .type-grid { grid-template-columns: 1fr; }
  .type-card__num { margin-bottom: 20px; }
  .gallery-grid--2, .gallery-grid--3 { grid-template-columns: 1fr; grid-template-rows: none; }
  .gallery-grid--3 figure:first-child { grid-row: auto; }
  .gallery-grid figure { min-height: 230px; }
  .gallery-grid--1 figure { min-height: 0; aspect-ratio: 4 / 3; }
  .cons-list li { padding-left: 58px; }
  .faq__item summary { padding-right: 48px; font-size: 1rem; }
  .faq__item p { padding-right: 0; }
  .related-grid { grid-template-columns: 1fr; }
  .related-card { grid-template-rows: 190px auto; }
  .link-list { grid-template-columns: 1fr; }
  .consent-panel { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .related-card, .related-card img, .gallery-grid img, .type-card { transition: none; }
}

/* Fix (also on the live site): logo stretched to its 688px HTML height on thank-you and 404 pages. */
.thank-you__panel > a:first-child img { height: auto; }

/* Privacy page: supplier list and footer cookie button */
.legal-copy ul { margin: 0 0 15px; padding-left: 1.2em; color: #46544c; }
.legal-copy li { margin-bottom: 8px; }
.utility-footer .footer-link-button { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer-link-button--column { color: #aabdb0; font-size: .82rem; text-align: left; }
.footer-link-button--column:hover { color: var(--white); }
