/*
Theme Name: Wave7Digital
Theme URI: https://wave7digital.local
Author: Wave7Digital
Description: A one-page marketing and AI consultancy theme for Wave7Digital.
Version: 1.0.9
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: wave7digital
*/

:root {
  --ink: #073457;
  --muted: #517082;
  --paper: #f7fbfd;
  --soft: #e8f6fa;
  --line: #cfe6ee;
  --green: #1c9fbd;
  --green-dark: #063f68;
  --gold: #4cc7d9;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(7, 52, 87, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(247, 251, 253, 0.9);
  border-bottom: 1px solid rgba(207, 230, 238, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

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

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
  color: var(--muted);
  font-size: 0.95rem;
}

nav ul {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
  margin: 0;
  padding: 0;
  list-style: none;
}

nav a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 118px));
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(38px, 6vw, 76px) clamp(20px, 5vw, 64px);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4, 34, 57, 0.9) 0%, rgba(4, 34, 57, 0.72) 42%, rgba(4, 34, 57, 0.2) 100%),
    url("assets/ai-marketing-dashboard.svg") center right / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 26%;
  z-index: -1;
  background: linear-gradient(180deg, rgba(247, 251, 253, 0), var(--paper));
}

.hero-content {
  width: min(820px, 100%);
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.65rem, 5.1vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: 0;
  max-width: 820px;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.16rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  background: var(--gold);
  color: #042239;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--white);
}

.intro,
.section,
.proof,
.contact {
  padding: clamp(64px, 9vw, 116px) clamp(20px, 5vw, 64px);
}

.intro {
  max-width: 1100px;
}

.intro-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 36px 0 0;
  padding: 0;
}

.intro-stats div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.intro-stats dt {
  font-size: 1.55rem;
  font-weight: 800;
}

.intro-stats dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.intro p:last-child,
.audit p,
.contact p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.1rem;
}

.section-heading {
  max-width: 840px;
  margin-bottom: 34px;
}

.section-kicker {
  color: var(--green);
}

.service-grid,
.process-grid,
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

article {
  min-width: 0;
}

.service-grid article,
.process-grid article,
.proof-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.card-number {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--green);
  font-weight: 800;
}

article p,
.fit li,
.faq p,
footer {
  color: var(--muted);
}

.audit {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  margin: 0 clamp(20px, 5vw, 64px);
  padding: clamp(34px, 5vw, 54px);
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.audit .section-kicker,
.audit p {
  color: rgba(255, 255, 255, 0.78);
}

.audit h2 {
  color: var(--white);
}

.check-list,
.fit ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.fit li {
  position: relative;
  padding: 14px 0 14px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.check-list li::before,
.fit li::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
}

.muted {
  background: var(--soft);
}

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

.proof {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

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

.proof strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.05rem;
}

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

.fit-column {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.fit li {
  border-bottom-color: var(--line);
}

.fit li::before {
  background: var(--green);
}

.faq {
  max-width: 980px;
}

details {
  border-top: 1px solid var(--line);
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  padding: 24px 0;
  font-size: 1.15rem;
  font-weight: 800;
}

details p {
  max-width: 740px;
  margin-bottom: 24px;
}

.wp-page-content {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) 0;
}

.wp-page-content > * {
  max-width: 840px;
}

.wp-page-content > .alignwide {
  max-width: 1040px;
}

.wp-page-content > .alignfull {
  width: 100vw;
  max-width: none;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
}

.contact {
  background: var(--green-dark);
  color: var(--white);
}

.contact .section-kicker,
.contact p {
  color: rgba(255, 255, 255, 0.78);
}

.contact .button {
  margin-top: 10px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 24px clamp(20px, 5vw, 64px);
  background: #042239;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer p {
  margin: 0;
}

.footer-main,
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

.footer-legal {
  font-size: 0.9rem;
}

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

@media (max-width: 980px) {
  .service-grid,
  .process-grid,
  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .audit,
  .proof,
  .fit {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 720px;
  }
}

@media (max-width: 700px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.88rem;
  }

  .brand-logo {
    width: 138px;
  }

  .hero {
    min-height: 690px;
    padding-top: 56px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(4, 34, 57, 0.9) 0%, rgba(4, 34, 57, 0.74) 48%, rgba(4, 34, 57, 0.42) 100%),
      url("assets/ai-marketing-dashboard.svg") center / cover no-repeat;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .service-grid,
  .process-grid,
  .proof-grid,
  .intro-stats {
    grid-template-columns: 1fr;
  }

  .audit {
    margin-inline: 20px;
  }
}
