/* ============================================
   Schultz Consulting Services - Modern Redesign
   ============================================ */

/* CSS Variables */
:root {
  --color-primary: #0a4f39;
  --color-primary-dark: #073d2c;
  --color-primary-light: #0d6b4d;
  --color-accent: #c9a227;
  --color-accent-hover: #b8921f;
  --color-text: #1a1a1a;
  --color-text-muted: #5a5a5a;
  --color-bg: #fafaf8;
  --color-bg-alt: #f0efe8;
  --color-white: #ffffff;
  --color-border: #e5e4df;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1200px;
  --section-padding: clamp(3rem, 6vw, 5rem);
  --header-height: 72px;
  --shadow-sm: 0 2px 8px rgba(10, 79, 57, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 79, 57, 0.1);
  --shadow-lg: 0 16px 48px rgba(10, 79, 57, 0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.2s ease;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

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

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

a:hover {
  color: var(--color-primary-dark);
}

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-primary-dark);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin-bottom: 1rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.125rem; }

p {
  margin-bottom: 1rem;
  color: var(--color-text-muted);
}

p:last-child {
  margin-bottom: 0;
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

.section {
  padding: var(--section-padding) 0;
}

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

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title h2 {
  margin-bottom: 0.5rem;
}

.section-title p {
  font-size: 1.125rem;
  max-width: 560px;
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 2rem;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link img.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.logo-link:has(.logo-img) .logo-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-desktop a {
  padding: 0.5rem 0.85rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius);
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--color-primary);
  background: rgba(10, 79, 57, 0.06);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--color-primary);
}

.nav-toggle svg {
  width: 28px;
  height: 28px;
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-mobile {
    display: block;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    padding: 2rem;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 99;
  }

  .nav-mobile.is-open {
    transform: translateX(0);
  }

  .nav-mobile a {
    display: block;
    padding: 1rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
  }

  .nav-mobile a:hover,
  .nav-mobile a.active {
    color: var(--color-primary);
    background: rgba(10, 79, 57, 0.06);
  }
}

@media (min-width: 901px) {
  .nav-mobile {
    display: none !important;
  }
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
  color: var(--color-white);
  padding: clamp(4rem, 10vw, 7rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero.hero--with-image {
  display: flex;
  align-items: center;
  min-height: 420px;
  text-align: left;
}

.hero.hero--with-image .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__image {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero__image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .hero.hero--with-image .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__image {
    order: -1;
    max-width: 320px;
    margin: 0 auto;
  }
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.hero .tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity: 0.95;
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero .btn {
  display: inline-block;
  padding: 0.9rem 1.75rem;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform 0.15s ease;
}

.hero .btn:hover {
  background: var(--color-accent-hover);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform 0.2s ease;
  border: 1px solid var(--color-border);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.9375rem;
  margin-bottom: 0;
}

.card-img-wrap {
  margin: -1.75rem -1.75rem 1rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--color-bg-alt);
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.content-img img {
  width: 100%;
  height: auto;
  display: block;
}

.page-hero__img {
  margin-top: 1.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow-md);
}

.page-hero__img img {
  width: 100%;
  height: auto;
  display: block;
}

/* FAQ / Accordion-style blocks */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.faq-item h3 {
  padding: 1.25rem 1.5rem;
  font-size: 1.125rem;
  margin: 0;
  cursor: default;
  color: var(--color-primary);
}

.faq-item .faq-answer {
  padding: 0 1.5rem 1.25rem;
  border-top: 1px solid var(--color-border);
}

.faq-item .faq-answer p {
  padding-top: 1rem;
  margin-bottom: 0;
}

/* Content blocks */
.content-block {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .content-block--split {
    grid-template-columns: 1fr 1fr;
  }

  .content-block--aside {
    grid-template-columns: 2fr 1fr;
  }
}

.content-block .prose p {
  margin-bottom: 1rem;
}

.content-block .about-photo {
  max-width: 380px;
  margin-bottom: 1.5rem;
}

/* Page title (inner pages) */
.page-hero {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 2.5rem 0;
  text-align: center;
}

.page-hero h1 {
  color: var(--color-white);
  margin: 0;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.4rem;
  color: var(--color-text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(10, 79, 57, 0.15);
}

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

.form-actions {
  margin-top: 1.5rem;
}

/* Fee table */
.fee-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  background: var(--color-white);
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.fee-table th,
.fee-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.fee-table th {
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
  font-family: var(--font-heading);
}

.fee-table tr:last-child td {
  border-bottom: none;
}

.fee-table tr:hover td {
  background: rgba(10, 79, 57, 0.03);
}

/* Contact info box */
.contact-info-box {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--color-border);
}

.contact-info-box h4 {
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.contact-info-box p,
.contact-info-box a {
  margin-bottom: 0.5rem;
  display: block;
}

.contact-info-box a:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 2.5rem 0;
  margin-top: 3rem;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-footer a {
  color: rgba(255,255,255,0.9);
}

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

.footer-copy {
  font-size: 0.9375rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.9375rem;
}

/* Cookie banner (optional) */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding: 1rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}

.cookie-banner p {
  margin: 0;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.9);
}

.cookie-banner .btn {
  flex-shrink: 0;
  background: var(--color-accent);
  color: var(--color-primary-dark);
}

/* Utility */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }

/* Google Fonts - load in HTML */