:root {
  --bg-color: #f9f9f9;
  --text-color: #333;
  --primary-color: #2c2c2c;
  --accent-color: #c5a059; /* Gold */
  --accent-hover: #b08d4b;
  --white: #ffffff;
  --gray-light: #e5e5e5;
  --gray-muted: #666;
  --border-radius: 8px;
  --container-width: 1100px;
  --header-height: 80px; /* Defined for scroll offsets */
}

/* Reset & Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height); /* Essential for sticky headers */
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: var(--bg-color);
  overflow-x: hidden; /* Prevents side-scrolling on mobile/TV */
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* Accessibility & TV Navigation (Focus Rings) */
:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.grid { display: grid; gap: 2rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap; /* Prevents text breaking on small screens */
}
.btn-primary { background: var(--primary-color); color: var(--white); }
.btn-primary:hover { opacity: 0.9; }
.btn-secondary {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}
.btn-secondary:hover { background: var(--gray-light); }
.btn-ghost { background: transparent; color: var(--text-color); }
.btn-ghost:hover { color: var(--accent-color); }
.btn-full { width: 100%; text-align: center; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.9rem; }
.muted { color: var(--gray-muted); }
.gold { color: var(--accent-color); }
.small { font-size: 0.9rem; }
.micro { font-size: 0.8rem; }

.skip-link {
  position: absolute; top: -100px; left: 0; background: var(--white);
  padding: 1rem; z-index: 1000;
  border: 2px solid var(--accent-color);
}
.skip-link:focus { top: 0; }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
  padding: 1rem 0;
  position: sticky; top: 0; z-index: 100;
  height: var(--header-height);
  display: flex; align-items: center;
}
.header-inner {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
}
.brand { display: flex; align-items: center; gap: 0.75rem; }

/* ADDED: Logo Style */
.brand-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-color);
  margin-right: 0.5rem;
}

/* Kept for reference, but unused if you use the logo image */
.brand-mark {
  width: 40px; height: 40px; background: var(--primary-color); color: var(--accent-color);
  display: flex; align-items: center; justify-content: center;
  font-weight: bold; border-radius: 50%; border: 2px solid var(--accent-color);
  flex-shrink: 0;
}

.brand-name { font-weight: 800; font-size: 1.2rem; line-height: 1.1; }
.brand-tag { font-size: 0.8rem; color: var(--gray-muted); }
.header-actions { display: flex; gap: 1rem; align-items: center; }
.btn-call {
  background: var(--accent-color); color: var(--white); padding: 0.5rem 1rem;
  border-radius: var(--border-radius); font-weight: 600;
}

@media (max-width: 768px) {
  .header-actions { display: none; } /* Simplified mobile header */
  .brand-tag { display: none; }
}

/* Hero */
.hero { padding: 4rem 0; background: var(--white); }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: start; }
.kicker { text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; color: var(--gray-muted); margin-bottom: 0.5rem; }
.hero h1 { font-size: 3rem; line-height: 1.1; margin-bottom: 1.5rem; }
.lead { font-size: 1.25rem; color: var(--gray-muted); margin-bottom: 2rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.trust-row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 2rem; }
.trust-pill {
  background: var(--gray-light); padding: 0.25rem 0.75rem; border-radius: 20px;
  font-size: 0.85rem; font-weight: 500;
}
.note {
  background: #fffbeb; border-left: 4px solid var(--accent-color);
  padding: 1rem; font-size: 0.95rem;
}

/* Hero Card */
.card {
  background: var(--white); border: 1px solid var(--gray-light);
  border-radius: var(--border-radius); padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.card-title { font-size: 1.25rem; margin-bottom: 1rem; }
.checklist li { margin-bottom: 0.5rem; padding-left: 1.5rem; position: relative; }
.checklist li::before {
  content: "✓"; color: var(--accent-color); position: absolute; left: 0; font-weight: bold;
}
.divider { height: 1px; background: var(--gray-light); margin: 1.5rem 0; }

/* Mobile Layout Tweaks */
@media (max-width: 900px) {
  .hero { padding: 2rem 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero h1 { font-size: 2.25rem; }
  .hero-card { order: -1; } /* Card on top for mobile context */
}

/* Services */
.section { padding: 4rem 0; }
.section-alt { background: var(--white); }
.section-sub { max-width: 600px; font-size: 1.1rem; color: var(--gray-muted); margin-bottom: 3rem; }
.cards { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.service-card {
  background: var(--white); padding: 1.5rem; border-radius: var(--border-radius);
  border: 1px solid var(--gray-light); transition: transform 0.2s;
  height: 100%; /* Equal height */
}
.service-card:hover { transform: translateY(-2px); border-color: var(--accent-color); }
.service-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.service-card p { font-size: 0.95rem; color: var(--gray-muted); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.pricing-card {
  background: var(--bg-color); padding: 2.5rem; border-radius: var(--border-radius);
  border: 1px solid var(--gray-light);
}
.price { font-size: 3.5rem; font-weight: 800; color: var(--accent-color); line-height: 1; }
.price-sub { font-size: 1.1rem; margin-bottom: 1.5rem; font-weight: 600; }
.steps { padding-left: 1.25rem; margin-bottom: 1.5rem; }
.steps li { margin-bottom: 0.75rem; }

@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 1.5rem; }
}

/* Trust & Testimonials */
.trust-cards { grid-template-columns: repeat(3, 1fr); margin-bottom: 3rem; }
.trust-card h3 { margin-bottom: 0.5rem; color: var(--accent-color); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--gray-light);
}
.testimonial-item {
  background: var(--white); padding: 1.5rem;
  border-radius: var(--border-radius); border: 1px solid var(--gray-light);
}
.quote { font-style: italic; margin-bottom: 1rem; font-size: 1.05rem; }
.quote-attrib { font-weight: 600; font-size: 0.9rem; color: var(--gray-muted); }

@media (max-width: 768px) {
  .trust-cards { grid-template-columns: 1fr; }
}

/* FAQ */
.faq details {
  background: var(--white); border: 1px solid var(--gray-light);
  border-radius: var(--border-radius); margin-bottom: 1rem;
}
.faq summary {
  padding: 1rem 1.5rem; cursor: pointer; font-weight: 600; outline: none;
}
.faq summary:focus-visible { background: var(--gray-light); }
.faq-body { padding: 0 1.5rem 1.5rem; color: var(--gray-muted); }

/* Contact - Tightened */
.contact-tight { max-width: 600px; text-align: center; margin: 0 auto; }
.contact-actions-tight {
  display: flex; justify-content: center; gap: 1rem;
  margin-top: 1.5rem; margin-bottom: 1.5rem; flex-wrap: wrap;
}
.template-wrapper {
  margin-top: 2rem; border-top: 1px solid var(--gray-light); padding-top: 1rem;
}
.sms-template {
  background: var(--gray-light); padding: 1rem; border-radius: 4px;
  font-family: monospace; font-size: 0.85rem; text-align: left;
  margin: 1rem 0; white-space: pre-wrap; word-break: break-word; /* Prevent TV overflow */
}

/* Footer */
.site-footer {
  background: var(--primary-color); color: var(--white); padding: 3rem 0;
}
.footer-inner {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2rem; margin-bottom: 2rem;
}
.footer-brand { font-size: 1.25rem; font-weight: 700; color: var(--accent-color); margin-bottom: 0.5rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a:hover { color: var(--accent-color); }
.footer-links a:focus-visible { outline: 2px solid var(--accent-color); }

/* Mobile Sticky CTA */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--white); border-top: 1px solid var(--gray-light);
  display: flex; padding: 0.75rem; gap: 1rem; z-index: 999;
  display: none;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1); /* Lift effect */
}
@media (max-width: 768px) {
  .sticky-cta { display: flex; }
  .site-footer { padding-bottom: 6rem; } /* Space for sticky CTA */
}
.sticky-btn {
  flex: 1; text-align: center; padding: 0.85rem;
  background: var(--primary-color); color: var(--white);
  border-radius: var(--border-radius); font-weight: 600;
  font-size: 1.1rem; /* Larger for fat thumbs */
}
.sticky-btn-gold { background: var(--accent-color); color: var(--primary-color); }

/* Small Phone Optimization (iPhone SE/Mini) */
@media (max-width: 380px) {
  .container { padding: 0 1rem; }
  .price { font-size: 3rem; }
  .sticky-btn { font-size: 1rem; padding: 0.6rem; }
}

/* TV / Large Screen Optimization (4K) */
@media (min-width: 1800px) {
  :root { --container-width: 1400px; }
  body { font-size: 1.2rem; } /* Scale text up */
  h1 { font-size: 4rem; }
  .btn { padding: 1rem 2rem; font-size: 1.1rem; }
}
