/*
Theme Name: WAV Solutions
Author: WAV Solutions
Description: Custom theme for wavsolutions.com
Version: 1.0
*/

:root {
  --navy: #262F3C;
  --blue: #6090F7;
  --blue-light: #78A3F6;
  --orange: #F79118;
  --bg: #F9F8F8;
  --text: #434F53;
  --white: #FFFFFF;
  --font-heading: 'Mulish', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.section-alt { background: var(--white); }

.eyebrow {
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 12px;
  display: block;
}

.section-heading { font-size: 34px; margin-bottom: 16px; }
.section-sub { max-width: 640px; margin-bottom: 40px; color: var(--text); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 6px;
  font-weight: 700;
  font-family: var(--font-heading);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(247,145,24,0.35); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-secondary { background: var(--navy); color: var(--white); }
.btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(38,47,60,0.35); }

/* Header */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 11px;
  padding-bottom: 11px;
}
.site-logo img { height: 61px; width: auto; }
.main-nav ul { display: flex; gap: 32px; }
.main-nav a {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
}
.main-nav a:hover { color: var(--blue-light); }
.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 28px; cursor: pointer; }

@media (max-width: 860px) {
  .main-nav { display: none; width: 100%; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 16px 0; }
  .main-nav li { padding: 12px 0; border-top: 1px solid rgba(255,255,255,0.1); }
  .site-header .container { flex-wrap: wrap; }
  .nav-toggle { display: block; }
}

/* Hero */
.hero {
  background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.25;
  pointer-events: none;
}
.hero::before {
  width: 420px; height: 420px;
  background: var(--orange);
  top: -180px; right: -120px;
}
.hero::after {
  width: 300px; height: 300px;
  background: var(--blue-light);
  bottom: -160px; right: 260px;
  opacity: 0.3;
}
.hero .container { position: relative; z-index: 1; }
.hero-flex { display: flex; align-items: center; gap: 40px; }
.hero-copy { flex: 1.1; min-width: 300px; text-align: left; }
.hero-visual { flex: 1; min-width: 280px; display: flex; justify-content: center; }
.hero h1 { color: var(--white); font-size: 46px; margin-bottom: 20px; }
.hero p { font-size: 18px; margin-bottom: 32px; color: rgba(255,255,255,0.9); max-width: 520px; }
.hero .btn-group { display: flex; gap: 16px; flex-wrap: wrap; }
.hero.hero-simple .container { max-width: 760px; }
.hero.hero-simple .hero-copy { max-width: 100%; }

@media (max-width: 860px) {
  .hero-flex { flex-direction: column; text-align: center; }
  .hero-copy { text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero .btn-group { justify-content: center; }
  .hero-visual { order: -1; }
}

/* Hero illustration */
.hero-illustration { position: relative; width: 100%; max-width: 380px; height: 300px; }
.hero-illustration .device {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 260px; height: 190px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 14px;
  backdrop-filter: blur(2px);
}
.hero-illustration .device::before {
  content: "";
  position: absolute; top: 14px; left: 14px; right: 14px;
  height: 10px; border-radius: 4px;
  background: rgba(255,255,255,0.2);
}
.hero-illustration .device .bar {
  position: absolute; left: 14px; right: 40px; height: 8px; border-radius: 4px;
  background: rgba(255,255,255,0.25);
}
.hero-illustration .badge {
  position: absolute;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(15,20,30,0.28);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
  animation: floatY 4.5s ease-in-out infinite;
}
.hero-illustration .badge svg { width: 20px; height: 20px; color: var(--orange); flex-shrink: 0; }
.hero-illustration .badge-1 { top: 6px; left: 0; animation-delay: 0s; }
.hero-illustration .badge-2 { bottom: 22px; left: -10px; animation-delay: 0.6s; }
.hero-illustration .badge-3 { top: 40%; right: -6px; animation-delay: 1.2s; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Clients strip */
.clients-strip {
  position: relative;
  background: var(--bg);
  padding: 56px 0;
  overflow: hidden;
  text-align: center;
}
.clients-strip .eyebrow { text-align: center; }
.clients-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  margin: 30px 0 40px;
  position: relative;
  z-index: 1;
}
.clients-row img {
  height: 40px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}
.clients-row img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-3px);
}
.clients-watermark {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 72px;
  letter-spacing: 10px;
  color: var(--navy);
  opacity: 0.05;
  white-space: nowrap;
  line-height: 1;
  margin-bottom: -28px;
  user-select: none;
}
@media (max-width: 700px) {
  .clients-watermark { font-size: 36px; letter-spacing: 4px; }
  .clients-row { gap: 32px; }
  .clients-row img { height: 30px; }
}
/* Blog / Resources post cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3 { grid-template-columns: 1fr; } }

.post-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(38,47,60,0.14);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.post-card:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(38,47,60,0.22); }
.post-card-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg); }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(96,144,247,0.1);
  color: var(--blue);
}
.post-card-thumb-placeholder svg { width: 44px; height: 44px; }
.post-card-body { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
.post-meta { font-size: 12.5px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.post-card-body h3 { font-size: 18px; margin-bottom: 10px; }
.post-card-body h3 a { color: var(--navy); }
.post-card-body h3 a:hover { color: var(--blue); }
.post-card-body p { font-size: 14.5px; flex-grow: 1; }
.post-card-more { font-family: var(--font-heading); font-weight: 700; color: var(--blue); font-size: 14px; margin-top: 14px; display: inline-block; }

.pagination-row { margin-top: 48px; text-align: center; }
.pagination-row .nav-links { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.pagination-row a, .pagination-row span {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  background: var(--white);
  box-shadow: 0 4px 14px rgba(38,47,60,0.08);
}
.pagination-row a:hover { background: var(--blue); color: var(--white); }
.pagination-row span.current { background: var(--navy); color: var(--white); }

/* Services grid */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

.service-card {
  background: var(--white);
  border-radius: 10px;
  padding: 32px 24px;
  box-shadow: 0 10px 30px rgba(38,47,60,0.14);
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 44px rgba(38,47,60,0.22);
}
.icon-circle {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(96,144,247,0.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: background 0.25s ease;
}
.service-card:hover .icon-circle { background: var(--blue); }
.service-card:hover .icon-circle .icon { color: var(--white); }
.service-card .icon {
  width: 26px; height: 26px;
  color: var(--blue);
  transition: color 0.25s ease;
}
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { font-size: 15px; }

/* About + stats */
.about-flex { display: flex; gap: 60px; align-items: center; flex-wrap: wrap; }
.about-flex > div { flex: 1; min-width: 280px; }
.stats-row { display: flex; gap: 40px; margin-top: 32px; flex-wrap: wrap; }
.stat-num { font-family: var(--font-heading); font-size: 40px; color: var(--blue); font-weight: 800; }
.stat-label { font-size: 14px; color: var(--text); }

.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 40px; }
@media (max-width: 700px) { .value-grid { grid-template-columns: 1fr; } }
.value-item .num { color: var(--blue); font-family: var(--font-heading); font-weight: 800; font-size: 22px; }
.value-item h4 { margin: 8px 0; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--white);
  border-radius: 10px;
  padding: 36px 28px;
  box-shadow: 0 10px 30px rgba(38,47,60,0.14);
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.price-card:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(38,47,60,0.22); }
.price-card.featured { border: 2px solid var(--orange); transform: scale(1.03); }
.price-card.featured:hover { transform: scale(1.03) translateY(-8px); }
.price-card .badge {
  position: absolute; top: -14px; right: 24px;
  background: var(--orange); color: var(--white);
  font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 20px;
  font-family: var(--font-heading);
}
.price-card h3 { font-size: 22px; margin-bottom: 6px; }
.price-card .unavailable { color: #b3392c; font-size: 13px; font-weight: 700; margin-bottom: 16px; }
.price-card ul { margin: 20px 0; flex-grow: 1; }
.price-card li { padding: 8px 0; font-size: 15px; border-top: 1px solid #eee; }
.price-card li:first-child { border-top: none; }
.addon-strip { display: flex; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.addon-box { background: var(--white); border-radius: 10px; padding: 24px; flex: 1; min-width: 220px; box-shadow: 0 10px 30px rgba(38,47,60,0.14); }
.addon-box .amount { font-family: var(--font-heading); font-weight: 800; font-size: 26px; color: var(--navy); }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .testi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card {
  background: var(--white);
  border-radius: 10px;
  padding: 30px 26px 26px;
  box-shadow: 0 10px 30px rgba(38,47,60,0.14);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.testi-card:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(38,47,60,0.22); }
.testi-card::before {
  content: "\201C";
  position: absolute; top: 6px; left: 20px;
  font-family: Georgia, serif;
  font-size: 60px;
  color: var(--blue);
  opacity: 0.15;
  line-height: 1;
}
.testi-card p { font-size: 14.5px; margin-bottom: 16px; font-style: italic; position: relative; z-index: 1; }
.testi-card .testi-foot { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover;
  background: var(--white);
  border: 1px solid #eee;
  flex-shrink: 0;
}
.testi-card .author { font-family: var(--font-heading); font-weight: 700; color: var(--navy); font-size: 14px; }
.testi-card .role { font-size: 12.5px; color: var(--blue); }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, #1c2330 100%);
  color: var(--white);
  text-align: center;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.15;
  filter: blur(10px);
  top: -160px; left: -80px;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p { max-width: 560px; margin: 0 auto 28px; color: rgba(255,255,255,0.85); }

/* Contact */
.contact-flex { display: flex; gap: 50px; flex-wrap: wrap; }
.contact-flex form { flex: 1.4; min-width: 300px; }
.contact-flex .contact-info { flex: 1; min-width: 240px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.form-row input, .form-row textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #ddd; border-radius: 6px;
  font-family: var(--font-body); font-size: 15px;
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-msg { padding: 14px 16px; border-radius: 6px; margin-bottom: 20px; font-weight: 600; }
.form-msg.success { background: #e5f6ea; color: #1f7a3b; }
.form-msg.error { background: #fdeceb; color: #b3392c; }
.contact-info .item { margin-bottom: 26px; }
.contact-info .item .label { font-weight: 700; font-family: var(--font-heading); color: var(--navy); margin-bottom: 4px; }
.sms-disclaimer { font-size: 12px; color: #888; margin-top: 6px; }

/* Privacy / generic content page */
.content-page p { margin-bottom: 18px; }
.content-page h2 { margin: 32px 0 14px; font-size: 22px; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.75); padding: 50px 0 24px; }
.footer-flex { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 30px; }
.footer-flex nav ul { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-flex nav a { color: var(--white); font-size: 14px; }
.footer-flex nav a:hover { color: var(--blue-light); }
.footer-phone { font-family: var(--font-heading); font-weight: 700; color: var(--white); font-size: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { text-decoration: underline; }

.text-center { text-align: center; }
