:root {
  --navy-dark: #000c28;
  --primary-blue: #0073ff;
  --primary-green: #00a100;
  --whatsapp-green: #25d366;
  --text-light: #ffffff;
  --text-muted: #94a3b8;
  --font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.18);
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: #ffffff;
  color: #1e293b;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

.navbar-header {
  background-color: var(--navy-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s var(--transition-smooth);
}

.nav-container {
  max-width: 1250px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 1.5rem;
  position: relative;
}

.site-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.hamburger-line {
  width: 28px;
  height: 3px;
  background-color: #ffffff;
  border-radius: 3px;
  transition: all 0.3s var(--transition-smooth);
  transform-origin: center;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

.main-nav ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--text-light);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  transition: width 0.3s var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-blue);
}

.dropdown {
  position: relative;
}

.nav-arrow {
  font-size: 0.7rem;
  margin-left: 3px;
  transition: transform 0.3s ease;
}

.dropdown:hover .nav-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--navy-dark);
  min-width: 240px;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 0 !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s var(--transition-smooth);
  border-top: 3px solid var(--primary-blue);
  padding: 0.25rem 0;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.75rem 1.2rem;
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s ease, padding-left 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--primary-blue);
  padding-left: 1.5rem;
}

.dropdown-menu i {
  color: var(--primary-blue);
  width: 16px;
}

.btn-contact-header {
  background-color: #ffffff;
  color: var(--navy-dark);
  padding: 0.45rem 1.2rem;
  border-radius: 20px;
  font-weight: 800;
  font-size: 0.8rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

.btn-contact-header:hover {
  background-color: var(--primary-blue);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 115, 255, 0.3);
}

.hero-section {
  position: relative;
  height: 80vh;
  min-height: 480px;
  display: flex;
  align-items: center;
}

.hero-bg-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 12, 40, 0.85) 0%, rgba(0, 12, 40, 0.25) 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1250px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-text-box h1 {
  font-size: 3.8rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-text-box h1.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.hero-text-box h2,
.hero-text-box h3 {
  font-size: 3.2rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.05;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-text-box h2.animate-in {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.hero-text-box h3.animate-in {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.hero-text-box h3 {
  margin-bottom: 1.2rem;
}

.hero-text-box p {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  margin-bottom: 1.8rem;
  max-width: 480px;
  background: rgba(0, 12, 40, 0.4);
  padding: 6px 10px;
  border-radius: 4px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-text-box p.animate-in {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.btn-hero-whatsapp {
  display: inline-flex;
  align-items: center;
  background-color: var(--primary-blue);
  color: #ffffff;
  padding: 0.8rem 1.6rem;
  border-radius: 30px;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(0, 115, 255, 0.4);
  transition: all 0.3s var(--transition-smooth);
  opacity: 0;
  transform: translateY(30px);
}

.btn-hero-whatsapp.animate-in {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.btn-hero-whatsapp:hover {
  background-color: #005cd6;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 115, 255, 0.5);
}

.services-section {
  padding: 4rem 1.5rem;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

.services-section .container {
  position: relative;
  z-index: 1;
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.section-title h2 {
  color: var(--primary-blue);
  font-size: 1.6rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.section-title h2.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.section-title h3 {
  color: var(--primary-green);
  font-size: 1.8rem;
  font-weight: 900;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.section-title h3.animate-in {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.services-row {
  display: flex;
  gap: 10px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.service-card {
  flex: 1;
  position: relative;
  height: 380px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: block;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.95);
  transition: flex 0.6s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.6s ease, transform 0.6s ease, box-shadow 0.6s var(--transition-smooth);
  will-change: flex;
  min-width: 0;
}

.service-card.animate-in {
  opacity: 1;
  transform: scale(1);
}

.service-card:hover {
  flex: 2.2;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition-smooth);
}

.service-card:hover img {
  transform: scale(1.05);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.05) 60%);
  display: flex;
  align-items: flex-end;
  padding: 1rem 0.6rem;
  transition: background 0.6s var(--transition-smooth);
}

.service-card:hover .card-overlay {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.1) 60%);
}

.card-title {
  color: #ffffff;
  font-weight: 800;
  font-size: 0.88rem;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: opacity 0.3s ease;
  white-space: nowrap;
  display: inline-block;
  opacity: 1;
}

.card-title.vertical {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  width: auto;
  overflow: visible;
  animation: none;
}

.service-card:hover .card-title {
  writing-mode: horizontal-tb;
  transform: rotate(0deg);
  font-size: 1rem;
  white-space: nowrap;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  opacity: 1;
  display: inline-block;
  animation: typewriterHorizontal 0.8s steps(20) 0.3s forwards;
}

.service-card:hover .card-title.vertical {
  opacity: 0;
  animation: none;
}

@keyframes typewriterHorizontal {
  0% {
    width: 0;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    width: 100%;
    opacity: 1;
  }
}

@keyframes typewriterVertical {
  0% {
    width: 0;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    width: 100%;
    opacity: 1;
  }
}

.about-section {
  padding: 4rem 1.5rem;
  background-color: #f8fafc;
  position: relative;
  overflow: hidden;
}

.about-section .container {
  position: relative;
  z-index: 1;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.about-image-wrapper {
  overflow: hidden;
  border-radius: 10px;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.about-image-wrapper.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.about-img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.5s var(--transition-smooth), box-shadow 0.3s ease;
}

.about-img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.about-text-content {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.about-text-content.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.about-text-content .subtitle {
  color: var(--primary-green);
  font-weight: 800;
  font-size: 1rem;
}

.about-text-content h2 {
  color: var(--primary-blue);
  font-size: 1.6rem;
  font-weight: 900;
  margin: 0.4rem 0 1.2rem 0;
  line-height: 1.2;
}

.about-text-content p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.btn-dark {
  display: inline-block;
  background-color: var(--navy-dark);
  color: #ffffff;
  padding: 0.75rem 1.6rem;
  border-radius: 20px;
  font-weight: 800;
  font-size: 0.8rem;
  transition: all 0.3s var(--transition-smooth);
  box-shadow: 0 2px 8px rgba(0, 12, 40, 0.2);
}

.btn-dark:hover {
  background-color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 115, 255, 0.3);
}

.map-section {
  position: relative;
  color: #ffffff;
  padding: 3.5rem 1.5rem 2rem 1.5rem;
  text-align: center;
  overflow: hidden;
}

.map-background-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.map-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(6px);
  opacity: 0.08;
}

.map-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 110, 18, 0.88), rgba(7, 42, 122, 0.88));
  z-index: 1;
}

.map-content {
  position: relative;
  z-index: 2;
}

.map-section h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.map-section h2.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.map-content-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1050px;
  margin: 0 auto;
}

.map-interactive-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.map-interactive-wrapper.animate-in {
  opacity: 1;
  transform: scale(1);
}

.map-layer {
  width: 100%;
  height: auto;
  display: block;
}

.map-guardas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  pointer-events: none;
}

.map-info {
  text-align: left;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.map-info.animate-in {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.2s;
}

.map-info p {
  font-size: 0.98rem;
  line-height: 1.55;
  margin-bottom: 1.2rem;
  color: #e2e8f0;
}

.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.benefits-list li {
  font-weight: 700;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.benefits-list i {
  color: #ffffff;
}

.map-banner-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.map-banner-footer.animate-in {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.map-banner-footer h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.btn-map-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-green);
  color: #ffffff;
  padding: 0.75rem 1.8rem;
  border-radius: 30px;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(0, 161, 0, 0.4);
  transition: all 0.3s var(--transition-smooth);
}

.btn-map-whatsapp:hover {
  background-color: #008200;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 161, 0, 0.5);
}

.main-footer {
  background-color: var(--navy-dark);
  color: #ffffff;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
  max-width: 1250px;
  margin: 0 auto;
}

.footer-title {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: 0.8px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.2rem;
}

.footer-col {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding-right: 1rem;
}

.footer-col:last-child {
  border-right: none;
}

.footer-col h3 {
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  color: #ffffff;
}

.footer-link {
  color: var(--text-muted);
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--primary-blue);
}

.address-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-bottom: 0.6rem;
}

.map-iframe-container {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.3s ease;
}

.map-iframe-container:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.footer-social-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.floating-social-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.floating-main-btn {
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background-color: var(--whatsapp-green);
  color: #ffffff;
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: all 0.3s var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.floating-main-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.floating-main-btn.active {
  background-color: #1e293b;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.floating-main-btn.active:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.btn-icon-close {
  display: none;
}

.floating-main-btn.active .btn-icon-whatsapp {
  display: none;
}

.floating-main-btn.active .btn-icon-close {
  display: block;
  font-size: 1.8rem;
}

.floating-social-menu {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: scale(0.6) translateY(20px);
  pointer-events: none;
  transition: all 0.3s var(--transition-smooth);
  position: relative;
  z-index: 1;
}

.floating-social-menu.open {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.floating-social-menu.closing {
  opacity: 0;
  transform: scale(0.6) translateY(20px);
  pointer-events: none;
}

.social-option {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.4rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s var(--transition-smooth);
  text-decoration: none;
}

.social-option:hover {
  transform: scale(1.1) translateX(-4px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.social-option[data-network="facebook"] {
  background-color: #1877f2;
}

.social-option[data-network="instagram"] {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-option[data-network="tiktok"] {
  background-color: #000000;
}

.social-option[data-network="whatsapp"] {
  background-color: var(--whatsapp-green);
}

@media (max-width: 1024px) {
  .services-row {
    flex-wrap: wrap;
  }

  .service-card {
    flex: 1 1 calc(25% - 10px);
    height: 320px;
    min-width: 0;
  }

  .service-card:hover {
    flex: 1 1 calc(25% - 10px);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-col {
    border-right: none;
  }
}

@media (max-width: 768px) {
  .hamburger-btn {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 380px;
    height: 100vh;
    background-color: var(--navy-dark);
    padding: 80px 2rem 2rem 2rem;
    transition: right 0.4s var(--transition-smooth);
    overflow-y: auto;
    z-index: 1000;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
  }

  .main-nav.open {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .main-nav ul li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .main-nav ul li:last-child {
    border-bottom: none;
    margin-top: 1rem;
  }

  .nav-link {
    display: block;
    padding: 0.9rem 0;
    font-size: 1rem;
    width: 100%;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--primary-blue);
  }

  .dropdown {
    position: static;
  }

  .dropdown-menu {
    position: static;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-top: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height 0.4s var(--transition-smooth), padding 0.4s var(--transition-smooth);
  }

  .dropdown-menu.open {
    max-height: 600px;
    padding: 0.5rem 0;
  }

  .dropdown-menu a {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }

  .dropdown-menu a:hover {
    padding-left: 1.5rem;
  }

  .dropdown .nav-arrow {
    transition: transform 0.3s var(--transition-smooth);
  }

  .dropdown .nav-arrow.rotated {
    transform: rotate(180deg);
  }

  .btn-contact-header {
    display: inline-block;
    text-align: center;
    width: 100%;
    padding: 0.7rem;
    margin-top: 0.5rem;
  }

  .services-row {
    flex-wrap: wrap;
    gap: 8px;
  }

  .service-card {
    flex: 1 1 calc(50% - 8px);
    height: 260px;
    min-width: 0;
  }

  .service-card:hover {
    flex: 1 1 calc(50% - 8px);
  }

  .card-title {
    writing-mode: horizontal-tb;
    transform: rotate(0deg);
    font-size: 0.75rem;
    white-space: normal;
    text-align: left;
    line-height: 1.3;
    opacity: 1;
  }

  .service-card:hover .card-title {
    font-size: 0.75rem;
    transform: none;
    animation: none;
    width: auto;
    overflow: visible;
    white-space: normal;
    text-align: left;
  }
  
  .about-grid,
  .map-content-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-text-box h1 {
    font-size: 2.5rem;
  }
  
  .hero-text-box h2,
  .hero-text-box h3 {
    font-size: 2rem;
  }

  .hero-text-box p {
    font-size: 0.8rem;
    padding: 4px 8px;
  }

  .btn-hero-whatsapp {
    font-size: 0.8rem;
    padding: 0.6rem 1.2rem;
  }

  .hero-section {
    height: 70vh;
    min-height: 400px;
  }

  .floating-social-container {
    bottom: 16px;
    right: 16px;
  }

  .floating-main-btn {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }

  .social-option {
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }

  .map-section h2 {
    font-size: 1.4rem;
  }

  .map-content-grid {
    gap: 1.5rem;
  }

  .map-info {
    text-align: center;
  }

  .benefits-list {
    align-items: center;
  }

  .section-title h2 {
    font-size: 1.3rem;
  }

  .section-title h3 {
    font-size: 1.5rem;
  }

  .about-text-content h2 {
    font-size: 1.3rem;
  }

  .about-text-content p {
    font-size: 0.9rem;
  }

  .services-section {
    padding: 2.5rem 1rem;
  }

  .about-section {
    padding: 2.5rem 1rem;
  }

  .map-section {
    padding: 2.5rem 1rem 1.5rem 1rem;
  }

  .main-footer {
    padding: 1.5rem 1rem;
  }

  .footer-title {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .main-nav {
    width: 100%;
    max-width: 100%;
    padding: 70px 1.2rem 1.5rem 1.2rem;
  }

  .service-card {
    flex: 1 1 calc(50% - 6px);
    height: 200px;
    min-width: 0;
  }

  .service-card:hover {
    flex: 1 1 calc(50% - 6px);
  }

  .card-title {
    font-size: 0.65rem;
    letter-spacing: 0.5px;
  }

  .card-overlay {
    padding: 0.7rem 0.4rem;
  }

  .hero-text-box h1 {
    font-size: 2rem;
  }

  .hero-text-box h2,
  .hero-text-box h3 {
    font-size: 1.6rem;
  }

  .hero-text-box p {
    font-size: 0.7rem;
  }

  .btn-hero-whatsapp {
    font-size: 0.7rem;
    padding: 0.5rem 1rem;
  }

  .hero-section {
    height: 60vh;
    min-height: 350px;
  }

  .floating-social-container {
    bottom: 12px;
    right: 12px;
  }

  .floating-main-btn {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
  }

  .social-option {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .section-title h2 {
    font-size: 1.1rem;
  }

  .section-title h3 {
    font-size: 1.3rem;
  }

  .section-title {
    margin-bottom: 1.5rem;
  }

  .services-row {
    gap: 6px;
  }

  .map-section h2 {
    font-size: 1.2rem;
  }

  .map-banner-footer h3 {
    font-size: 0.9rem;
  }

  .btn-map-whatsapp {
    font-size: 0.75rem;
    padding: 0.6rem 1.2rem;
  }

  .footer-grid {
    gap: 1rem;
  }
}