:root {
  --primary-color: #00a8ff;
  --primary-hover: #33b9ff;
  --text-dark: #1e293b;
  /* slate-800 */
  --text-medium: #475569;
  /* slate-600 */
  --text-light: #94a3b8;
  /* slate-400 */
  --bg-light: #f8fafc;
  /* slate-50 */
  --white: #ffffff;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --container-width: 1280px;
  --font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.5;
}

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.text-center {
  text-align: center;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.flex-grow {
  flex-grow: 1;
}

.w-full {
  width: 100%;
}

.h-auto {
  height: auto;
}

.hidden {
  display: none;
}

/* Header */
header {
  background-color: var(--primary-color);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-md);
}

.header-content {
  height: 5rem;
  /* h-20 */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-img {
  height: 2.5rem;
  /* h-10 */
  width: auto;
}

.btn-consult {
  background-color: var(--white);
  color: var(--primary-color);
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  transition: background-color 150ms;
}

.btn-consult:hover {
  background-color: #f3f4f6;
  /* gray-100 */
}

/* Hero */
.hero-section {
  background-color: var(--white);
  margin-top: 1.25rem;
}

.hero-img {
  max-width: 1472px;
  display: block;
  margin: 0 auto;
  width: 100%;
}

/* Sections General */
section {
  padding: 4rem 0;
}

@media (min-width: 1024px) {
  section {
    padding: 6rem 0;
  }
}

.section-title {
  font-size: 2.25rem;
  /* 4xl */
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  /* lg */
  color: var(--text-medium);
  max-width: 42rem;
  margin: 0 auto;
}

/* Specialties (Grid) */
.specialties-section {
  background-color: var(--bg-light);
}

.specialties-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .specialties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .specialties-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.specialty-card {
  position: relative;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

.specialty-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 300ms;
}

.specialty-card:hover .specialty-overlay {
  background-color: rgba(0, 0, 0, 0.3);
}

.specialty-title {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}

/* Services (Grid) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1rem;
}

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

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

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

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
  border-radius: 0.5rem;
  transition: box-shadow 300ms;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
}

.service-icon-wrapper {
  padding: 0.75rem;
  background-color: #e0f5ff;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon {
  width: 2rem;
  height: 2rem;
  color: var(--primary-color);
}

.service-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  /* slate-700 */
}

/* Partners (Carousel) */
.partners-wrapper {
  position: relative;
  overflow: hidden;
  padding: 1rem 0;
}

.partners-track {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  transition: transform 500ms ease-in-out;
}

.partner-item {
  flex-shrink: 0;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.partner-placeholder {
  width: 100%;
  height: 100%;
  border: 1px solid #d1d5db;
  background-color: #f3f4f6;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-medium);
  padding: 0.5rem;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #f3f4f6;
  border: none;
  border-radius: 50%;
  padding: 0.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  z-index: 10;
  color: var(--text-medium);
}

.carousel-btn:hover {
  background-color: #e5e7eb;
}

.carousel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.carousel-btn.prev {
  left: 0;
}

.carousel-btn.next {
  right: 0;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  gap: 0.5rem;
}

.dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: #d1d5db;
  border: none;
  cursor: pointer;
  transition: background-color 300ms;
}

.dot.active {
  background-color: var(--primary-color);
}

.partners-cta {
  margin-top: 3rem;
  text-align: center;
}

.btn-outline {
  padding: 0.75rem 2rem;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 300ms;
  text-transform: uppercase;
}

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

/* Map */
.map-container {
  max-width: 64rem;
  /* 5xl */
  margin: 0 auto;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.map-iframe {
  width: 100%;
  height: 24rem;
  /* 96 */
  border: 0;
}

@media (min-width: 768px) {
  .map-iframe {
    height: 450px;
  }
}

/* Footer */
footer {
  background-color: #1e293b;
  /* slate-800 */
  color: #cbd5e1;
  /* slate-300 */
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-logo {
  height: 2.5rem;
  margin-bottom: 0.5rem;
}

.footer-heading {
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 1.75rem;
  height: 1.75rem;
  color: inherit;
  transition: color 150ms;
}

.social-icon:hover {
  color: var(--primary-color);
}

.contact-list {
  list-style: none;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.contact-icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.75rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.contact-item a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 150ms;
}

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

.footer-bottom {
  border-top: 1px solid #334155;
  /* slate-700 */
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  display: block;
  opacity: 0;
  transform: translateY(100%);
  animation: slideUp 0.5s ease-out 1s forwards;
  /* 1s delay, 0.5s duration */
}

.floating-whatsapp img {
  display: block;
  width: 300px;
  /* 300px width */
  height: auto;
  /* Maintain aspect ratio */
  max-width: 80vw;
  /* Max width 80% of viewport width for mobile */
}

@media (max-width: 768px) {
  .floating-whatsapp {
    bottom: 10px;
    right: 10px;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(100%);
  }

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