/*
Theme Name: Dr. Jedidiah Oldham, DO Theme
Theme URI: https://drjedidiaholdham.com/
Author: Dr. Jedidiah Oldham, DO
Author URI: https://drjedidiaholdham.com/
Description: Custom WordPress theme for Dr. Jedidiah Oldham, DO — Other.
Version: 1.0.0
Text Domain: dr-jedidiah-oldham-do-theme
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:wght@300;400;500;600;700&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --color-primary: #1A7A6D;
  --color-secondary: #1B2B3A;
  --color-accent: #C4793A;
  --color-bg: #FAFAFA;
  --color-text: #1B2B3A;
  --color-text-muted: #6B7A8A;
  --color-border: #D8DDE2;
  --color-section-alt: #F2F4F5;
  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, Helvetica, Arial, sans-serif;
  --max-width: 1280px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.8;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 0;
  box-shadow: none;
  padding: 2.5rem;
  line-height: 1.8;
  transition: border-color 0.3s ease;
}

.card:hover {
  border-color: var(--color-primary);
}

.btn, button, .cta-button, .wp-block-button__link {
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: none;
  padding: 0.85rem 2rem;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.btn-primary, .cta-button {
  background-color: var(--color-primary);
  color: #fff;
  border: none;
}

.btn-primary:hover, .cta-button:hover {
  background-color: #14635A;
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

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

.hero {
  background: linear-gradient(160deg, #111E2A 0%, var(--color-secondary) 45%, var(--color-primary) 100%);
  color: #fff;
}

section {
  padding: 5rem 1.5rem;
}

section:nth-child(even) {
  background-color: var(--color-section-alt);
}

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

a:hover {
  color: var(--color-accent);
}

hr, .divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 3rem 0;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); font-size: 1rem; line-height: 1.7; color: var(--color-text); background: var(--color-bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
a { color: var(--color-primary); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--color-accent); }
::selection { background: var(--color-primary); color: #fff; }

/* ── Utilities ──────────────────────────────────────────── */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 10000; padding: 0.5rem 1rem; background: var(--color-primary); color: #fff; border-radius: 0 0 4px 4px; }
.skip-link:focus { top: 0; }
.text-center { text-align: center; }
.accent-text { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--color-accent); font-weight: 600; margin-bottom: 0.75rem; display: block; }

/* ── Typography ────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 500; line-height: 1.2; color: var(--color-secondary); }
h1 { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 400; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); margin-bottom: 1rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.75rem; letter-spacing: 0.02em; }
h5 { font-size: 1.1rem; } h6 { font-size: 1rem; }
p { margin-bottom: 1rem; }
.lead { font-size: 1.15rem; font-weight: 300; letter-spacing: 0.01em; line-height: 1.8; }
blockquote { border-left: 4px solid var(--color-accent); padding: 1.5rem 2rem; margin: 2rem 0; font-style: italic; background: var(--color-section-alt); border-radius: 0 8px 8px 0; }
ul, ol { margin: 0 0 1rem 1.5rem; }
strong { font-weight: 700; } em { font-style: italic; } small { font-size: 0.875rem; }

/* ── Buttons ──────────────────────────────────────────── */
.btn-primary, .btn-secondary, .btn-outline { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.875rem 2rem; font-weight: 500; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 6px; cursor: pointer; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); border: 2px solid transparent; text-decoration: none; position: relative; overflow: hidden; }
.btn-primary::after, .btn-secondary::after, .btn-outline::after { content: ''; position: absolute; top: -50%; left: -100%; width: 100%; height: 200%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent); transition: 0.6s; }
.btn-primary:hover::after, .btn-secondary:hover::after, .btn-outline:hover::after { left: 100%; }
.btn-primary { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 40px rgba(0,0,0,0.15); }
.btn-secondary { background: var(--color-secondary); color: #fff; border-color: var(--color-secondary); }
.btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 10px 40px rgba(0,0,0,0.15); }
.btn-outline { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: #fff; transform: translateY(-2px); }
.btn-primary svg, .btn-secondary svg, .btn-outline svg { flex-shrink: 0; }

/* ── Header & Navigation ──────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 1000; background: var(--color-bg); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); padding: 1.5rem 0; }
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); padding: 0.75rem 0; background: rgba(255,255,255,0.95); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.site-branding { flex-shrink: 0; }
.site-title { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 500; color: var(--color-secondary); text-decoration: none; letter-spacing: 0.02em; }
.site-title:hover { color: var(--color-primary); }
.primary-navigation .menu { display: flex; list-style: none; gap: 0; margin: 0; padding: 0; }
.primary-navigation .menu > li > a { display: block; padding: 0.75rem 1.25rem; color: var(--color-text); font-weight: 500; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.3s ease; position: relative; }
.primary-navigation .menu > li > a::after { content: ''; position: absolute; bottom: 0; left: 1.25rem; width: 0; height: 1px; background: var(--color-primary); transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.primary-navigation .menu > li > a:hover::after { width: calc(100% - 2.5rem); }
.primary-navigation .menu > li > a:hover { color: var(--color-primary); }
.menu-item-has-children { position: relative; }
.menu-item-has-children .sub-menu { position: absolute; top: 100%; left: 0; min-width: 240px; background: var(--color-bg); border-radius: 8px; box-shadow: 0 8px 40px rgba(0,0,0,0.1); padding: 0.75rem 0; list-style: none; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); z-index: 100; }
.menu-item-has-children:hover .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu li a { display: block; padding: 0.6rem 1.5rem; color: var(--color-text); font-size: 0.9rem; font-weight: 400; letter-spacing: 0.02em; transition: all 0.2s; }
.sub-menu li a:hover { color: var(--color-primary); background: var(--color-section-alt); padding-left: 1.75rem; }
.header-cta { flex-shrink: 0; white-space: nowrap; padding: 0.6rem 1.5rem !important; font-size: 0.8rem !important; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; width: 44px; height: 44px; position: relative; }
.hamburger-line { display: block; width: 24px; height: 2px; background: var(--color-text); margin: 5px auto; transition: all 0.3s ease; }
.menu-toggle.toggled .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.toggled .hamburger-line:nth-child(2) { opacity: 0; }
.menu-toggle.toggled .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Hero ─────────────────────────────────────────────── */
.hero { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: clamp(5rem, 12vw, 10rem) 2rem; position: relative; overflow: hidden; background-size: cover; background-position: center; background-color: var(--color-secondary, #1a1a2e); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%); }
.hero-no-image { background-image: none !important; }
.hero-no-image::before { background: linear-gradient(135deg, var(--color-secondary, #1a1a2e) 0%, color-mix(in srgb, var(--color-primary) 60%, var(--color-secondary, #1a1a2e)) 50%, var(--color-primary) 100%); }
.hero .container { position: relative; z-index: 2; max-width: 800px; }
.hero h1 { color: #fff; margin-bottom: 1.25rem; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.hero-subtitle { font-size: clamp(1.1rem, 2.5vw, 1.35rem); color: rgba(255,255,255,0.9); margin-bottom: 2.5rem; max-width: 600px; margin-left: auto; margin-right: auto; font-weight: 300; line-height: 1.8; letter-spacing: 0.01em; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero .btn-outline { color: #fff; border-color: rgba(255,255,255,0.6); }
.hero .btn-outline:hover { background: #fff; color: var(--color-primary); border-color: #fff; }

/* ── Sections ──────────────────────────────────────────── */
.section { padding: clamp(4rem, 8vw, 8rem) 0; }
.section h2 { text-align: center; position: relative; padding-bottom: 1.25rem; margin-bottom: 1rem; }
.section h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 50px; height: 2px; background: var(--color-accent); }
.section-alt { background: var(--color-section-alt); }
.section-dark { background: var(--color-secondary, #1a1a2e); color: rgba(255,255,255,0.9); }
.section-dark h2 { color: #fff; }
.section-dark h2::after { background: var(--color-accent); }
.section-dark a { color: var(--color-accent); }
.section-divider { margin-top: -1px; line-height: 0; overflow: hidden; }
.section-divider svg { width: 100%; height: auto; display: block; }

/* ── Section Content Centering ──────────────────────────── */
.section .container { text-align: center; }
.card-grid, .why-grid, .areas-grid { justify-content: center; }
.card, .why-card { text-align: left; }

/* ── Card Grid ──────────────────────────────────────────── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; margin-top: 2.5rem; }
.card { background: var(--color-bg); border-radius: 12px; padding: 2.5rem; position: relative; overflow: hidden; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.04); }
.card::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 0; background: var(--color-primary); transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.card:hover { transform: translateY(-6px); box-shadow: 0 4px 6px rgba(0,0,0,0.04), 0 10px 20px rgba(0,0,0,0.06), 0 20px 40px rgba(0,0,0,0.05); }
.card:hover::before { height: 100%; }
.card h3 { margin-bottom: 0.75rem; font-size: 1.25rem; }
.card p { color: var(--color-text-muted); flex: 1; line-height: 1.7; }
.card-number { font-size: 4rem; font-weight: 300; color: var(--color-primary); opacity: 0.15; position: absolute; top: 0.25rem; right: 1.25rem; line-height: 1; font-family: var(--font-heading); }
.card-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--color-primary); color: #fff; border-radius: 12px; margin-bottom: 1rem; }
.card-price { font-weight: 700; color: var(--color-accent); margin-top: auto; padding-top: 1rem; font-size: 1.1rem; }
.card .btn-secondary { margin-top: 1.25rem; align-self: flex-start; padding: 0.5rem 1.25rem; font-size: 0.8rem; letter-spacing: 0.1em; }
.card:hover .btn-secondary svg { transform: translateX(4px); }
.card .btn-secondary svg { transition: transform 0.3s ease; }

/* ── Trust Section ──────────────────────────────────────── */
.trust-section { padding: clamp(3rem, 5vw, 5rem) 0; }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.trust-badge { text-align: center; padding: 2rem 1.5rem; background: var(--color-bg); border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); transition: all 0.3s ease; }
.trust-badge:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.trust-badge-icon { color: var(--color-accent); margin-bottom: 1rem; display: flex; justify-content: center; }
.trust-badge-icon svg { width: 32px; height: 32px; }
.trust-badge-value { font-size: 2.25rem; font-weight: 800; color: var(--color-secondary); font-family: var(--font-heading); line-height: 1; }
.trust-badge-label { font-size: 0.85rem; color: var(--color-text-muted); margin-top: 0.5rem; letter-spacing: 0.02em; }
.trust-badge-sub { font-size: 0.8rem; color: var(--color-text-muted); margin-top: 0.5rem; display: flex; align-items: center; justify-content: center; gap: 0.25rem; }
.star-rating { display: inline-flex; gap: 2px; color: var(--color-accent); }
.star-rating svg { width: 16px; height: 16px; }

/* ── Testimonials ──────────────────────────────────────── */
.testimonial-card { background: rgba(255,255,255,0.06); border-radius: 12px; padding: 2.5rem; position: relative; transition: all 0.3s ease; border: 1px solid rgba(255,255,255,0.08); }
.testimonial-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }
.testimonial-quote-icon { position: absolute; top: 1.25rem; right: 1.5rem; color: var(--color-accent); }
.testimonial-text { font-size: 1rem; line-height: 1.8; margin: 1.25rem 0; color: inherit; }
.testimonial-author { font-weight: 700; font-size: 0.95rem; }
.testimonial-role { font-size: 0.8rem; opacity: 0.6; margin-top: 0.25rem; letter-spacing: 0.05em; text-transform: uppercase; }

/* ── Areas Grid ─────────────────────────────────────────── */
.areas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.area-card { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.5rem; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: 8px; text-decoration: none; color: var(--color-text); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.area-card:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateX(6px); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.area-card-name { font-weight: 600; font-size: 0.95rem; }
.area-card-arrow { opacity: 0.3; transition: all 0.3s ease; }
.area-card:hover .area-card-arrow { opacity: 1; transform: translateX(4px); }

/* ── CTA Section ────────────────────────────────────────── */
.cta-section { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary, #1a1a2e) 100%); color: #fff; padding: clamp(4rem, 8vw, 7rem) 0; }
.cta-section h2 { color: #fff; }
.cta-section h2::after { background: rgba(255,255,255,0.4); }
.cta-section p { color: rgba(255,255,255,0.9); font-size: 1.15rem; margin-bottom: 2.5rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-section .btn-primary { background: #fff; color: var(--color-primary); border-color: #fff; }
.cta-section .btn-primary:hover { box-shadow: 0 10px 40px rgba(255,255,255,0.3); }
.cta-section .btn-outline { color: #fff; border-color: rgba(255,255,255,0.5); }
.cta-section .btn-outline:hover { background: #fff; color: var(--color-primary); border-color: #fff; }

/* ── Contact Page ──────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 5fr 3fr; gap: 3rem; margin-top: 2.5rem; }
.contact-info-card { background: var(--color-section-alt); border-radius: 12px; padding: 2rem; margin-bottom: 1.5rem; }
.contact-info-card h3, .contact-info-card h4 { margin-bottom: 1rem; }
.contact-info-card p { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.75rem; }
.contact-info-card svg { flex-shrink: 0; margin-top: 2px; color: var(--color-primary); }
.contact-form .form-group { margin-bottom: 1.5rem; }
.contact-form label { display: block; font-weight: 600; margin-bottom: 0.5rem; font-size: 0.9rem; letter-spacing: 0.02em; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 0.875rem 1.25rem; border: 1px solid var(--color-border); border-radius: 8px; font-size: 1rem; transition: all 0.3s ease; background: var(--color-bg); color: var(--color-text); }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08); }
.form-note { font-size: 0.8rem; color: var(--color-text-muted); margin-top: 1rem; }

/* ── Pricing ────────────────────────────────────────────── */
.pricing-table { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; margin-top: 2.5rem; }
.pricing-card { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: 12px; padding: 2.5rem 2rem; text-align: center; position: relative; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.pricing-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.pricing-featured { border-color: var(--color-primary); border-width: 2px; transform: scale(1.03); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.pricing-badge { position: absolute; top: -1px; right: 1.5rem; background: var(--color-accent); color: #fff; padding: 0.4rem 1.25rem; font-size: 0.7rem; font-weight: 700; border-radius: 0 0 8px 8px; text-transform: uppercase; letter-spacing: 0.1em; }
.pricing-price { font-size: 2.5rem; font-weight: 800; color: var(--color-primary); margin: 1.25rem 0; font-family: var(--font-heading); line-height: 1; }
.pricing-duration { font-size: 0.9rem; color: var(--color-text-muted); display: flex; align-items: center; justify-content: center; gap: 0.4rem; }
.pricing-features { list-style: none; padding: 0; margin: 2rem 0; text-align: left; }
.pricing-features li { padding: 0.6rem 0; display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; border-bottom: 1px solid var(--color-border); }
.pricing-features li:last-child { border-bottom: none; }
.pricing-features svg { color: var(--color-primary); flex-shrink: 0; }
.pricing-info { margin-top: 2rem; padding: 1.5rem; background: var(--color-section-alt); border-radius: 8px; }
.pricing-card-title { font-size: 1.25rem; margin-bottom: 0.5rem; }
.pricing-info-title { font-size: 1.1rem; margin-bottom: 0.75rem; }
.contact-heading { font-size: 1.15rem; margin-bottom: 1rem; }

/* ── FAQ Accordion ──────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-question { width: 100%; padding: 1.5rem 0; background: none; border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 1.05rem; color: var(--color-text); text-align: left; transition: color 0.2s; }
.faq-question:hover { color: var(--color-primary); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-answer > div { padding: 0 0 1.5rem; line-height: 1.8; }

/* ── Team Grid ──────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 2rem; }
.team-member { text-align: center; padding: 2.5rem; background: var(--color-bg); border-radius: 12px; border: 1px solid var(--color-border); transition: all 0.3s ease; }
.team-member:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.team-member img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { background: var(--color-secondary, #1a1a2e); color: rgba(255,255,255,0.8); padding: clamp(4rem, 8vw, 6rem) 0 0; }
.footer-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; padding-bottom: 3rem; }
.footer-title { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 500; color: #fff; margin-bottom: 1.25rem; }
.footer-heading, .footer-col .widget-title { color: #fff; margin-bottom: 1.25rem; font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.6rem; overflow-wrap: break-word; word-break: break-word; }
.footer-col a { color: rgba(255,255,255,0.6); transition: all 0.3s ease; font-size: 0.95rem; display: block; }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-address, .footer-phone, .footer-email, .footer-booking { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.footer-address svg, .footer-phone svg, .footer-email svg, .footer-booking svg { flex-shrink: 0; opacity: 0.5; }
.footer-social { display: flex; gap: 1rem; margin-top: 1.5rem; }
.footer-social a { color: rgba(255,255,255,0.5); transition: all 0.3s ease; display: flex; align-items: center; }
.footer-social a:hover { color: var(--color-accent); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.5rem 0; font-size: 0.85rem; color: rgba(255,255,255,0.4); }
.hours-table { width: 100%; font-size: 0.9rem; }
.hours-table td { padding: 0.35rem 0.5rem; }
.hours-table tr:nth-child(even) td { background: rgba(255,255,255,0.03); }

/* ── Breadcrumbs ────────────────────────────────────────── */
.breadcrumbs { font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: 2rem; }
.breadcrumbs a { color: var(--color-primary); }

/* ── Content ────────────────────────────────────────────── */
.entry-header { margin-bottom: 2.5rem; }
.entry-title { margin-bottom: 0.75rem; }
.entry-meta { font-size: 0.9rem; color: var(--color-text-muted); display: flex; gap: 1rem; flex-wrap: wrap; }
.entry-content { max-width: 75ch; margin-left: auto; margin-right: auto; }
.entry-content > * { max-width: 100%; }
.homepage-content .entry-content { max-width: 100%; }
.entry-content img { border-radius: 8px; margin: 2rem auto; display: block; max-width: 100%; height: auto; }
.entry-content figure { margin: 2rem auto; max-width: 100%; display: flex; flex-direction: column; align-items: center; }
.entry-content figcaption { text-align: center; margin-top: 0.5rem; }
.entry-content h2 { margin-top: 3rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--color-border); }
.entry-content h3 { margin-top: 2.5rem; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 2rem auto; border-radius: 8px; overflow: hidden; }
.entry-content table th, .entry-content table td { padding: 0.875rem 1.25rem; border: 1px solid var(--color-border); text-align: left; }
.entry-content table thead th { background: var(--color-section-alt); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.02em; }
.entry-content table tr:nth-child(even) td { background: var(--color-section-alt); }
.entry-footer { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.entry-tags .tag { display: inline-block; background: var(--color-section-alt); padding: 0.3rem 0.85rem; border-radius: 20px; font-size: 0.8rem; margin-right: 0.5rem; transition: all 0.2s; }
.entry-tags .tag:hover { background: var(--color-primary); color: #fff; }
.entry-summary { margin: 0.5rem 0 1rem; color: var(--color-text-muted); }

/* ── WP Classes ─────────────────────────────────────────── */
.alignwide { margin-left: -2rem; margin-right: -2rem; max-width: calc(100% + 4rem); }
.alignfull { margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); max-width: 100vw; width: 100vw; }
.wp-block-image { margin: 1.5rem 0; }
.wp-caption { font-size: 0.85rem; color: var(--color-text-muted); text-align: center; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.5rem; }
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; }
.pagination a, .pagination span { padding: 0.5rem 1rem; border: 1px solid var(--color-border); border-radius: 6px; transition: all 0.2s; }
.pagination a:hover { border-color: var(--color-primary); color: var(--color-primary); }
.pagination .current { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* ── Page Hero (inner pages) ────────────────────────────── */
.page-hero { background: linear-gradient(135deg, var(--color-secondary, #1a1a2e) 0%, color-mix(in srgb, var(--color-secondary, #1a1a2e) 85%, var(--color-primary)) 100%); color: #fff; padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem); text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.05) 0%, transparent 70%); pointer-events: none; }
.page-hero .breadcrumbs { margin-bottom: 1.5rem; }
.page-hero .breadcrumbs, .page-hero .breadcrumbs a { color: rgba(255,255,255,0.7); }
.page-hero .breadcrumbs a:hover { color: #fff; }
.page-hero-title { color: #fff; font-size: clamp(2rem, 5vw, 3.25rem); margin-bottom: 1rem; }
.page-hero-subtitle { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 700px; margin: 0 auto; line-height: 1.7; font-weight: 300; }

/* ── Section Eyebrow ───────────────────────────────────── */
.section-eyebrow { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 600; margin-bottom: 0.5rem; display: block; text-align: center; }
.section h2 { text-align: center; }
.section .lead { text-align: center; max-width: 700px; margin: 0 auto 2.5rem; color: var(--color-text-muted); }

/* ── Hero Eyebrow ──────────────────────────────────────── */
.hero-eyebrow { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 500; color: rgba(255,255,255,0.85); margin-bottom: 1rem; display: block; }

/* ── Button Sizes ──────────────────────────────────────── */
.btn-lg { padding: 1rem 2.5rem; font-size: 0.95rem; }

/* ── Why Choose Us Section ─────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; margin-top: 2rem; }
.why-card { padding: 2rem; border-radius: 12px; background: var(--color-bg); border: 1px solid var(--color-border); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); position: relative; }
.why-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.08); border-color: var(--color-primary); }
.why-card-icon { width: 48px; height: 48px; background: color-mix(in srgb, var(--color-primary) 12%, transparent); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; color: var(--color-primary); transition: all 0.3s; }
.why-card:hover .why-card-icon { background: var(--color-primary); color: #fff; transform: scale(1.05); }
.why-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.why-card p { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.6; margin-bottom: 0; }

/* ── Dropdown Menus ────────────────────────────────────── */
.menu-item-has-children { position: relative; }
.menu-item-has-children > a::after { content: ''; display: inline-block; width: 0; height: 0; margin-left: 6px; vertical-align: middle; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; transition: transform 0.3s; }
.menu-item-has-children.menu-open > a::after { transform: rotate(180deg); }
.sub-menu { position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--color-bg); box-shadow: 0 12px 40px rgba(0,0,0,0.12); border-radius: 8px; padding: 0.5rem 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); z-index: 100; list-style: none; margin: 0; }
.menu-item-has-children.menu-open > .sub-menu,
.menu-item-has-children:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu li { margin: 0; }
.sub-menu a { display: block; padding: 0.6rem 1.25rem; font-size: 0.85rem; color: var(--color-text); text-transform: none; letter-spacing: 0.02em; transition: all 0.2s; white-space: nowrap; }
.sub-menu a:hover { background: var(--color-section-alt); color: var(--color-primary); padding-left: 1.5rem; }
.sub-menu a::after { display: none !important; }

/* ── Scroll-Triggered Animations ───────────────────────── */
/* Only hide elements when JS is confirmed loaded (body.js-ready added by inline script) */
body.js-ready .animate-on-scroll { opacity: 0; transform: translateY(24px); transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
body.js-ready .animate-on-scroll.animated { opacity: 1; transform: translateY(0); }

/* ── CSS Animations (page-load) ────────────────────────── */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.animate-fade-in-up { animation: fadeInUp 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) both; }
.animate-fade-in { animation: fadeIn 0.6s ease-out both; }
.delay-1 { animation-delay: 0.15s; } .delay-2 { animation-delay: 0.3s; } .delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; } .delay-5 { animation-delay: 0.75s; } .delay-6 { animation-delay: 0.9s; }

/* ── E-E-A-T Author Byline ─────────────────────────────── */
.author-byline { font-size: 0.9rem; color: var(--color-text-muted); padding: 0.75rem 1rem; border-left: 3px solid var(--color-primary); margin: 1.5rem 0; background: var(--color-section-alt); border-radius: 0 6px 6px 0; }
.author-byline strong { color: var(--color-text); }
.review-date { font-size: 0.85rem; }
.content-freshness { font-size: 0.85rem; color: var(--color-text-muted); padding: 1rem 0; margin-top: 2rem; border-top: 1px solid var(--color-border, #e5e7eb); display: flex; align-items: center; gap: 0.4rem; }
.freshness-label { font-weight: 600; color: var(--color-text); }

/* ── Accessibility ──────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }

/* ── Mobile ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }
  .menu-toggle { display: block; }
  .primary-navigation .menu { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-bg); box-shadow: 0 12px 40px rgba(0,0,0,0.1); padding: 1rem 0; }
  .primary-navigation.toggled .menu { display: flex; }
  .primary-navigation .menu > li > a { padding: 0.875rem 1.5rem; font-size: 0.9rem; }
  .primary-navigation .menu > li > a::after { display: none; }
  .menu-item-has-children .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding-left: 1.5rem; background: transparent; min-width: auto; }
  .menu-item-has-children > a::after { display: none; }
  .header-cta { display: none; }
  .hero { min-height: 60vh; padding: clamp(4rem, 8vw, 6rem) 1.25rem; }
  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-eyebrow { font-size: 0.7rem; }
  .page-hero { padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem); }
  .page-hero-title { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  .contact-layout { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .pricing-table { grid-template-columns: 1fr; }
  .pricing-featured { transform: none; }
  .section { padding: clamp(3rem, 6vw, 5rem) 0; }
  .btn-lg { padding: 0.875rem 2rem; font-size: 0.85rem; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-table { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 65vh; }
  .hero h1 { font-size: clamp(2.25rem, 5vw, 3rem); }
  .container { padding: 0 1.5rem; }
}

/* ── Breadcrumbs ────────────────────────────────────────── */
.breadcrumbs { font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: 1rem; }
.breadcrumbs a { color: var(--color-primary); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span[aria-current="page"] { color: var(--color-text); font-weight: 500; }
.page-hero .breadcrumbs { color: rgba(255,255,255,0.7); }
.page-hero .breadcrumbs a { color: rgba(255,255,255,0.9); }

/* ── Page-Type Layouts ──────────────────────────────────── */
.guide-hub-layout, .article-layout { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.location-layout { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; }
.compare-layout { max-width: 100%; }
.faq-layout { max-width: 800px; margin: 0 auto; }
.entry-content--narrow { max-width: 800px; }
.entry-content--wide { max-width: 100%; }
@media (min-width: 1024px) {
  .guide-hub-layout:has(.content-sidebar), .article-layout:has(.content-sidebar) { grid-template-columns: 1fr 280px; }
}
@media (max-width: 768px) { .location-layout { grid-template-columns: 1fr; } }

/* ── Location Sidebar ───────────────────────────────────── */
.location-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.location-card { padding: 1.5rem; background: var(--color-section-alt); border-radius: 8px; border: 1px solid var(--color-border); }
.location-card h3 { margin-bottom: 0.75rem; font-size: 1.1rem; }
.location-phone a { font-size: 1.2rem; font-weight: 600; color: var(--color-primary); text-decoration: none; }
.map-placeholder { padding: 2rem; background: var(--color-section-alt); border-radius: 8px; text-align: center; color: var(--color-text-muted); min-height: 200px; display: flex; align-items: center; justify-content: center; }

/* ── Author Bio ─────────────────────────────────────────── */
.author-bio { display: flex; gap: 1.5rem; padding: 2rem; background: var(--color-section-alt); border-radius: 8px; margin: 2rem auto; max-width: var(--max-width, 1280px); }
.author-avatar img { border-radius: 50%; width: 80px; height: 80px; object-fit: cover; }
.author-info { display: flex; flex-direction: column; gap: 0.25rem; }
.author-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-text-muted); }
.author-name { font-size: 1.1rem; font-weight: 600; }
.author-credentials { font-size: 0.9rem; color: var(--color-text-muted); }
.author-links a { font-size: 0.85rem; margin-right: 0.75rem; color: var(--color-primary); text-decoration: none; }

/* ── Related Posts ───────────────────────────────────────── */
.related-posts { padding: 3rem 0; background: var(--color-section-alt); margin-top: 3rem; }
.related-posts h2 { text-align: center; margin-bottom: 1.5rem; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.related-card { display: block; padding: 1.5rem; background: #fff; border: 1px solid var(--color-border); border-radius: 8px; text-decoration: none; color: inherit; transition: box-shadow 0.3s; }
.related-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.related-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--color-text); }
.related-card p { font-size: 0.9rem; color: var(--color-text-muted); margin: 0; }

/* ── Widget Areas ───────────────────────────────────────── */
.above-content-area, .below-content-area { padding: 1rem 0; }
.sidebar-widget { margin-bottom: 1.5rem; padding: 1.25rem; background: var(--color-section-alt); border-radius: 8px; }
.content-sidebar .widget-title { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.75rem; }

/* ── Article Meta ───────────────────────────────────────── */
.article-meta { font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.article-meta span { margin-right: 0.75rem; }

/* ── Content Freshness ──────────────────────────────────── */
.content-freshness { font-size: 0.85rem; color: var(--color-text-muted); margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--color-border); }

/* ── Print ──────────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .hero-cta, .btn-primary, .btn-secondary, .btn-outline, .menu-toggle { display: none !important; }
  body { color: #000; background: #fff; font-size: 12pt; }
  a { color: #000; text-decoration: underline; }
  .container { max-width: 100%; padding: 0; }
}


/* ── Rich HTML Content Components (.seo-*) ── */

:root {
  --seo-dark: #1B2B3A;
  --seo-accent: #1A7A6D;
  --seo-accent-lt: #e4efed;
  --seo-secondary: #C4793A;
  --seo-green: #1a8a5c;
  --seo-green-lt: #e6f7ef;
  --seo-gold: #d4940a;
  --seo-gold-lt: #fef8e8;
  --seo-red: #c0392b;
  --seo-red-lt: #fdecea;
  --seo-g50: #f8f9fa; --seo-g100: #f1f3f5; --seo-g200: #e2e6ea;
  --seo-g400: #adb5bd; --seo-g600: #6c757d; --seo-g800: #343a40; --seo-g900: #212529;
  --seo-radius: 8px;
  --seo-shadow: 0 2px 8px rgba(0,0,0,0.08);
  --seo-shadow-lg: 0 4px 20px rgba(0,0,0,0.12);
}

/* ── Base ────────────────────────────── */
.seo-page { font-family: 'DM Sans', system-ui, -apple-system, sans-serif; color: var(--seo-g900); line-height: 1.72; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.seo-page * { box-sizing: border-box; }
.seo-page img { display: block; max-width: 100%; height: auto; margin: 1.5rem auto; border-radius: var(--seo-radius); }
.seo-page figure { margin: 2rem auto; max-width: 100%; display: flex; flex-direction: column; align-items: center; }
.seo-page blockquote { margin: 0; padding: 0; }
.seo-page h1 { font-family: 'DM Serif Display', system-ui, sans-serif; font-size: 2.1rem; line-height: 1.25; color: var(--seo-dark); margin: 0 0 12px 0; font-weight: 800; }
.seo-page h2 { font-family: 'DM Serif Display', system-ui, sans-serif; font-size: 1.55rem; line-height: 1.3; color: var(--seo-dark); margin: 48px 0 12px 0; font-weight: 700; padding-bottom: 8px; border-bottom: 2px solid var(--seo-accent-lt); }
.seo-page h3 { font-size: 1.2rem; color: var(--seo-g800); margin: 28px 0 8px 0; font-weight: 700; }
.seo-page p { margin: 0 0 16px 0; color: var(--seo-g800); }
.seo-page a { color: var(--seo-accent); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.seo-page a:hover { border-bottom-color: var(--seo-accent); }

/* ── Meta byline ────────────────────── */
.seo-meta { font-size: 0.88rem; color: var(--seo-g600); margin-bottom: 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.seo-meta span { display: inline-flex; align-items: center; gap: 4px; }

/* ── Extractive answer (AIO target) ── */
.seo-answer { background: var(--seo-accent-lt); border-left: 4px solid var(--seo-accent); padding: 16px 20px; border-radius: 0 var(--seo-radius) var(--seo-radius) 0; margin: 0 0 20px 0; font-weight: 500; font-size: 1.02rem; line-height: 1.65; }

/* ── Key stats row ──────────────────── */
.seo-stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 24px 0; }
.seo-stat { background: var(--seo-g50); border: 1px solid var(--seo-g200); border-radius: var(--seo-radius); padding: 20px; text-align: center; }
.seo-stat-value { font-size: 1.8rem; font-weight: 800; color: var(--seo-accent); display: block; line-height: 1.2; }
.seo-stat-label { font-size: 0.82rem; color: var(--seo-g600); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 4px; display: block; }

/* ── Comparison table ───────────────── */
.seo-table-wrap { overflow-x: auto; margin: 24px 0; border-radius: var(--seo-radius); box-shadow: var(--seo-shadow); }
.seo-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 700px; }
.seo-table thead th { background: var(--seo-dark); color: #fff; padding: 14px 12px; text-align: left; font-weight: 600; font-size: 0.84rem; text-transform: uppercase; letter-spacing: 0.3px; position: sticky; top: 0; white-space: nowrap; }
.seo-table tbody td { padding: 12px; border-bottom: 1px solid var(--seo-g200); vertical-align: top; }
.seo-table tbody tr:nth-child(even) { background: var(--seo-g50); }
.seo-table tbody tr:hover { background: var(--seo-accent-lt); }
.seo-table .seo-highlight { background: var(--seo-green-lt) !important; font-weight: 600; }
.seo-table .seo-best { display: inline-block; background: var(--seo-green); color: #fff; font-size: 0.7rem; padding: 2px 8px; border-radius: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px; margin-left: 6px; }
.seo-table .seo-warn { display: inline-block; background: var(--seo-gold); color: #fff; font-size: 0.7rem; padding: 2px 8px; border-radius: 10px; font-weight: 700; margin-left: 6px; }
.seo-table .seo-alert { display: inline-block; background: var(--seo-red); color: #fff; font-size: 0.7rem; padding: 2px 8px; border-radius: 10px; font-weight: 700; margin-left: 6px; }

/* ── Review / service card ──────────── */
.seo-card { border: 1px solid var(--seo-g200); border-radius: var(--seo-radius); padding: 28px; margin: 24px 0; background: #fff; box-shadow: var(--seo-shadow); }
.seo-card-header { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.seo-card h3 { margin: 0; font-size: 1.35rem; color: var(--seo-dark); }
.seo-card-badge { display: inline-block; padding: 6px 14px; border-radius: 20px; font-size: 0.82rem; font-weight: 700; }
.seo-badge-green { background: var(--seo-green-lt); color: var(--seo-green); }
.seo-badge-blue { background: var(--seo-accent-lt); color: var(--seo-accent); }
.seo-badge-gold { background: var(--seo-gold-lt); color: var(--seo-gold); }
.seo-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 16px 0; font-size: 0.93rem; }
.seo-card-grid dt { color: var(--seo-g600); font-weight: 400; }
.seo-card-grid dd { color: var(--seo-g900); font-weight: 600; margin: 0; }
.seo-pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 16px; }
.seo-pros h4, .seo-cons h4 { font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.5px; margin: 0 0 8px 0; }
.seo-pros h4 { color: var(--seo-green); }
.seo-cons h4 { color: var(--seo-red); }
.seo-pros ul, .seo-cons ul { list-style: none; padding: 0; margin: 0; font-size: 0.9rem; }
.seo-pros li::before { content: "\2713 "; color: var(--seo-green); font-weight: 700; }
.seo-cons li::before { content: "\2717 "; color: var(--seo-red); font-weight: 700; }
.seo-pros li, .seo-cons li { margin-bottom: 6px; line-height: 1.5; }

/* ── FAQ accordion ──────────────────── */
.seo-faq { border: 1px solid var(--seo-g200); border-radius: var(--seo-radius); margin: 12px 0; overflow: hidden; }
.seo-faq summary { padding: 16px 20px; cursor: pointer; font-weight: 600; font-size: 1.02rem; color: var(--seo-dark); background: var(--seo-g50); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.seo-faq summary::-webkit-details-marker { display: none; }
.seo-faq summary::after { content: "+"; font-size: 1.4rem; color: var(--seo-accent); font-weight: 300; transition: transform 0.2s; }
.seo-faq[open] summary::after { content: "\2212"; }
.seo-faq[open] summary { border-bottom: 1px solid var(--seo-g200); }
.seo-faq-body { padding: 16px 20px; }

/* ── Bar chart (CSS-only) ───────────── */
.seo-bar-chart { margin: 24px 0; }
.seo-bar-row { display: flex; align-items: center; margin-bottom: 10px; gap: 12px; }
.seo-bar-label { min-width: 180px; font-size: 0.88rem; font-weight: 500; text-align: right; }
.seo-bar { height: 28px; border-radius: 4px; display: flex; align-items: center; padding-right: 10px; justify-content: flex-end; font-size: 0.78rem; font-weight: 700; color: #fff; min-width: 40px; transition: width 0.6s ease; }
.seo-bar-green { background: var(--seo-green); }
.seo-bar-gold { background: var(--seo-gold); }
.seo-bar-red { background: var(--seo-red); }

/* ── CTA box ────────────────────────── */
.seo-cta { background: linear-gradient(135deg, var(--seo-dark) 0%, var(--seo-accent) 100%); color: #fff; padding: 32px; border-radius: var(--seo-radius); text-align: center; margin: 32px 0; }
.seo-cta h3 { color: #fff; margin: 0 0 8px 0; font-size: 1.3rem; }
.seo-cta p { color: rgba(255,255,255,0.9); margin-bottom: 20px; }
.seo-cta a.seo-btn { display: inline-block; background: #fff; color: var(--seo-dark); padding: 14px 36px; border-radius: 6px; font-weight: 700; font-size: 1rem; border: none; text-decoration: none; }
.seo-cta a.seo-btn:hover { background: var(--seo-accent-lt); border-bottom: none; }

/* ── TOC ────────────────────────────── */
.seo-toc { background: var(--seo-g50); border: 1px solid var(--seo-g200); border-radius: var(--seo-radius); padding: 24px 28px; margin: 24px 0; }
.seo-toc h3 { margin: 0 0 12px 0; font-size: 1rem; color: var(--seo-dark); }
.seo-toc ol { margin: 0; padding-left: 20px; }
.seo-toc li { margin-bottom: 6px; font-size: 0.93rem; }

/* ── E-E-A-T trust block ───────────── */
.seo-trust { background: var(--seo-g50); border: 1px solid var(--seo-g200); border-radius: var(--seo-radius); padding: 16px 20px; margin-bottom: 24px; font-size: 0.9rem; line-height: 1.6; }

/* ── Methodology box ────────────────── */
.seo-method { background: transparent; border: 1px solid var(--seo-g200); border-radius: var(--seo-radius); padding: 24px 28px; margin: 40px 0; }

/* ── Pricing table ──────────────────── */
.seo-pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 40px 0; }
.seo-pricing-card { border: 1px solid var(--seo-g200); border-radius: var(--seo-radius); padding: 28px; text-align: center; background: #fff; }
.seo-pricing-card.seo-featured { border-color: var(--seo-accent); position: relative; }
.seo-pricing-name { font-size: 1.1rem; font-weight: 700; color: var(--seo-dark); }
.seo-pricing-price { font-size: 2rem; font-weight: 700; color: var(--seo-accent); margin: 12px 0; }
.seo-pricing-period { font-size: 0.85rem; color: var(--seo-g600); }
.seo-pricing-features { list-style: none; padding: 0; margin: 20px 0; text-align: left; font-size: 0.9rem; }
.seo-pricing-features li { padding: 6px 0; border-bottom: 1px solid var(--seo-g100); }
.seo-pricing-features li::before { content: "\2713 "; color: var(--seo-green); font-weight: 700; }

/* ── Testimonials ───────────────────── */
.seo-testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin: 40px 0; }
.seo-testimonial { border: 1px solid var(--seo-g200); border-radius: var(--seo-radius); padding: 24px; background: #fff; }
.seo-testimonial-text { font-style: italic; color: var(--seo-g800); margin-bottom: 16px; line-height: 1.6; }
.seo-testimonial-author { font-weight: 700; color: var(--seo-dark); }
.seo-testimonial-role { font-size: 0.85rem; color: var(--seo-g600); }

/* ── Adjacent element spacing ─────── */
.seo-form + [class*="seo-"], .seo-calculator + [class*="seo-"], .seo-booking + [class*="seo-"],
.seo-before-after + [class*="seo-"], .seo-process + [class*="seo-"], .seo-map + [class*="seo-"],
.seo-team + [class*="seo-"], .seo-badges + [class*="seo-"], .seo-video + [class*="seo-"],
.seo-testimonials + [class*="seo-"], .seo-pricing + [class*="seo-"],
[data-element] + [data-element] { margin-top: 48px; }

/* ── Contact / Quote Form ──────────── */
.seo-form { background: transparent; border: 1px solid var(--seo-g200); border-radius: var(--seo-radius); padding: 32px; margin: 40px 0; }
.seo-form h3 { margin: 0 0 8px 0; color: var(--seo-dark); font-size: 1.2rem; }
.seo-form > p { color: var(--seo-g600); margin-bottom: 20px; font-size: 0.93rem; }
.seo-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.seo-form-field { display: flex; flex-direction: column; gap: 6px; }
.seo-form-field label { font-size: 0.85rem; font-weight: 600; color: var(--seo-g800); }
.seo-form-field input, .seo-form-field select, .seo-form-field textarea { background: #fff; border: 1px solid var(--seo-g200); border-radius: 6px; padding: 12px 16px; font-size: 0.93rem; color: var(--seo-g800); font-family: inherit; }
.seo-form-field textarea { min-height: 80px; resize: vertical; }
.seo-form-full { grid-column: 1 / -1; }
.seo-form-submit { display: block; width: 100%; background: var(--seo-accent); color: #fff; padding: 14px 36px; border-radius: 6px; font-weight: 600; font-size: 1rem; border: none; cursor: pointer; text-align: center; transition: opacity 0.2s; }
.seo-form-submit:hover { opacity: 0.9; }

/* ── Cost Calculator ───────────────── */
.seo-calculator { background: transparent; border: 1px solid var(--seo-g200); border-radius: var(--seo-radius); padding: 32px; margin: 40px 0; }
.seo-calculator h3 { margin: 0 0 8px 0; color: var(--seo-dark); font-size: 1.2rem; }
.seo-calculator > p { color: var(--seo-g600); margin-bottom: 20px; font-size: 0.93rem; }
.seo-calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.seo-calc-field { display: flex; flex-direction: column; gap: 6px; }
.seo-calc-field label { font-size: 0.85rem; font-weight: 600; color: var(--seo-g800); }
.seo-calc-field select, .seo-calc-field input { background: #fff; border: 1px solid var(--seo-g200); border-radius: 6px; padding: 12px 16px; font-size: 0.93rem; color: var(--seo-g800); font-family: inherit; }
.seo-calc-result { background: var(--seo-accent-lt); border-radius: var(--seo-radius); padding: 24px; text-align: center; }
.seo-calc-label { display: block; font-size: 0.85rem; color: var(--seo-g600); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.seo-calc-value { display: block; font-size: 1.8rem; font-weight: 700; color: var(--seo-accent); line-height: 1.2; }
.seo-calc-note { display: block; font-size: 0.8rem; color: var(--seo-g400); margin-top: 8px; }

/* ── Booking Widget ────────────────── */
.seo-booking { background: transparent; border: 1px solid var(--seo-g200); border-radius: var(--seo-radius); padding: 32px; margin: 40px 0; }
.seo-booking h3 { margin: 0 0 8px 0; color: var(--seo-dark); font-size: 1.2rem; }
.seo-booking > p { color: var(--seo-g600); margin-bottom: 20px; font-size: 0.93rem; }
.seo-booking-calendar { margin-bottom: 20px; }
.seo-booking-header { text-align: center; margin-bottom: 12px; }
.seo-booking-month { font-weight: 700; color: var(--seo-dark); font-size: 1rem; }
.seo-booking-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; font-size: 0.78rem; font-weight: 600; color: var(--seo-g600); margin-bottom: 8px; }
.seo-booking-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.seo-booking-day { padding: 8px; border-radius: 4px; font-size: 0.88rem; color: var(--seo-g600); background: #fff; border: 1px solid var(--seo-g100); }
.seo-booking-avail { background: var(--seo-accent-lt); color: var(--seo-accent); font-weight: 700; border-color: var(--seo-accent); cursor: pointer; }
.seo-booking-slots { display: flex; gap: 10px; justify-content: center; margin-bottom: 20px; flex-wrap: wrap; }
.seo-booking-slot { padding: 10px 20px; border: 1px solid var(--seo-g200); border-radius: 6px; font-size: 0.88rem; background: #fff; color: var(--seo-g800); }
.seo-booking-slot-active { background: var(--seo-accent); color: #fff; border-color: var(--seo-accent); font-weight: 600; }

/* ── Before / After ────────────────── */
.seo-before-after { margin: 40px 0; }
.seo-before-after h3 { margin: 0 0 16px 0; color: var(--seo-dark); font-size: 1.3rem; }
.seo-ba-container { display: flex; overflow: hidden; border-radius: var(--seo-radius); border: 1px solid var(--seo-g200); position: relative; }
.seo-ba-side { flex: 1; min-height: 200px; display: flex; align-items: center; justify-content: center; position: relative; }
.seo-ba-before { background: var(--seo-g100); }
.seo-ba-after { background: var(--seo-accent-lt); }
.seo-ba-label { position: absolute; top: 12px; left: 12px; background: var(--seo-dark); color: #fff; padding: 4px 12px; border-radius: 4px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; z-index: 1; }
.seo-ba-after .seo-ba-label { left: auto; right: 12px; background: var(--seo-accent); }
.seo-ba-placeholder { padding: 40px; text-align: center; }
.seo-ba-divider { position: absolute; left: 50%; top: 0; bottom: 0; width: 40px; margin-left: -20px; z-index: 2; display: flex; align-items: center; justify-content: center; }
.seo-ba-slider { writing-mode: bt-lr; -webkit-appearance: slider-vertical; width: 100%; height: 100%; cursor: col-resize; opacity: 0.6; }

/* ── Process / Timeline ────────────── */
.seo-process { margin: 40px 0; }
.seo-process h3 { margin: 0 0 24px 0; color: var(--seo-dark); font-size: 1.2rem; }
.seo-process-timeline { position: relative; padding-left: 48px; }
.seo-process-timeline::before { content: ""; position: absolute; left: 20px; top: 0; bottom: 0; width: 2px; background: var(--seo-g200); }
.seo-process-step { position: relative; margin-bottom: 32px; }
.seo-process-step:last-child { margin-bottom: 0; }
.seo-process-num { position: absolute; left: -48px; width: 40px; height: 40px; background: var(--seo-accent); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1rem; z-index: 1; }
.seo-process-content h4 { margin: 0 0 6px 0; color: var(--seo-dark); font-size: 1.05rem; }
.seo-process-content p { margin: 0; color: var(--seo-g600); font-size: 0.93rem; line-height: 1.6; }

/* ── Map Embed ─────────────────────── */
.seo-map { margin: 40px 0; }
.seo-map h3 { margin: 0 0 16px 0; color: var(--seo-dark); font-size: 1.2rem; }
.seo-map-frame { border-radius: var(--seo-radius); overflow: hidden; border: 1px solid var(--seo-g200); }
.seo-map-placeholder { background: var(--seo-g100); display: flex; align-items: center; justify-content: center; min-height: 250px; }
.seo-map-info { margin-top: 12px; font-size: 0.93rem; }
.seo-map-info p { margin: 4px 0; }

/* ── Team / Staff Cards ────────────── */
.seo-team { margin: 40px 0; }
.seo-team h3 { margin: 0 0 20px 0; color: var(--seo-dark); font-size: 1.2rem; }
.seo-team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.seo-team-member { background: #fff; border: 1px solid var(--seo-g200); border-radius: var(--seo-radius); padding: 24px; text-align: center; }
.seo-team-avatar { width: 64px; height: 64px; background: var(--seo-accent-lt); color: var(--seo-accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 800; margin: 0 auto 12px; }
.seo-team-member h4 { margin: 0 0 4px 0; color: var(--seo-dark); font-size: 1.05rem; }
.seo-team-role { color: var(--seo-accent); font-size: 0.88rem; font-weight: 600; margin: 0 0 8px 0; }
.seo-team-creds { color: var(--seo-g600); font-size: 0.82rem; margin: 0; }

/* ── Trust Badges ──────────────────── */
.seo-badges { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 24px 0; }
.seo-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--seo-g50); border: 1px solid var(--seo-g200); border-radius: 30px; padding: 10px 20px; font-size: 0.88rem; font-weight: 600; color: var(--seo-g800); }
.seo-badge-icon { font-size: 1.1rem; }

/* ── Video Embed ───────────────────── */
.seo-video { margin: 40px 0; }
.seo-video-frame { border-radius: var(--seo-radius); overflow: hidden; border: 1px solid var(--seo-g200); position: relative; }
.seo-video-placeholder { background: var(--seo-g800); display: flex; align-items: center; justify-content: center; min-height: 300px; position: relative; cursor: pointer; }
.seo-video-play { position: absolute; width: 64px; height: 64px; background: rgba(255,255,255,0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--seo-dark); box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.seo-video-caption { text-align: center; padding: 12px; font-size: 0.88rem; color: var(--seo-g600); margin: 0; }

/* ── Responsive ─────────────────────── */
@media (max-width: 640px) {
  .seo-page h1 { font-size: 1.6rem; }
  .seo-page h2 { font-size: 1.3rem; }
  .seo-card-grid { grid-template-columns: 1fr; }
  .seo-pros-cons { grid-template-columns: 1fr; }
  .seo-stat-row { grid-template-columns: 1fr 1fr; }
  .seo-bar-label { min-width: 120px; font-size: 0.8rem; }
  .seo-pricing { grid-template-columns: 1fr; }
  .seo-testimonials { grid-template-columns: 1fr; }
  .seo-form-grid { grid-template-columns: 1fr; }
  .seo-calc-grid { grid-template-columns: 1fr; }
  .seo-team-grid { grid-template-columns: 1fr 1fr; }
  .seo-booking-grid { gap: 2px; }
}
.entry-content .seo-page { max-width: none; padding: 0; margin: 0; }
