/* ============================================
   LoyalAir HVAC Solution Corporation
   Identity: Deep navy + warm brass + off-white
   Display: DM Serif Display
   Body: Outfit
   ============================================ */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #1e1e1e;
  background: #f7f5f0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.15em; }
:focus-visible { outline: 2px solid #d4a843; outline-offset: 3px; border-radius: 2px; }

/* --- TYPOGRAPHY SCALE --- */
h1, h2, h3, h4 {
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.08;
  margin: 0;
}
h1 { font-size: clamp(2.8rem, 8vw, 5.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

/* --- SECTION LABELS --- */
.section-label {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d4a843;
  margin-bottom: 0.75rem;
}
.section-title {
  margin-bottom: 2rem;
  max-width: 16em;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  line-height: 1.2;
}
.btn-primary {
  background: #d4a843;
  color: #0b1d28;
  border-color: #d4a843;
}
.btn-primary:hover {
  background: #c49a3a;
  border-color: #c49a3a;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(212, 168, 67, 0.35);
}
.btn-outline {
  background: transparent;
  color: #f7f5f0;
  border-color: #f7f5f0;
}
.btn-outline:hover {
  background: rgba(247, 245, 240, 0.12);
  transform: translateY(-1px);
}
.btn-large {
  font-size: 1.25rem;
  padding: 1.1rem 2.8rem;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b1d28;
  color: #f7f5f0;
  overflow: hidden;
  padding: 2rem 1.5rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(212, 168, 67, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(212, 168, 67, 0.05) 0%, transparent 50%),
    linear-gradient(160deg, #0b1d28 0%, #132a3a 50%, #0b1d28 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 100%;
}
.hero-badge {
  display: inline-block;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d4a843;
  border: 1px solid rgba(212, 168, 67, 0.35);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero-title {
  color: #f7f5f0;
  margin-bottom: 1.25rem;
  max-width: 12ch;
}
.hero-sub {
  font-family: "Outfit", sans-serif;
  font-weight: 300;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.5;
  color: rgba(247, 245, 240, 0.75);
  max-width: 32em;
  margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.hero-phone-float {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 3;
}
.hero-phone-float a {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #d4a843;
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(212, 168, 67, 0.3);
  border-radius: 4px;
  transition: background 0.2s;
}
.hero-phone-float a:hover {
  background: rgba(212, 168, 67, 0.1);
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 3rem;
  padding: 1.75rem 1.5rem;
  background: #0b1d28;
  border-top: 1px solid rgba(212, 168, 67, 0.15);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(247, 245, 240, 0.8);
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
}
.trust-icon {
  color: #d4a843;
  font-size: 1.1rem;
}

/* ============================================
   REVIEWS
   ============================================ */
.reviews {
  padding: 5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.review-card {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border-left: 4px solid #d4a843;
}
.review-stars {
  color: #d4a843;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.review-card blockquote {
  margin: 0;
}
.review-card blockquote p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
  margin: 0 0 0.75rem 0;
}
.review-card cite {
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
  color: #0b1d28;
}
.review-rating {
  color: #d4a843;
  font-weight: 600;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: 5rem 1.5rem;
  background: #fff;
}
.services .section-label,
.services .section-title {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.service-card {
  background: #f7f5f0;
  border-radius: 8px;
  padding: 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.service-icon {
  color: #d4a843;
  margin-bottom: 1.25rem;
  width: 48px;
  height: 48px;
}
.service-card h3 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #0b1d28;
}
.service-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
  padding: 5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.gallery-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-grid img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.gallery-grid img:first-child {
  grid-column: 1 / -1;
  height: 360px;
}

/* ============================================
   HOURS
   ============================================ */
.hours {
  padding: 5rem 1.5rem;
  background: #0b1d28;
  color: #f7f5f0;
}
.hours-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hours-info .section-label {
  color: #d4a843;
}
.hours-info .section-title {
  color: #f7f5f0;
}
.hours-body {
  font-family: "Outfit", sans-serif;
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(247, 245, 240, 0.7);
  margin-bottom: 2rem;
  max-width: 32em;
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
}
.hours-table td {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(247, 245, 240, 0.08);
}
.hours-table td:first-child {
  font-weight: 500;
  color: rgba(247, 245, 240, 0.6);
  width: 40%;
}
.hours-table td:last-child {
  text-align: right;
  color: #f7f5f0;
}
.hours-cta {
  text-align: center;
  padding: 2rem;
  border: 1px solid rgba(212, 168, 67, 0.25);
  border-radius: 8px;
  background: rgba(212, 168, 67, 0.04);
}
.hours-cta-label {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.5rem;
  color: #f7f5f0;
  margin: 0 0 1.5rem 0;
}
.hours-cta-small {
  font-size: 0.85rem;
  color: rgba(247, 245, 240, 0.5);
  margin-top: 1rem;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact {
  padding: 5rem 1.5rem;
  max-width: 720px;
  margin: 0 auto;
}
.contact-intro {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 2.5rem;
  max-width: 28em;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  color: #333;
}
.contact-form input,
.contact-form textarea {
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  color: #1e1e1e;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #d4a843;
  box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.15);
}
.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}
.btn-submit {
  align-self: flex-start;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.form-status {
  font-size: 0.9rem;
  color: #0b1d28;
  margin: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #0b1d28;
  color: rgba(247, 245, 240, 0.6);
  padding: 2.5rem 1.5rem;
  font-size: 0.9rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
}
.footer-brand strong {
  color: #f7f5f0;
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  font-size: 1.1rem;
}
.footer-brand p {
  margin: 0.25rem 0 0 0;
  font-size: 0.85rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  align-items: center;
  margin: 0.5rem 0;
}
.footer-links a {
  color: #d4a843;
  text-decoration: none;
}
.footer-links a:hover {
  text-decoration: underline;
}
.footer-sep {
  color: rgba(247, 245, 240, 0.2);
}
.attribution {
  margin: 0.75rem 0 0 0;
  font-size: 0.75rem;
  opacity: 0.6;
}
.attribution a {
  color: rgba(247, 245, 240, 0.5);
  text-decoration: none;
}
.attribution a:hover {
  color: #d4a843;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .hero {
    min-height: 90vh;
    padding: 2rem 1.25rem;
    align-items: flex-end;
    padding-bottom: 3rem;
  }
  .hero-title {
    max-width: 100%;
  }
  .hero-sub {
    margin-bottom: 2rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
  .hero-phone-float {
    position: static;
    margin-bottom: 1rem;
    text-align: right;
  }
  .hero-phone-float a {
    font-size: 1rem;
    padding: 0.3rem 0.6rem;
  }

  .trust-bar {
    gap: 1rem 1.5rem;
    padding: 1.25rem 1rem;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }
  .review-card {
    padding: 1.5rem;
  }

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

  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid img {
    height: 220px;
  }
  .gallery-grid img:first-child {
    height: 250px;
  }

  .hours-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hours-cta {
    padding: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
  .contact {
    padding: 3rem 1.25rem;
  }

  .btn-large {
    font-size: 1.1rem;
    padding: 1rem 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(2.2rem, 12vw, 3rem);
  }
  .hero-badge {
    font-size: 0.65rem;
  }
  .section-title {
    font-size: clamp(1.6rem, 7vw, 2rem);
  }
}

/* --- REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto;
  }
}
