/* ═══════════════ RESET & BASE ═══════════════ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --blue: #1565C0;
  --blue-dark: #0D47A1;
  --blue-light: #1E88E5;
  --orange: #FF8C00;
  --orange-light: #FFA533;
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.05);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--blue-dark);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue);
  text-decoration: none;
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ═══════════════ NAVBAR ═══════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 38px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ═══════════════ BUTTONS ═══════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-accent {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.btn-accent:hover {
  background: var(--orange-light);
  border-color: var(--orange-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--blue-dark);
}

.btn-request {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn-request:hover {
  background: var(--blue);
  color: var(--white);
}

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

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

/* ═══════════════ HERO ═══════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: url('images/hero.jpg') center 60%/cover no-repeat;
  color: var(--white);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 71, 161, 0.8);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 0 80px;
  text-align: center;
}

.hero-logo {
  max-width: 260px;
  height: auto;
  margin-bottom: 24px;
  border-radius: 8px;
}

.hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.accent {
  color: var(--orange);
}

.hero-sub {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ═══════════════ SECTIONS ═══════════════ */
.section {
  padding: 80px 0;
  background: var(--white);
}

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

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--gray-900);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-600);
  font-size: 1.1rem;
  margin-bottom: 48px;
}

/* ═══════════════ ABOUT ═══════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 40px;
}

.about-text p {
  color: var(--gray-600);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.check-list {
  list-style: none;
  margin-top: 20px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--gray-700);
  font-weight: 500;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  background: var(--orange);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

.about-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-photo {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

/* ═══════════════ REVIEWS ═══════════════ */
.reviews-header {
  text-align: center;
  margin-bottom: 32px;
}

.reviews-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.reviews-stars .star {
  color: var(--orange);
  font-size: 1.3rem;
}

.reviews-score {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--gray-900);
}

.reviews-count {
  color: var(--gray-600);
  font-size: 0.95rem;
}

.reviews-carousel {
  position: relative;
  overflow-x: scroll;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  padding-bottom: 8px;
}

.reviews-carousel::-webkit-scrollbar {
  display: none;
}

.reviews-carousel:active {
  cursor: grabbing;
}

.reviews-track {
  display: inline-flex;
  gap: 16px;
  padding: 4px 0;
}

.review-card {
  flex-shrink: 0;
  width: 300px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.review-stars {
  color: var(--orange);
  font-size: 1rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.review-text {
  color: var(--gray-700);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.review-author strong {
  display: block;
  color: var(--gray-900);
  font-size: 0.9rem;
}

.review-author span {
  color: var(--gray-600);
  font-size: 0.75rem;
}

.reviews-cta {
  text-align: center;
  margin-top: 32px;
}

/* ═══════════════ SERVICES ═══════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card-wrap {
  -webkit-perspective: 800px;
  perspective: 800px;
  aspect-ratio: 1;
}

.service-card {
  position: relative;
  border-radius: var(--radius);
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  cursor: pointer;
}

.service-card-wrap:hover .service-card,
.service-card-wrap.flipped .service-card {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
}

.service-front,
.service-back {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  padding: 16px 12px;
  box-shadow: var(--shadow);
}

.service-front {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  transform: rotateY(0deg);
  -webkit-transform: rotateY(0deg);
  z-index: 2;
}

.service-front::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 71, 161, 0.55);
  border-radius: var(--radius);
}

.service-back {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
  background: rgba(248, 250, 252, 0.97);
  border: 2px solid var(--blue);
  color: var(--gray-800);
  align-items: center;
  justify-content: center;
  padding: 10%;
  overflow: hidden;
}

.service-back h3 {
  font-size: clamp(0.8rem, 1.5vw, 0.95rem);
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 6%;
  text-align: center;
  padding-bottom: 5%;
  border-bottom: 2px solid var(--orange);
  width: auto;
}

.service-back ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
  width: 100%;
}

.service-back ul li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 4px;
  font-size: clamp(0.7rem, 1.3vw, 0.82rem);
  line-height: 1.45;
  color: var(--gray-900);
  font-weight: 600;
  text-transform: capitalize;
}

.service-back ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
}

.service-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.45);
  color: var(--orange);
  margin-bottom: 10px;
}

.service-more-front {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue)) !important;
}

.service-more-front::before {
  display: none;
}

.service-card-more {
  text-decoration: none;
}

.service-back .more-cta {
  color: var(--gray-600);
  font-size: clamp(0.65rem, 1.2vw, 0.9rem);
  margin-bottom: 12px;
  text-align: center;
}

.strut-icon {
  background: transparent !important;
}

.strut-icon img {
  border-radius: 6px;
  filter: sepia(1) saturate(5) hue-rotate(-15deg) brightness(1.1);
}

.service-front h3 {
  position: relative;
  z-index: 1;
  font-size: clamp(0.75rem, 1.3vw, 0.9rem);
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  background: rgba(0, 0, 0, 0.45);
  padding: 4px 12px;
  border-radius: 6px;
}

/* ═══════════════ CTA BANNER ═══════════════ */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--white);
  text-align: center;
  padding: 60px 0;
}

.cta-banner h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-banner p {
  opacity: 0.9;
  font-size: 1.1rem;
  margin-bottom: 28px;
}

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

/* ═══════════════ CONTACT ═══════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 40px;
}

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

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item svg {
  flex-shrink: 0;
  color: var(--blue);
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.contact-item p {
  color: var(--gray-600);
  line-height: 1.6;
}

.contact-item a {
  color: var(--blue);
  font-weight: 500;
}

.contact-item a:hover {
  color: var(--orange);
}

.hours-table {
  border-collapse: collapse;
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

.hours-table td {
  padding: 2px 0;
}

.hours-table td:first-child {
  font-weight: 600;
  color: var(--gray-700);
  padding-right: 20px;
}

.hours-table td:last-child {
  text-align: right;
}

.contact-map {
  min-height: 350px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.contact-map iframe {
  display: block;
}

/* ═══════════════ FOOTER ═══════════════ */
.footer {
  background: var(--gray-900);
  color: var(--gray-200);
  padding: 40px 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.02em;
}

.footer-brand p {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-top: 4px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: var(--gray-600);
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--orange);
}

.footer-copy {
  color: var(--gray-600);
  font-size: 0.8rem;
}

/* ═══════════════ MOBILE ═══════════════ */
/* ═══════════════ BOTTOM NAV (mobile) ═══════════════ */
.bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  /* Hide desktop nav items + hamburger on mobile */
  .nav-toggle,
  .nav-links {
    display: none !important;
  }

  /* Show bottom nav */
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
    padding: 6px 0 env(safe-area-inset-bottom, 6px);
    justify-content: space-around;
    align-items: center;
  }

  .bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: var(--gray-600);
    font-size: 0.7rem;
    font-weight: 500;
    text-decoration: none;
    padding: 6px 12px;
    transition: color 0.2s;
  }

  .bottom-nav a:hover,
  .bottom-nav a:active {
    color: var(--blue);
  }

  .bottom-nav .bottom-nav-call {
    color: var(--white);
    background: var(--orange);
    border-radius: 28px;
    padding: 10px 20px;
    margin-top: -24px;
    gap: 4px;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.4);
    font-size: 0.75rem;
    font-weight: 700;
  }

  .bottom-nav .bottom-nav-call:hover,
  .bottom-nav .bottom-nav-call:active {
    color: var(--white);
    background: var(--orange-light);
  }

  /* Add padding at bottom so content isn't hidden behind bottom nav */
  .footer {
    padding-bottom: 80px;
  }

  .hero {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero-content {
    padding: 80px 0 100px;
  }

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

  .about-image {
    order: -1;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

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

  .contact-map {
    min-height: 280px;
  }

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

  .hero-actions .btn {
    justify-content: center;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1025px) and (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ═══════════════ FADE-IN ANIMATION ═══════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
