/*
Theme Name: Imagon Oxigenar
Template: imagon
Version: 1.0.0
Description: Child theme for the Oxigenar distributor site rebuild.
Text Domain: imagon-oxigenar
*/

:root {
  --ox-bg: #f4f7fb;
  --ox-surface: #ffffff;
  --ox-surface-alt: #eaf1f8;
  --ox-text: #12324f;
  --ox-text-soft: #5b7390;
  --ox-border: rgba(18, 50, 79, 0.12);
  --ox-primary: #00a3c8;
  --ox-primary-dark: #007c98;
  --ox-accent: #0f6f89;
  --ox-heading: #0d2740;
  --ox-shadow: 0 24px 60px rgba(14, 46, 82, 0.08);
  --ox-radius: 24px;
  --ox-radius-sm: 16px;
  --ox-content-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ox-text);
  background: var(--ox-bg);
  line-height: 1.6;
  overflow-wrap: break-word;
}

a {
  color: var(--ox-primary-dark);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--ox-primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ox-shell {
  min-height: 100vh;
}

.ox-container {
  width: min(calc(100% - 32px), var(--ox-content-width));
  margin: 0 auto;
}

.ox-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ox-border);
}

.ox-site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.ox-site-branding {
  display: flex;
  align-items: center;
  min-width: 0;
}

.ox-site-branding img {
  display: block;
  width: auto;
  height: auto;
  max-width: 220px;
  max-height: 54px;
}

.ox-nav-toggle {
  display: none;
  border: 0;
  background: var(--ox-heading);
  color: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.95rem;
  cursor: pointer;
}

.ox-nav__list,
.ox-nav__list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ox-nav__list {
  display: flex;
  align-items: center;
  gap: 24px;
}

.ox-nav__list a {
  color: var(--ox-heading);
  font-weight: 600;
  line-height: 1.25;
}

.ox-nav__list li {
  position: relative;
}

.ox-nav__list .menu-item-has-children > a::after {
  content: "▾";
  margin-left: 6px;
  font-size: 0.75em;
}

.ox-nav__list ul {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 260px;
  max-width: 320px;
  background: var(--ox-surface);
  padding: 12px;
  border-radius: 16px;
  box-shadow: var(--ox-shadow);
  border: 1px solid var(--ox-border);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.ox-nav__list ul::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 16px;
}

.ox-nav__list li:hover > ul,
.ox-nav__list li:focus-within > ul {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.ox-nav__list ul li + li {
  margin-top: 10px;
}

.ox-main {
  padding-bottom: 64px;
}

.ox-home-hero,
.ox-page-hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(9, 28, 48, 0.94), rgba(0, 163, 200, 0.76));
}

.ox-home-hero::before,
.ox-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(135deg, rgba(6, 22, 39, 0.84), rgba(7, 51, 76, 0.58)),
    linear-gradient(180deg, rgba(6, 18, 31, 0.18), rgba(6, 18, 31, 0.58));
}

.ox-home-hero__bg,
.ox-page-hero__bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0.34;
  filter: saturate(0.95) contrast(1.05);
}

.ox-home-hero__inner,
.ox-page-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 42px;
  align-items: center;
  padding: 88px 0 76px;
}

.ox-home-hero__eyebrow,
.ox-section__eyebrow,
.ox-page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ox-section__eyebrow {
  background: rgba(0, 163, 200, 0.1);
  color: var(--ox-accent);
}

.ox-home-hero h1,
.ox-page-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 4vw, 4.6rem);
  line-height: 1.06;
  color: #fff;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.45);
  overflow-wrap: anywhere;
}

.ox-home-hero p,
.ox-page-hero p {
  margin: 0;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
  overflow-wrap: anywhere;
}

.ox-home-hero__actions,
.ox-cta-banner__actions,
.ox-contact-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.ox-button,
.ox-button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--ox-primary);
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ox-button:hover,
.ox-button:focus {
  background: var(--ox-primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

.ox-button,
.ox-button:visited,
.ox-button:hover,
.ox-button:focus {
  color: #fff !important;
}

.ox-button--ghost,
.ox-button--ghost:visited {
  background: rgba(8, 24, 39, 0.42);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.ox-button--ghost:hover,
.ox-button--ghost:focus {
  background: rgba(8, 24, 39, 0.58);
}

.ox-home-hero__panel {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: var(--ox-radius);
  background: rgba(8, 25, 42, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--ox-shadow);
  color: #fff;
}

.ox-home-hero__panel-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.ox-home-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ox-stat {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ox-stat strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.ox-stat span {
  display: block;
  margin-top: 6px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.ox-section {
  padding: 72px 0;
}

.ox-section--tight {
  padding-top: 48px;
}

.ox-section--alt {
  background: var(--ox-surface);
}

.ox-section__header {
  position: static;
  width: auto;
  z-index: auto;
  padding: 0;
  max-width: 760px;
  margin-bottom: 34px;
}

.ox-section__header h2 {
  margin: 0 0 12px;
  color: var(--ox-heading);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.ox-section__header p {
  margin: 0;
  color: var(--ox-text-soft);
  overflow-wrap: anywhere;
}

.ox-grid {
  display: grid;
  gap: 22px;
}

.ox-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ox-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ox-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ox-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border-radius: var(--ox-radius);
  background: var(--ox-surface);
  border: 1px solid var(--ox-border);
  box-shadow: var(--ox-shadow);
}

.ox-card__media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #d7eaf5, #f6fafc);
}

.ox-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ox-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
  color: var(--ox-text);
}

.ox-card__eyebrow {
  margin-bottom: 10px;
  color: var(--ox-accent);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.ox-card h3,
.ox-card h4 {
  margin: 0 0 10px;
  color: var(--ox-heading);
  font-size: 1.3rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.ox-card p {
  margin: 0;
  color: var(--ox-text-soft);
  overflow-wrap: anywhere;
}

.ox-card a:not(.ox-button) {
  color: var(--ox-primary-dark);
}

.ox-card__actions {
  margin-top: 18px;
}

.ox-richtext {
  color: var(--ox-text);
}

.ox-richtext > :first-child {
  margin-top: 0;
}

.ox-richtext > :last-child {
  margin-bottom: 0;
}

.ox-richtext h2,
.ox-richtext h3,
.ox-richtext h4 {
  color: var(--ox-heading);
  line-height: 1.18;
}

.ox-richtext h2 {
  margin: 36px 0 14px;
  font-size: 1.95rem;
}

.ox-richtext h3 {
  margin: 28px 0 12px;
  font-size: 1.35rem;
}

.ox-richtext p,
.ox-richtext li {
  color: var(--ox-text);
  overflow-wrap: anywhere;
}

.ox-richtext h2,
.ox-richtext h3,
.ox-richtext h4,
.ox-richtext a,
.ox-contact-card,
.ox-contact-card li,
.ox-contact-card a,
.ox-aside li,
.ox-site-footer__top p,
.ox-site-footer__top li,
.ox-site-footer__top a,
.ox-site-footer__bottom {
  overflow-wrap: anywhere;
}

.ox-richtext strong,
.ox-richtext b,
.ox-page-main strong,
.ox-page-main b {
  color: var(--ox-heading);
}

.ox-richtext a,
.ox-page-main a,
.ox-contact-card a,
.ox-aside a {
  color: var(--ox-primary-dark);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.ox-richtext ul,
.ox-richtext ol {
  padding-left: 20px;
}

.ox-richtext li + li {
  margin-top: 8px;
}

.ox-columns {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
}

.ox-panel,
.ox-aside,
.ox-contact-card,
.ox-cta-banner {
  border-radius: var(--ox-radius);
  background: var(--ox-surface);
  border: 1px solid var(--ox-border);
  box-shadow: var(--ox-shadow);
}

.ox-panel,
.ox-aside,
.ox-contact-card {
  padding: 28px;
  color: var(--ox-text);
}

.ox-panel h2,
.ox-panel h3,
.ox-aside h2,
.ox-aside h3,
.ox-contact-card h2,
.ox-contact-card h3 {
  color: var(--ox-heading);
}

.ox-aside li,
.ox-contact-card li,
.ox-panel p,
.ox-aside p,
.ox-contact-card p {
  color: var(--ox-text);
}

.ox-aside ul,
.ox-contact-card ul {
  margin: 0;
  padding-left: 18px;
}

.ox-aside li + li,
.ox-contact-card li + li {
  margin-top: 10px;
}

.ox-child-grid {
  margin-top: 30px;
}

.ox-page-wrap {
  padding: 60px 0 0;
}

.ox-page-content {
  margin-top: -40px;
}

.ox-page-content__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 26px;
  align-items: start;
}

.ox-page-main {
  padding: 34px;
  border-radius: var(--ox-radius);
  background: var(--ox-surface);
  border: 1px solid var(--ox-border);
  box-shadow: var(--ox-shadow);
  color: var(--ox-text);
}

.ox-page-sidebar {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 20px;
}

.ox-feature-list {
  display: grid;
  gap: 14px;
}

.ox-feature-list__item {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
  background: var(--ox-surface);
  border: 1px solid var(--ox-border);
}

.ox-feature-list__item strong {
  color: var(--ox-heading);
}

.ox-feature-list__item p {
  margin: 6px 0 0;
  color: var(--ox-text);
}

.ox-cta-banner {
  margin-top: 30px;
  padding: 30px;
  background: linear-gradient(135deg, #10273f, #117491);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.ox-cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(4, 17, 30, 0.18), rgba(4, 17, 30, 0.32));
  pointer-events: none;
}

.ox-cta-banner h3 {
  position: relative;
  margin: 0 0 10px;
  font-size: 1.8rem;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
  overflow-wrap: anywhere;
}

.ox-cta-banner p {
  position: relative;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
  overflow-wrap: anywhere;
}

.ox-cta-banner .ox-button,
.ox-home-hero .ox-button,
.ox-page-hero .ox-button {
  position: relative;
}

.ox-page-main label,
.ox-page-main legend {
  display: block;
  margin-bottom: 8px;
  color: var(--ox-heading);
  font-weight: 700;
}

.ox-page-main input[type="text"],
.ox-page-main input[type="email"],
.ox-page-main input[type="tel"],
.ox-page-main input[type="url"],
.ox-page-main input[type="number"],
.ox-page-main input[type="search"],
.ox-page-main select,
.ox-page-main textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(18, 50, 79, 0.18);
  border-radius: 14px;
  background: #fff;
  color: var(--ox-heading);
  font: inherit;
}

.ox-page-main textarea {
  min-height: 160px;
  resize: vertical;
}

.ox-page-main input::placeholder,
.ox-page-main textarea::placeholder {
  color: #6f84a0;
}

.ox-page-main input:focus,
.ox-page-main select:focus,
.ox-page-main textarea:focus {
  outline: 2px solid rgba(0, 163, 200, 0.18);
  border-color: var(--ox-primary);
}

.ox-page-main .wpcf7-form p {
  color: var(--ox-text);
}

.ox-page-main .wpcf7-submit,
.ox-page-main input[type="submit"],
.ox-page-main button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--ox-primary);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.ox-page-main .wpcf7-submit:hover,
.ox-page-main input[type="submit"]:hover,
.ox-page-main button[type="submit"]:hover {
  background: var(--ox-primary-dark);
}

.ox-site-footer {
  color: #d9e7f5;
  background: #0d2237;
}

.ox-site-footer__top {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr;
  gap: 28px;
  padding: 56px 0 24px;
}

.ox-site-footer__top h3,
.ox-site-footer__top h4 {
  margin: 0 0 14px;
  color: #fff;
}

.ox-site-footer__top p,
.ox-site-footer__top li,
.ox-site-footer__top a {
  color: #d9e7f5;
}

.ox-site-footer__top ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ox-site-footer__top li + li {
  margin-top: 10px;
}

.ox-site-footer__bottom {
  padding: 18px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
  color: rgba(217, 231, 245, 0.78);
}

@media (max-width: 1100px) {
  .ox-home-hero__inner,
  .ox-page-hero__inner,
  .ox-page-content__inner,
  .ox-columns,
  .ox-site-footer__top {
    grid-template-columns: 1fr;
  }

  .ox-page-sidebar {
    position: static;
  }
}

@media (max-width: 900px) {
  .ox-site-header__inner {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
  }

  .ox-site-branding {
    flex: 1 1 auto;
    max-width: calc(100% - 78px);
  }

  .ox-site-branding img {
    width: auto;
    height: auto;
    max-width: 140px;
    max-height: 40px;
    flex-shrink: 0;
  }

  .ox-nav-toggle {
    display: inline-flex;
    margin-left: auto;
    flex-shrink: 0;
  }

  .ox-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    width: 100%;
    padding: 0 16px 16px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--ox-border);
  }

  .ox-nav.is-open {
    display: block;
  }

  .ox-nav__list,
  .ox-nav__list ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .ox-nav__list > li + li {
    border-top: 1px solid var(--ox-border);
  }

  .ox-nav__list a {
    display: block;
    padding: 14px 0;
  }

  .ox-nav__list ul {
    position: static;
    min-width: 0;
    padding: 0 0 10px 14px;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .ox-grid--two,
  .ox-grid--three,
  .ox-grid--four {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .ox-home-hero__stats {
    grid-template-columns: 1fr;
  }

  .ox-home-hero__inner,
  .ox-page-hero__inner {
    padding: 64px 0 56px;
  }

  .ox-page-main,
  .ox-panel,
  .ox-aside,
  .ox-contact-card,
  .ox-cta-banner,
  .ox-home-hero__panel {
    padding: 22px;
  }
}
