:root {
    --rojo: #EB4F1F;
    --naranja: #F68919;
    --naranja-acento: #F9A216;
    --gris-fondo: #F5F7FA;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--gris-fondo);
    color: #1a1a1a;
    line-height: 1.6;
}

/* ---- Navbar ---- */

.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.navbar-light .navbar-nav .nav-link {
    color: var(--rojo);
    font-weight: 500;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--naranja);
}

.btn-solicitar {
    background: var(--naranja) !important;
    color: #fff !important;
    border-radius: .25rem;
    padding: .4rem 1rem !important;
}

.btn-solicitar:hover {
    color: #fff !important;
    background: var(--rojo) !important;
}

/* ---- Branded buttons (used with Bootstrap's .btn) ---- */

.btn-teampago {
    background: var(--naranja);
    border-color: var(--naranja);
    color: #fff;
    font-weight: bold;
}

.btn-teampago:hover {
    background: var(--rojo);
    border-color: var(--rojo);
    color: #fff;
}

.btn-teampago-light {
    background: #fff;
    color: var(--rojo);
    font-weight: bold;
}

.btn-teampago-light:hover {
    background: var(--naranja-acento);
    color: #fff;
}

/* ---- Shared sections ---- */

.section {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
}

.section h2 {
    text-align: center;
    color: var(--rojo);
    margin-bottom: 40px;
}

.section-alt {
    background: #fff;
    padding: 1px 0 20px;
}

.cta {
    text-align: center;
    margin: 80px 0;
}

footer {
    background: white;
    text-align: center;
    padding: 30px 20px;
    font-size: 14px;
    color: #666;
    border-top: 1px solid #eee;
}

footer a {
    color: var(--rojo);
    text-decoration: none;
    margin: 0 10px;
}

.powered-bar {
    background: #000;
    text-align: center;
    padding: 14px 20px;
}

.powered-bar img {
    height: 28px;
    vertical-align: middle;
}

/* ---- Hero ---- */

.hero-teampago {
    min-height: 480px;
    background: linear-gradient(135deg, var(--rojo), var(--naranja) 55%, var(--naranja-acento));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 60px 20px;
}

.hero-content {
    max-width: 780px;
}

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 17px;
    }
}

/* ---- Features ---- */

.feature-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.feature-card .icon {
    font-size: 1.7rem;
    color: var(--naranja);
    margin-bottom: 10px;
}

.feature-card h3 {
    color: var(--rojo);
    font-size: 17px;
    margin-top: 0;
}

.feature-card p {
    margin-bottom: 0;
    font-size: 15px;
    color: #444;
}

/* ---- Descarga la app ---- */

.download-badges {
    margin: 30px 0 10px;
}

.store-badge {
    height: 54px;
}

/* ---- Pricing ---- */

.page-header {
    text-align: center;
    max-width: 700px;
    margin: 60px auto 0;
    padding: 0 20px;
}

.page-header h1 {
    color: var(--rojo);
    font-size: 34px;
    margin: 0 0 15px;
}

.page-header p {
    color: #444;
    font-size: 18px;
    margin: 0;
}

.price-plan {
    background: white;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    padding: 30px 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.price-plan-featured {
    box-shadow: 0 12px 30px rgba(235, 79, 31, 0.18);
    border: 2px solid var(--naranja);
    transform: translateY(-8px);
}

.price-plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--naranja);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 5px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

.price-plan-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.dot-green { background: #2BBF59; }
.dot-blue { background: #2B7FE0; }
.dot-purple { background: #8B3FE0; }
.dot-dark { background: #333; }

.price-plan h3 {
    display: inline-flex;
    align-items: center;
    color: #1a1a1a;
    font-size: 20px;
    margin: 0 0 10px;
}

.price-plan-amount {
    font-size: 30px;
    font-weight: 800;
    color: var(--rojo);
    line-height: 1.2;
}

.price-plan-amount span {
    font-size: 14px;
    font-weight: 500;
    color: #777;
}

.price-plan-audience {
    font-size: 13px;
    color: #777;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .3px;
    margin: 4px 0 15px;
}

.price-plan-desc {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

.price-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
    flex-grow: 1;
}

.price-plan-features li {
    font-size: 14px;
    color: #333;
    padding: 6px 0 6px 24px;
    position: relative;
}

.price-plan-features li::before {
    content: "✓";
    color: var(--naranja);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.price-teaser {
    max-width: 420px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px 30px;
    text-align: center;
    border-top: 5px solid var(--naranja);
}

.price-teaser-amount {
    font-size: 38px;
    font-weight: 800;
    color: var(--rojo);
}

.price-teaser-amount span {
    font-size: 15px;
    font-weight: 500;
    color: #555;
}

.price-teaser-included {
    color: #555;
    margin: 10px 0 25px;
    font-weight: 500;
}

.price-note {
    max-width: 750px;
    margin: 20px auto 0;
    background: white;
    border-left: 4px solid var(--naranja);
    border-radius: 8px;
    padding: 18px 22px;
    font-size: 14px;
    color: #444;
    text-align: left;
}

.faq {
    max-width: 750px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    padding: 20px 25px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.faq-item h3 {
    color: var(--rojo);
    margin: 0 0 8px;
    font-size: 17px;
}

.faq-item p {
    margin: 0;
    color: #444;
}

/* ---- Blog ---- */

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}

.blog-card-link:hover .blog-card {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.09);
    transform: translateY(-2px);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.blog-card-body {
    padding: 25px 30px;
}

.blog-card-date {
    font-size: 13px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: .3px;
    font-weight: 600;
}

.blog-card h2 {
    color: var(--rojo);
    font-size: 22px;
    margin: 8px 0 10px;
}

.blog-card p {
    color: #444;
    margin-bottom: 10px;
}

.blog-card-readmore {
    color: var(--naranja);
    font-weight: bold;
    font-size: 14px;
}

/* sidebar */

.blog-sidebar {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 25px;
}

.blog-sidebar h4 {
    color: var(--rojo);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: .3px;
    margin-bottom: 15px;
}

.blog-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-sidebar-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.blog-sidebar-list li:last-child {
    border-bottom: none;
}

.blog-sidebar-list a {
    display: block;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
}

.blog-sidebar-list a:hover {
    color: var(--naranja);
}

.blog-sidebar-date {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 3px;
}

.blog-sidebar-cta {
    text-align: center;
    padding-top: 15px;
}

.blog-sidebar-cta p {
    font-size: 14px;
    color: #444;
    margin-bottom: 12px;
}

/* individual post */

.blog-post {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    padding: 35px 40px;
}

.blog-post-date {
    font-size: 13px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: .3px;
    font-weight: 600;
    margin-bottom: 5px;
}

.blog-post-cover {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    display: block;
}

.blog-post h1 {
    color: var(--rojo);
    font-size: 30px;
    margin-bottom: 25px;
}

.blog-post-content {
    font-size: 16px;
    color: #333;
}

.blog-post-content h2 {
    color: var(--rojo);
    font-size: 22px;
    margin-top: 35px;
    text-align: left;
}

.blog-post-content h3 {
    color: var(--naranja);
    font-size: 18px;
    margin-top: 25px;
}

.blog-post-content p {
    margin-bottom: 16px;
}

.blog-post-content a {
    color: var(--naranja);
    font-weight: 600;
}

.blog-post-content ul,
.blog-post-content ol {
    padding-left: 22px;
    margin-bottom: 16px;
}

.blog-post-content li {
    margin-bottom: 8px;
}

.blog-post-content blockquote {
    border-left: 4px solid var(--naranja);
    padding: 5px 20px;
    color: #555;
    font-style: italic;
    margin: 20px 0;
}

.blog-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    margin: 25px 0;
    display: block;
}

/* pie de foto opcional: escribe la leyenda como una línea en *cursiva*
   justo debajo de la imagen en el Markdown — queda centrada y en gris. */
.blog-post-content p:has(> img:only-child) + p:has(> em:only-child) {
    text-align: center;
    font-size: 13px;
    color: #999;
    margin-top: -18px;
}

.blog-post-cta {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #eee;
    text-align: center;
}

.blog-post-cta p {
    font-weight: 600;
    margin-bottom: 12px;
}

/* ---- Privacy / Terms ---- */

.legal-card {
    max-width: 950px;
    margin: 40px auto;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.legal-card h1 {
    margin: 0 0 10px;
    font-size: 28px;
    color: var(--rojo);
}

.legal-card h2 {
    color: var(--rojo);
    margin-top: 35px;
    font-size: 22px;
}
