/* =============================================================================
   Sunair Products – global stylesheet
   Ported from understrap-child/sass/theme/_child_theme.scss (Bootstrap 4 based)
   to plain CSS. Served as-is from public/css (no build step). Bootstrap itself is not loaded; the handful of Bootstrap
   pieces the design relied on (container, buttons, type scale, .lead, .shadow)
   are re-implemented below.
   ========================================================================== */

/* ---------- Design tokens -------------------------------------------------- */
:root {
  /* Brand colours (unchanged from the theme) */
  --sunair-main: #005dd1;
  --sunair-main-accent: #0083ff;
  --sunair-accent: #ff9e00;
  --sunair-accent-drk: #ff7200;
  --sunair-bg-drk: #34424d;
  --sunair-footer-text: #b8b8b8;
  --sunair-contact-text: #e8e8e8;
  --sunair-image-border: #ffffff;

  --white: #ffffff;
  --black: #000000;
  --gray-900: #212529;
  --gray-600: #6c757d;
  --body-color: #212529;
  --body-bg: #ffffff;

  /* Type */
  --font-body: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  --font-heading: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;

  /* Layout */
  --container: 1140px;
  --gutter: 15px;
  --nav-height: 120px;        /* desktop */
  --nav-height-mobile: 90px;  /* below the nav breakpoint (1100px) */
  --angle: 6vw;               /* height of the diagonal section edges */

  /* Section rhythm (the original mixed 25/50/75/100/200px; normalised here) */
  --space-sm: 2rem;
  --space-md: 3rem;
  --space-lg: 5rem;
  --space-xl: 7rem;

  /* Backgrounds */
  --radial-main: #015a9c radial-gradient(circle farthest-corner at top center, #0083ff 0%, #015a9c 100%);
  --radial-secondary: #f6fcff radial-gradient(circle farthest-corner at top center, #f6fcff 0%, #a3a7ad 100%);
}

/* ---------- Reset / base ---------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--body-color);
  background: var(--body-bg);
  -webkit-font-smoothing: antialiased;
}

img, svg, video, iframe { max-width: 100%; }
img { height: auto; vertical-align: middle; border-style: none; }

a { color: var(--sunair-main); text-decoration: none; }
a:hover { color: #003f8e; text-decoration: underline; }

p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 2rem; }

hr { border: 0; border-top: 1px solid rgba(0, 0, 0, .1); margin: 1rem 0; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
  margin: 0;
}
button { cursor: pointer; }

:focus-visible { outline: 3px solid var(--sunair-main-accent); outline-offset: 2px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 2000;
  background: var(--sunair-main); color: #fff; padding: .5rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Typography ------------------------------------------------------ */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4 {
  margin: 0 0 .5rem;
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  color: inherit;
}
/* Bootstrap 4's responsive-font-size scale, expressed with clamp() */
h1, .h1 { font-size: clamp(1.75rem, 1.375rem + 1.5vw, 2.5rem); }
h2, .h2 { font-size: clamp(1.5rem, 1.325rem + .9vw, 2rem); }
h3, .h3 { font-size: clamp(1.35rem, 1.3rem + .6vw, 1.75rem); }
h4, .h4 { font-size: clamp(1.25rem, 1.275rem + .3vw, 1.5rem); }

.lead { font-size: 1.25rem; font-weight: 300; }
.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }

/* Heading underline accent (was .underline / .border-primary / .border-secondary / .border-center) */
.underline::after {
  content: '';
  display: block;
  width: 100px;
  max-width: 100%;
  border-top: 4px solid var(--sunair-bg-drk);
  margin-top: .5rem;
}
.underline.border-primary::after { border-color: var(--sunair-main); }
.underline.border-secondary::after { border-color: var(--sunair-accent); }
.underline.border-center::after { margin-left: auto; margin-right: auto; }

/* ---------- Layout helpers -------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-wide { max-width: 1920px; }

.radial-main-color { background: var(--radial-main); }
.radial-secondary-color { background: var(--radial-secondary); }

img.shadow, .shadow {
  border: 1px solid var(--sunair-image-border);
  box-shadow: 0 3px 30px rgba(0, 0, 0, .33);
}

/* Diagonal section edges. The original clip-path values are kept; the fixed
   200px padding is replaced with padding that scales with the angle so content
   never runs under the cut. The !important is deliberate: sections such as
   #about and .portal-cap set their own padding and this must win over it. */
@media (min-width: 768px) {
  .top-angle {
    clip-path: polygon(0 0, 100% var(--angle), 100% 100%, 0 100%);
    padding-top: calc(var(--angle) + var(--space-lg)) !important;
  }
  .bottom-angle {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - var(--angle)));
    padding-bottom: calc(var(--angle) + var(--space-lg)) !important;
  }
}

/* ---------- Buttons --------------------------------------------------------- */
.btn {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: .25rem;
  transition: background-color .15s ease-in-out, color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.btn:hover { text-decoration: none; }
.btn-lg { padding: .5rem 1rem; font-size: 1.25rem; border-radius: .3rem; }

.btn-primary { background: var(--sunair-main); border-color: var(--sunair-main); color: #fff; }
.btn-primary:hover { background: #004eaf; border-color: #0048a3; color: #fff; }

.btn-secondary { background: var(--gray-600); border-color: var(--gray-600); color: #fff; }
.btn-secondary:hover { background: #5a6268; color: #fff; }

.btn-sunair {
  background: var(--sunair-main);
  border-radius: 0;
  color: #fff;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .26);
  font-weight: 700;
}
.btn-sunair:hover { background: var(--sunair-main-accent); color: #fff; }

.btn-sunair-secondary {
  background: var(--sunair-accent);
  border-radius: 0;
  color: #fff;
  text-transform: uppercase;
  box-shadow: 0 15px 30px rgba(0, 0, 0, .26);
  font-weight: 700;
}
.btn-sunair-secondary:hover { background: var(--sunair-accent-drk); color: #fff; }

.center-button { text-align: center; }

/* ---------- Header / navigation -------------------------------------------- */
/* Values mirror the Max Mega Menu theme that was in use:
   white → translucent gradient bar, 20px bold links, blue gradient on hover.
   The collapse breakpoint was 1075px; it is 1100px here so the full menu never
   wraps onto a second line. */
#main-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1030;
  background: linear-gradient(to bottom, #fff, rgba(255, 255, 255, .47));
  font-family: var(--font-body);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav-height-mobile);
  padding-inline: var(--gutter);
}
.nav-logo { display: inline-flex; align-items: center; line-height: 0; }
.nav-logo img { height: 66px; width: auto; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  border: 0;
  padding: .5rem;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .04em;
  color: #222;
}
.nav-toggle .bars {
  display: inline-block; width: 22px; height: 2px; background: currentColor; position: relative;
}
.nav-toggle .bars::before, .nav-toggle .bars::after {
  content: ''; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor;
}
.nav-toggle .bars::before { top: -7px; }
.nav-toggle .bars::after { top: 7px; }

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a { color: #222; text-decoration: none; font-weight: 600; display: block; } /* 600 = the heaviest weight loaded, as on the old site */
.nav-menu a:hover, .nav-menu a:focus-visible, .nav-menu a[aria-current='page'] {
  background: linear-gradient(to bottom, #007bff, #005dd1);
  color: #fff;
  text-decoration: none;
}
.nav-portal a {
  background: var(--sunair-accent);
  color: #fff;
}
.nav-portal a:hover, .nav-portal a:focus-visible {
  background: var(--sunair-accent-drk);
}
.nav-translate { padding: .25rem 10px; }

/* Mobile panel */
@media (max-width: 1099.98px) {
  .nav-menu {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 15px 20px rgba(0, 0, 0, .15);
    max-height: calc(100vh - var(--nav-height-mobile));
    overflow-y: auto;
  }
  .nav-menu.is-open { display: block; }
  .nav-menu > li > a { line-height: 44px; padding: 0 var(--gutter); font-size: 1rem; }
  .nav-sub { list-style: none; margin: 0; padding: 0 0 .25rem; background: #f6f8fa; }
  .nav-sub a { line-height: 40px; padding: 0 calc(var(--gutter) * 2.5); font-weight: 400; font-size: 1rem; }
  .nav-portal { padding: .75rem var(--gutter); }
  .nav-portal a { text-align: center; line-height: 44px; }
}

/* Desktop bar */
@media (min-width: 1100px) {
  .nav-inner { min-height: var(--nav-height); }
  .nav-logo img { height: 90px; }
  .nav-toggle { display: none; }
  .nav-menu { display: flex; align-items: center; flex: 1; gap: 0; }
  .nav-menu > li { position: relative; }
  .nav-menu > li > a { font-size: 20px; line-height: 40px; padding: 0 10px; }
  .nav-portal { margin-left: auto; }
  .nav-portal a { padding: 0 16px; }
  .nav-translate { margin-left: .5rem; }

  .nav-sub {
    list-style: none; margin: 0; padding: 0;
    position: absolute; top: 100%; left: 0;
    min-width: 200px;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .15);
    opacity: 0; visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
  }
  .nav-sub a { font-size: 17px; font-weight: 400; line-height: 35px; padding: 0 12px; white-space: nowrap; }
  .has-sub:hover > .nav-sub, .has-sub:focus-within > .nav-sub { opacity: 1; visibility: visible; }
}

/* ---------- Hero (home) ------------------------------------------------------ */
#sunair-hero img { display: block; width: 100%; height: auto; }

/* ---------- Interior page header ------------------------------------------- */
#intro-header { text-align: center; color: #fff; }
#intro-header header { padding: 0; }
#intro-header .content { padding: var(--space-md) var(--gutter); }
#intro-header .content h1 { margin-bottom: 1rem; }
#intro-header .content p { margin: 0 auto; max-width: 60ch; font-size: 1.125rem; }
.header-shadow { filter: drop-shadow(0 15px 15px rgba(0, 0, 0, .7)); }

.intro-image {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 38vh;             /* was 100px on mobile – barely a sliver */
}
.intro-image.bg-bottom { background-position: center bottom; }
/* Portal page: the product-silhouette pattern on the light grey/white radial
   (as the original), sized so it fills the band instead of leaving it empty. */
.intro-image.intro-pattern {
  background-color: #f6fcff;
  background-image: url('/img/bg-portal-cap.png'), radial-gradient(circle farthest-corner at top center, #f6fcff 0%, #a3a7ad 100%);
  background-size: cover, auto;
  background-position: center bottom, center;
  min-height: 34vh;
}
@media (min-width: 768px) {
  .intro-image.intro-pattern { min-height: 45vh; background-size: contain, auto; background-repeat: repeat, no-repeat; }
}
@media (min-width: 768px) {
  .intro-image { min-height: 60vh; }
}
}

/* ---------- Home: intro ------------------------------------------------------ */
#sap-intro { padding-block: var(--space-sm); }
#sap-intro .intro-grid { display: grid; gap: 2rem; align-items: center; }
#sap-intro .heading { text-align: center; }
#sap-intro .heading img { max-width: 260px; }
#sap-intro h2 { padding-left: 30px; }
#sap-intro .lead { border-left: 10px solid var(--sunair-main); padding-left: 20px; }
#sap-intro .tagline { text-align: center; margin-top: 2rem; }
@media (min-width: 768px) {
  #sap-intro { padding-block: var(--space-lg); }
  #sap-intro .intro-grid { grid-template-columns: 1fr 2fr; }
  #sap-intro .heading img { max-width: 320px; }
}
@media (min-width: 992px) { #sap-intro { padding-block: var(--space-xl); } }

/* ---------- Home: explainer (customer types) ------------------------------- */
#explainer {
  background: #34424d url('/img/bg-warehouse.jpg') center center / cover no-repeat;
  padding-block: var(--space-md);
  color: #fff;
  text-shadow: 0 3px 6px rgba(0, 0, 0, .84);
}
#explainer h2 { text-align: center; margin-bottom: 1.5rem; }
#explainer .customer-lists { display: grid; gap: 1rem; }
#explainer ul { margin: 0; padding: 0; list-style: none; text-align: center; }
#explainer li { font-weight: 600; font-size: 1.125rem; line-height: 1.8; }
@media (min-width: 768px) {
  #explainer { padding-block: var(--space-xl); background-position: center bottom; }
  #explainer .customer-lists { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 992px) { #explainer li { font-size: 1.25rem; } }

/* ---------- Home: products --------------------------------------------------- */
#products { text-align: center; }
#products header { padding-block: var(--space-md); color: #fff; }
#products header p { margin: 0 auto; max-width: 70ch; }
#products .product-list { padding-block: var(--space-md) var(--space-lg); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: var(--space-md);
}
.product-grid .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: .75rem;
  border: 1px solid #fff;
  box-shadow: 0 10px 15px rgba(0, 0, 0, .25);
  background: linear-gradient(rgba(255, 255, 255, .25), rgba(255, 255, 255, .85));
  padding: 15px;
  color: var(--gray-900);
  font-weight: 600;
  text-transform: uppercase;
}
.product-grid .item img {
  display: block;
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1 / 1;      /* the icons are all square-ish; equal tiles */
  object-fit: contain;
}
@media (min-width: 576px) { .product-grid { gap: 1.5rem; } }
@media (min-width: 992px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.more-products h2 { text-transform: uppercase; margin-bottom: 1.5rem; }
.more-products .lists { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.more-products ul { margin: 0; padding: 0; list-style: none; font-size: 1.125rem; line-height: 1.7; }
@media (min-width: 768px) { .more-products ul { font-size: 1.25rem; } }
@media (min-width: 992px) { .more-products .lists { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Portal / newsletter caps ---------------------------------------- */
.portal-cap {
  background: #015a9c url('/img/bg-portal-cap.png') center / cover;
  background-image: url('/img/bg-portal-cap.png'), radial-gradient(circle farthest-corner at top center, #0083ff 0%, #015a9c 100%);
  padding: var(--space-lg) var(--gutter);
  text-align: center;
  color: #fff;
}
.portal-cap h2 {
  font-size: clamp(1.75rem, 1.375rem + 1.5vw, 2.5rem);
  margin-bottom: 30px;
  text-shadow: 0 15px 30px rgba(0, 0, 0, .75);
}
.portal-cap h2 span { display: block; font-size: 1.3rem; margin-top: .5rem; font-family: var(--font-body); font-weight: 400; }
@media (min-width: 768px) {
  .portal-cap { padding-block: var(--space-xl); background-size: contain; }
}

/* ---------- Home: markets ---------------------------------------------------- */
#markets { padding-block: var(--space-lg) var(--space-md); }
#markets h2 { text-align: center; margin-bottom: var(--space-md); }
.market-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.market-grid .industry { text-align: center; margin: 0; }
.market-grid img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.market-grid figcaption { font-size: 1.25rem; font-weight: 300; margin-top: .5rem; }
@media (min-width: 576px) { .market-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .market-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Testing (home feature + product testing page) ------------------ */
.testing-feature { padding-block: var(--space-lg); }
.feature-row { display: grid; gap: 2rem; align-items: center; }
.feature-row h2 { text-transform: uppercase; }
.feature-row p { font-size: 1.25rem; line-height: 1.9; }
.feature-row img { width: 100%; height: auto; }
@media (min-width: 768px) {
  .feature-row { grid-template-columns: 7fr 5fr; gap: 3rem; }
}
#testing { padding-block: var(--space-md) var(--space-lg); }
#testing .machines + .machines { margin-top: var(--space-md); }

/* ---------- About pages ------------------------------------------------------ */
#about { padding-block: var(--space-sm); }
#about .container > p { font-size: 1.3rem; } /* body copy only, not the form text */
#about .photos { display: grid; gap: 2rem; margin-bottom: 1.5rem; }
#about .photos img { width: 100%; height: auto; }
#about .photos h2 { text-transform: uppercase; text-align: center; margin: 1rem 0 2rem; }
#about .photos.single { max-width: 75%; margin-inline: auto; }
#about header { text-transform: uppercase; text-align: center; margin-top: var(--space-md); }
@media (min-width: 768px) {
  #about .photos.pair { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767.98px) { #about .photos.single { max-width: 100%; } }

#locations { padding-block: var(--space-sm) var(--space-md); text-align: center; }
#locations header { text-transform: uppercase; }
#locations img { display: block; margin: 0 auto; }

#quality { padding-block: var(--space-md); }
#quality header { text-transform: uppercase; text-align: center; }
#quality p { text-align: center; font-size: 1.3rem; max-width: 80ch; margin-inline: auto; }

/* ---------- Contact page ----------------------------------------------------- */
#offices { padding-top: var(--space-sm); background: #fff; }
#offices .office-grid { display: grid; gap: 2rem; }
#offices .office-item { padding-block: var(--space-sm); }
#offices .office-item img { width: 100%; height: auto; margin-bottom: 1.5rem; }
#offices h2 { margin-bottom: 1rem; }
@media (min-width: 768px) { #offices .office-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }

ul.contact { font-size: 1.2rem; list-style: none; padding: 0; margin: 0; color: var(--black); }
ul.contact span { color: var(--sunair-main-accent); }
ul.contact li.title { text-transform: uppercase; margin-top: 1rem; }
/* Office / phone / fax icons. The SVGs are white, so they are used as masks
   filled with the current text colour: light in the footer, dark on the
   Contact page. */
ul.contact li.icon { position: relative; padding-left: 2.25rem; }
ul.contact li.icon::before {
  content: ''; position: absolute; left: 0; top: .35em;
  width: 1.5rem; height: 1.1em;
  background: currentColor;
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}
ul.contact li.office::before { -webkit-mask-image: url('/img/icons/office.svg'); mask-image: url('/img/icons/office.svg'); }
ul.contact li.phone::before { -webkit-mask-image: url('/img/icons/phone.svg'); mask-image: url('/img/icons/phone.svg'); }
ul.contact li.fax::before { -webkit-mask-image: url('/img/icons/fax.svg'); mask-image: url('/img/icons/fax.svg'); }
#offices ul.contact li.icon::before { color: var(--sunair-bg-drk); }

.newsletter { padding: var(--space-sm); text-align: center; }

#contact-form { padding-block: var(--space-sm) var(--space-lg); }
#contact-form h2 { text-align: center; }

/* ---------- Forms (replaces Contact Form 7 + Bootstrap .form-control) ------ */
.sap-form-wrap { margin: 0 auto; max-width: 800px; display: grid; gap: 0 1rem; }
.sap-form { margin-bottom: 10px; }
.form-control {
  display: block;
  width: 100%;
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background: #fff;
  border: 1px solid var(--sunair-main-accent);
  border-radius: .25rem;
  transition: border-color .15s, box-shadow .15s;
}
.form-control:focus { border-color: var(--sunair-main); outline: 0; box-shadow: 0 0 0 .2rem rgba(0, 93, 209, .25); }
textarea.form-control { min-height: 12.5rem; resize: vertical; }
.form-note { font-weight: 300; color: #666; font-size: .75rem; }
.form-note a { color: #444; text-decoration: underline; }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
/* Turnstile runs invisibly (data-appearance="interaction-only"); the Cloudflare box
   only appears for visitors who must tick "Verify you are human". */
.form-footer .turnstile-slot { flex: 1 1 300px; }
.form-actions { margin-left: auto; }
/* Submission feedback: an alert panel under the form, hidden while empty */
.form-status {
  display: none;
  align-items: flex-start;
  gap: .75rem;
  margin: 1rem 0 0;
  padding: .9rem 1rem;
  border-radius: .25rem;
  border: 1px solid transparent;
  border-left-width: 5px;
  font-size: 1.05rem;
  line-height: 1.45;
  text-align: left;
  background: #eef4ff;
  border-color: #b9d1ff;
  border-left-color: var(--sunair-main);
  color: #143a6b;
}
.form-status:not(:empty) { display: flex; }
.form-status::before {
  content: '';
  flex: 0 0 auto;
  width: 1.4rem; height: 1.4rem;
  margin-top: .05rem;
  border-radius: 50%;
  background: currentColor;
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}
.form-status.is-info::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 15h-2v-6h2zm0-8h-2V7h2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 15h-2v-6h2zm0-8h-2V7h2z'/%3E%3C/svg%3E");
}
.form-status.is-success {
  background: #edf9f0; border-color: #b7e3c3; border-left-color: #1e8e3e; color: #17552a;
}
.form-status.is-success::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.5 14.5-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.5 14.5-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4z'/%3E%3C/svg%3E");
}
.form-status.is-error {
  background: #fdeeee; border-color: #f3bcbc; border-left-color: #c62828; color: #7a1c1c;
}
.form-status.is-error::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 15h-2v-2h2zm0-4h-2V7h2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 15h-2v-2h2zm0-4h-2V7h2z'/%3E%3C/svg%3E");
}
/* Honeypot field: off-screen for people, present for bots */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 768px) {
  .sap-form-wrap { grid-template-columns: 1fr 2fr; }
}

/* ---------- Portal page ------------------------------------------------------- */
#portal { padding-block: var(--space-sm) var(--space-md); }
.embed-16by9 { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.embed-16by9 iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.portal-nav { padding: var(--space-sm) 0; text-align: center; }
.portal-nav p { padding-top: 1.5rem; font-size: 1.5rem; margin-bottom: 1rem; }

/* ---------- Privacy policy / generic content page --------------------------- */
.page-content { padding-block: calc(var(--nav-height-mobile) + var(--space-md)) var(--space-lg); }
.page-content .container { max-width: 860px; }
.page-content h1 { margin-bottom: 1.5rem; }
.page-content h2 { margin-top: 2.5rem; }
.page-content h3 { margin-top: 1.75rem; }
.page-content li { margin-bottom: .5rem; }
@media (min-width: 1100px) { .page-content { padding-top: calc(var(--nav-height) + var(--space-md)); } }

/* ---------- Newsletter dialog (replaces the Bootstrap modal) ---------------- */
.newsletter-dialog {
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: .3rem;
  padding: 0;
  width: min(500px, calc(100% - 2rem));
  box-shadow: 0 10px 40px rgba(0, 0, 0, .3);
}
.newsletter-dialog::backdrop { background: rgba(0, 0, 0, .5); }
.newsletter-dialog .modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem; border-bottom: 1px solid #dee2e6;
}
.newsletter-dialog .modal-header h2 { font-size: 1.25rem; margin: 0; font-family: var(--font-body); font-weight: 600; }
.newsletter-dialog .close { background: none; border: 0; font-size: 1.5rem; line-height: 1; opacity: .6; padding: .25rem .5rem; }
.newsletter-dialog .close:hover { opacity: 1; }
.newsletter-dialog .modal-body { padding: 1rem; min-height: 120px; }
.newsletter-dialog .modal-footer { padding: .75rem 1rem; border-top: 1px solid #dee2e6; text-align: right; }

/* ---------- Footer ------------------------------------------------------------ */
#footer {
  background: var(--sunair-bg-drk);
  color: var(--sunair-footer-text);
}
#footer a { color: var(--sunair-accent); }
#footer .btn-sunair-secondary, #footer .btn-primary { color: #fff; }

.footer-partners { padding-block: var(--space-sm) var(--space-md); text-align: center; }
.footer-partners h2 { font-size: 2rem; color: #fff; margin: 1rem 0 1.5rem; }
.partner-strip {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 1rem 1.5rem;
}
.partner-strip li { display: flex; align-items: center; justify-content: center; padding: .5rem; }
.partner-strip li.light-bg { background: #ccc; }
.partner-strip img { max-height: 50px; width: auto; }

.footer-main { padding-block: var(--space-md) var(--space-sm); }
.footer-logo { max-width: 300px; margin-bottom: 2rem; }
.footer-grid { display: grid; gap: 2rem; }
.footer-grid h3 {
  color: #fff; text-transform: uppercase; font-size: 1.5rem; margin-bottom: 1rem;
}
.footer-grid h3::before {
  content: ''; display: block; width: 50px; border-top: 4px solid var(--sunair-main); margin-bottom: .5rem;
}
#footer ul.contact { color: var(--sunair-contact-text); font-size: 1rem; margin-bottom: 1.5rem; }
#footer ul.contact span { color: var(--sunair-footer-text); }
#footer ul.contact li.title { color: #fff; }
.footer-about p { margin-bottom: 1rem; }
.footer-about .iso { display: inline-block; margin-bottom: 1.5rem; }
.footer-actions { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; }
.footer-actions .btn { color: #fff; }
ul.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
ul.social img { width: 32px; height: 32px; }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}
@media (min-width: 992px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
  .footer-about { grid-column: auto; }
}

#colophon {
  padding: 1.5rem 0 2rem;
  font-size: .9rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
#colophon .sep { margin-inline: .4rem; opacity: .6; }
@media (min-width: 768px) { #colophon { text-align: left; } }

/* ---------- Parallax ----------------------------------------------------------
   Fixed backgrounds on the page banners, the warehouse
   "supplier of choice" band and the blue portal/newsletter caps. Applied only
   where it actually works: desktop widths, a real pointer (iOS ignores it) and
   no reduced-motion preference. #explainer and .portal-cap are listed by name
   because their own background shorthand would otherwise reset attachment.
   Kept at the end of the file so it wins over those shorthands. */
@media (min-width: 768px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .intro-image,
  #explainer,
  .portal-cap { background-attachment: fixed; }
}

/* ---------- Newsletter consent note / footer link-style button ------------- */
.newsletter-fallback { margin: 0; padding: .75rem 1rem; background: #fdeeee; border-left: 5px solid #c62828; color: #7a1c1c; font-size: .95rem; }
.newsletter-fallback a { color: inherit; text-decoration: underline; }
.newsletter-consent-note { text-align: center; }
.newsletter-consent-note p { margin: 0 0 .75rem; }
.newsletter-consent-note a { text-decoration: underline; }
.link-button {
  background: none; border: 0; padding: 0; font: inherit; color: var(--sunair-accent); cursor: pointer;
}
.link-button:hover { text-decoration: underline; }

/* ---------- Print ------------------------------------------------------------- */
@media print {
  #main-nav, .newsletter, .portal-cap, .footer-partners { display: none !important; }
  .page-content { padding-top: 0; }
}
