/* ==========================================================================
   Santa Ana Appliance Repair — Complete Visual Override
   Design: Cinematic hero, asymmetric layouts, bold typography,
   editorial feel — NOT the standard template look.
   ========================================================================== */

/* ---------- Topbar ---------- */

.topbar {
  background-color: #122e22;
  color: rgba(255,255,255,0.7);
  font-size: 0.8125rem;
  padding: 0.4rem 0;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-location {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.topbar-phone {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.03em;
}

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

/* ---------- Nav overrides — logo image + text ---------- */

.nav-brand {
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo-img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-brand-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--primary-color);
  font-weight: 400;
}

.nav-brand-sub {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-text-muted);
}

@media (max-width: 480px) {
  .nav-logo-img {
    height: 36px;
    width: 36px;
  }

  .nav-brand-name {
    font-size: 1rem;
  }

  .nav-brand-sub {
    font-size: 0.55rem;
  }
}

/* ---------- Section labels (small uppercase text above headings) ---------- */

.overview-label,
.services-label,
.brands-label,
.testimonials-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

/* Center the ones in centered sections */
.services-label,
.brands-label,
.testimonials-label {
  text-align: center;
}

.section-heading {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: var(--space-lg);
}

/* =====================================================================
   HERO — CINEMATIC KEN BURNS ZOOM-OUT
   ===================================================================== */

.hero--cinematic {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

/* Background image layer — starts zoomed in 1.15x, zooms out to 1x over 20s */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: heroZoomOut 20s ease-out forwards;
  will-change: transform;
}

@keyframes heroZoomOut {
  0% {
    transform: scale(1.18);
  }
  100% {
    transform: scale(1.0);
  }
}

/* Gradient overlay — neutral dark, no color tint */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.45) 50%,
    rgba(0, 0, 0, 0.3) 100%
  );
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: var(--space-2xl) 0;
  max-width: 720px;
}

.hero-logo-mark {
  margin-bottom: var(--space-lg);
}

.hero-logo-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--space-md);
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 400;
  line-height: 1.08;
  margin-bottom: var(--space-lg);
  color: #fff;
  letter-spacing: -0.01em;
}

.hero-subtext {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-xl);
  max-width: 580px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

/* Ghost button style (outline) */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  border: 2px solid rgba(255,255,255,0.45);
  border-radius: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

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

.btn-ghost.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.0625rem;
}

/* Override rounded buttons — use sharp corners globally */
.btn {
  border-radius: 0;
}

.btn-primary {
  border-radius: 0;
}

.btn-secondary {
  border-radius: 0;
}

/* Hero trust bar */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.trust-stars {
  color: var(--color-star);
  letter-spacing: 1px;
}

.hero-trust-divider {
  color: rgba(255,255,255,0.3);
  margin: 0 0.25rem;
}

@media (max-width: 480px) {
  .hero--cinematic {
    min-height: 70vh;
  }

  .hero-trust-divider {
    display: none;
  }

  .hero-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
    text-align: center;
  }
}

/* =====================================================================
   VALUES — HORIZONTAL SCROLLING STRIP INSTEAD OF GRID
   ===================================================================== */

.values-section {
  background-color: var(--color-bg-cream);
  padding: var(--space-2xl) 0;
  overflow: hidden;
}

.values-section .section-heading {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.values-grid {
  display: flex;
  gap: 0;
  justify-content: stretch;
}

.value-item {
  flex: 1;
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  border-right: 1px solid var(--color-border);
}

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

.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 0;
  background-color: transparent;
  color: var(--accent-color);
  margin-bottom: var(--space-sm);
  border: 2px solid var(--accent-color);
}

.value-name {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.value-description {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .values-grid {
    flex-wrap: wrap;
  }

  .value-item {
    flex: 0 0 50%;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

  .value-item:nth-child(odd) {
    border-right: 1px solid var(--color-border);
  }

  .value-item:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  .value-item {
    flex: 0 0 100%;
    border-right: none !important;
  }

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

/* =====================================================================
   COMPANY OVERVIEW — ASYMMETRIC TWO-COLUMN SPLIT
   ===================================================================== */

.company-overview {
  padding: var(--space-3xl) 0;
  background-color: var(--color-bg);
}

.overview-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.overview-label {
  text-align: left;
}

.overview-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  color: var(--primary-color);
  margin-bottom: var(--space-lg);
  line-height: 1.2;
}

.overview-text p {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.75;
  margin-bottom: var(--space-md);
}

.overview-link {
  display: inline-block;
  margin-top: var(--space-md);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--accent-color);
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.overview-link:hover {
  color: var(--accent-color-dark);
  border-color: var(--accent-color-dark);
}

.overview-aside {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.overview-quote {
  background-color: var(--primary-color);
  color: #fff;
  padding: var(--space-2xl) var(--space-xl);
  position: relative;
}

.overview-quote::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--accent-color);
}

.overview-quote blockquote {
  border: none;
  padding: 0;
  margin: 0 0 var(--space-md);
  background: none;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.5;
  font-style: normal;
  color: #fff;
}

.overview-quote cite {
  font-style: normal;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
}

@media (max-width: 768px) {
  .overview-split {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .overview-aside {
    position: static;
  }
}

/* =====================================================================
   STATS BAR — HORIZONTAL WITH VERTICAL DIVIDERS
   ===================================================================== */

.stats-bar {
  background-color: var(--primary-color);
  padding: var(--space-xl) 0;
}

.stats-grid {
  display: flex;
  justify-content: center;
  gap: 0;
  text-align: center;
}

.stat-item {
  color: var(--color-text-inverse);
  flex: 1;
  padding: 0 var(--space-lg);
  border-right: 1px solid rgba(255,255,255,0.15);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.15rem;
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.6;
  font-weight: 600;
}

@media (max-width: 768px) {
  .stats-grid {
    flex-wrap: wrap;
  }

  .stat-item {
    flex: 0 0 50%;
    border-right: none;
    padding: var(--space-md);
  }
}

/* =====================================================================
   SERVICES — HORIZONTAL LIST, NOT CARD GRID
   ===================================================================== */

.services-section {
  background-color: var(--color-bg);
  padding: var(--space-3xl) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.services-label {
  text-align: center;
}

.services-section .section-heading {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.service-card {
  background-color: transparent;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid var(--color-border);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  background-color: var(--color-bg-cream);
  border-color: var(--primary-color);
  box-shadow: none;
  transform: none;
}

.service-card-body {
  padding: var(--space-xl) var(--space-lg);
}

.service-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
}

.service-card-title a {
  color: var(--primary-color);
}

.service-card-title a:hover {
  color: var(--accent-color);
}

.service-card-description {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.service-card-link {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-color);
}

.service-card-link:hover {
  color: var(--accent-color-dark);
}

.service-card-link::after {
  content: ' →';
  transition: none;
}

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

/* =====================================================================
   GUARANTEE — FULL-WIDTH BANNER, NOT CARD
   ===================================================================== */

.guarantee-section {
  padding: 0;
  background-color: var(--color-bg-cream);
}

.guarantee-card {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  max-width: none;
  margin: 0;
  padding: var(--space-2xl);
  background-color: var(--color-bg-cream);
  border-radius: 0;
  box-shadow: none;
  border-left: none;
  border-bottom: 1px solid var(--color-border);
}

.guarantee-badge {
  flex-shrink: 0;
  color: var(--primary-color);
}

.guarantee-content h2 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.guarantee-content > p {
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
  font-size: 0.95rem;
}

.guarantee-details {
  display: flex;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.guarantee-item {
  text-align: left;
}

.guarantee-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--accent-color);
  margin-bottom: 0;
  line-height: 1.2;
}

.guarantee-item span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

@media (max-width: 768px) {
  .guarantee-card {
    flex-direction: column;
    text-align: left;
    gap: var(--space-lg);
  }
}

/* =====================================================================
   BRANDS — TIGHT MINIMAL GRID
   ===================================================================== */

.brands-section {
  padding: var(--space-3xl) 0;
  background-color: var(--color-bg);
}

.brands-section .section-heading {
  text-align: center;
  margin-bottom: var(--space-sm);
}

.brands-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.brands-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
}

.brand-item {
  padding: 0.75rem 1.5rem;
  background-color: transparent;
  border: 1px solid var(--color-border);
  border-radius: 0;
  margin: -0.5px;
  transition: background-color 0.2s;
}

.brand-item:hover {
  background-color: var(--color-bg-cream);
  border-color: var(--primary-color);
  box-shadow: none;
  transform: none;
}

.brand-name {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-text);
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* =====================================================================
   BLOG PREVIEW
   ===================================================================== */

.blog-preview-section {
  padding: var(--space-3xl) 0;
  background-color: var(--color-bg-cream);
  border-top: 1px solid var(--color-border);
}

.blog-preview-section .section-heading {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.blog-preview-section .blog-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.blog-preview-section .blog-card {
  border-radius: 0;
  box-shadow: none;
  border: 1px solid var(--color-border);
  transition: border-color 0.2s;
}

.blog-preview-section .blog-card:hover {
  border-color: var(--primary-color);
  transform: none;
  box-shadow: none;
}

.blog-preview-cta {
  text-align: center;
  margin-top: var(--space-2xl);
}

@media (max-width: 768px) {
  .blog-preview-section .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================================
   TESTIMONIALS — STACKED NOT GRIDDED, WITH LARGE QUOTE MARKS
   ===================================================================== */

.testimonials-section {
  padding: var(--space-3xl) 0;
  background-color: var(--color-bg);
}

.testimonials-label {
  text-align: center;
}

.testimonials-section .section-heading {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.testimonial-card {
  background-color: transparent;
  border-radius: 0;
  padding: var(--space-xl);
  border: 1px solid var(--color-border);
  position: relative;
}

.testimonial-card:hover {
  border-color: var(--primary-color);
  box-shadow: none;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 0.75rem;
  right: 1.25rem;
  font-size: 5rem;
  line-height: 1;
  font-family: var(--font-heading);
  color: var(--color-bg-cream);
  pointer-events: none;
  z-index: 0;
}

.testimonial-quote {
  position: relative;
  z-index: 1;
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text);
}

.testimonial-stars {
  color: var(--accent-color);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: var(--space-sm);
}

.testimonial-author {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-md);
}

.testimonial-avatar-placeholder {
  background-color: var(--primary-color);
}

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

/* =====================================================================
   CTA — DARK FULL-WIDTH, SHARP AESTHETIC
   ===================================================================== */

.cta-section {
  background: var(--primary-color);
  color: var(--color-text-inverse);
  text-align: center;
  padding: var(--space-3xl) 0;
  border-top: 4px solid var(--accent-color);
}

.cta-section h2 {
  font-family: var(--font-heading);
  color: var(--color-text-inverse);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: var(--space-md);
  font-weight: 400;
}

.cta-section p {
  font-size: 1.0625rem;
  opacity: 0.8;
  max-width: 540px;
  margin: 0 auto var(--space-xl);
}

.cta-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section .btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  border-radius: 0;
  font-size: 1.125rem;
  padding: 1rem 2.5rem;
}

.cta-section .btn-primary:hover {
  background-color: var(--accent-color-dark);
  border-color: var(--accent-color-dark);
}

.cta-section .btn-ghost {
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}

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

/* =====================================================================
   SERVICE AREA — PILL TAGS
   ===================================================================== */

.service-area {
  padding: var(--space-3xl) 0;
  background-color: var(--color-bg-cream);
  border-top: 1px solid var(--color-border);
}

.service-area .section-heading {
  text-align: center;
}

.service-area-intro {
  text-align: center;
  color: var(--color-text-light);
  margin-bottom: var(--space-xl);
  font-size: 0.95rem;
}

.service-area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  list-style: none;
  padding: 0;
}

.service-area-list a {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary-color);
  transition: all 0.2s ease;
}

.service-area-list a:hover {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

/* =====================================================================
   FOOTER — 4-COLUMN WITH PROMINENT LOGO
   ===================================================================== */

.site-footer {
  background-color: #0f1f18;
  color: rgba(255,255,255,0.75);
  padding-top: var(--space-3xl);
}

.footer-logo-row {
  text-align: center;
  padding-bottom: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: left;
}

.footer-logo-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  flex-shrink: 0;
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.2rem;
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  margin: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 400;
  color: #fff;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--accent-color);
  display: inline-block;
}

.footer-nap {
  font-style: normal;
  line-height: 1.8;
  font-size: 0.9rem;
}

.footer-nap a {
  color: rgba(255,255,255,0.75);
}

.footer-nap a:hover {
  color: var(--accent-color-light);
}

.footer-phone-big {
  margin-top: var(--space-md);
}

.footer-phone-big a {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #fff;
  display: inline-block;
}

.footer-phone-big a:hover {
  color: var(--accent-color-light);
}

.footer-email-link {
  margin-top: 0.25rem;
}

.footer-email-link a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}

.footer-email-link a:hover {
  color: var(--accent-color-light);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--accent-color-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: var(--space-lg) 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================================
   GLOBAL OVERRIDES — Sharp corners, editorial feel
   ===================================================================== */

/* Remove all border-radius from cards and elements */
.blog-card,
.blog-card-image {
  border-radius: 0;
}

/* Override offer banner — no longer needed, replaced by topbar */
.offer-banner {
  display: none;
}
