/* ==========================================================================
   Alex Appliance Repair — AG Appliances-Inspired Design
   Clean, professional, white-and-blue, trust-focused layout
   ========================================================================== */

/* ---------- AG Container ---------- */
.ag-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- AG Section Heading ---------- */
.ag-section-heading {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 1rem;
}

/* ---------- AG Buttons ---------- */
.ag-btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  padding: 12px 28px;
  font-size: 1rem;
  transition: background 0.25s ease, transform 0.15s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}
.ag-btn--primary {
  background: #0066cc;
  color: #fff;
}
.ag-btn--primary:hover {
  background: #0055aa;
  transform: translateY(-1px);
}
.ag-btn--accent {
  background: #ff6b35;
  color: #fff;
}
.ag-btn--accent:hover {
  background: #e55a28;
  transform: translateY(-1px);
}
.ag-btn--lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

/* ==========================================================================
   HERO — Compact video banner (AG Appliances style)
   Short, punchy, with video zoom in background
   ========================================================================== */
.ag-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
  padding: 56px 24px 52px;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ag-hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.ag-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  0%   { transform: scale(1);   }
  100% { transform: scale(1.15); }
}
.ag-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.35);
}
.ag-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}
.ag-hero__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  margin: 0 0 12px;
  line-height: 1.15;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}
.ag-hero__subtitle {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  margin: 0 0 24px;
  opacity: 0.92;
  text-shadow: 0 1px 5px rgba(0,0,0,0.25);
}
.ag-btn--hero {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-decoration: none;
  background: #0066cc;
  color: #fff;
  font-size: 1.05rem;
  padding: 14px 36px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.ag-btn--hero:hover {
  background: #0055aa;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}

/* ==========================================================================
   BRAND LOGO STRIP — Horizontal row directly below hero (AG style)
   ========================================================================== */
.ag-brand-strip {
  background: #fff;
  border-bottom: 1px solid #e8eaed;
  padding: 20px 0;
}
.ag-brand-strip__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}
.ag-brand-strip__row img {
  height: 40px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.35);
  opacity: 0.75;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.ag-brand-strip__row img:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}
/* Circle/square logos need width constraint so they don't dominate */
.ag-brand-strip__row img[alt="LG"],
.ag-brand-strip__row img[alt="GE"],
.ag-brand-strip__row img[alt="Sub-Zero"] {
  height: 36px;
  max-width: 36px;
}

/* ==========================================================================
   VALUE PROPOSITIONS — 3 columns, clean cards
   ========================================================================== */
.ag-values {
  padding: 64px 0;
  background: #fff;
}
.ag-values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.ag-values__item {
  text-align: center;
  padding: 32px 24px;
}
.ag-values__icon {
  color: #0066cc;
  margin-bottom: 18px;
}
.ag-values__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 12px;
}
.ag-values__text {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  color: #555b6e;
  line-height: 1.65;
  margin: 0 0 16px;
}
.ag-values__link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0066cc;
  text-decoration: none;
}
.ag-values__link:hover {
  color: #004d99;
  text-decoration: underline;
}

/* ==========================================================================
   COMPANY OVERVIEW — Two-column text + image
   ========================================================================== */
.ag-overview {
  padding: 72px 0;
  background: #f7f8fa;
}
.ag-overview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.ag-overview__logo {
  max-width: 320px;
  height: auto;
  margin-bottom: 20px;
}
.ag-overview__heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 20px;
}
.ag-overview__content p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  color: #444;
  line-height: 1.7;
  margin: 0 0 16px;
}
.ag-overview__content .ag-btn {
  margin-top: 8px;
}
.ag-overview__image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* ==========================================================================
   SERVICE CARDS — 3x2 grid with hover
   ========================================================================== */
.ag-services {
  padding: 72px 0;
  background: #fff;
}
.ag-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 12px;
}
.ag-services__card {
  display: block;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e2e5ea;
  border-radius: 8px;
  padding: 36px 28px;
  text-align: center;
  transition: box-shadow 0.25s ease, transform 0.2s ease, border-color 0.25s ease;
}
.ag-services__card:hover {
  box-shadow: 0 8px 24px rgba(0,102,204,0.12);
  transform: translateY(-3px);
  border-color: #0066cc;
}
.ag-services__card-icon {
  color: #0066cc;
  margin-bottom: 16px;
}
.ag-services__card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 10px;
}
.ag-services__card-desc {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
  color: #555b6e;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   BRANDS GRID
   ========================================================================== */
.ag-brands {
  padding: 72px 0;
  background: #f7f8fa;
}
.ag-brands__subtitle {
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.05rem;
  color: #555b6e;
  margin: -4px 0 32px;
}
.ag-brands__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.ag-brands__item {
  background: #fff;
  border: 1px solid #dfe2e6;
  border-radius: 6px;
  padding: 12px 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #333;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ag-brands__item:hover {
  border-color: #0066cc;
  box-shadow: 0 2px 8px rgba(0,102,204,0.1);
}
.ag-brands__note {
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.92rem;
  color: #666;
  margin-top: 28px;
}
.ag-brands__note a {
  color: #0066cc;
  font-weight: 600;
  text-decoration: none;
}
.ag-brands__note a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   WARRANTY / GUARANTEES — 3-column
   ========================================================================== */
.ag-warranty {
  padding: 72px 0;
  background: #fff;
}
.ag-warranty__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 16px;
}
.ag-warranty__item {
  text-align: center;
  padding: 28px 20px;
  border: 1px solid #e2e5ea;
  border-radius: 8px;
  background: #fafbfc;
}
.ag-warranty__icon {
  color: #0066cc;
  margin-bottom: 14px;
}
.ag-warranty__item h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 10px;
}
.ag-warranty__item p {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
  color: #555b6e;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   COMPANY HISTORY — Image left, text right
   ========================================================================== */
.ag-history {
  padding: 72px 0;
  background: #f7f8fa;
}
.ag-history__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.ag-history__image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.ag-history__content h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 20px;
}
.ag-history__content p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  color: #444;
  line-height: 1.7;
  margin: 0 0 16px;
}
.ag-history__stats {
  display: flex;
  gap: 36px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 2px solid #e2e5ea;
}
.ag-history__stat {
  text-align: center;
}
.ag-history__stat strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #0066cc;
}
.ag-history__stat span {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.82rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.ag-testimonials {
  padding: 72px 0;
  background: #fff;
}
.ag-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 16px;
}
.ag-testimonials__card {
  background: #fafbfc;
  border: 1px solid #e8eaed;
  border-radius: 8px;
  padding: 28px 24px;
}
.ag-testimonials__stars {
  color: #f1c40f;
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.ag-testimonials__quote {
  margin: 0;
}
.ag-testimonials__quote p {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.65;
  font-style: italic;
  margin: 0;
}
.ag-testimonials__author {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1a1a2e;
  margin: 14px 0 0;
}

/* ==========================================================================
   SERVICE AREAS — Pill links
   ========================================================================== */
.ag-areas {
  padding: 64px 0;
  background: #f7f8fa;
}
.ag-areas__intro {
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.05rem;
  color: #555b6e;
  margin: -4px 0 28px;
}
.ag-areas__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.ag-areas__pill {
  display: inline-block;
  background: #fff;
  border: 1px solid #d0d5dd;
  border-radius: 24px;
  padding: 10px 22px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
}
.ag-areas__pill:hover {
  background: #0066cc;
  color: #fff;
  border-color: #0066cc;
}

/* ==========================================================================
   COUPON / EMAIL CTA
   ========================================================================== */
.ag-coupon {
  padding: 64px 0;
  background: linear-gradient(135deg, #003d7a 0%, #0066cc 100%);
  color: #fff;
}
.ag-coupon__inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.ag-coupon__inner h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 14px;
}
.ag-coupon__inner p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.05rem;
  opacity: 0.92;
  margin: 0 0 28px;
  line-height: 1.6;
}

/* ==========================================================================
   NAV OVERRIDES — AG Style (white bg, clean, Schedule Service button)
   ========================================================================== */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e8eaed;
  position: sticky;
  top: 0;
  z-index: 100;
}
.main-nav {
  background: transparent;
}
.nav__container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 70px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}
.nav__logo-img {
  height: 36px;
  width: 36px;
  object-fit: contain;
}
.nav__logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: #0066cc;
}
.nav__logo:hover .nav__logo-text {
  color: #004d99;
}
.nav__menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
  align-items: center;
}
.nav__item {
  margin: 0;
}
.nav__link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 4px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav__link:hover,
.nav__link--active {
  color: #0066cc;
  background: #f0f6ff;
}
.nav__phone {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0066cc;
  text-decoration: none;
  margin-left: 20px;
  padding: 10px 22px;
  background: #0066cc;
  color: #fff;
  border-radius: 4px;
  transition: background 0.2s ease;
}
.nav__phone:hover {
  background: #0055aa;
}

/* Hide hamburger on desktop */
.nav__toggle-input,
.nav__toggle-label {
  display: none;
}

/* ==========================================================================
   FOOTER OVERRIDES — AG Style
   ========================================================================== */
.site-footer {
  background: #1a1a2e;
  color: #c8ccd4;
  padding: 56px 0 0;
}
.footer__container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer__columns {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 40px;
}
.footer__heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
}
.footer__address,
.footer__address p {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
  color: #a0a8b8;
  font-style: normal;
  line-height: 1.7;
  margin: 0;
}
.footer__phone a,
.footer__email a {
  color: #7db8f0;
  text-decoration: none;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
}
.footer__phone a:hover,
.footer__email a:hover {
  color: #fff;
}
.footer__phone {
  margin-top: 12px;
}
.footer__email {
  margin-top: 4px;
}
.footer__gbp a {
  color: #7db8f0;
  text-decoration: none;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.88rem;
}
.footer__gbp {
  margin-top: 12px;
}
.footer__gbp a:hover {
  color: #fff;
}
.footer__link-list,
.footer__area-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer__link-list li,
.footer__area-list li {
  margin-bottom: 8px;
}
.footer__link-list a,
.footer__area-list a {
  color: #a0a8b8;
  text-decoration: none;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}
.footer__link-list a:hover,
.footer__area-list a:hover {
  color: #fff;
}
.footer__bottom {
  text-align: center;
  padding: 24px 0;
  margin-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.82rem;
  color: #666b7a;
}

/* ==========================================================================
   MOBILE CTA BAR
   ========================================================================== */
.mobile-cta {
  display: none;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
  .ag-values__grid,
  .ag-services__grid,
  .ag-warranty__grid,
  .ag-testimonials__grid {
    grid-template-columns: 1fr;
  }
  .ag-overview__grid,
  .ag-history__grid {
    grid-template-columns: 1fr;
  }
  .ag-history__image {
    order: -1;
  }
  .ag-hero__title {
    font-size: 1.8rem;
  }
  .ag-hero {
    padding: 40px 20px 36px;
    min-height: 55vh;
  }
  .ag-brand-strip__row {
    gap: 20px;
  }
  .ag-brand-strip__row img {
    height: 32px;
    max-width: 90px;
  }
  .footer__columns {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .ag-history__stats {
    flex-direction: column;
    gap: 18px;
  }

  /* Mobile nav */
  .nav__toggle-label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    order: 3;
    margin-left: 16px;
  }
  .nav__toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    border-radius: 2px;
    transition: transform 0.3s ease;
  }
  .nav__menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #e8eaed;
    padding: 16px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .nav__toggle-input:checked ~ .nav__menu {
    display: flex;
  }
  .nav__link {
    padding: 12px 0;
    font-size: 1rem;
  }
  .nav__phone.desktop-only {
    display: none;
  }

  /* Mobile CTA bar */
  .mobile-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: #0066cc;
    padding: 0;
  }
  .mobile-cta__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 16px;
    width: 100%;
  }
  .mobile-cta__icon {
    font-size: 1.2rem;
  }
}

@media (max-width: 600px) {
  .ag-hero__title {
    font-size: 1.5rem;
  }
  .ag-brand-strip__row {
    gap: 14px;
  }
  .ag-brand-strip__row img {
    height: 26px;
    max-width: 80px;
  }
  .ag-section-heading {
    font-size: 1.6rem;
  }
  .ag-brands__grid {
    gap: 10px;
  }
  .ag-brands__item {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
}
