/*
Theme Name: SolairePro
Theme URI: https://example.com/
Author: Solaire Pro inc.
Description: Lightweight, fast WordPress theme designed around the Solaire Pro brand.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: solairepro
Tags: custom-logo, one-column, two-columns, custom-menu, featured-images, footer-widgets, blog
*/

:root {
  --sp-blue: #0B2F6B;
  --sp-navy: #071F45;
  --sp-yellow: #F6C21A;
  --sp-sky: #1E6FD9;
  --sp-bg: #F5F7FA;
  --sp-text: #0F172A;
  --sp-muted: #6B7280;
  --sp-border: #E6E9EE;
  --sp-radius: 14px;
  --sp-shadow: 0 10px 24px rgba(2, 6, 23, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sp-bg);
  color: var(--sp-text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
}

a { color: var(--sp-sky); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--sp-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  height: 44px;
  width: auto;
}
.nav-toggle {
  display: none;
  border: 1px solid var(--sp-border);
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  align-items: center;
}
.main-nav a {
  color: var(--sp-text);
  font-weight: 600;
}
.main-nav .menu-item-has-children > a:after {
  content: "▾";
  margin-left: 6px;
  font-size: .85em;
  opacity: .7;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 2px solid transparent;
  font-weight: 800;
  cursor: pointer;
}
.btn-primary {
  background: var(--sp-yellow);
  color: var(--sp-blue);
}
.btn-primary:hover { filter: brightness(0.96); text-decoration: none; }
.btn-outline {
  background: transparent;
  border-color: var(--sp-blue);
  color: var(--sp-blue);
}
.btn-outline:hover { background: rgba(11,47,107,.06); text-decoration: none; }

.hero {
  background: radial-gradient(1200px 420px at 50% 0%, rgba(246,194,26,.18), rgba(245,247,250,0));
  padding: 64px 0 36px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: center;
}
.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.hero p {
  margin: 0 0 18px;
  color: var(--sp-muted);
  font-size: 1.05rem;
}
.hero-card {
  background: #fff;
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius);
  box-shadow: var(--sp-shadow);
  padding: 18px;
}
.hero-card .mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.kpi {
  border: 1px solid var(--sp-border);
  border-radius: 12px;
  padding: 12px;
}
.kpi strong { display:block; font-size: 1.1rem; }
.kpi span { color: var(--sp-muted); font-size: .95rem; }

.section {
  padding: 44px 0;
}
.section h2 {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.2vw, 34px);
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: #fff;
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius);
  box-shadow: var(--sp-shadow);
  padding: 18px;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}
.card p { margin: 0; color: var(--sp-muted); }

.band {
  background: var(--sp-navy);
  color: #fff;
}
.band a { color: #fff; text-decoration: underline; }
.band-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: center;
}
.band-logo img { height: 44px; width: auto; }

.site-content {
  padding: 26px 0 44px;
}
.post-card {
  background: #fff;
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius);
  box-shadow: var(--sp-shadow);
  padding: 18px;
  margin: 0 0 18px;
}
.post-card h2, .post-card h1 { margin-top: 0; }

.site-footer {
  background: var(--sp-navy);
  color: rgba(255,255,255,.86);
  padding: 38px 0;
  border-top: 4px solid var(--sp-yellow);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 20px;
  align-items: start;
}
.footer-grid img { height: 40px; width: auto; }
.footer-small { margin-top: 14px; font-size: .95rem; opacity: .9; }

.wp-block-image img {
  max-width: 100%;
  height: auto;
}

/**/

/**/
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .band-inner { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none;
    width: 100%;
    padding: 12px 0 6px;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; }
}