/*
Theme Name: Wendova
Theme URI: https://wendova.com/
Author: Wendova
Author URI: https://wendova.com/
Description: A lightweight parent-brand hub theme for Wendova, with Wendova Digital Solutions positioned as the active service division.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: wendova
*/

:root {
  --wdv-ink: #09111f;
  --wdv-charcoal: #111827;
  --wdv-navy: #10243d;
  --wdv-deep: #061525;
  --wdv-paper: #f8f5ee;
  --wdv-white: #ffffff;
  --wdv-muted: #657184;
  --wdv-line: rgba(15, 23, 42, 0.12);
  --wdv-line-light: rgba(255, 255, 255, 0.16);
  --wdv-gold: #d6a94e;
  --wdv-teal: #20b7a6;
  --wdv-blue: #3d8bfd;
  --wdv-radius: 8px;
  --wdv-shadow: 0 24px 60px rgba(9, 17, 31, 0.16);
  --wdv-wrap: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--wdv-paper);
  color: var(--wdv-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

section[id],
article[id] {
  scroll-margin-top: 92px;
}

body.admin-bar .site-header {
  top: 32px;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

.site-main,
.site-header,
.site-footer,
.wrap,
.section,
.card,
.proof-panel,
.content-block,
.contact-panel,
.contact-form,
.split > *,
.section-intro-grid > *,
.contact-layout > *,
.cta-band__inner > * {
  min-width: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

a:hover,
a:focus {
  color: var(--wdv-teal);
}

:focus-visible {
  outline: 3px solid rgba(32, 183, 166, 0.55);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 21, 37, 0.92);
  color: var(--wdv-white);
  border-bottom: 1px solid var(--wdv-line-light);
  backdrop-filter: blur(18px);
}

.site-header__inner,
.site-footer__inner,
.wrap {
  width: min(100% - 40px, var(--wdv-wrap));
  margin-inline: auto;
}

.site-header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.brand-logo {
  display: block;
  width: auto;
  height: auto;
}

.brand-logo--header {
  width: 86px;
  max-height: 64px;
  border-radius: 7px;
  background: var(--wdv-white);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
}

.brand-logo--footer {
  width: min(180px, 100%);
  border-radius: 7px;
  background: var(--wdv-white);
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--wdv-radius);
  background:
    linear-gradient(135deg, rgba(32, 183, 166, 0.26), rgba(214, 169, 78, 0.22)),
    rgba(255, 255, 255, 0.06);
  color: var(--wdv-white);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-name {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
}

.brand-tagline {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  line-height: 1.15;
}

.custom-logo {
  display: block;
  width: auto;
  max-width: 190px;
  max-height: 52px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--wdv-radius);
  background: transparent;
  color: var(--wdv-white);
  cursor: pointer;
}

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  display: block;
  width: 19px;
  height: 2px;
  margin-inline: auto;
  background: currentColor;
  content: "";
}

.nav-toggle__bar::before {
  transform: translateY(-7px);
}

.nav-toggle__bar::after {
  transform: translateY(5px);
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: 20px;
}

.primary-navigation ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: var(--wdv-radius);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.primary-navigation a:hover,
.primary-navigation a:focus {
  background: rgba(255, 255, 255, 0.08);
  color: var(--wdv-white);
}

.header-cta {
  white-space: nowrap;
}

.button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--wdv-radius);
  background: var(--wdv-teal);
  color: #031019;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus {
  background: #26cdbb;
  color: #031019;
  transform: translateY(-1px);
}

.button--secondary {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.07);
  color: var(--wdv-white);
}

.button--secondary:hover,
.button--secondary:focus {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
  color: var(--wdv-white);
}

.button--dark {
  background: var(--wdv-ink);
  color: var(--wdv-white);
}

.button--dark:hover,
.button--dark:focus {
  background: var(--wdv-navy);
  color: var(--wdv-white);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  display: grid;
  align-items: center;
  isolation: isolate;
  background:
    radial-gradient(circle at 76% 30%, rgba(32, 183, 166, 0.26), transparent 28%),
    radial-gradient(circle at 58% 72%, rgba(214, 169, 78, 0.18), transparent 27%),
    linear-gradient(135deg, #061525 0%, #10243d 52%, #0b1421 100%);
  color: var(--wdv-white);
}

.hero::after {
  position: absolute;
  inset: auto -10% -44% 42%;
  z-index: -1;
  height: 520px;
  border-radius: 999px;
  background: rgba(61, 139, 253, 0.18);
  filter: blur(80px);
  content: "";
}

.hero__network {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.52;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 26%, #000 100%);
}

.hero__map {
  position: absolute;
  right: max(24px, calc((100vw - var(--wdv-wrap)) / 2));
  bottom: 52px;
  width: min(38vw, 430px);
  min-width: 320px;
  aspect-ratio: 1.45;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.hero__visual {
  position: absolute;
  right: max(28px, calc((100vw - var(--wdv-wrap)) / 2));
  top: 118px;
  z-index: -1;
  width: min(42vw, 520px);
  margin: 0;
  opacity: 0.9;
}

.hero__map::before,
.hero__map::after {
  position: absolute;
  inset: 16% 12%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  content: "";
}

.hero__map::after {
  inset: 30% 24%;
}

.map-point {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--wdv-teal);
  box-shadow: 0 0 0 8px rgba(32, 183, 166, 0.16);
}

.map-point:nth-child(1) {
  left: 20%;
  top: 34%;
}

.map-point:nth-child(2) {
  left: 48%;
  top: 24%;
  background: var(--wdv-gold);
  box-shadow: 0 0 0 8px rgba(214, 169, 78, 0.16);
}

.map-point:nth-child(3) {
  left: 70%;
  top: 52%;
  background: var(--wdv-blue);
  box-shadow: 0 0 0 8px rgba(61, 139, 253, 0.18);
}

.map-point:nth-child(4) {
  left: 38%;
  top: 70%;
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding: 112px 0 92px;
}

.hero__content {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--wdv-teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: inherit;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h1 {
  max-width: 980px;
  font-size: 5.4rem;
}

h2 {
  font-size: 3.25rem;
}

h3 {
  font-size: 1.65rem;
}

p {
  margin: 0;
}

.lead {
  max-width: 760px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.22rem;
  line-height: 1.7;
}

.section {
  padding: 92px 0;
}

.section--dark {
  background: var(--wdv-deep);
  color: var(--wdv-white);
}

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

.section__header {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 46px;
  align-items: center;
  margin-bottom: 38px;
}

.section-intro-grid .section__header {
  margin-bottom: 0;
}

.section__header p {
  margin-top: 18px;
  color: var(--wdv-muted);
  font-size: 1.05rem;
}

.section--dark .section__header p,
.section--dark .card p,
.section--dark .split__content p {
  color: rgba(255, 255, 255, 0.72);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

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

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

.card {
  position: relative;
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--wdv-line);
  border-radius: var(--wdv-radius);
  background: var(--wdv-white);
}

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

.visual-img--hero,
.visual-img--panel,
.visual-img--showcase,
.visual-img--intro,
.visual-img--page-hero {
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

.visual-img--panel {
  margin-bottom: 18px;
}

.visual-img--showcase {
  width: min(100%, 470px);
}

.visual-img--intro {
  width: min(100%, 430px);
  justify-self: end;
}

.section--dark .card {
  border-color: var(--wdv-line-light);
  background: rgba(255, 255, 255, 0.06);
}

.card__logo,
.division-showcase {
  display: grid;
  gap: 18px;
}

.card__logo {
  min-height: 118px;
  place-items: center;
  margin: 0 0 18px;
  padding: 12px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--wdv-radius);
  background: rgba(255, 255, 255, 0.88);
}

.section--dark .card__logo {
  border-color: rgba(255, 255, 255, 0.14);
}

.division-logo {
  display: block;
  width: auto;
  height: auto;
}

.division-logo--card {
  max-width: 100%;
  max-height: 102px;
  border-radius: 6px;
}

.division-logo--panel,
.division-logo--showcase,
.division-logo--hero {
  border-radius: var(--wdv-radius);
  background: var(--wdv-white);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.14);
}

.division-logo--panel {
  width: min(260px, 100%);
  margin-bottom: 24px;
}

.division-logo--showcase {
  width: min(300px, 100%);
  justify-self: start;
}

.page-hero__logo {
  margin: 0 0 26px;
}

.division-logo--hero {
  width: min(310px, 100%);
}

.card__kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 18px;
  padding: 0 9px;
  border: 1px solid rgba(32, 183, 166, 0.24);
  border-radius: 999px;
  color: var(--wdv-teal);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.card h3 {
  margin-bottom: 12px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.08rem;
  line-height: 1.2;
}

.card p {
  color: var(--wdv-muted);
  font-size: 0.96rem;
}

.card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--wdv-ink);
  font-weight: 800;
  text-decoration: none;
}

.section--dark .card a {
  color: var(--wdv-white);
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-top: 20px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(214, 169, 78, 0.14);
  color: #8d6414;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section--dark .status {
  color: #f4d58d;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 54px;
  align-items: center;
}

.split__content p {
  margin-top: 18px;
  color: var(--wdv-muted);
  font-size: 1.05rem;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 12px;
  color: inherit;
}

.feature-list li::before {
  width: 9px;
  height: 9px;
  margin-top: 10px;
  border-radius: 50%;
  background: var(--wdv-teal);
  content: "";
}

.proof-panel {
  padding: 30px;
  border: 1px solid var(--wdv-line);
  border-radius: var(--wdv-radius);
  background: var(--wdv-white);
  box-shadow: var(--wdv-shadow);
}

.section--dark .proof-panel {
  border-color: var(--wdv-line-light);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.proof-panel__stat {
  display: block;
  color: var(--wdv-teal);
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1;
}

.proof-panel p {
  margin-top: 14px;
  color: var(--wdv-muted);
}

.section--dark .proof-panel p {
  color: rgba(255, 255, 255, 0.72);
}

.cta-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(32, 183, 166, 0.14), rgba(214, 169, 78, 0.12)),
    var(--wdv-ink);
  color: var(--wdv-white);
}

.cta-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.cta-band p {
  max-width: 680px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.72);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  background:
    radial-gradient(circle at 80% 30%, rgba(32, 183, 166, 0.2), transparent 24%),
    linear-gradient(135deg, var(--wdv-deep), var(--wdv-navy));
  color: var(--wdv-white);
}

.page-hero__visual {
  width: min(100%, 420px);
  margin: 0 0 30px;
}

.page-hero .lead {
  max-width: 820px;
}

.content-blocks {
  display: grid;
  gap: 26px;
}

.content-block {
  padding: 32px;
  border: 1px solid var(--wdv-line);
  border-radius: var(--wdv-radius);
  background: var(--wdv-white);
}

.content-block p,
.content-block li {
  color: var(--wdv-muted);
}

.content-block p {
  margin-top: 14px;
}

.content-block ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 1.15rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 42px;
  align-items: start;
}

.contact-panel,
.contact-form {
  padding: 30px;
  border: 1px solid var(--wdv-line);
  border-radius: var(--wdv-radius);
  background: var(--wdv-white);
}

.contact-panel p {
  margin-top: 14px;
  color: var(--wdv-muted);
}

.contact-list {
  display: grid;
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list strong {
  display: block;
}

.contact-list span {
  color: var(--wdv-muted);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--wdv-ink);
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: var(--wdv-radius);
  background: #fffdf8;
  color: var(--wdv-ink);
  font: inherit;
}

.field textarea {
  min-height: 144px;
  resize: vertical;
}

.form-note {
  color: var(--wdv-muted);
  font-size: 0.92rem;
}

.entry-content > * + * {
  margin-top: 1.25rem;
}

.entry-content {
  max-width: 100%;
  overflow-wrap: break-word;
}

.entry-content img,
.entry-content iframe,
.entry-content embed,
.entry-content object,
.entry-content video {
  max-width: 100%;
}

.entry-content table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.site-footer {
  background: #050d18;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
  padding: 54px 0;
}

.site-footer a {
  color: var(--wdv-white);
}

.footer-summary {
  margin-top: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  text-decoration: none;
}

.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;
}

@media (max-width: 1080px) {
  h1 {
    font-size: 4.35rem;
  }

  h2 {
    font-size: 2.85rem;
  }

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

  .hero__map {
    width: 42vw;
    opacity: 0.72;
  }

  .hero__visual {
    right: -60px;
    width: 470px;
    opacity: 0.36;
  }
}

@media (max-width: 1180px) {
  section[id],
  article[id] {
    scroll-margin-top: 84px;
  }

  .site-header__inner {
    min-height: 68px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
  }

  .primary-navigation {
    position: absolute;
    inset: 68px 0 auto 0;
    display: none;
    width: 100%;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    padding: 16px 20px 22px;
    background: rgba(6, 21, 37, 0.98);
    border-bottom: 1px solid var(--wdv-line-light);
  }

  .site-header.is-open .primary-navigation {
    display: block;
  }

  .primary-navigation ul {
    display: grid;
    gap: 6px;
    justify-content: stretch;
  }

  .primary-navigation a,
  .header-cta {
    width: 100%;
    justify-content: flex-start;
  }

  .header-cta {
    margin-top: 12px;
  }
}

@media (max-width: 860px) {
  h1 {
    font-size: 3.6rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .lead {
    font-size: 1.12rem;
  }

  .proof-panel__stat {
    font-size: 3.2rem;
  }

  body.admin-bar .site-header {
    top: 46px;
  }

  .hero {
    min-height: auto;
  }

  .hero__map {
    right: -90px;
    bottom: 24px;
    width: 440px;
    min-width: 0;
    opacity: 0.34;
  }

  .hero__visual {
    display: none;
  }

  .hero__inner {
    padding: 92px 0 76px;
  }

  .split,
  .cta-band__inner,
  .contact-layout,
  .site-footer__inner,
  .section-intro-grid {
    grid-template-columns: 1fr;
  }

  .visual-img--intro {
    justify-self: start;
  }

  .page-hero__visual {
    width: min(100%, 360px);
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header__inner,
  .site-footer__inner,
  .wrap {
    width: min(100% - 28px, var(--wdv-wrap));
  }

  .brand-tagline {
    display: none;
  }

  .brand-logo--header {
    width: 76px;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  h3 {
    font-size: 1.35rem;
  }

  .lead {
    font-size: 1.04rem;
  }

  .section,
  .page-hero {
    padding: 68px 0;
  }

  .hero__inner {
    padding: 78px 0 68px;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .card-grid,
  .card-grid--three,
  .card-grid--two,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .content-block,
  .contact-panel,
  .contact-form,
  .proof-panel {
    padding: 22px;
  }

  .page-hero__logo,
  .page-hero__visual {
    margin-bottom: 20px;
  }

  .division-logo--hero,
  .division-logo--panel,
  .division-logo--showcase {
    width: min(100%, 260px);
  }

  .visual-img--page-hero,
  .visual-img--panel,
  .visual-img--showcase,
  .visual-img--intro {
    border-radius: 12px;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 2.12rem;
  }

  .hero__inner {
    padding-top: 78px;
  }
}
