/* ==================== FUENTE GLOBAL ==================== */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap");

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

body {
    font-family: "Montserrat", sans-serif;
    background: #ffffff;
    color: #0A2540;
    line-height: 1.6;
}

.captcha-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
    justify-content: center;
}

.captcha-box {
    font-family: monospace;
    font-size: 22px;
    letter-spacing: 3px;
    padding: 10px 16px;
    background: #f3f5f8;
    border-radius: 8px;
    border: 1px solid #ccd1d9;
    display: inline-block;
    min-width: 110px;
    text-align: center;
    user-select: none;
}

#captcha-refresh {
    background: #003366;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 18px;
}

#captcha-refresh:hover {
    opacity: 0.85;
}


/* Caja de información bancaria */
.bank-info {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

.bank-box {
    background: white;
    border-radius: 12px;
    padding: 35px 45px;
    max-width: 650px;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
}

.bank-box h2 {
    margin-bottom: 20px;
    font-size: 28px;
    color: #1e3a8a;
}

.bank-text {
    font-size: 18px;
    margin-bottom: 15px;
}

.bank-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    font-size: 17px;
    line-height: 1.6;
}

.bank-list li {
    margin-bottom: 6px;
}

.bank-owner {
    margin-top: 20px;
    font-size: 18px;
    font-weight: 600;
}


.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #28a745;
    color: white;
    padding: 14px 22px;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(20px);
    transition: all .4s ease;
    z-index: 9999;
    font-size: 16px;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}



/* Cuadro contenedor */
.app-download {
    padding: 70px 20px;
    display: flex;
    justify-content: center;
}

.app-box {
    background: #ffffff;
    border-radius: 15px;
    padding: 40px 35px;
    max-width: 650px;
    width: 100%;
    text-align: center;
    box-shadow: 0 5px 18px rgba(0,0,0,0.12);
    border: 1px solid #e3e6eb;
}

/* Badges */
.store-badge {
    height: 58px;
    width: auto;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.store-badge:hover {
    transform: scale(1.05);
    opacity: 0.92;
}

/* Texto del código */
.activation-text {
    font-size: 18px;
    color: #333;
    margin-top: 15px;
}

.activation-code {
    background: #003366;
    color: white;
    padding: 5px 12px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 19px;
    letter-spacing: 1px;
    box-shadow: 0 0 6px rgba(0,0,0,0.15);
    display: inline-block;
}




/* ==================== HEADER ==================== */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #0A2540;
    padding: 12px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

header .logo img {
    height: 48px;
}

header nav a {
    margin-left: 30px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 15px;
    transition: 0.3s ease;
}

header nav a:hover {
    color: #7AB3FF;
}

/* ==================== HERO ==================== */

.hero {
    margin-top: 70px;
    height: 90vh;
    background: url("../img/banner_contable.png") center/cover no-repeat;
    position: relative;
}

.carousel {
    width: 100%;
    height: 100%;
    padding: 120px 50px;
    color: #ffffff;
}

/* Indicadores del carrusel */
.carousel-indicators {
    position: relative;          /* Muy importante */
    display: flex;
    justify-content: center;
    margin-top: 25px;
    gap: 12px;
    z-index: 50;                 /* Asegura visibilidad */
}

.carousel-indicators .indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #bbb;
    border: 2px solid #ffffff;
    cursor: pointer;
    transition: 0.3s ease;
}

.carousel-indicators .indicator.active {
    background: #ffffff;
    transform: scale(1.25);
}


/* Animación slide horizontal */
.slide {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease-in-out;
    position: absolute;
    width: 100%;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}


.slide h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.slide p {
    font-size: 18px;
    max-width: 600px;
    opacity: 0.9;
    margin-bottom: 25px;
}

.btn {
    display: inline-block;
    padding: 12px 26px;
    background: white;
    color: #0A2540;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn:hover {
    background: #E5E5E5;
}

/* Flechas */
.carousel-btn {
  font-size: 28px;
  top: 65% !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.7);
    border: none;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 28px;
    border-radius: 4px;
    transition: 0.3s;
}

.carousel-btn:hover {
    background: white;
}

.prev { left: 20px; }
.next { right: 20px; }

/* ==================== PLANES ==================== */

.planes-section {
    position: relative;
    padding: 120px 40px;
    background: url("../img/banner_contable.png") center/cover no-repeat;
    color: white;
}

.planes-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 37, 64, 0.75);
}

.planes-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: auto;
}

.planes-content h2 {
    font-size: 34px;
    margin-bottom: 10px;
    font-weight: 700;
}

.planes-content p {
    max-width: 600px;
    margin-bottom: 40px;
    font-size: 17px;
    opacity: 0.9;
}

.planes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.plan-card {
    background: white;
    color: #0A2540;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
}

.plan-card h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.plan-card button {
    margin-top: 15px;
    padding: 10px 20px;
    background: #0A2540;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.plan-card button:hover {
    background: #1B4B8F;
}

/* ==================== VALORES ==================== */

.valores {
    padding: 120px 40px;
    max-width: 1200px;
    margin: auto;
}

.valores-flex {
    display: flex;
    gap: 40px;
    align-items: center;
}

.valores-flex img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
}

.valores .text h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.valores .text h3 {
    margin-top: 35px;
    font-size: 24px;
}

.valores ul {
    margin-top: 15px;
    list-style: none;
}

.valores ul li {
    padding: 6px 0;
    border-bottom: 1px solid #E0E0E0;
}

/* ==================== MISION Y VISION ==================== */

.mision-vision {
    margin-top: 80px;
}

.mision, .vision {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.mision img, .vision img {
    width: 100%;
    max-width: 420px;
    border-radius: 10px;
}

.mision h3, .vision h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

/* ==================== FOOTER ==================== */

footer {
    background: #0A2540;
    color: white;
    padding: 60px 40px 0 40px;
}

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

.footer-logo img {
    width: 140px;
}

.footer-menu a {
    display: block;
    color: white;
    margin-bottom: 8px;
    text-decoration: none;
}

.footer-info p {
    margin: 4px 0;
}

.mapa iframe {
    margin-top: 40px;
    border: none;
}

/* ==================== MODAL ==================== */

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    animation: fadeIn 0.4s ease;
}

.modal.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease;
}
.modal.show {
    opacity: 1;
    transition: opacity 0.4s ease;
}


.close {
    float: right;
    font-size: 22px;
    cursor: pointer;
}

.modal-content form {
    margin-top: 20px;
}

.modal-content input {
    width: 100%;
    margin-bottom: 12px;
    padding: 12px;
    border: 1px solid #DDD;
    border-radius: 6px;
}

.modal-content button {
    width: 100%;
    padding: 12px;
    background: #0A2540;
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 6px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.valores ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
}
.valores ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #1B4B8F;
    font-weight: 700;
    font-size: 18px;
}

.plan-card {
    transition: all 0.35s ease;
}
.plan-card:hover {
  background-color: #e0f2f1 !important;
}
.plan-prepago {
    background-color: #e0e0e0;
}
.valores-img {
    width: 300px !important;
    height: 300px !important;
    object-fit: contain; /* O "cover" si preferís ocupar toda el área */
    display: block;
    margin: 0 auto;
    border-radius: 15px;
}
.carousel-btn {
  font-size: 28px;
  top: 65% !important;
    top: 60% !important;
}

.plan-prepago {
    min-height: 280px !important;
}

.plan-enterprise {
    border: 2px solid #388E3C;
    background: linear-gradient(to bottom right, #e8f5e9, #c8e6c9);
}

.planes-grid + .planes-grid {
    margin-top: 2rem;
}

.plan-servicio {
    background-color: #fef9e7;
    border: 1px solid #f5c518;
}

/* Modal de formulario */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}
.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
}
.modal-content input {
  width: 100%;
  margin-bottom: 12px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.modal-content button {
  background-color: #388E3C;
  color: white;
  padding: 10px 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.modal-content .close {
  float: right;
  font-size: 24px;
  cursor: pointer;
  color: #888;
}


.plan-card.plan-servicio {
  background-color: #e0f7fa;
}

.plan-card.plan-prepago {
  background-color: #eeeeee;
  margin-top: 20px;
}

.plan-card:hover {
  background-color: #dcedc8 !important;
  transition: 0.3s ease-in-out;
}

.plan-nota {
  font-size: 0.9em;
  color: #555;
  margin-top: 4px;
}
