/* AxiaSolar homepage. Keep all rules within the homepage main element. */
.ax-home {
  --ax-navy: #102a43;
  --ax-teal: #00a99d;
  --ax-accent: #007f78;
  --ax-cloud: #f2f6f8;
  --ax-slate: #526777;
  --ax-line: #d9e3e9;
  color: var(--ax-navy);
  background: #fff;
  font: 17px/1.65 Arial, sans-serif;
  overflow: clip;
}

.ax-home *,
.ax-home *::before,
.ax-home *::after { box-sizing: border-box; }

.ax-home .wrap { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.ax-home h1,
.ax-home h2,
.ax-home h3,
.ax-home p,
.ax-home figure { margin: 0; }
.ax-home h1,
.ax-home h2,
.ax-home h3 { font-family: Arial, sans-serif; color: var(--ax-navy); font-weight: 700; }
.ax-home h1 { font-size: 64px; line-height: 1.04; letter-spacing: -.045em; }
.ax-home h2 { font-size: 40px; line-height: 1.12; letter-spacing: -.035em; }
.ax-home h3 { font-size: 23px; line-height: 1.24; letter-spacing: -.02em; }
.ax-home p { color: var(--ax-slate); }
.ax-home a { color: inherit; text-decoration: none; }
.ax-home img { display: block; max-width: 100%; }
.ax-home button { font: inherit; }
.ax-home [hidden] { display: none !important; }
.ax-home a:focus-visible,
.ax-home button:focus-visible { outline: 3px solid var(--ax-accent); outline-offset: 5px; }
.ax-home .ax-section { padding-block: 76px; }

.ax-home .ax-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  max-width: 100%;
  padding: 12px 25px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: var(--ax-teal);
  color: var(--ax-navy);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.ax-home .ax-button:hover { background: #44c7bb; color: var(--ax-navy); }
.ax-home .ax-button-navy { background: var(--ax-navy); color: #fff; }
.ax-home .ax-button-navy:hover { background: #234965; color: #fff; }
.ax-home .ax-button-light { background: transparent; color: #fff; border-color: #8fa8ba; }
.ax-home .ax-button-light:hover { background: #fff; color: var(--ax-navy); border-color: #fff; }
.ax-home .ax-link {
  display: inline-block;
  max-width: 100%;
  padding-block: 5px;
  border-bottom: 1px solid #91aaa9;
  color: var(--ax-accent);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
}
.ax-home .ax-link:hover { color: var(--ax-navy); border-color: currentColor; }

.ax-home .ax-hero { background: var(--ax-navy); color: #fff; }
.ax-home .ax-hero-layout { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 54%); min-height: 590px; }
.ax-home .ax-hero-copy { align-self: center; min-width: 0; padding: 70px 48px 70px 0; }
.ax-home .ax-hero-intro { color: #a9e5df; font-size: 15px; line-height: 1.5; margin-bottom: 23px; }
.ax-home .ax-hero h1 { max-width: 510px; color: #fff; }
.ax-home .ax-hero-description { max-width: 475px; margin-top: 26px; color: #d6e3ec; font-size: 17px; line-height: 1.7; }
.ax-home .ax-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 32px; }
.ax-home .ax-hero-audience { margin-top: 30px; color: #b6cad8; font-size: 13px; line-height: 1.5; }
.ax-home .ax-hero-photo { position: relative; min-width: 0; min-height: 590px; margin-right: min(-24px, calc((1200px - 100vw) / 2)); background: #37526a; overflow: hidden; }
.ax-home .ax-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.ax-home .ax-hero-photo figcaption { position: absolute; inset: auto 0 0; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding: 19px 28px; color: #fff; background: rgba(16, 42, 67, .86); font-size: 13px; line-height: 1.4; }
.ax-home .ax-hero-photo figcaption span { color: #d0e0e9; font-size: 12px; }
.ax-home .ax-hero a:focus-visible,
.ax-home .ax-enquiry a:focus-visible { outline-color: #8ce8df; }

.ax-home .ax-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 36px; }
.ax-home .ax-heading-row > div { min-width: 0; }
.ax-home .ax-heading-row p { margin-top: 15px; }
.ax-home .ax-heading-row > .ax-link { flex: 0 0 auto; margin-bottom: 3px; }
.ax-home .ax-equipment-layout { display: grid; grid-template-columns: minmax(0, 36%) minmax(0, 1fr); gap: 48px; }
.ax-home .ax-equipment-photo { position: relative; min-height: 380px; overflow: hidden; background: var(--ax-navy); }
.ax-home .ax-equipment-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.ax-home .ax-equipment-photo figcaption { position: absolute; inset: auto 0 0; padding: 20px 24px; background: rgba(16, 42, 67, .88); color: #fff; font-size: 14px; line-height: 1.5; }
.ax-home .ax-category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 34px; }
.ax-home .ax-category { position: relative; display: block; min-width: 0; min-height: 126px; padding: 22px 24px 24px 0; border-top: 1px solid var(--ax-line); }
.ax-home .ax-category h3 { font-size: 22px; }
.ax-home .ax-category p { margin-top: 11px; font-size: 15px; line-height: 1.6; }
.ax-home .ax-category svg { position: absolute; right: 0; bottom: 23px; color: var(--ax-accent); }
.ax-home .ax-category:hover h3 { color: var(--ax-accent); }
.ax-home .ax-category:hover { border-top-color: var(--ax-accent); }

.ax-home .ax-applications { background: var(--ax-cloud); }
.ax-home .ax-app-layout { display: block; }
.ax-home .ax-app-tabs { display: none; }
.ax-home .ax-app-layout.is-ready { display: grid; grid-template-columns: minmax(0, 27fr) minmax(0, 73fr); align-items: start; gap: 45px; }
.ax-home .ax-app-layout.is-ready .ax-app-tabs { display: block; }
.ax-home .ax-app-tabs button { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; min-height: 79px; padding: 21px 22px; border: 0; border-bottom: 1px solid #d6e2e7; border-radius: 0; background: transparent; color: var(--ax-navy); font-size: 17px; font-weight: 700; line-height: 1.4; text-align: left; cursor: pointer; }
.ax-home .ax-app-tabs button:hover { background: #e8f0f3; }
.ax-home .ax-app-tabs button[aria-selected="true"] { background: #fff; box-shadow: inset 3px 0 var(--ax-teal); color: var(--ax-accent); }
.ax-home .ax-app-tabs button > span { flex-shrink: 0; color: var(--ax-accent); font-size: 22px; font-weight: 400; }
.ax-home .ax-app-tabs button[aria-selected="true"] > span { font-size: 0; }
.ax-home .ax-app-tabs button[aria-selected="true"] > span::after { content: "−"; font-size: 22px; }
.ax-home .ax-app-panels { min-width: 0; }
.ax-home .ax-app-panel + .ax-app-panel { margin-top: 36px; }
.ax-home .is-ready .ax-app-panel + .ax-app-panel { margin-top: 0; }
.ax-home .ax-app-image { position: relative; height: 330px; background: #cfdee5; overflow: hidden; }
.ax-home .ax-app-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ax-home .ax-app-image > span { position: absolute; right: 0; bottom: 0; padding: 7px 12px; color: #fff; background: rgba(16, 42, 67, .85); font-size: 11px; line-height: 1.4; }
.ax-home .ax-app-content { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 25px; background: #fff; }
.ax-home .ax-app-content h3 { font-size: 26px; }
.ax-home .ax-app-content p { max-width: 700px; margin-top: 10px; font-size: 16px; line-height: 1.65; }
.ax-home .ax-photo-credit { margin-top: 11px; color: #5c707e; font-size: 11px; line-height: 1.6; }
.ax-home .ax-photo-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

.ax-home .ax-purchase-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding: 0; margin: 0; list-style: none; }
.ax-home .ax-purchase-steps li { display: flex; align-items: flex-start; gap: 20px; min-width: 0; padding-top: 26px; border-top: 1px solid var(--ax-line); }
.ax-home .ax-purchase-steps li > span { flex: 0 0 auto; color: var(--ax-accent); font-size: 32px; font-weight: 400; line-height: 1; }
.ax-home .ax-purchase-steps h3 { font-size: 21px; }
.ax-home .ax-purchase-steps p { margin-top: 12px; font-size: 15px; }

.ax-home .ax-planning-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: stretch; }
.ax-home .ax-section.ax-planning { padding-top: 12px; }
.ax-home .ax-calculator { position: relative; padding: 35px 38px; background: #e7f5f3; }
.ax-home .ax-calculator-icon { position: absolute; top: 31px; right: 30px; width: 58px; height: 58px; color: var(--ax-accent); stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ax-home .ax-tool-label { max-width: calc(100% - 70px); color: var(--ax-accent); font-size: 13px; font-weight: 700; line-height: 1.5; margin-bottom: 27px; }
.ax-home .ax-calculator h3 { font-size: 36px; line-height: 1.14; letter-spacing: -.035em; }
.ax-home .ax-calculator h3 + p { max-width: 390px; margin-top: 18px; font-size: 16px; }
.ax-home .ax-calculator .ax-button { margin-top: 26px; }
.ax-home .ax-calculator small { display: block; margin-top: 14px; color: var(--ax-slate); font-size: 11px; line-height: 1.5; }
.ax-home .ax-reading { min-width: 0; padding-top: 6px; }
.ax-home .ax-reading > h3 { margin-bottom: 20px; font-size: 26px; }
.ax-home .ax-guide { position: relative; display: block; padding: 18px 34px 21px 0; border-top: 1px solid var(--ax-line); }
.ax-home .ax-guide > span { display: block; margin-bottom: 7px; color: var(--ax-slate); font-size: 12px; line-height: 1.4; }
.ax-home .ax-guide strong { display: block; color: var(--ax-navy); font-size: 19px; line-height: 1.35; font-weight: 700; }
.ax-home .ax-guide svg { position: absolute; right: 0; top: 50%; margin-top: -10px; color: var(--ax-accent); }
.ax-home .ax-guide:hover strong { color: var(--ax-accent); }
.ax-home .ax-reading-all { margin-top: 15px; }

.ax-home .ax-enquiry { padding-block: 70px; background: var(--ax-navy); color: #fff; }
.ax-home .ax-enquiry-layout { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.ax-home .ax-enquiry-layout > div:first-child { max-width: 720px; }
.ax-home .ax-enquiry h2 { color: #fff; }
.ax-home .ax-enquiry p { max-width: 640px; margin-top: 20px; color: #d5e2eb; font-size: 16px; }
.ax-home .ax-enquiry-action { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.ax-home .ax-enquiry-action .ax-button { min-width: 180px; }
.ax-home .ax-enquiry-action span { color: #b8ccd9; font-size: 12px; line-height: 1.5; }
.ax-home .ax-image-credits { padding-block: 15px; background: #102a43; border-top: 1px solid #345066; color: #b8ccd9; font-size: 11px; line-height: 1.6; }
.ax-home .ax-image-credits a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 1050px) {
  .ax-home .ax-hero-copy { padding-right: 30px; }
  .ax-home h1 { font-size: 56px; }
  .ax-home .ax-equipment-layout { gap: 32px; }
  .ax-home .ax-category-grid { column-gap: 25px; }
  .ax-home .ax-app-layout.is-ready { gap: 30px; }
  .ax-home .ax-app-tabs button { padding-inline: 17px; font-size: 16px; }
  .ax-home .ax-purchase-steps { gap: 26px; }
  .ax-home .ax-purchase-steps li { gap: 15px; }
  .ax-home .ax-planning-layout { gap: 38px; }
}

@media (max-width: 760px) {
  .ax-home { font-size: 16px; }
  .ax-home h1 { font-size: 42px; }
  .ax-home h2 { font-size: 30px; line-height: 1.17; }
  .ax-home .ax-section { padding-block: 64px; }
  .ax-home .ax-hero-layout { grid-template-columns: minmax(0, 1fr); }
  .ax-home .ax-hero-copy { padding: 54px 0 46px; }
  .ax-home .ax-hero h1 { max-width: 610px; }
  .ax-home .ax-hero-description { max-width: 560px; font-size: 16px; }
  .ax-home .ax-hero-intro { margin-bottom: 20px; }
  .ax-home .ax-hero-photo { min-height: 390px; margin-inline: -24px; }
  .ax-home .ax-hero-photo img { object-position: 50% 66%; }
  .ax-home .ax-hero-photo figcaption { padding-inline: 24px; }
  .ax-home .ax-heading-row { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 28px; }
  .ax-home .ax-heading-row p { margin-top: 12px; }
  .ax-home .ax-equipment-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .ax-home .ax-equipment-photo { min-height: 0; height: 300px; }
  .ax-home .ax-equipment-photo img { object-position: 50% 62%; }
  .ax-home .ax-category-grid { gap: 0 28px; }
  .ax-home .ax-category { min-height: 140px; padding-top: 21px; }
  .ax-home .ax-app-layout.is-ready { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ax-home .ax-app-layout.is-ready .ax-app-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ax-home .ax-app-tabs button { min-height: 73px; padding: 15px 18px; }
  .ax-home .ax-app-image { height: 245px; }
  .ax-home .ax-app-content { padding: 25px; }
  .ax-home .ax-app-content h3 { font-size: 24px; }
  .ax-home .ax-purchase-steps { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .ax-home .ax-purchase-steps li { gap: 25px; padding-top: 23px; }
  .ax-home .ax-purchase-steps li > span { min-width: 20px; }
  .ax-home .ax-purchase-steps p { margin-top: 8px; }
  .ax-home .ax-planning-layout { grid-template-columns: minmax(0, 1fr); gap: 38px; }
  .ax-home .ax-calculator { padding: 32px; }
  .ax-home .ax-calculator h3 { font-size: 32px; }
  .ax-home .ax-enquiry { padding-block: 56px; }
  .ax-home .ax-enquiry-layout { flex-direction: column; align-items: flex-start; gap: 29px; }
}

@media (max-width: 520px) {
  .ax-home .wrap { width: calc(100% - 40px); }
  .ax-home h1 { font-size: 42px; line-height: 1.07; letter-spacing: -.04em; }
  .ax-home .ax-section { padding-block: 56px; }
  .ax-home .ax-hero-copy { padding-block: 42px 38px; }
  .ax-home .ax-hero-intro { font-size: 13px; }
  .ax-home .ax-hero-description { margin-top: 23px; }
  .ax-home .ax-actions { gap: 12px; margin-top: 27px; }
  .ax-home .ax-actions .ax-button { padding-inline: 18px; font-size: 14px; }
  .ax-home .ax-hero-audience { margin-top: 25px; font-size: 12px; }
  .ax-home .ax-hero-photo { min-height: 300px; margin-inline: -20px; }
  .ax-home .ax-hero-photo figcaption { padding: 14px 20px; font-size: 12px; }
  .ax-home .ax-hero-photo figcaption span { font-size: 10px; }
  .ax-home .ax-heading-row { gap: 16px; }
  .ax-home .ax-equipment-photo { height: 220px; }
  .ax-home .ax-equipment-photo figcaption { padding: 16px 20px; font-size: 13px; }
  .ax-home .ax-category-grid { column-gap: 20px; }
  .ax-home .ax-category { min-height: 136px; padding-right: 14px; padding-bottom: 36px; }
  .ax-home .ax-category h3 { font-size: 20px; }
  .ax-home .ax-category p { font-size: 14px; line-height: 1.5; }
  .ax-home .ax-category svg { bottom: 14px; width: 17px; height: 17px; }
  .ax-home .ax-app-tabs button { padding: 14px 14px; font-size: 14px; gap: 8px; }
  .ax-home .ax-app-tabs button > span { font-size: 19px; }
  .ax-home .ax-app-content { padding: 23px 20px; }
  .ax-home .ax-app-content h3 { font-size: 23px; }
  .ax-home .ax-app-content p { font-size: 15px; }
  .ax-home .ax-purchase-steps h3 { font-size: 20px; }
  .ax-home .ax-calculator { padding: 28px 24px; }
  .ax-home .ax-calculator-icon { right: 23px; top: 26px; width: 48px; height: 48px; }
  .ax-home .ax-tool-label { max-width: calc(100% - 55px); font-size: 12px; }
  .ax-home .ax-calculator h3 { font-size: 30px; }
  .ax-home .ax-reading > h3 { font-size: 24px; }
  .ax-home .ax-guide strong { font-size: 18px; }
  .ax-home .ax-image-credits { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .ax-home *, .ax-home *::before, .ax-home *::after { scroll-behavior: auto; transition: none !important; }
}
