/*
Theme Name: Boulter VA Services
Theme URI: https://boultervaservices.co.uk
Author: Boulter VA Services
Author URI: https://boultervaservices.co.uk
Description: A plain, direct block theme for a UK virtual assistant serving small businesses and sole traders in and around the New Forest.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
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: boulter-va-services
*/

@font-face {
  font-family: "Agave";
  src: url("assets/fonts/Agave-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Agave";
  src: url("assets/fonts/Agave-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #F1E7D3;
  --cream-pale: #FBF4E4;
  --navy: #1F2A38;
  --navy-muted: rgba(31, 42, 56, 0.76);
  --navy-line: rgba(31, 42, 56, 0.14);
  --rust: #A63A2E;
  --rust-dark: #8A2F25;
  --font-display: "Agave", "Courier New", monospace;
  --font-body: "Karla", -apple-system, BlinkMacSystemFont, sans-serif;
}

html, body {
  overflow-x: hidden;
  background: var(--cream);
}

body {
  font-family: var(--font-body);
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--navy-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.15rem !important;
  padding-bottom: 1.15rem !important;
}

.brand img {
  display: block;
  height: 42px;
  width: auto;
}

.main-nav {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a {
  position: relative;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--navy);
  padding-bottom: 0.3rem;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0%;
  background: var(--navy);
  transition: width 0.35s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  width: 100%;
}

.main-nav a:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 3px;
  border-radius: 2px;
}

.nav-contact {
  color: var(--rust-dark) !important;
  font-weight: 700 !important;
}

.nav-contact::after {
  background: var(--rust) !important;
}

/* ---------- Hero ---------- */

.hero-section {
  background: var(--cream);
  padding-top: 4rem !important;
  padding-bottom: 5rem !important;
}

.hero-content {
  max-width: 700px;
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  color: var(--navy-muted);
  margin: 0 0 1.9rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 1px;
  background: var(--navy-muted);
  flex-shrink: 0;
}

.hero-section h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 4.8vw, 4rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0 0 2.1rem 0;
}

.hero-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--navy);
  opacity: 0.88;
  max-width: 540px;
  margin: 0 0 1.4rem 0;
}

.hero-sub-muted {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--navy);
  opacity: 0.7;
  max-width: 560px;
  margin: 0 0 2.75rem 0;
}

.hero-ctas {
  gap: 1.6rem;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */

.wp-block-button__link,
.btn {
  font-family: var(--font-body) !important;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.95rem 1.9rem !important;
  border-radius: 3px !important;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.btn-primary,
.is-style-fill .wp-block-button__link {
  background: var(--navy);
  color: var(--cream-pale) !important;
  border: 1px solid var(--navy);
}

.btn-primary:hover,
.is-style-fill .wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -10px rgba(31, 42, 56, 0.55);
}

.btn-secondary,
.is-style-outline .wp-block-button__link {
  position: relative;
  background: transparent !important;
  color: var(--navy) !important;
  border: 1px solid var(--navy-line) !important;
}

.btn-secondary:hover,
.is-style-outline .wp-block-button__link:hover {
  border-color: var(--navy) !important;
}

.wp-block-button__link:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 3px;
}

/* ---------- Section layout ---------- */

.section-inner {
  display: block;
}

.section-intro {
  max-width: 640px;
}

/* ---------- Eyebrow-style small caps label ---------- */

.section-label {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--rust-dark);
  margin: 0 0 0.75rem 0;
}

/* ---------- Tags / pills ---------- */

.tag-row {
  flex-wrap: wrap;
  gap: 0.65rem !important;
}

.tag-pill {
  display: inline-block;
  border: 1px solid var(--navy-line);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-size: 0.92rem;
  color: var(--navy);
  background: var(--cream-pale);
  margin: 0;
}

/* ---------- Checklist ---------- */

.check-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.9rem;
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-left: 2px solid var(--rust);
  border-bottom: 2px solid var(--rust);
  transform: rotate(-45deg);
}

/* ---------- Panels / cards ---------- */

.panel {
  background: var(--cream-pale);
  border: 1px solid var(--navy-line);
  border-radius: 4px;
  padding: 2.5rem !important;
}

.panel-reset {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.panel-payg {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  gap: 2rem !important;
}

.payg-copy {
  flex: 1 1 320px;
  max-width: 560px;
  margin: 0;
}

.price-row {
  display: flex !important;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.price-row .price-tag {
  flex-shrink: 0;
}

.price-row .price-label {
  margin-top: 0;
  flex: 1 1 260px;
}

.panel-navy {
  background: var(--navy) !important;
  color: var(--cream-pale) !important;
  border: 1px solid var(--navy) !important;
}

.panel-navy h2,
.panel-navy h3,
.panel-navy p,
.panel-navy .price-tag {
  color: var(--cream-pale) !important;
}

.price-tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--navy);
  margin: 0;
  line-height: 1.1;
}

.price-label {
  font-size: 0.92rem;
  opacity: 0.75;
  margin: 0.35rem 0 0 0;
}

.recommended-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rust);
  background: var(--cream-pale);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  margin-top: 0.9rem;
}

.recommended-badge:hover {
  text-decoration: underline;
}

.panel-navy .recommended-badge {
  color: var(--rust) !important;
  background: var(--cream-pale) !important;
}

.small-print {
  font-size: 0.88rem;
  opacity: 0.72;
  line-height: 1.55;
}

/* ---------- Inline example image (Inked Paw screenshot) ---------- */

.inked-paw-shot img {
  display: block;
  border: 1px solid var(--navy-line);
  border-radius: 4px;
}

.inked-paw-shot figcaption {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 0.5rem;
}

/* ---------- Equal-height cards ---------- */

.equal-cards > .wp-block-column {
  display: flex;
  flex-direction: column;
  flex-grow: 0;
}
.equal-cards > .wp-block-column > .wp-block-group {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.equal-cards .cta-bottom {
  margin-top: auto;
  justify-content: center;
}

/* ---------- Footer ---------- */

.wp-site-blocks > footer {
  margin-block-start: 0;
}

.site-footer {
  border-top: 1px solid var(--navy-line);
  background: var(--cream);
}

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

.site-footer img {
  height: 30px;
  width: auto;
}

/* ---------- Sections ---------- */

.site-section {
  margin-top: 0 !important;
}

/* ---------- Misc ---------- */

hr.wp-block-separator {
  border-top: 1px solid var(--navy-line);
}

@media (max-width: 760px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .main-nav {
    gap: 1.1rem 1.5rem;
    justify-content: flex-start;
  }
  .hero-section {
    padding-top: 1rem !important;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .btn-primary:hover,
  .is-style-fill .wp-block-button__link:hover {
    transform: none;
  }
  .main-nav a::after {
    transition: none;
  }
}
