/*
Theme Name: BlueWave Business
Theme URI: https://example.com/bluewave-business
Author: Codex
Author URI: https://example.com
Description: A clean blue and white WordPress theme for software, SaaS, and marketing businesses.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bluewave-business
Tags: business, custom-logo, custom-menu, featured-images, one-column, two-columns, right-sidebar, translation-ready
*/

:root {
  --bw-blue-950: #0b1f48;
  --bw-blue-900: #102a5c;
  --bw-blue-700: #1957c2;
  --bw-blue-600: #2470e8;
  --bw-blue-100: #eaf3ff;
  --bw-blue-050: #f5f9ff;
  --bw-cyan: #35c2ff;
  --bw-ink: #122033;
  --bw-muted: #5c6c80;
  --bw-line: #d8e4f3;
  --bw-white: #ffffff;
  --bw-shadow: 0 18px 45px rgba(16, 42, 92, 0.12);
  --bw-radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--bw-ink);
  background: var(--bw-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

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

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

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

.skip-link:focus {
  top: 10px;
  left: 10px;
  z-index: 999;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: var(--bw-white);
  background: var(--bw-blue-900);
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

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

.custom-logo-link img {
  display: block;
  max-height: 44px;
  width: auto;
}

.site-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.1;
}

.site-title a {
  color: var(--bw-blue-950);
  text-decoration: none;
}

.site-description {
  margin: 3px 0 0;
  color: var(--bw-muted);
  font-size: 0.9rem;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-menu a {
  color: var(--bw-ink);
  font-weight: 700;
  text-decoration: none;
}

.primary-menu a:hover,
.primary-menu a:focus {
  color: var(--bw-blue-700);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--bw-blue-950);
  background: var(--bw-blue-100);
  border: 1px solid var(--bw-line);
  border-radius: var(--bw-radius);
  cursor: pointer;
}

.menu-toggle-icon,
.menu-toggle-icon::before,
.menu-toggle-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  content: "";
}

.menu-toggle-icon::before {
  transform: translateY(-6px);
}

.menu-toggle-icon::after {
  transform: translateY(4px);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 76px;
  color: var(--bw-white);
  background:
    radial-gradient(circle at 78% 22%, rgba(53, 194, 255, 0.32), transparent 26%),
    linear-gradient(135deg, var(--bw-blue-950) 0%, var(--bw-blue-700) 58%, #0c9eea 100%);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: #dceeff;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 2px;
  background: var(--bw-cyan);
  content: "";
}

.section .eyebrow {
  color: var(--bw-blue-700);
}

.section .eyebrow::before {
  background: var(--bw-blue-700);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.02;
}

.hero p {
  max-width: 640px;
  margin: 22px 0 0;
  color: #e7f2ff;
  font-size: 1.15rem;
}

.page-hero {
  padding: 74px 0 62px;
  color: var(--bw-white);
  background:
    linear-gradient(135deg, rgba(11, 31, 72, 0.92), rgba(25, 87, 194, 0.9)),
    linear-gradient(90deg, var(--bw-blue-950), var(--bw-blue-700));
}

.page-hero h1 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 4rem);
  line-height: 1.05;
}

.page-hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 20px 0 0;
  color: #e5f0ff;
  font-size: 1.12rem;
}

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

.button,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  color: var(--bw-white);
  background: var(--bw-blue-700);
  border: 1px solid var(--bw-blue-700);
  border-radius: var(--bw-radius);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
.button:focus,
button:hover,
button:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
  color: var(--bw-white);
  background: var(--bw-blue-900);
  border-color: var(--bw-blue-900);
  text-decoration: none;
}

.button.is-light {
  color: var(--bw-blue-950);
  background: var(--bw-white);
  border-color: var(--bw-white);
}

.button.is-ghost {
  color: var(--bw-white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
}

.hero-panel {
  padding: 24px;
  color: var(--bw-ink);
  background: var(--bw-white);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--bw-radius);
  box-shadow: var(--bw-shadow);
}

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

.metric {
  padding: 18px;
  background: var(--bw-blue-050);
  border: 1px solid var(--bw-line);
  border-radius: var(--bw-radius);
}

.metric strong {
  display: block;
  color: var(--bw-blue-900);
  font-size: 2rem;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--bw-muted);
  font-size: 0.92rem;
}

.section {
  padding: 74px 0;
}

.section.is-soft {
  background: var(--bw-blue-050);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.65fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

.section-title {
  margin: 0;
  color: var(--bw-blue-950);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

.section-lede {
  margin: 0;
  color: var(--bw-muted);
  font-size: 1.05rem;
}

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

.card {
  padding: 24px;
  background: var(--bw-white);
  border: 1px solid var(--bw-line);
  border-radius: var(--bw-radius);
  box-shadow: 0 10px 28px rgba(16, 42, 92, 0.07);
}

.card h3 {
  margin: 0 0 10px;
  color: var(--bw-blue-950);
  font-size: 1.25rem;
}

.card p {
  margin: 0;
  color: var(--bw-muted);
}

.icon-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  color: var(--bw-blue-700);
  background: var(--bw-blue-100);
  border-radius: var(--bw-radius);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.65fr);
  gap: 42px;
  align-items: start;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--bw-muted);
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--bw-white);
  background: var(--bw-blue-700);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 900;
  content: "✓";
}

.quote-box {
  padding: 28px;
  color: var(--bw-white);
  background: var(--bw-blue-950);
  border-radius: var(--bw-radius);
}

.quote-box p {
  margin: 0;
  font-size: 1.2rem;
}

.quote-box cite {
  display: block;
  margin-top: 16px;
  color: #b8d7ff;
  font-style: normal;
  font-weight: 800;
}

.large-copy {
  color: var(--bw-muted);
  font-size: 1.1rem;
}

.stat-stack {
  display: grid;
  gap: 16px;
}

.service-list {
  display: grid;
  gap: 16px;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 26px;
  background: var(--bw-white);
  border: 1px solid var(--bw-line);
  border-radius: var(--bw-radius);
  box-shadow: 0 10px 28px rgba(16, 42, 92, 0.06);
}

.service-row h2 {
  margin: 0;
  color: var(--bw-blue-950);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.15;
}

.service-row p {
  margin: 0;
  color: var(--bw-muted);
}

.pricing-cards .price {
  margin: 0 0 12px;
  color: var(--bw-blue-700);
  font-size: 1.45rem;
  font-weight: 900;
}

.card.is-featured {
  color: var(--bw-white);
  background: var(--bw-blue-900);
  border-color: var(--bw-blue-900);
}

.card.is-featured h3,
.card.is-featured .price,
.card.is-featured p {
  color: var(--bw-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.7fr);
  gap: 44px;
  align-items: start;
}

.contact-methods {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-methods p {
  margin: 0;
  padding: 18px;
  background: var(--bw-blue-050);
  border: 1px solid var(--bw-line);
  border-radius: var(--bw-radius);
}

.contact-form {
  display: grid;
  gap: 12px;
  padding: 26px;
  background: var(--bw-white);
  border: 1px solid var(--bw-line);
  border-radius: var(--bw-radius);
  box-shadow: var(--bw-shadow);
}

.contact-form label {
  color: var(--bw-blue-950);
  font-weight: 800;
}

.cta {
  padding: 58px 0;
  color: var(--bw-white);
  background: linear-gradient(135deg, var(--bw-blue-900), var(--bw-blue-600));
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.08;
}

.cta p {
  max-width: 660px;
  margin: 12px 0 0;
  color: #e5f0ff;
}

.site-main {
  padding: 58px 0;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 44px;
}

.entry {
  margin-bottom: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--bw-line);
}

.entry-title {
  margin: 0 0 12px;
  color: var(--bw-blue-950);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  line-height: 1.12;
}

.entry-meta,
.entry-footer {
  color: var(--bw-muted);
  font-size: 0.92rem;
}

.entry-content {
  margin-top: 22px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: var(--bw-blue-950);
  line-height: 1.2;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
}

.entry-content th,
.entry-content td {
  padding: 12px;
  border: 1px solid var(--bw-line);
}

.entry-content th {
  background: var(--bw-blue-050);
}

.wp-block-quote {
  margin-left: 0;
  padding-left: 22px;
  border-left: 4px solid var(--bw-blue-700);
}

.sidebar .widget {
  margin-bottom: 22px;
  padding: 22px;
  background: var(--bw-blue-050);
  border: 1px solid var(--bw-line);
  border-radius: var(--bw-radius);
}

.widget-title {
  margin: 0 0 14px;
  color: var(--bw-blue-950);
  font-size: 1.1rem;
}

.post-navigation,
.posts-navigation,
.pagination {
  margin: 30px 0;
}

.site-footer {
  padding: 44px 0;
  color: #c9dcf7;
  background: var(--bw-blue-950);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner a {
  color: var(--bw-white);
}

input,
textarea,
select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--bw-ink);
  background: var(--bw-white);
  border: 1px solid var(--bw-line);
  border-radius: var(--bw-radius);
  font: inherit;
}

textarea {
  min-height: 140px;
}

@media (max-width: 820px) {
  .header-inner {
    min-height: 68px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 18px 20px 22px;
    background: var(--bw-white);
    border-bottom: 1px solid var(--bw-line);
  }

  .main-navigation.is-open {
    display: block;
  }

  .primary-menu {
    display: grid;
    gap: 12px;
  }

  .hero {
    padding: 58px 0 50px;
  }

  .hero-grid,
  .section-header,
  .split,
  .service-row,
  .contact-grid,
  .content-layout,
  .cta-inner,
  .footer-inner {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .cards,
  .metric-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .section {
    padding: 52px 0;
  }
}
