/* QOOWEAR — site shell (flexbox) */
:root {
  --navy: #182647;
  --navy-deep: #0f1a33;
  --red: #e94420;
  --blue: #2970e1;
  --blue-btn: #4470ff;
  --text: #1a1a1a;
  --muted: #555;
  --white: #ffffff;
  --gray-bg: #f5f6f8;
  --max: 1100px;
  --font: "Catamaran", "Open Sans", system-ui, sans-serif;
}

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

html {
  font-size: 106.25%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--blue);
  text-decoration: underline;
}

.site-wrap {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 100vh;
}

.site-main {
  flex: 1;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 1000;
  background: var(--white);
  padding: 8px 14px;
}

/* —— Header / Nav —— */
.site-header {
  background: linear-gradient(-45deg, var(--red) 0%, var(--navy) 80%);
  color: var(--white);
  position: relative;
  z-index: 50;
}

.site-header.is-home {
  background: transparent;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}

.brand:hover {
  text-decoration: none;
  color: var(--white);
  opacity: 0.92;
}

.brand img {
  height: 42px;
  width: auto;
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1.15rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
  padding: 8px 14px;
  font: inherit;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--white);
  text-decoration: none;
}

.nav-cta img {
  height: 40px;
  width: auto;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--navy) center / cover no-repeat;
  color: var(--white);
  padding: 120px 0 72px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    at center,
    rgba(224, 224, 224, 0) 0%,
    rgba(23, 45, 104, 0.42) 100%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hero-logo {
  max-width: 320px;
  width: 100%;
}

.hero-cta img {
  max-width: 220px;
}

.hero-tagline {
  margin: 0;
  text-align: center;
  font-family: "Open Sans", var(--font);
  font-size: clamp(1.1rem, 2.4vw, 1.65rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--white);
  max-width: 900px;
  margin-inline: auto;
  padding: 0 12px;
}

/* —— Sections —— */
.section {
  padding: 64px 0;
}

.section--alt {
  background: var(--gray-bg);
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}

.section--cta {
  background: linear-gradient(-45deg, var(--red) 0%, var(--navy) 85%);
  color: var(--white);
  text-align: center;
}

.section-title {
  margin: 0 0 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15;
}

.section--navy .section-title,
.section--cta .section-title {
  color: var(--white);
}

.section-lead {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.75;
}

.split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.split > * {
  flex: 1 1 280px;
}

.split--risk {
  background: var(--white) url("/wp-content/uploads/2019/09/Side-best-way-1.jpg")
    right center / contain no-repeat;
  padding: 40px 24px;
}

.split--risk .split-text {
  flex: 1 1 55%;
  background: var(--white);
  padding: 24px 16px;
}

.product-shot {
  margin: 0 auto;
  max-width: 360px;
}

.video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.section--featured {
  background: var(--navy);
  color: var(--white);
}

.section--featured .section-title {
  color: var(--white);
}

.featured-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 28px;
}

.featured-grid img {
  height: 30px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  opacity: 0.95;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.badges img {
  max-height: 90px;
  width: auto;
}

.cta-sub {
  margin: 0 0 28px;
  font-size: 1.1rem;
  opacity: 0.95;
}

.cta-btn img {
  margin: 0 auto;
  max-width: 240px;
}

/* —— Page content —— */
.page-header {
  padding: 48px 0 12px;
}

.page-header h1 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.page-body {
  padding: 12px 0 64px;
}

.page-body p {
  margin: 0 0 14px;
  line-height: 1.7;
}

.author-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
}

.author-card img {
  border-radius: 50%;
  width: 120px;
  height: 120px;
  object-fit: cover;
}

/* —— Blog list (r-template_blog) —— */
.blog-container {
  padding: 24px 0 64px;
}

.blog-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-card {
  border-bottom: 1px solid #e2e5ea;
  padding-bottom: 16px;
}

.blog-title {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.blog-title a {
  color: var(--navy);
  text-decoration: none;
}

.blog-title a:hover {
  color: var(--blue);
}

.blog-preview p {
  margin: 0;
  color: var(--muted);
}

/* —— Footer —— */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 48px 0 28px;
  margin-top: auto;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-col {
  flex: 1 1 220px;
}

.footer-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
  color: var(--white);
  font-size: 0.95rem;
}

.footer-col p,
.footer-col address {
  margin: 0 0 8px;
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.55;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.social-links a {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 6px 12px;
  font-size: 0.85rem;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: var(--white);
}

.footer-copy {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.9rem;
  opacity: 0.75;
}

.romlisitewide {
  margin-top: 24px;
}

/* —— Responsive —— */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    background: rgba(15, 26, 51, 0.96);
    padding: 12px 16px 16px;
    margin: 0 -20px;
    width: calc(100% + 40px);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav-cta {
    margin-top: 8px;
  }

  .hero {
    min-height: 70vh;
    padding: 100px 0 56px;
    justify-content: center;
  }

  .hero-top {
    flex-direction: column;
    text-align: center;
  }

  .hero-cta img {
    margin: 0 auto;
  }

  .split--risk {
    background-image: none;
  }

  .section {
    padding: 48px 0;
  }
}
