
html,
body {
  width: 100%;
  overflow-x: hidden;
}

img,
section,
div {
  max-width: 100%;
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

html {
scroll-behavior: smooth;
}

body {
font-family: 'Inter', sans-serif;
background: #f5f7fa;
color: #1f2937;
overflow-x: hidden;
}

a {
text-decoration: none;
}

.container {
width: 90%;
max-width: 1200px;
margin: auto;
}

/* HEADER */

header {
width: 100%;
background: rgba(255,255,255,0.95);
backdrop-filter: blur(10px);
position: fixed;
top: 0;
left: 0;
z-index: 999;
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}



.navbar {
height: 80px;
display: flex;
align-items: center;
justify-content: space-between;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #1f2937;
  font-weight: 500;
  transition: 0.2s;
}

.nav-links a:hover {
  color: #0aa2de;
}

/* HAMBURGUESA */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* RESPONSIVE */
@media(max-width: 900px) {

  .menu-toggle {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;

    cursor: pointer;
    z-index: 1002;

    transition: 0.3s ease;
  }

  .menu-toggle:hover {
    background: #f1f5f9;
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    background: #0f172a;
    border-radius: 20px;
    transition: 0.3s ease;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -320px;

    width: 280px;
    height: 100vh;

    background: white;

    display: flex;
    flex-direction: column;

    padding: 7rem 2rem 2rem;
    gap: 1.5rem;

    box-shadow: -10px 0 40px rgba(0,0,0,0.1);

    transition: right 0.35s ease;

    z-index: 1001;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
  }

  .mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);

    opacity: 0;
    visibility: hidden;

    transition: 0.3s ease;

    z-index: 1000;
  }

  .mobile-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .nav-buttons .btn {
    display: none;
  }

  .hero {
    padding-top: 130px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .hero-slide h1 {
    font-size: 2.2rem;
  }

  .hero-slide p {
    font-size: 1rem;
  }

}
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 55px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-buttons {
display: flex;
gap: 1rem;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 1rem 1.5rem;
  border-radius: 12px; /* <- ESTO es lo que lo hace redondo */
  font-weight: 600;
  text-decoration: none;
  transition: 0.25s ease;
}

.btn-primary,
.btn-secondary,
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

.btn-primary {
background: #0aa2de;
color: white;
}

.btn-primary:hover {
background: #0889bc;
transform: translateY(-2px);
}

.btn-secondary {
background: #25D366;
color: white;
}

.btn-secondary:hover {
background: #1eb85b;
transform: translateY(-2px);
}

/* HERO */

.hero {
padding-top: 160px;
padding-bottom: 100px;
background:
  linear-gradient(135deg, rgba(10,162,222,0.95), rgba(15,95,167,0.95)),
  url('https://images.unsplash.com/photo-1584982751601-97dcc096659c?q=80&w=1600&auto=format&fit=crop');
background-size: cover;
background-position: center;
color: white;
overflow: hidden;
}

.hero-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: center;
}

.hero-slider-text {
position: relative;
min-height: 280px;
display: flex;
align-items: center;
}

.hero-slide {
position: absolute;
width: 100%;
opacity: 0;
transform: translateY(20px);
transition:
  opacity 0.6s ease,
  transform 0.6s ease;
pointer-events: none;
}

.hero-slide.active {
opacity: 1;
transform: translateY(0);
pointer-events: auto;
}

.hero-slide h1 {
font-size: 3.5rem;
line-height: 1.1;
margin-bottom: 1.5rem;
font-weight: 700;
}

.hero-slide p {
font-size: 1.15rem;
line-height: 1.9;
opacity: 0.95;
max-width: 650px;
}

.hero-buttons {
display: flex;
gap: 1rem;
flex-wrap: wrap;
margin-top: 2rem;
}

.hero-image {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.25);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    opacity 0.4s ease,
    transform 6s ease;
}

.hero-image:hover img {
  transform: scale(1.03);
}

.hero-image:hover img {
  transform: scale(1.03);
}

@media(max-width: 992px) {

    .hero-image {
      height: 320px;
    }

  }

  @media(max-width: 600px) {

    .hero-image {
      height: 240px;
    }

  }

/* SECTION */

.section {
padding: 100px 0;
}

.section-title {
text-align: center;
margin-bottom: 4rem;
}

.section-title h2 {
font-size: 2.7rem;
margin-bottom: 1rem;
color: #0f172a;
}

.section-title p {
color: #64748b;
max-width: 700px;
margin: auto;
line-height: 1.8;
}

/* FEATURES */

.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 2rem;
}

.feature-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #0aa2de, #25D366);
  opacity: 0;
  transition: 0.3s;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(10,162,222,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.4rem;
  color: #0aa2de;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: #0aa2de;
  color: white;
  transform: scale(1.05);
}

/* PLAN */

.pricing {
  background: transparent;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background: white;
  border-radius: 28px;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 55px rgba(0,0,0,0.12);
}

.featured-plan {
  background: linear-gradient(135deg, #0aa2de, #0f5fa7);
  color: white;
  transform: scale(1.03);
}

.featured-plan ul li,
.featured-plan p {
  color: rgba(255,255,255,0.9);
}

.plan-badge {
  display: inline-block;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(10,162,222,0.1);
  color: #0aa2de;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.featured-badge {
  background: rgba(255,255,255,0.18);
  color: white;
}

.plan-price {
  margin: 1.5rem 0;
  font-size: 1.1rem;
  color: #64748b;
}

.plan-price span {
  font-size: 2.7rem;
  font-weight: 700;
  color: #0f172a;
}

.featured-plan .plan-price,
.featured-plan .plan-price span {
  color: white;
}

.pricing-card ul {
  list-style: none;
  margin: 2rem 0;
}

.pricing-card ul li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #FFF;
}

.pricing-card ul.color li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1f2937;
}

.pricing-card ul li i {
  color: #22c55e;
}

.featured-plan {
  background: linear-gradient(135deg, #0aa2de, #0f5fa7);
  color: white;
  transform: scale(1.04);
  border: 2px solid rgba(255,255,255,0.2);
}

.featured-plan h3,
.featured-plan p,
.featured-plan li,
.featured-plan .plan-price,
.featured-plan .plan-price span {
  color: white;
}

.featured-plan ul li i {
  color: #4ade80;
}

.featured-plan .btn-primary {
  background: white;
  color: #0f5fa7;
}

.featured-plan .btn-primary:hover {
  background: #f8fafc;
}

/* PLANES PROXIMAMENTE */

.disabled-plan {
  opacity: 0.82;
  position: relative;
}

.disabled-plan::after {
  content: "PROXIMAMENTE";
  position: absolute;
  top: 22px;
  right: -40px;
  background: #f59e0b;
  color: white;
  padding: 0.45rem 3rem;
  transform: rotate(35deg);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.disabled-plan .btn {
  background: #cbd5e1 !important;
  color: #475569 !important;
  pointer-events: none;
}

.disabled-plan .plan-price {
  color: #f59e0b;
  font-weight: 700;
}
.plan-price small {
  display: block;
  margin-top: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.8;
}

/* CTA */

.cta {
  background: linear-gradient(135deg, #0f172a, #0aa2de);
  color: white;
  padding: 120px 0;
  text-align: center;
}

.cta-box {
  max-width: 850px;
  margin: auto;
  background: rgba(255,255,255,0.08);
  padding: 3rem;
  border-radius: 28px;
  backdrop-filter: blur(12px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.25);
}

.cta h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.2rem;
  line-height: 1.8;
  opacity: 0.95;
  margin-bottom: 2rem;
}

.cta-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-whatsapp:hover {
  transform: scale(1.05);
}

.cta small {
  opacity: 0.8;
}

.cta-benefits i {
  color: #38bdf8;
  margin-right: 8px;
  font-size: 1.1rem;
}

.btn-whatsapp i,
.btn-primary i {
  margin-right: 8px;
}

/* RESPONSIVE */
@media(max-width: 768px) {

  .cta h2 {
    font-size: 2rem;
  }

  .cta-benefits {
    grid-template-columns: 1fr;
  }

}

/* FOOTER */

footer {
background: #020617;
color: white;
text-align: center;
padding: 2rem 0;
}

footer p {
opacity: 0.7;
}

/* RESPONSIVE */

@media(max-width: 992px) {

.hero-content {
  grid-template-columns: 1fr;
  text-align: center;
}

.hero-slider-text {
  min-height: 340px;
  justify-content: center;
}

.hero-slide p {
  margin: auto;
}

.hero-buttons {
  justify-content: center;
}

.hero-slide h1 {
  font-size: 2.6rem;
}

}

@media(max-width: 600px) {

  .navbar {
    height: 80px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .logo img {
    height: 42px;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding-top: 120px;
  }

  .hero-slide h1 {
    font-size: 2rem;
  }

  .hero-slide p {
    font-size: 1rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .cta h2 {
    font-size: 2.1rem;
  }

  .pricing-card {
    padding: 2rem;
  }

}

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  z-index: 9999;
  transition: all 0.3s ease;
}

.whatsapp-float img {
  width: 28px;
  height: 28px;
  filter: invert(1);
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.4);
  animation: pulse 1.8s infinite;
  z-index: -1;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.6; }
  70% { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.desktop-btn {
  display: inline-flex;
}

@media(max-width: 900px) {

  .desktop-btn {
    display: none;
  }

}

@media(max-width: 768px) {

  .disabled-plan::after {
    right: -28px;
    font-size: 0.65rem;
    padding: 0.35rem 2.2rem;
  }

}

/* ==========================
   ESPECIALIDADES
========================== */

.specialties {
    background: #f8fafc;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.specialty-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    transition: all .3s ease;
    cursor: default;
}

.specialty-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
    border-color: #2563eb;
}

.specialty-item i {
    font-size: 32px;
    color: #2563eb;
    margin-bottom: 15px;
    display: block;
}

.specialty-item span {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
}

/* TABLET */

@media (max-width: 992px) {

    .specialties-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* MOBILE */

@media (max-width: 576px) {

    .specialties-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .specialty-item {
        padding: 15px 10px;
    }

    .specialty-item i {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .specialty-item span {
        font-size: 13px;
    }

}