/* ============================================
   Dailey Computer Consulting - Website Prototype
   Typography: Libre Caslon Text + Hanken Grotesk
   Colors: Logo-matched charcoal + green
   ============================================ */

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

:root {
  --primary: #2d2d2d;
  --primary-light: #444444;
  --primary-hover: #1a1a1a;
  --accent: #2e7d32;              /* Darker green for WCAG AA contrast with white text */
  --accent-hover: #1b5e20;
  --accent-warm: #66bb6a;
  --accent-light: #e8f5e9;
  --accent-focus: rgba(67, 160, 71, 0.15);
  --bg: #ffffff;
  --bg-alt: #f7f7f6;
  --bg-dark: #2d2d2d;
  --surface: #ffffff;
  --text: #1a1a1a;
  --text-muted: #5c5c5c;
  --text-light: #888888;
  --text-on-dark: #f0f0ee;
  --border: #ddd;
  --border-light: #e8e8e5;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.10);
  --radius-sm: 4px;               /* Buttons, small elements */
  --radius: 6px;                   /* Default */
  --radius-lg: 12px;               /* Cards, photos, large containers */
  --max-width: 1140px;
  --header-height: 72px;
}

/* Size-adjusted fallback fonts to prevent layout shift when web fonts load */
@font-face {
  font-family: 'Hanken Grotesk Fallback';
  src: local('Arial');
  size-adjust: 97%;
  ascent-override: 95%;
  descent-override: 25%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Libre Caslon Fallback';
  src: local('Georgia');
  size-adjust: 105%;
  ascent-override: 90%;
  descent-override: 25%;
  line-gap-override: 0%;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Hanken Grotesk', 'Hanken Grotesk Fallback', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: 'Libre Caslon Text', 'Libre Caslon Fallback', 'Georgia', serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: 2.75rem; letter-spacing: -0.02em; }
h2 { font-size: 2rem; letter-spacing: -0.01em; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header / Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.logo img {
  height: 42px;
  width: auto;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-main a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
  position: relative;
}

.nav-main a:hover,
.nav-main a.active {
  color: var(--text);
}

.nav-main a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* Client portal links in header */
.header-portals {
  display: flex;
  gap: 8px;
  margin-left: 8px;
  padding-left: 16px;
  border-left: 1px solid var(--border-light);
}

.header-portals a {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-light);
  text-decoration: none;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.header-portals a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Mobile-only portal links inside nav dropdown */
.nav-mobile-portal {
  display: none;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  text-decoration: none;
  flex-shrink: 0;
}

.header-phone svg {
  width: 18px;
  height: 18px;
}

.header-phone:hover {
  color: var(--accent);
}

.header-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stars {
  color: #e8a230;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* --- Hero Section --- */
.hero {
  padding: 72px 0 56px;
  background: var(--bg);
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 48px;
  align-items: center;
}

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

.hero h1 {
  margin-bottom: 16px;
  font-size: 3.2rem;
}

.hero-lead {
  font-family: 'Libre Caslon Text', serif;
  font-size: 1.35rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.4;
}

.hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 520px;
}

/* Hero photo */
.hero-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Hero phone-first CTA */
.hero-phone {
  margin-bottom: 28px;
}

.hero-phone a {
  font-family: 'Libre Caslon Text', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  display: inline-block;
  letter-spacing: -0.01em;
}

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

.hero-phone-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Collapsible form toggle */
.form-toggle {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.88rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-bottom: 16px;
  display: inline-block;
}

.form-toggle:hover {
  color: var(--text);
}

.hero-form-collapsible {
  display: none;
}

.hero-form-collapsible.open {
  display: block;
}

/* Urgent alert bar */
.urgent-bar {
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: var(--radius);
  padding: 14px 20px;
  margin-top: 28px;
  max-width: 580px;
}

.urgent-bar p {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0;
  line-height: 1.5;
}

.urgent-bar strong {
  display: block;
  margin-bottom: 2px;
}

.urgent-bar a {
  font-weight: 700;
  color: var(--text);
}

/* Hero inline form */
.hero-form {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 580px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full {
  grid-column: 1 / -1;
}

.hero-form input,
.hero-form textarea,
.hero-form select {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.95rem;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-form input:focus,
.hero-form textarea:focus,
.hero-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-focus);
}

.hero-form textarea {
  resize: vertical;
  min-height: 70px;
}

.hero-form .btn {
  width: 100%;
  margin-top: 4px;
}

/* --- Buttons --- */
/* Hierarchy: accent(green)=conversion, primary(charcoal)=navigation, outline=tertiary */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  line-height: 1.4;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

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

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

.btn-outline {
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--text);
}

/* On dark backgrounds */
.section-dark .btn-outline {
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.8);
}
.section-dark .btn-outline:hover {
  border-color: #fff;
  color: #fff;
}

.btn-sm {
  font-size: 0.85rem;
  padding: 8px 20px;
}

.btn-lg {
  font-size: 1.05rem;
  padding: 14px 36px;
}

/* --- Sections --- */
.section {
  padding: 72px 0;
}

.section-compact {
  padding: 48px 0;
}

.section-spacious {
  padding: 96px 0;
}

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

.section-dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #fff;
}

.section-header {
  margin-bottom: 40px;
}

.section-header h2 {
  margin-bottom: 10px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 560px;
}

.section-dark .section-header p {
  color: rgba(255,255,255,0.65);
}

/* Section intro — replaces inline style="margin-bottom/color" patterns */
.section-intro {
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 560px;
}

.section-title {
  margin-bottom: 36px;
}

.section-title-tight {
  margin-bottom: 12px;
}

/* --- Services Overview (Homepage) — stacked, not side-by-side --- */
.service-track {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--border-light);
}

.service-track:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.service-track:first-child {
  padding-top: 0;
}

.service-track-intro h2,
.service-track-intro h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.service-track-intro p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.service-track-intro .price-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 20px;
}

.service-track-intro .price-hint strong {
  color: var(--text);
  font-size: 1rem;
}

.service-track-details ul {
  list-style: none;
  margin-bottom: 0;
}

.service-track-details li {
  padding: 5px 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}

.service-track-details li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 1px;
  background: var(--border);
}

/* --- Testimonials — stacked, not grid --- */
.testimonials-stack {
  max-width: 640px;
}

.testimonial {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
}

.testimonial:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.testimonial:first-child {
  padding-top: 0;
}

.testimonial blockquote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 10px;
}

.testimonial-author {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  display: inline;
}

.testimonial-detail {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: inline;
}

.testimonial-detail::before {
  content: ' · ';
  color: var(--text-light);
}

/* Single featured testimonial */
.testimonial-featured {
  border-left: 2px solid var(--border);
  padding-left: 28px;
}

.testimonial-featured blockquote {
  font-size: 1.15rem;
  line-height: 1.7;
  font-family: 'Libre Caslon Text', serif;
  font-weight: 400;
}

/* --- Google Reviews link --- */
.google-reviews {
  max-width: 480px;
}

.google-reviews-rating {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}

.google-reviews-stars {
  color: #e8a230;
  font-size: 1.3rem;
  letter-spacing: 2px;
}

.google-reviews-score {
  font-family: 'Libre Caslon Text', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.google-reviews-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.reviews-link,
.mt-24 {
  margin-top: 24px;
}

/* --- How It Works — simple numbered list, not a grid --- */
.steps {
  max-width: 600px;
  counter-reset: step-counter;
}

.step {
  counter-increment: step-counter;
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}

.step:last-child {
  border-bottom: none;
}

.step::before {
  content: counter(step-counter) ".";
  font-family: 'Libre Caslon Text', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-light);
  flex-shrink: 0;
  min-width: 24px;
  padding-top: 1px;
}

.step div {
  flex: 1;
}

.step h4 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.step p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* --- Service Listings (Repair page) — clean rows, not cards --- */
.service-category {
  margin-bottom: 64px;
}

.service-category:last-child {
  margin-bottom: 0;
}

.category-header {
  margin-bottom: 8px;
}

.category-header h3 {
  font-size: 1.3rem;
  color: var(--text);
}

.category-sub {
  font-size: 0.82rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
  margin-bottom: 16px;
}

.service-list {
  display: block;
}

/* Service rows — no boxes, no borders, no fills */
.service-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}

.service-item:last-child {
  border-bottom: none;
}

.service-item h4 {
  margin-bottom: 4px;
}

.service-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.service-price {
  text-align: right;
  flex-shrink: 0;
}

.service-price .amount {
  font-family: 'Libre Caslon Text', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  display: block;
}

.service-price .unit {
  font-size: 0.78rem;
  color: var(--text-muted);
}


/* --- Section illustrations --- */
.section-illust {
  max-width: 280px;
  margin: 0 auto;
}

.section-illust img {
  width: 100%;
  height: auto;
}

/* Illustration paired with content (text left, image right) */
.content-with-illust {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 40px;
  align-items: start;
}

.content-with-illust-reverse {
  grid-template-columns: 240px 1fr;
}

/* Category illustration (smaller, inline with header) */
.category-illust {
  max-width: 200px;
  margin-bottom: 24px;
}

.category-illust img {
  width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .content-with-illust,
  .content-with-illust-reverse {
    grid-template-columns: 1fr;
  }

  .content-with-illust .section-illust,
  .content-with-illust-reverse .section-illust {
    max-width: 200px;
    order: -1;
  }

  .category-illust {
    max-width: 150px;
  }
}

/* --- CTA Band --- */
.cta-band {
  text-align: center;
}

.cta-band h2 {
  margin-bottom: 8px;
}

.cta-band p {
  color: rgba(255,255,255,0.65);
  margin-bottom: 28px;
  font-size: 1.02rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-phone {
  margin-top: 20px;
  font-size: 2rem;
  font-weight: 700;
  font-family: 'Libre Caslon Text', serif;
  letter-spacing: -0.01em;
}

.cta-phone a {
  color: #fff;
  text-decoration: none;
}

.cta-phone a:hover {
  text-decoration: underline;
}

/* --- About page --- */
.about-intro {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.about-photo {
  width: 280px;
  height: 340px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-logo-fallback {
  object-fit: contain !important;
  padding: 40px;
}


.about-text h1 {
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.7;
}

/* Years in business banner */
.years-banner {
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.years-headline {
  font-family: 'Libre Caslon Text', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .years-headline {
    font-size: 1.25rem;
  }
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.95rem;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-focus);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-detail {
  display: flex;
  gap: 14px;
  align-items: start;
}

.contact-detail svg {
  width: 20px;
  height: 20px;
  color: var(--text-light);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-detail strong {
  display: block;
  margin-bottom: 2px;
}

.contact-detail span,
.contact-detail a {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.contact-detail .contact-phone-big {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}

.map-embed {
  width: 100%;
  height: 220px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  margin-top: 12px;
  overflow: hidden;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- FAQ --- */
.faq-list {
  max-width: 720px;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.faq-question::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--text-light);
  flex-shrink: 0;
}

.faq-item.open .faq-question::after {
  content: '−';
}

.faq-answer {
  display: none;
  padding: 0 0 20px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.faq-item.open .faq-answer {
  display: block;
}

/* --- Upsell nudge --- */
.upsell-nudge {
  background: var(--accent-light);
  border: 1px solid #c8e6c9;
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
}

.upsell-nudge p {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0;
}

.upsell-nudge strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

/* --- Footer --- */
.site-footer {
  background: #333;                /* Lighter than CTA #2d2d2d — differentiates */
  color: rgba(255,255,255,0.6);
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand-name {
  color: #fff;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-heading {
  color: #fff;
  font-family: 'Hanken Grotesk', 'Hanken Grotesk Fallback', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-col p,
.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}

.footer-col a {
  display: block;
  padding: 3px 0;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-brand p {
  max-width: 280px;
}

.footer-phone {
  margin-top: 12px;
}

.footer-phone a {
  color: #fff !important;
  font-weight: 600;
  display: inline !important;
}

.footer-hours {
  font-size: 0.82rem;
}

.footer-address {
  margin-top: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.85);
  margin-left: 20px;
}

/* --- Managed IT page --- */

/* Plan comparison table */
.plan-table {
  width: 100%;
  border-collapse: collapse;
}

.plan-table thead th {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-align: left;
  padding: 12px 20px;
  border-bottom: 2px solid var(--border-light);
}

.plan-table thead th:first-child {
  padding-left: 0;
}

.plan-table tbody td {
  padding: 20px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}

.plan-table tbody td:first-child {
  padding-left: 0;
  font-weight: 600;
}

.plan-table .plan-name {
  font-family: 'Libre Caslon Text', serif;
  font-size: 1.15rem;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.plan-table .plan-best-for {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 6px;
  display: block;
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 400;
}

.plan-table .plan-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.5;
}

.plan-table .plan-features {
  list-style: none;
  font-size: 0.88rem;
}

.plan-table .plan-features li {
  padding: 3px 0;
  color: var(--text);
}

.plan-table .plan-features li {
  padding-left: 14px;
  position: relative;
}

.plan-table .plan-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}

.plan-table .plan-features li .check {
  display: none;  /* Hide the ✓ character, use CSS dot instead */
}

.plan-table .plan-cta {
  text-align: right;
  vertical-align: middle;
}

/* Benefits — simple list with bold heading + description, not card grid */
.benefits-list {
  max-width: 680px;
}

.benefit-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  align-items: baseline;
}

.benefit-item:last-child {
  border-bottom: none;
}

.benefit-item h4 {
  font-size: 1rem;
  margin-bottom: 0;
}

.benefit-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* About page values — no boxes, just content */
.values-list {
  max-width: 680px;
}

.value-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}

.value-item:last-child {
  border-bottom: none;
}

.value-item h4 {
  margin-bottom: 6px;
}

.value-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Service list without price column (cybersecurity) */
.service-item-simple {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}

.service-item-simple:last-child {
  border-bottom: none;
}

.service-item-simple h4 {
  margin-bottom: 4px;
}

.service-item-simple p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* --- Utility overrides --- */
.mb-14 { margin-bottom: 14px; }
.mb-0 { margin-bottom: 0; }
.flex-shrink-0 { flex-shrink: 0; }

/* --- Portal links inline --- */
.portal-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.portal-divider {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
}

.portal-divider strong {
  display: block;
  margin-bottom: 12px;
}

/* --- Mobile Sticky CTA --- */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--primary);
  padding: 12px 20px;
  justify-content: space-between;
  align-items: center;
}

.mobile-cta a {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.mobile-cta .btn {
  padding: 8px 20px;
  font-size: 0.85rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  h1 { font-size: 2.1rem; }
  .hero h1 { font-size: 2.4rem; }
  h2 { font-size: 1.6rem; }

  .nav-main { display: none; }
  .header-rating { display: none; }
  .header-portals { display: none; }
  .menu-toggle { display: block; }

  .site-header {
    background: var(--bg);
    backdrop-filter: none;
  }

  .nav-main.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border-light);
    padding: 16px 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
  }

  .nav-main.open .nav-mobile-portal {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    padding-top: 8px;
    border-top: 1px solid var(--border-light);
  }

  .hero-split {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    aspect-ratio: 16/9;
    max-height: 280px;
  }

  .service-track {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .benefit-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .about-intro {
    grid-template-columns: 1fr;
  }

  .about-photo {
    width: 100%;
    height: 240px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .upsell-nudge {
    flex-direction: column;
    text-align: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  .mobile-cta {
    display: flex;
  }

  body {
    padding-bottom: 60px;
  }



  /* Plan table stacks on mobile */
  .plan-table,
  .plan-table thead,
  .plan-table tbody,
  .plan-table tr,
  .plan-table td,
  .plan-table th {
    display: block;
  }

  .plan-table thead {
    display: none;
  }

  .plan-table tbody tr {
    padding: 24px 0;
    border-bottom: 1px solid var(--border-light);
  }

  .plan-table tbody td {
    padding: 4px 0;
    border: none;
  }

  .plan-table .plan-cta {
    text-align: left;
    padding-top: 16px;
  }
}

@media (max-width: 600px) {
  h1 { font-size: 1.75rem; }
  .hero h1 { font-size: 2rem; }
  .hero-lead { font-size: 1.1rem; }
  .hero-phone a { font-size: 1.6rem; }
  .section { padding: 56px 0; }
  .section-compact { padding: 36px 0; }
  .hero { padding: 48px 0 40px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .cta-phone { font-size: 1.5rem; }
}
