/* Ahutu SME template — base + vertical themes (professional & trades) */
:root {
  --color-bg: #ffffff;
  --color-surface: #ffffff;
  --color-bg-subtle: #f6f9fc;
  --color-text: #3d4f5f;
  --color-heading: #0a2540;
  --color-muted: #5c6d7e;
  --color-border: #dfe4ea;
  --color-accent: #0f4c64;
  --color-accent-2: #c9a961;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: var(--font-sans);
  --radius: 8px;
  --max-width: 1040px;
  --shadow-sm: 0 1px 3px rgba(15, 35, 55, 0.06);
  --shadow-md: 0 8px 30px rgba(15, 35, 55, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* Draft notice */
.draft-ribbon {
  background: var(--color-bg-subtle);
  color: var(--color-muted);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--color-heading);
}

.brand span {
  font-weight: 500;
  color: var(--color-muted);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--color-text);
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--color-heading);
  text-decoration: none;
}

.cta-header {
  padding: 0.45rem 0.9rem;
  background: var(--color-heading);
  color: #fff !important;
  font-weight: 500;
  font-size: 0.875rem;
  border-radius: var(--radius);
}

.cta-header:hover {
  opacity: 0.92;
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 4rem 0 3.5rem;
  background: var(--color-bg);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--color-heading);
  margin: 0 0 1rem;
  max-width: 22ch;
}

.hero .tagline {
  font-size: 1.125rem;
  color: var(--color-muted);
  max-width: 42ch;
  margin: 0 0 1.75rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.9375rem;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--color-heading);
  color: #fff;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  background: transparent;
  color: var(--color-heading);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--color-muted);
}

/* Sections */
section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--color-border);
}

.section--subtle {
  background: var(--color-bg-subtle);
}

section h2 {
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-heading);
  margin: 0 0 0.5rem;
}

.section-lead {
  color: var(--color-muted);
  margin: 0 0 1.75rem;
  max-width: 52ch;
  font-size: 0.9375rem;
}

.grid-2 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-3 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-heading);
}

.card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

@media (hover: hover) {
  .card {
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  }
  .card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--color-accent) 25%, var(--color-border));
  }
}

.eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 0.75rem;
}

/* Split hero + visual (replace image slots for real photography later) */
.hero--split {
  padding: 3rem 0 4rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr minmax(260px, 38%);
    gap: 3rem;
  }
}

.hero-copy .tagline {
  max-width: 40ch;
}

.hero-visual {
  border-radius: 14px;
  min-height: 240px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

@media (max-width: 899px) {
  .hero-visual {
    min-height: 200px;
    max-width: 420px;
  }
}

.hero-visual svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.trust-chips li {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-muted);
  padding: 0.35rem 0.75rem;
  background: color-mix(in srgb, var(--color-bg-subtle) 80%, white);
  border: 1px solid var(--color-border);
  border-radius: 999px;
}

/* --- KJ: professional services (navy / warm paper / gold) --- */
body.theme-kj {
  --color-bg: #f7f5f0;
  --color-bg-subtle: #efede8;
  --color-text: #3a4556;
  --color-heading: #0c2340;
  --color-muted: #5a6575;
  --color-border: #d9d4ca;
  --color-accent: #0c2340;
  --color-accent-2: #b8952e;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

body.theme-kj .site-header.header--brand {
  background: #0c2340;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.theme-kj .site-header.header--brand .brand {
  color: #fff;
}

body.theme-kj .site-header.header--brand .brand span {
  color: rgba(255, 255, 255, 0.75);
}

body.theme-kj .site-header.header--brand .nav-links a {
  color: rgba(255, 255, 255, 0.88);
}

body.theme-kj .site-header.header--brand .nav-links a:hover {
  color: #fff;
}

body.theme-kj .site-header.header--brand .cta-header {
  background: linear-gradient(180deg, #d4b04a 0%, #b8952e 100%);
  color: #0c2340 !important;
}

body.theme-kj .site-header.header--brand .cta-header:hover {
  opacity: 1;
  filter: brightness(1.05);
}

body.theme-kj .hero h1 {
  font-weight: 600;
  max-width: 20ch;
}

body.theme-kj .btn-primary {
  background: linear-gradient(180deg, #d4b04a 0%, #b8952e 100%);
  color: #0c2340;
}

body.theme-kj .btn-primary:hover {
  opacity: 0.95;
  filter: brightness(1.03);
}

body.theme-kj .btn-secondary {
  background: rgba(255, 255, 255, 0.65);
  border-color: var(--color-border);
}

body.theme-kj .eyebrow {
  color: #8a7040;
}

body.theme-kj a:not(.btn):not(.cta-header) {
  color: #1a5f7a;
}

body.theme-kj .draft-ribbon {
  background: #0c2340;
  color: rgba(255, 255, 255, 0.85);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.theme-kj .hero.hero--split {
  background: linear-gradient(180deg, #fbf9f5 0%, #f0ebe3 55%, #f7f5f0 100%);
}

/* --- ET Reno: home services (warm / forest / approachable) --- */
body.theme-trades {
  --color-bg: #faf8f5;
  --color-bg-subtle: #f3efe9;
  --color-text: #3e4a42;
  --color-heading: #1b4332;
  --color-muted: #5a6b62;
  --color-border: #dde5df;
  --color-accent: #1b4332;
  --color-accent-2: #e76f51;
  --font-display: "Outfit", var(--font-sans);
}

body.theme-trades .hero {
  background: linear-gradient(180deg, #faf8f5 0%, #f0ebe4 55%, #faf8f5 100%);
}

body.theme-trades .site-header .brand span {
  color: #2d6a4f;
}

body.theme-trades .cta-header {
  background: #1b4332;
}

body.theme-trades .btn-primary {
  background: #1b4332;
  color: #fff;
}

body.theme-trades .btn-primary:hover {
  background: #163529;
}

body.theme-trades .btn-secondary {
  background: #fff;
  border-color: var(--color-border);
  color: var(--color-heading);
}

body.theme-trades .eyebrow {
  color: #2d6a4f;
}

body.theme-trades a:not(.btn):not(.cta-header) {
  color: #1b6b4d;
}

body.theme-trades .draft-ribbon {
  background: #1b4332;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: none;
}

body.theme-trades .site-footer {
  background: #ecf2ef;
  border-top-color: var(--color-border);
}

/* Compact list (process / steps) */
.step-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--color-muted);
  font-size: 0.9375rem;
  max-width: 38rem;
}

.step-list li {
  margin-bottom: 0.65rem;
}

.step-list strong {
  color: var(--color-heading);
  font-weight: 500;
}

/* Booking */
.booking-box {
  background: var(--color-bg-subtle);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  max-width: 32rem;
}

.booking-box iframe {
  width: 100%;
  min-height: 400px;
  border: none;
  border-radius: var(--radius);
  margin-top: 1rem;
}

.booking-placeholder {
  color: var(--color-muted);
  font-size: 0.9375rem;
  margin: 0;
}

/* Forms */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--color-heading);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-heading);
  font-family: inherit;
  font-size: 0.9375rem;
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent) 20%, transparent);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin-top: 0.75rem;
}

/* FAQ — simple dividers */
.faq-block details {
  border-bottom: 1px solid var(--color-border);
  padding: 0.85rem 0;
  background: transparent;
}

.faq-block details:last-child {
  border-bottom: none;
}

.faq-block summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--color-heading);
  font-size: 0.9375rem;
  list-style: none;
}

.faq-block summary::-webkit-details-marker {
  display: none;
}

.faq-block details p {
  margin: 0.65rem 0 0;
  color: var(--color-muted);
  font-size: 0.9375rem;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--color-border);
  font-size: 0.8125rem;
  color: var(--color-muted);
  background: var(--color-bg-subtle);
}

.site-footer .powered {
  margin-top: 0.75rem;
}

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

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

.legal-note {
  font-size: 0.75rem;
  color: var(--color-muted);
  max-width: 52ch;
  margin-top: 1rem;
  line-height: 1.5;
}

/* Legal / privacy inner */
.legal-main {
  padding: 2.5rem 0 4rem;
}

.legal-main h1 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-heading);
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.legal-main .card h3:not(:first-of-type) {
  margin-top: 1.25rem;
}

body.theme-kj section h2 {
  font-family: var(--font-display);
  font-weight: 600;
}

body.theme-trades section h2 {
  font-family: var(--font-display);
  font-weight: 600;
}

body.theme-trades .site-header {
  box-shadow: 0 1px 0 rgba(27, 67, 50, 0.06);
}
