:root {
    --bg: #f3f4f6;
    --bg-alt: #ffffff;
    --accent: #2563eb;              /* azul principal */
    --accent-soft: rgba(37, 99, 235, 0.08);
    --accent-strong: #1d4ed8;
    --text-main: #0f172a;           /* casi negro */
    --text-muted: #6b7280;
    --card-bg: #ffffff;
    --border-soft: #e5e7eb;
    --danger: #ef4444;
    --shadow-soft: 0 14px 35px rgba(15, 23, 42, 0.12);
    --radius-lg: 16px;
    --radius-xl: 22px;
    --transition: 0.25s ease;
    --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}


*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-main);
    background: var(--bg);
    color: var(--text-main);
    line-height: 1.6;
}

/* Layout */

.container {
    width: min(1120px, 100% - 2.5rem);
    margin: 0 auto;
}

.section {
    padding: 4.5rem 0;
}

.section-alt {
    background: #f9fafb;
}

.section-title {
    font-size: 2rem;
    margin: 0 0 .5rem;
    text-align: center;
}

.section-subtitle {
    margin: 0 0 2.5rem;
    text-align: center;
    color: var(--text-muted);
}

/* Header */

.header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem 0;
}

.logo-img {
    height: 80px;   /* prueba entre 32 y 48 */
    width: auto;
    display: block;
}

.logo-icon {
    font-size: 1.5rem;
}

.logo-text {
    font-weight: 700;
    letter-spacing: .04em;
}

.logo-text span {
    color: var(--accent);
}

.nav {
    display: flex;
    gap: 1.5rem;
}

.nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: .95rem;
    transition: var(--transition);
}

.nav a:hover {
    color: var(--text-main);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.4rem;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: .55rem 1.4rem;
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    border-color: rgba(148,163,184,.4);
    color: var(--text-main);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-outline {
    background: transparent;
    border-color: #cbd5f5;
    color: var(--accent-strong);
}

.btn-outline:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.full-width {
    width: 100%;
}

/* Hero */

.hero {
    padding: 4.5rem 0 3.5rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2.1rem, 3vw + 1rem, 2.8rem);
    margin: 0 0 1rem;
}

.hero-text p {
    margin: 0 0 1.5rem;
    color: var(--text-muted);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    margin-bottom: 1.5rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    font-size: .8rem;
}

.hero-badges span {
    padding: .3rem .75rem;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,.4);
    color: var(--text-muted);
}

.hero-card {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    padding: 1.75rem 1.5rem;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
}


.hero-card h2 {
    margin-top: 0;
    margin-bottom: .75rem;
    font-size: 1.25rem;
}

.hero-card ul {
    padding-left: 1.1rem;
    margin: 0 0 1rem;
    color: var(--text-muted);
}

.hero-note {
    font-size: .85rem;
    color: var(--text-muted);
}

/* Grids */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
}

.feature-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.4rem;
    border: 1px solid var(--border-soft);
}

.feature-card h3 {
    margin-top: 0;
    margin-bottom: .5rem;
}

/* Pricing */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.plan-card {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    padding: 1.6rem 1.4rem 1.7rem;
    border: 1px solid var(--border-soft);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.plan-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px);
}

.plan-featured {
    border-color: var(--accent);
    box-shadow: var(--shadow-soft);
}

.plan-badge {
    position: absolute;
    top: 0.9rem;
    right: 1rem;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: .7rem;
    padding: .25rem .6rem;
    border-radius: 999px;
}

.plan-card h3 {
    margin: 0 0 .15rem;
}

.plan-tagline {
    margin: 0 0 .75rem;
    color: var(--text-muted);
    font-size: .9rem;
}

.plan-price {
    font-size: 1.7rem;
    margin: .2rem 0 .15rem;
    font-weight: 700;
}

.price-amount {
    margin-right: .1rem;
}

.price-currency {
    font-size: 1.1rem;
    margin-right: .1rem;
}

.price-period {
    font-size: .9rem;
    color: var(--text-muted);
}

.plan-small {
    font-size: .82rem;
    color: var(--text-muted);
    margin-bottom: .9rem;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    flex: 1;
    font-size: .9rem;
    color: var(--text-muted);
}

.plan-features li {
    margin-bottom: .35rem;
}

/* Billing toggle */

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    margin-bottom: 2.2rem;
    font-size: .9rem;
}

.billing-label {
    color: var(--text-muted);
    cursor: pointer;
}

.billing-label.active {
    color: var(--text-main);
    font-weight: 600;
}

.toggle {
    position: relative;
    width: 50px;
    height: 26px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle label {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #e5e7eb;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
}


.toggle label::before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 4px;
    top: 3px;
    border-radius: 999px;
    background: var(--accent);
    transition: var(--transition);
}

.toggle input:checked + label::before {
    transform: translateX(20px);
}

.badge {
    background: var(--accent-soft);
    padding: .1rem .5rem;
    border-radius: 999px;
    font-size: .75rem;
}

/* Correos */

.correos-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
}

.list-check {
    list-style: none;
    padding-left: 0;
    color: var(--text-muted);
}

.list-check li {
    margin-bottom: .45rem;
}

.list-check li::before {
    content: "✔";
    color: var(--accent);
    margin-right: .45rem;
}

.correos-card {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    padding: 1.4rem 1.3rem;
    border: 1px solid var(--border-soft);
}

.correos-card pre {
    background: #f3f4f6;
    border-radius: .75rem;
    padding: .75rem .9rem;
    overflow-x: auto;
    font-size: .8rem;
    color: var(--text-main);
}

.correos-note {
    font-size: .85rem;
    color: var(--text-muted);
    margin-top: .75rem;
}

/* Testimonials */

.testimonials {
    gap: 1.5rem;
}

.testimonial {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 1.3rem 1.2rem;
    border: 1px solid var(--border-soft);
    font-size: .9rem;
    color: var(--text-muted);
}

/* Contacto */

.contacto-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2.3rem;
    align-items: flex-start;
}

.list-contact {
    list-style: none;
    padding-left: 0;
    font-size: .95rem;
    color: var(--text-muted);
}

.list-contact li {
    margin-bottom: .4rem;
}

.contact-form {
    background: var(--card-bg);
    border-radius: 18px;           /* un poco menos redondo */
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
}


.form-group {
    margin-bottom: .9rem;
}

.form-group label {
    display: block;
    font-size: .85rem;
    margin-bottom: .25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: .45rem .65rem;
    border-radius: .6rem;
    border: 1px solid var(--border-soft);
    background: #ffffff;
    color: var(--text-main);
    font-family: inherit;
    font-size: .9rem;
}


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-note {
    font-size: .78rem;
    color: var(--text-muted);
    margin-top: .6rem;
}

/* Footer */

.footer {
    border-top: 1px solid #e5e7eb;
    padding: 2.5rem 0 2rem;
    background: #ffffff;
}


.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-text {
    color: var(--text-muted);
    font-size: .9rem;
}

.footer-cols {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-cols h4 {
    margin-top: 0;
    margin-bottom: .4rem;
    font-size: .95rem;
}

.footer-cols a {
    display: block;
    font-size: .85rem;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: .2rem;
}

.footer-cols a:hover {
    color: var(--accent);
}

.footer-copy {
    font-size: .8rem;
    color: var(--text-muted);
}

/* Responsive */

@media (max-width: 960px) {
    .hero-inner,
    .grid-3,
    .pricing-grid,
    .correos-grid,
    .contacto-grid {
        grid-template-columns: minmax(0,1fr);
    }

    .hero-inner {
        text-align: left;
    }

    .hero-card {
        order: -1;
    }

    .pricing-grid {
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .header-inner {
        gap: .8rem;
    }

        .nav {
        position: absolute;
        inset: 56px 0 auto 0;
        background: #ffffff;
        flex-direction: column;
        padding: .75rem 1.2rem 1rem;
        border-bottom: 1px solid #e5e7eb;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             

    .nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-toggle {
        display: block;
    }

    .btn-outline {
        display: none;
    }

    .hero {
        padding-top: 3.5rem;
    }
}
.contact-form {
@media (max-width: 480px) {
    .section {
        padding: 3rem 0;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
}
/* Ajuste de proporciones solo para el botón del formulario de contacto */
.contact-form .btn-primary {
    width: 100%;              /* que siga ocupando todo el ancho del form */
    padding: .65rem 1rem;     /* menos alto */
    border-radius: .8rem;     /* no tan “pastilla” */
    font-size: .95rem;
}
}