/*
Theme Name: R28 Core Solutions Simple Business
Theme URI: https://coresol.net
Author: R28 Core Solutions
Author URI: https://coresol.net
Description: A clean, simple business theme for R28 Core Solutions with a dedicated AI Voice System product page template.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: coresol-simple-business
*/

:root {
  --cs-ink: #14201d;
  --cs-muted: #60706b;
  --cs-line: #dce5e1;
  --cs-paper: #f7faf8;
  --cs-white: #ffffff;
  --cs-green: #0d6b57;
  --cs-green-dark: #084638;
  --cs-blue: #315f8f;
  --cs-amber: #d98d24;
  --cs-shadow: 0 18px 55px rgba(20, 32, 29, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--cs-ink);
  background: var(--cs-paper);
  line-height: 1.55;
}

a {
  color: inherit;
}

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);
  border: 0;
}

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

.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-right: auto;
  text-decoration: none;
  font-weight: 700;
}

.brand-logo {
  display: block;
  width: auto;
  height: 52px;
  max-width: 260px;
  object-fit: contain;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--cs-green), var(--cs-blue));
  display: grid;
  place-items: center;
  color: var(--cs-white);
  font-size: 15px;
}

.custom-logo {
  width: auto;
  max-height: 44px;
}

.menu-toggle {
  display: none;
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
}

.nav-menu a {
  color: var(--cs-muted);
  text-decoration: none;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a {
  color: var(--cs-green-dark);
}

.button,
.wp-block-button__link,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: var(--cs-green);
  color: var(--cs-white);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.button.secondary {
  background: var(--cs-white);
  color: var(--cs-green-dark);
  border-color: var(--cs-line);
}

.button.dark {
  background: var(--cs-ink);
}

.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--cs-white);
}

.hero.short {
  min-height: 540px;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 28, 24, 0.88), rgba(8, 28, 24, 0.58) 45%, rgba(8, 28, 24, 0.16));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0;
}

.eyebrow,
.kicker {
  margin: 0 0 14px;
  color: #bde1d7;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.kicker {
  color: var(--cs-amber);
}

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

h1 {
  max-width: 1200px;
  margin-bottom: 28px;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.00;
}

h2 {
  font-size: clamp(24px, 3.6vw, 42px);
  line-height: 1.12;
  margin-bottom: 14px;
}

h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.lead {
  max-width: 1080px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 28px;
}

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

.section {
  padding: 80px 0;
}

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

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

.content-wrap {
  padding: 70px 0;
}

.entry-content {
  max-width: 820px;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.section-intro {
  max-width: 740px;
  margin-bottom: 34px;
}

.section-intro p,
.muted {
  color: var(--cs-muted);
}

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

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}

.card {
  background: var(--cs-white);
  border: 1px solid var(--cs-line);
  border-radius: 8px;
  padding: 24px;
  min-height: 190px;
}

.card.featured {
  background: var(--cs-green-dark);
  color: var(--cs-white);
  box-shadow: var(--cs-shadow);
}

.card.featured p {
  color: rgba(255, 255, 255, 0.82);
}

.band {
  background: var(--cs-green-dark);
  color: var(--cs-white);
  padding: 70px 0;
}

.band p {
  color: rgba(255, 255, 255, 0.78);
}

.steps {
  counter-reset: steps;
  display: grid;
  gap: 14px;
}

.step {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  background: var(--cs-white);
  border: 1px solid var(--cs-line);
  border-radius: 8px;
}

.step::before {
  content: counter(steps);
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: var(--cs-green);
  color: var(--cs-white);
  font-weight: 700;
}

.download-panel {
  background: var(--cs-white);
  border: 1px solid var(--cs-line);
  border-left: 5px solid var(--cs-amber);
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--cs-shadow);
}

.check-list {
  padding-left: 20px;
  color: var(--cs-muted);
}

.check-list li {
  margin: 8px 0;
}

.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--cs-line);
  background: var(--cs-white);
  color: var(--cs-muted);
  font-size: 14px;
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .brand {
    margin-right: 0;
  }

  .brand-logo {
    height: 52px;
    max-width: 240px;
  }

  .nav-menu {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero,
  .hero.short {
    min-height: 560px;
  }

  .hero::after {
    background: rgba(8, 28, 24, 0.74);
  }

  .grid,
  .two-col {
    grid-template-columns: 1fr;
  }

  .contact-strip {
    align-items: flex-start;
    flex-direction: column;
  }
}


.site-header .nav {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 10px 28px;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header .brand {
  margin: 0;
  padding: 0;
  width: auto;
  max-width: none;
  justify-content: flex-start;
}

.site-header .brand-logo {
  display: block;
  height: 74px;
  width: auto;
  max-width: 360px;
  object-fit: contain;
}

.site-header .nav-menu {
  margin-left: auto;
}

.card.featured .check-list,
.card.featured .check-list li {
  color: rgba(255, 255, 255, 0.9);
}
