:root {
  --primary-color: #ff7a00;
  --secondary-color: #102542;
  --accent-color: #1da1f2;
  --highlight-color: #ffd166;
  --light-bg: #f6f8fb;
  --text-color: #1f2937;
  --muted-color: #6b7280;
  --section-gradient: linear-gradient(135deg, #f3f8ff 0%, #fff4e9 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  background: #ffffff;
  line-height: 1.6;
}

/* Header */
.site-header {
  background: linear-gradient(120deg, rgba(16, 37, 66, 0.96), rgba(9, 28, 52, 0.95));
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-brand .brand-text {
  font-weight: 700;
  letter-spacing: 0.3px;
}

.logo-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  color: #fff;
}

.navbar-dark .navbar-nav .nav-link {
  color: #f1f5f9;
  font-weight: 500;
  padding: 0.5rem 1rem;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  color: var(--primary-color);
}

/* Hero */
.hero-section {
  position: relative;
  min-height: 85vh;
  padding-top: 110px;
  padding-bottom: 40px;
  background: linear-gradient(120deg, rgba(11, 31, 58, 0.96), rgba(27, 120, 201, 0.9)),
    url("images/ac776x512.jpg") center/cover no-repeat;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 122, 0, 0.24), transparent 44%),
    rgba(11, 31, 58, 0.62);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-tagline {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  color: #ffd7b5;
}

.hero-section h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.btn-cta {
  padding: 0.75rem 2rem;
  font-weight: 600;
  background: var(--primary-color);
  border: none;
  box-shadow: 0 10px 20px rgba(255, 122, 0, 0.35);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: end;
  margin-bottom: 1rem;
}

.location-controls {
  min-width: 230px;
}

.location-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.location-select-wrap {
  position: relative;
}

.location-select-wrap i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #ffdcbf;
  pointer-events: none;
  z-index: 2;
}

.location-filter {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border-radius: 999px;
  min-height: 42px;
  padding: 0.55rem 2.2rem 0.55rem 2.15rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 20px rgba(8, 22, 41, 0.28);
}

.location-filter:focus {
  border-color: var(--highlight-color);
  box-shadow: 0 0 0 0.2rem rgba(255, 209, 102, 0.25);
}

.location-filter option {
  color: #102542;
}

.quick-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
}

.contact-icon.contact-call {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.contact-icon.contact-whatsapp {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.footer-list .contact-icon {
  background: rgba(255, 255, 255, 0.12);
}

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

.contact-icon[data-phone]:hover::after {
  content: attr(data-phone);
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.75rem;
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(16, 37, 66, 0.95);
  color: #fff;
  z-index: 4;
}

.hero-locations {
  color: #f5f3ff;
  font-weight: 600;
  margin-top: 0.5rem;
}

/* Image strip */
.image-strip-section {
  background: var(--section-gradient);
  padding: 50px 0 30px;
}

.image-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.image-tile {
  margin: 0;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(16, 37, 66, 0.15);
  transform: translateY(0);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}

.image-tile img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.image-tile figcaption {
  padding: 12px 16px 16px;
  font-weight: 700;
  color: var(--secondary-color);
  text-align: center;
}

.image-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(16, 37, 66, 0.2);
}

.service-modal {
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(16, 37, 66, 0.25);
}

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

.section-title h2 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--muted-color);
  margin-bottom: 2rem;
}

/* Services */
.services-section {
  background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
}

.service-card {
  background: linear-gradient(155deg, #11294b 10%, #183b67 100%);
  color: #fff;
  padding: 2rem;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(16, 37, 66, 0.14);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.service-card .btn {
  margin-top: 1rem;
  border-color: #fff;
}

/* Why Choose Us */
.why-section {
  background: linear-gradient(135deg, #fff 0%, #fff7ea 100%);
}

.why-list {
  list-style: none;
  padding: 0;
}

.why-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  margin-bottom: 0.85rem;
  color: var(--secondary-color);
}

.why-list i {
  color: var(--primary-color);
}

/* Contact */
.contact-section {
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.contact-form {
  background: #fff;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid #eef2f7;
}

.form-status {
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: linear-gradient(120deg, #0f2546 0%, #0b1f3a 100%);
  color: #fff;
  padding: 50px 0 20px;
}

.site-footer h4,
.site-footer h5 {
  font-weight: 700;
}

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

.footer-list li {
  margin-bottom: 0.75rem;
}

.footer-list a {
  color: #d1d5db;
  text-decoration: none;
}

.footer-list a:hover {
  color: var(--primary-color);
}

.social-links a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  margin-left: 10px;
  transition: background 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 30px;
  padding-top: 20px;
  text-align: center;
  color: #d1d5db;
  font-size: 0.9rem;
}

@media (max-width: 991px) {
  .hero-section {
    padding-top: 130px;
    min-height: 80vh;
  }
}

@media (max-width: 767px) {
  .section-padding {
    padding: 60px 0;
  }

  .contact-form {
    padding: 2rem;
  }

  .social-links {
    margin-top: 1rem;
  }

  .image-strip {
    grid-template-columns: 1fr;
  }

  .image-tile img {
    aspect-ratio: 3 / 2;
  }

  .location-controls {
    min-width: 100%;
  }

  .hero-actions {
    gap: 10px;
  }

  .location-filter {
    min-height: 46px;
    font-size: 0.97rem;
  }

  .hero-actions .quick-actions {
    display: none;
  }

  .hero-locations {
    font-size: 0.95rem;
  }
}

@media (hover: none) {
  .contact-icon[data-phone]:hover::after {
    content: none;
  }
}

/* Mobile floating buttons */
.mobile-fab-wrap {
  display: none;
}

@media (max-width: 767px) {
  .mobile-fab-wrap {
    display: block;
  }

  .mobile-fab {
    position: fixed;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 14px 26px rgba(10, 24, 43, 0.28);
    z-index: 1060;
    font-size: 1.15rem;
  }

  .mobile-fab-call {
    left: 14px;
    background: linear-gradient(135deg, #ff7a00, #ff9446);
  }

  .mobile-fab-whatsapp {
    right: 14px;
    background: linear-gradient(135deg, #20c863, #14a84f);
  }
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}

.reveal:nth-child(2) {
  animation-delay: 0.1s;
}

.reveal:nth-child(3) {
  animation-delay: 0.2s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
