:root {
  --primary-color: #000000;
  --secondary-color: #f5f5f5;
  --text-color: #333333;
  --light-text: #ffffff;
  --border-color: #e0e0e0;
  --accent-color: #333333;
  --gray-light: #f0f0f0;
  --gray-medium: #cccccc;
  --gray-dark: #666666;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 4px;
  --animation-duration: 0.8s;
  --whatsapp-color: #101010;
  --whatsapp-dark: #8d8b8b;
  --background-white: #ffffff;
  --background-overlay: rgba(0, 0, 0, 0.5);
  --modal-overlay: rgba(255, 255, 255, 0.98);
  --footer-background: #222222;
  --footer-divider: #444444;
  --footer-text: #888888;
  --gradient-dark: rgba(0, 0, 0, 0.7);
  --gradient-transparent: transparent;
  --box-shadow-hover: rgba(0, 0, 0, 0.15);
  --box-shadow-button: rgba(0, 0, 0, 0.2);
  --box-shadow-whatsapp: rgba(37, 211, 102, 0.3);
  --pulse-shadow-start: rgba(37, 211, 102, 0.7);
  --pulse-shadow-end: rgba(37, 211, 102, 0);
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

body {
  font-family: 'Assistant', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--background-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 1px;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}
p {
  margin-bottom: 1rem;
}

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

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

a:hover {
  color: var(--accent-color);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section,
.section-alt {
  padding: 60px 0;
  width: 100%;
  overflow: hidden;
}

.section-alt {
  background-color: var(--secondary-color);
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
}

.section-subtitle {
  margin: 40px 0 20px;
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background-color: var(--light-text);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-color);
  color: var(--light-text);
}

.btn-secondary {
  background-color: var(--primary-color);
  color: var(--light-text);
  border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--accent-color);
}

.header {
  background-color: var(--background-white);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  width: 100%;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo {
  height: 70px;
  width: auto;
}

.main-nav {
  display: none;
}

.main-nav ul {
  display: flex;
  list-style: none;
}

.main-nav li {
  margin-left: 20px;
}

.main-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.contact-btn {
  display: none;
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 8px 16px;
  border: none;
  border-radius: var(--border-radius);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
}

.contact-btn:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px var(--box-shadow-button);
}

.contact-btn.pulse-animation {
  animation: pulse 2s infinite;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--background-white);
  z-index: 200;
  transition: right 0.3s ease;
  overflow-y: auto;
  overflow-x: hidden;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-container {
  padding: 60px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--primary-color);
}

.mobile-nav {
  margin-top: 40px;
}

.mobile-nav ul {
  list-style: none;
  text-align: center;
}

.mobile-nav li {
  margin-bottom: 25px;
}

.mobile-nav a {
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (min-width: 992px) {
  .main-nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .contact-btn {
    display: inline-block;
  }
}

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  background-image: url('img/parque-vista-fondo.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--light-text);
  width: 100%;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 2;
  opacity: 0.7;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1000px;
  text-align: center;
  margin: 0 auto;
  padding: 0 20px;
}

.hero h1 {
  color: var(--light-text);
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  display: inline-block;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.5rem;
  }
}

@media (min-width: 992px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}

.hero h1::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background-color: #fff;
  border-radius: 2px;
}

.hero p {
  font-size: 1.8rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  font-weight: 300;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.hero-btn {
  padding: 15px 35px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
  cursor: pointer;
}

.hero-btn-primary {
  background-color: #ffffff;
  color: #000000;
}

.hero-btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.hero-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease-out;
  z-index: -1;
}

.hero-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-btn:hover::before {
  width: 100%;
}

.hero-btn-primary:hover {
  background-color: #f0f0f0;
}

.hero-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-animated .hero-title {
  animation: fadeInUp 1.2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  opacity: 0;
}

.hero-animated .hero-subtitle {
  animation: fadeInUp 1.2s cubic-bezier(0.23, 1, 0.32, 1) 0.3s forwards;
  opacity: 0;
}

.hero-animated .hero-btn-primary {
  animation: slideInLeft 1s cubic-bezier(0.23, 1, 0.32, 1) 0.6s forwards;
  opacity: 0;
}

.hero-animated .hero-btn-secondary {
  animation: slideInRight 1s cubic-bezier(0.23, 1, 0.32, 1) 0.6s forwards;
  opacity: 0;
}

.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  overflow: hidden;
}

.particle {
  position: absolute;
  display: block;
  background-color: rgba(255, 255, 255, 0.8);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: float 15s infinite linear;
  opacity: 0;
}

@keyframes float {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-500px) translateX(200px) rotate(360deg);
    opacity: 0;
  }
}

.planos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 40px 0;
  width: 100%;
  background-color: #000;
  border-radius: 20px;
  overflow: hidden;
}

.plano-card {
  position: relative;
  overflow: hidden;
  box-shadow: none;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  border-radius: 0;
  padding: 40px 30px;
  height: 100%;
}

.plano-card:nth-child(1) {
  background-color: #fff;
}
.plano-card:nth-child(2) {
  background-color: #e5e5e5;
}
.plano-card:nth-child(3) {
  background-color: #9e9e9e;
  color: var(--light-text);
}
.plano-card:nth-child(4) {
  background-color: #000;
  color: var(--light-text);
}

.plano-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: inherit;
  opacity: 0.7;
}

.plano-content {
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.plano-card h3 {
  font-size: 2rem;
  margin-bottom: 5px;
  font-weight: 700;
}

.plano-card:nth-child(3) h3,
.plano-card:nth-child(4) h3,
.plano-card:nth-child(3) p,
.plano-card:nth-child(4) p {
  color: var(--light-text);
}

.plano-image-container {
  margin: 30px 0;
  overflow: hidden;
  border-radius: 0;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plano-image {
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.plano-description {
  margin-bottom: 30px;
  flex-grow: 1;
  font-size: 1rem;
  line-height: 1.5;
}

.btn-explore {
  align-self: flex-start;
  background: none;
  border: none;
  color: inherit;
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-explore::after {
  content: '→';
  margin-left: 8px;
  transition: transform 0.3s ease;
  font-size: 1.2rem;
}

.btn-explore:hover::after {
  transform: translateX(5px);
}

.plano-destacado {
  max-width: 900px;
  margin: 0 auto 40px;
  background-color: var(--background-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  width: 100%;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.plano-destacado:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px var(--box-shadow-hover);
}

.plano-info {
  padding: 20px;
  text-align: center;
}

.areas-info {
  max-width: 900px;
  margin: 0 auto 40px;
  padding: 30px;
  background-color: var(--secondary-color);
  border-radius: var(--border-radius);
  width: 100%;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.areas-info:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--box-shadow-hover);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 100%;
}

.feature {
  border-left: 3px solid var(--primary-color);
  padding-left: 15px;
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateX(5px);
}

.feature h4 {
  margin-bottom: 5px;
  color: var(--primary-color);
}

.feature p {
  color: var(--gray-dark);
  margin-bottom: 0;
  font-size: 1rem;
}

.swiper {
  width: 100%;
  height: 500px;
  margin: 40px 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.swiper-slide {
  position: relative;
  overflow: hidden;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.swiper-slide:hover img {
  transform: scale(1.03);
}

.swiper-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    var(--gradient-dark),
    var(--gradient-transparent)
  );
  color: var(--light-text);
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.swiper-slide:hover .swiper-caption {
  opacity: 1;
}

.swiper-caption h3 {
  color: var(--light-text);
  margin-bottom: 5px;
  font-size: 1.5rem;
}

.swiper-caption p {
  margin: 0;
  font-size: 1rem;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-color) !important;
  background-color: rgba(255, 255, 255, 0.8);
  width: 50px !important;
  height: 50px !important;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: var(--light-text);
  transform: scale(1.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px !important;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: var(--light-text);
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background-color: var(--light-text);
  opacity: 1;
  transform: scale(1.2);
}

@media (max-width: 767px) {
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
}

.iframe-container {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  width: 100%;
  transition: box-shadow 0.3s ease;
}

.iframe-container:hover {
  box-shadow: 0 10px 30px var(--box-shadow-hover);
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.cta-section {
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 60px 0;
  text-align: center;
  width: 100%;
}

.cta-section h2 {
  color: var(--light-text);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.footer {
  background-color: var(--footer-background);
  color: var(--light-text);
  padding: 50px 0 30px;
  width: 100%;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}

.footer-logos {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.logo-footer {
  height: 50px;
  filter: brightness(0) invert(1);
}

.logo-secondary-footer {
  height: 50px;
}

.footer-divider {
  height: 30px;
  width: 1px;
  background-color: var(--footer-divider);
  margin: 0 15px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.footer-links a {
  color: var(--gray-medium);
  transition: var(--transition);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.footer-links a:hover {
  color: var(--light-text);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--footer-divider);
  color: var(--footer-text);
  font-size: 0.85rem;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--light-text);
  border: none;
  box-shadow: 0 2px 10px var(--box-shadow-button);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 99;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--accent-color);
  transform: translateY(-5px);
}

.back-to-top svg {
  display: block;
  margin: auto;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity var(--animation-duration) ease,
    transform var(--animation-duration) ease;
}

.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}

[data-delay='0.2'] {
  transition-delay: 0.2s;
}

[data-delay='0.4'] {
  transition-delay: 0.4s;
}

[data-delay='0.6'] {
  transition-delay: 0.6s;
}

.pulse-animation {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 var(--pulse-shadow-start);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px var(--pulse-shadow-end);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 var(--pulse-shadow-end);
  }
}

.whatsapp-section {
  background-color: white;
  padding: 80px 0;
  text-align: center;
  width: 100%;
}

.whatsapp-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.whatsapp-content {
  background-color: var(--background-white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  width: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid #f0f0f0;
}

.whatsapp-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #000000, #333333);
}

.whatsapp-content h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 700;
  text-transform: uppercase;
}

.whatsapp-content p {
  margin-bottom: 30px;
  color: var(--gray-dark);
  font-size: 1.1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-whatsapp {
  background-color: #25d366;
  color: var(--light-text);
  border: none;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  line-height: 1;
}

.btn-whatsapp:hover {
  background-color: #22c55e;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: block;
  margin-right: 2px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.whatsapp-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #ff5722;
  color: white;
  font-size: 0.7rem;
  font-weight: bold;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

.modal.active {
  display: block;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--modal-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 0;
  overflow-y: auto;
}

.modal-container {
  background-color: var(--light-text);
  padding: 40px;
  max-width: 1200px;
  width: 90%;
  border-radius: 12px;
  box-shadow: 0 10px 40px var(--box-shadow-hover);
  margin: 0 auto;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--gray-light);
  padding-bottom: 20px;
}

.modal-title {
  margin: 0;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.25;
  color: var(--primary-color);
}

.modal-close {
  background: transparent;
  border: 0;
  cursor: pointer;
  position: relative;
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.modal-close::after {
  content: '×';
  font-size: 24px;
  font-weight: 700;
}

.modal-close:hover {
  transform: rotate(90deg);
}

.modal-content {
  margin-top: 20px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.zoomable {
  cursor: zoom-in !important;
  transition: transform 0.3s ease;
  touch-action: manipulation;
}

.medium-zoom-overlay {
  z-index: 1050;
  background-color: rgba(0, 0, 0, 0.9) !important;
}

.medium-zoom-image--opened {
  z-index: 1051;
}

@media (hover: none) {
  .zoomable:active {
    opacity: 0.8;
  }

  .medium-zoom-image {
    max-width: 100vw !important;
    max-height: 90vh !important;
  }
}

body.medium-zoom--opened {
  overflow: hidden !important;
}

.modal-content::before {
  content: 'Toca la imagen para ampliar';
  display: block;
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-dark);
  margin-bottom: 15px;
  font-style: italic;
}

@media (max-width: 767px) {
  .medium-zoom-image {
    touch-action: none;
  }

  .modal-content::before {
    content: 'Toca la imagen para ampliar';
  }
}

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

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

@media (max-width: 767px) {
  .whatsapp-content {
    padding: 30px 20px;
  }

  .plano-card {
    padding: 30px 20px;
  }

  .plano-card h3 {
    font-size: 1.5rem;
  }
}

.zoomable {
  cursor: zoom-in !important;
  transition: transform 0.3s ease;
}

.zoom-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9998;
  animation: fadeIn 0.3s ease;
}

.zoomed-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

.zoomed-image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  animation: zoomIn 0.3s ease;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

.zoom-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.zoom-close-btn:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 767px) {
  .zoomed-image {
    max-width: 95%;
    max-height: 95%;
  }

  .zoom-close-btn {
    top: 10px;
    right: 10px;
  }

  .modal-content::before {
    content: 'Toca la imagen para ampliar';
    display: block;
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-dark);
    margin-bottom: 15px;
    font-style: italic;
  }
}
