:root {
  --primary: #1f4e79;
  --primary-dark: #163854;
  --accent: #ffb703;
  --text: #1f2933;
  --muted: #52606d;
  --surface: #ffffff;
  --surface-alt: #f4f7fb;
  --border: #d9e2ec;
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  --hero-image: linear-gradient(rgba(10, 25, 41, 0.72), rgba(10, 25, 41, 0.62)),
    url("https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=1400&q=80");
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  background-attachment: fixed;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1200px, calc(100% - 3rem));
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--primary-dark);
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  color: var(--muted);
  margin: 0 auto 3rem;
  max-width: 700px;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.01em;
}

.brand img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.menu-toggle {
  display: none;
  border: 0;
  background: var(--primary);
  color: #fff;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.1rem;
  border-radius: 10px;
  font-weight: 600;
  color: var(--primary-dark);
  transition: all 0.25s ease;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
}

.nav-links a:hover {
  background: var(--surface-alt);
  color: var(--primary);
}

/* Floating Action Buttons */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.floating-btn {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.35s ease,
    background 0.35s ease;
  cursor: pointer;
  border: none;
  outline: none;
}

.floating-btn:hover,
.floating-btn:focus-visible {
  transform: scale(1.08) translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.floating-btn:active {
  transform: scale(1.02) translateY(-1px);
}

.floating-btn.call {
  background: linear-gradient(145deg, #0d8bff, #007bff);
}

.floating-btn.call:hover,
.floating-btn.call:focus-visible {
  background: linear-gradient(145deg, #2a9bff, #0d8bff);
}

.floating-btn.whatsapp {
  background: linear-gradient(145deg, #25d366, #128c7e);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
}

.floating-btn.whatsapp::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  z-index: -1;
  animation: whatsapp-pulse 2.5s ease-out infinite;
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  70% {
    transform: scale(1.45);
    opacity: 0;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

.floating-btn.whatsapp:hover,
.floating-btn.whatsapp:focus-visible {
  background: linear-gradient(145deg, #2fe072, #25d366);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.55);
}

.floating-btn i {
  font-size: 1.65rem;
  line-height: 1;
  display: block;
}

.floating-btn.whatsapp i {
  font-size: 1.85rem;
}

.floating-btn .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 560px) {
  .floating-actions {
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .floating-btn {
    width: 54px;
    height: 54px;
  }

  .floating-btn.whatsapp i {
    font-size: 1.7rem;
  }
}

/* Professional Footer */
.site-footer {
  background: #1a202c;
  color: #e2e8f0;
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand {
  margin-bottom: 1.5rem;
}

.footer-brand .brand {
  color: #fff;
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #a0aec0;
}

.footer-heading {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #a0aec0;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}

.footer-contact-icon {
  color: var(--accent);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: #718096;
}

/* Map Section */
.map-section {
  width: 100%;
  height: 500px;
  margin-top: 2rem;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Reviews Section */
.reviews-grid {
  display: block;
  margin-top: 2rem;
}

.submitted-reviews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  padding-right: 0.5rem;
}

.review-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem;
  animation: fadeIn 0.5s ease;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.review-name {
  font-weight: 700;
  color: var(--primary-dark);
}

.review-stars {
  color: var(--accent);
  font-size: 0.9rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero {
  background: var(--hero-image) center/cover no-repeat;
  color: #fff;
  padding: 5.5rem 0 4rem;
}

.hero-grid {
  display: block;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  line-height: 1.08;
  margin-bottom: 1rem;
}

.hero-copy p {
  margin: 0 auto 1.5rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 1.3rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.9rem 1.25rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.button-primary {
  background: var(--accent);
  color: #12263a;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.card {
  background: var(--surface);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 1.4rem;
  border: 1px solid rgba(217, 226, 236, 0.75);
}

iframe {
  width: 100%;
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.stat-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.1rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-box strong {
  display: block;
  font-size: 1.5rem;
  color: var(--primary-dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  text-align: left;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.14);
}

.service-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(31, 78, 121, 0.1);
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

.service-details {
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px dashed var(--border);
}

.service-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  margin-top: 1rem;
  border: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  align-items: start;
}

.contact-grid {
  display: block;
  max-width: 600px;
  margin: 0 auto;
}

.info-stack {
  display: grid;
  gap: 1rem;
}

.info-card h3,
.contact-card h3 {
  color: var(--primary-dark);
  margin-bottom: 0.7rem;
}

.contact-list {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0 1.2rem;
}

.contact-item {
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
}

.contact-item strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--primary-dark);
}

.map-frame {
  min-height: 280px;
  border: 0;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-links a {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--primary-dark);
  border: 1px solid var(--border);
  font-weight: 700;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  transform: translateY(-2px);
  background: var(--primary);
  color: #fff;
}

@media (max-width: 960px) {
  .about-grid,
  .contact-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .quick-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.7rem);
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    padding: 0.8rem;
    border-radius: 18px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
  }

  .hero {
    padding-top: 4.3rem;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 3.5rem 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
