/* =========================
   VARIABLES GLOBALES
========================= */
:root {
  --color-dark: #1a1a1a;
  --color-text: #333;
  --color-gray: #666;
  --color-light-gray: #f8f9fa;
  --color-orange: #F7941D;
  --color-orange-dark: #d67b12;
  --color-blue: #007bff;
  --color-green: #25D366;
  --color-instagram: #E1306C;
}

/* =========================
   BASE
========================= */
body {
  font-family: 'Courier New', sans-serif;
  color: var(--color-text);
  background: var(--color-light-gray);
  margin: 0;
}

/* =========================
   LOGO
========================= */
.logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  font-weight: bold;
}
.logo-main {
  display: flex;
  font-size: 1.4rem;
}
.logo-dark {
  color: #000;
}
.logo-orange {
  color: var(--color-orange);
}
.logo-sub {
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: #555;
}

/* =========================
   NAVBAR
========================= */
.navbar {
  padding: 1rem 0;
}
.nav-link {
  color: var(--color-text) !important;
  margin-left: 1rem;
  transition: color .3s;
}
.nav-link:hover {
  color: var(--color-orange) !important;
}

/* =========================
   SUBTITULOS
========================= */
.text-orange {
  color: var(--color-orange);
}

/* =========================
   boton empecemos juntos
========================= */
.btn-cta {
    background: #28ea90; /* Verde brillante para llamar la atención */
    color: #000; /* Texto en color negro para un buen contraste */
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    transition: all .3s;
    text-decoration: none;
    font-weight: bold;
}

.btn-cta:hover {
    background: #25d366; /* Un tono un poco más oscuro al pasar el mouse */
}

/* =========================
   SECCIÓN DE PRECIOS
========================= */
.pricing-section {
  background: var(--color-light-gray);
  color: var(--color-text);
}

.pricing-card {
  border-radius: 16px;
  padding: 2.5rem 2rem;
  height: 100%;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}
.card-light {
  background: #fff;
  border: 2px solid var(--color-orange);
}
.card-dark {
  background: #1a222c;
  border: 2px solid #5a6470;
  color: #f0f0f0;
}

/* Header icon con gradiente */
.card-header-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--color-orange), #ffbb56);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.3s ease;
}
.pricing-card:hover .card-header-icon {
  transform: scale(1.2);
}

.card-title {
  font-size: 1.6em;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.card-slogan {
  font-size: 1em;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--color-gray);
}
.card-dark .card-slogan {
  color: #cfd6df;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  text-align: left;
}
.pricing-list li {
  margin-bottom: 0.8rem;
  font-size: 0.95em;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}
.pricing-list li::before {
  content: "✔";
  color: var(--color-orange);
  font-weight: bold;
}

.card-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 1rem;
  margin-top: auto;
}
.price-text {
  font-size: 1.1em;
  margin-bottom: 1rem;
}
.card-dark .price-text {
  color: #c4c4c4;
}
.price-amount {
  font-size: 1.8em;
  font-weight: 800;
  color: var(--color-orange);
}

/* =========================
   BOTONES
========================= */
/* Base de los botones */
.btn-base {
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

/* Botón claro */
.btn-light-cta {
  background: var(--color-orange);
  color: white;
}
.btn-light-cta:hover {
  background: var(--color-blue);
  color: white;
}

/* Botón oscuro */
.btn-dark-cta {
  background: #52d19a;
  color: #1a222c;
}
.btn-dark-cta:hover {
  background: #28ea90;
  color: #000;
}

/* =========================
   SECCIÓN "IDEAL PARA"
========================= */
.ideal-for-container {
  background-color: #e0f2fe;
  padding: 1.5rem;
  border-radius: 10px;
  margin-top: 1.5rem;
  text-align: left;
  font-size: 0.9em;
  color: #004d80;
}
.ideal-for-container-web {
  background: rgba(255, 255, 255, 0.1);
  color: #e8e8e8;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.5rem;
  border-radius: 10px;
  margin-top: 1.5rem;
  text-align: left;
  font-size: 0.9em;
}

.ideal-for-container p {
  font-size: 0.9em;
  color: #004d80;
  margin: 0.5rem 0;
}
.ideal-for-container-web h4 {
  color: #fff;
  margin-bottom: 1em;
}
.ideal-for-container-web ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.ideal-for-container-web li {
  margin-bottom: 0.5em;
  font-size: 0.95em;
  color: #c0c0c0;
}
.ideal-for-container-web i {
  color: #28ea90;
  margin-right: 10px;
}

/* =========================
   CARDS
========================= */
.card {
  background: #fff;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  transition: transform .3s;
}
.card:hover {
  transform: translateY(-5px);
}

/* =========================
   FAQ
========================= */
/* Cambiar color de la flecha del acordeón a blanca */
.accordion-button::after {
  filter: invert(1);
}

/* =========================
   FORMULARIO CONTACTO
========================= */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}
.contact-form input,
.contact-form textarea {
  background-color: var(--color-dark);
  color: #fff;
  border: 1px solid var(--color-orange);
  border-radius: 6px;
  padding: .8em;
  width: 100%;
  transition: border-color .3s, box-shadow .3s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--color-orange);
  outline: none;
  box-shadow: 0 0 8px rgba(247, 148, 29, 0.6);
}
.contact-form button {
  background-color: var(--color-orange);
  color: #000;
  border: none;
  border-radius: 6px;
  padding: .8em 1.5em;
  font-weight: bold;
  cursor: pointer;
  transition: all .3s;
}
.contact-form button:hover {
  background-color: var(--color-orange-dark);
  box-shadow: 0 4px 10px rgba(247, 148, 29, 0.4);
}

/* =========================
   REDES SOCIALES
========================= */
.social-container a {
  color: #fff;
  font-size: 2.5em;
  margin: 0 .5em;
  transition: color .3s;
}
.social-container a:hover {
  color: var(--color-orange);
}

/* =========================
   FOOTER
========================= */
footer {
  background-color: var(--color-dark);
  color: var(--color-orange);
  padding: 2em 1em;
  text-align: center;
  font-size: .9em;
}
footer a {
  color: var(--color-orange);
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

/* =========================
   BOTONES FLOTANTES
========================= */
.floating-btn-base {
    position: fixed;
    right: 20px;
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex; /* Usamos flexbox para centrar el contenido */
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
    text-decoration: none;
    cursor: pointer;
}

.floating-btn-base:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Scroll-up button */
#scrollTopBtn {
    bottom: 160px;
    background-color: #f7941d; /* Color naranja */
    display: none; /* Se muestra con JavaScript */
}

/* Instagram button */
.instagram-float {
    bottom: 90px;
    background-color: #E1306C; /* Color rosa */
}

/* WhatsApp button */
.whatsapp-float {
    bottom: 20px;
    background-color: #25D366; /* Color verde */
}

/* Ajustes de tamaño y color para los íconos dentro de los botones */
.floating-btn-base i {
    font-size: 30px;
    color: #fff;
}

/* =========================
   scrollTopBtn
========================= */
#scrollTopBtn {
  position: fixed;
  bottom: 20px; /* Posicionado en la parte inferior */
  right: 20px; /* Posicionado a la derecha */
  
  background-color: transparent; /* ¡Importante! Fondo completamente transparente */
  border: none; /* Quitamos cualquier borde */
  border-radius: 0; /* Aseguramos que no tenga forma de círculo o cuadrado redondeado */
  
  width: auto; /* El ancho se ajustará al contenido (la flecha) */
  height: auto; /* El alto se ajustará al contenido (la flecha) */
  padding: 0; /* Sin relleno interno que pueda crear un fondo */
  
  font-size: 50px; /* Tamaño grande para la flecha */
  color: var(--color-orange); /* Color naranja para la flecha */
  cursor: pointer;
  
  display: flex; /* Para centrar el ícono si el botón tuviera algún tamaño */
  align-items: center;
  justify-content: center;
  
  z-index: 1000;
  transition: transform 0.3s ease, color 0.3s ease;
  
  display: none; /* Inicialmente oculto, lo mostrará tu JS */
  box-shadow: none; /* Quitamos cualquier sombra que pueda dar volumen */
}

#scrollTopBtn:hover {
  color: var(--color-orange-dark); /* Color un poco más oscuro al pasar el mouse */
  transform: scale(1.15); /* Efecto de escala al pasar el mouse */
}

@media(min-width: 768px){
  .hero {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 4rem; /* más espacio entre texto e imagen */
  }
}