* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: #0f172a;
    background: #f8fafc;
}

body.menu-open {
    overflow: hidden;
}

.hero {
    background: linear-gradient(135deg, #0f5ea8 0%, #14b8a6 100%);
    color: #fff;
    min-height: 700px;
    position: relative;
}

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.5);
    z-index: 5000;
    transition: background-color 0.2s ease;
}

.site-nav.scrolled {
    background: #ffffff;
}

.site-nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-nav-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.site-nav-brand img {
    display: block;
    height: 36px;
    width: auto;
}

.site-menu-toggle {
    display: none;
    border: 1px solid #00b3dd;
    background: #fff;
    border-radius: 8px;
    width: 42px;
    height: 36px;
    padding: 6px 8px;
    cursor: pointer;
}

.site-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #00b3dd;
    margin: 4px 0;
}

.site-menu {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 18px;
}

.site-menu a {
    color: #00b3dd;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
}

.site-menu-login {
    border: 1px solid #00b3dd;
    padding: 4px 14px;
    border-radius: 6px;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.site-menu-login::before {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid #00b3dd;
}

.site-menu-backdrop {
    display: none;
}

.site-menu-mobile-brand {
    display: none;
}

.site-menu-close {
    display: none;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #334155;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.hero-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 24px 20px 0;
}

.top-banner {
    width: 100%;
    display: flex;
    justify-content: center;
}

.top-banner img {
    display: block;
    width: 100%;
    max-width: 1920px;
    height: auto;
    margin: 0;
}

h1 {
    margin: 0 0 14px 0;
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.1;
}

.hero p {
    margin: 0 0 24px 0;
    max-width: 760px;
    font-size: 18px;
    line-height: 1.5;
}

.cta {
    display: inline-block;
    text-decoration: none;
    background: #fff;
    color: #0f5ea8;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 700;
}

.container {
    max-width: 1120px;
    margin: -24px auto 0 auto;
    padding: 0 20px 36px 20px;
    z-index: 1;
    position: relative;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.card {
    background: #fff;
    border: 1px solid #dbe2ea;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.card h2 {
    margin: 0 0 10px 0;
    font-size: 20px;
    color: #0f5ea8;
}

.card p {
    margin: 0;
    line-height: 1.5;
    color: #334155;
}

.plans-section {
    margin-top: 28px;
}

.segments-section {
    margin-top: 28px;
    border-radius: 16px;
    padding: 22px;
    background: linear-gradient(135deg, #0b4f96 0%, #0ea5b1 100%);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
}

.resources-section {
    margin-top: 28px;
    background: #ffffff;
    border: 1px solid #dbe2ea;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.resources-header h2 {
    margin: 0;
    color: #0f5ea8;
    font-size: 32px;
}

.resources-header p {
    margin: 8px 0 18px;
    color: #475569;
}

.resources-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.resource-card {
    border: 1px solid #dbe2ea;
    border-radius: 12px;
    padding: 18px;
    background: #f8fafc;
}

.resource-card h3 {
    margin: 0 0 12px;
    font-size: 24px;
    color: #0f172a;
}

.resource-card ul {
    margin: 0;
    padding-left: 18px;
    color: #334155;
}

.resource-card li {
    margin-bottom: 10px;
    line-height: 1.45;
}

.resource-card-ia {
    background: linear-gradient(135deg, #0f5ea8 0%, #0ea5b1 100%);
    border-color: rgba(14, 165, 177, 0.4);
    box-shadow: 0 14px 28px rgba(14, 165, 177, 0.25);
    position: relative;
    overflow: visible;
    padding-top: 18px;
}

.resource-card-ia h3,
.resource-card-ia ul,
.resource-card-ia li {
    color: #ffffff;
}

.resource-card-ia strong {
    color: #dff8ff;
}

.resource-ia-character {
    position: absolute;
    top: 160px;
    right: -90px;
    width: 300px;
    z-index: 3;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resource-ia-character img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.28));
}

.resource-ia-points {
    margin-top: 10px;
    
}

.resource-ia-points ul {
    list-style: none;
    padding-left: 0;
}

.resource-ia-points li {
    margin: 0 0 10px 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.resource-cta {
    display: inline-block;
    margin-top: 8px;
    text-decoration: none;
    background: #ffffff;
    color: #0f5ea8;
    font-weight: 700;
    border-radius: 8px;
    padding: 10px 14px;
}

.segments-header h2 {
    margin: 0;
    color: #ffffff;
    font-size: 32px;
}

.segments-header p {
    margin: 8px 0 18px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 880px;
}

.segments-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.segment-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    padding: 16px;
}

.segment-icon {
    width: 100%;
    height: 146px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    background: #ffffff;
    overflow: hidden;
}

.segment-icon img {
    display: block;
    max-width: 100%;
    max-height: 126px;
    object-fit: contain;
}

.segment-card h3 {
    margin: 0 0 8px;
    color: #0f5ea8;
    font-size: 20px;
}

.segment-card p {
    margin: 0;
    color: #334155;
    line-height: 1.5;
}

.plans-title {
    margin: 0;
    color: #0f5ea8;
    font-size: 32px;
}

.plans-subtitle {
    margin: 8px 0 18px;
    color: #475569;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.plan-card {
    background: #fff;
    border: 1px solid #dbe2ea;
    border-radius: 12px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.plan-card.featured {
    border-color: #0ea5e9;
    box-shadow: 0 10px 24px rgba(14, 165, 233, 0.14);
}

.plan-card h3 {
    margin: 0;
    color: #0f172a;
    font-size: 26px;
}

.plan-desc {
    margin: 0;
    color: #475569;
    min-height: 58px;
}

.plan-price {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    color: #0f5ea8;
}

.plan-price span {
    font-size: 15px;
    font-weight: 600;
    color: #475569;
}

.plan-cta {
    margin-top: 4px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    padding: 10px 12px;
    border: 1px solid #0f5ea8;
    color: #0f5ea8;
    font-weight: 700;
}

.plan-card ul {
    margin: 6px 0 0;
    padding-left: 18px;
    color: #334155;
    line-height: 1.45;
}

.contact-section {
    margin-top: 24px;
}

.contact-card {
    background: #fff;
    border: 1px solid #dbe2ea;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.contact-card h2 {
    margin: 0 0 8px 0;
    color: #0f5ea8;
}

.contact-card p {
    margin: 0 0 18px 0;
    color: #475569;
}

.contact-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 15px;
    margin-bottom: 14px;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.contact-submit {
    border: 0;
    background: #0f5ea8;
    color: #fff;
    font-weight: 700;
    border-radius: 10px;
    padding: 12px 20px;
    cursor: pointer;
}

.contact-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.contact-feedback {
    display: none;
    margin: 4px 0 14px;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 600;
}

.contact-feedback.success {
    display: block;
    background: #ecfdf5;
    border: 1px solid #10b981;
    color: #065f46;
}

.contact-feedback.error {
    display: block;
    background: #fef2f2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

.footer {
    text-align: center;
    padding: 22px 12px 30px;
    color: #64748b;
    font-size: 14px;
}

.footer-link {
    color: #0f3f78;
    text-decoration: none;
    font-weight: 600;
}

.footer-link:hover {
    text-decoration: underline;
}

.policy-page {
    max-width: 1120px;
    margin: -38px auto 0;
    padding: 0 20px 36px;
    position: relative;
    z-index: 2;
}

.policy-card {
    margin: 0;
    background: #fff;
    border: 1px solid #d9e2f1;
    border-radius: 16px;
    padding: 28px 24px;
    color: #1e293b;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.policy-card h1 {
    font-size: 34px;
    margin: 0 0 14px;
    color: #0f172a;
}

.policy-card h2 {
    font-size: 20px;
    margin: 22px 0 8px;
    color: #0f3f78;
}

.policy-card p {
    margin: 0 0 10px;
    line-height: 1.65;
}

.policy-back-link {
    color: #0f3f78;
    font-weight: 700;
    text-decoration: none;
}

.policy-back-link:hover {
    text-decoration: underline;
}

body.policy-privacy-page .policy-hero {
    min-height: 520px;
}

.policy-hero-inner {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8px 20px 24px;
}

.policy-hero-inner h1 {
    margin: 0 0 8px;
}

.policy-hero-inner p {
    margin: 0;
    max-width: none;
    font-size: 20px;
}

.whatsapp-float {
       position: fixed;
    right: 36px;
    bottom: 27px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    box-shadow: 4px 4px 10px rgb(0 0 0 / 40%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    display: block;
}

@media (max-width: 980px) {
    .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .segments-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .plans-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }

    .resource-ia-character {
        position: static;
        width: 160px;
        margin: 8px auto 6px;
    }

    .resource-ia-points {
        padding-right: 0;
    }
}

@media (max-width: 640px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .segments-grid {
        grid-template-columns: 1fr;
    }

    .segments-section {
        padding: 18px 14px;
    }

    .segments-header h2 {
        font-size: 27px;
    }

    .resources-section {
        padding: 18px 14px;
    }

    .resources-header h2 {
        font-size: 27px;
    }

    .plans-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-bottom: 40px;
        min-height: auto;
    }

    .site-nav-inner {
        padding: 10px 14px;
    }

    .container {
        padding: 0 16px 26px 16px;
               z-index: 9;
        position: relative;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hero-inner {
        padding: 20px 16px 0;
    }

    body.policy-privacy-page .policy-hero {
        min-height: 460px;
    }

    .policy-hero-inner {
        min-height: 180px;
        padding-bottom: 16px;
    }

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

    .policy-page {
        margin-top: -26px;
        padding: 0 14px 26px;
    }
}

@media (max-width: 900px) {
    .site-nav {
        background: transparent;
    }

    .site-nav.scrolled {
        background: transparent;
    }

    .site-nav-inner {
        justify-content: flex-end;
        padding: 8px 12px;
    }

    .site-nav-brand {
        display: none;
    }

    .site-menu-toggle {
        display: block;
        margin-left: 0;
        z-index: 5300;
    }

    .site-nav-brand img {
        height: 30px;
    }

    .site-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: min(82vw, 320px);
        height: 100vh;
        background: #fff;
        box-shadow: -8px 0 24px rgba(0, 0, 0, 0.2);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 14px 18px 20px;
        transform: translateX(100%);
        transition: transform 0.25s ease;
        z-index: 5200;
    }

    .site-menu.open {
        transform: translateX(0);
    }

    .site-menu li {
        width: 100%;
    }

    .site-menu-mobile-brand {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0 0 12px;
        margin-bottom: 8px;
        border-bottom: 1px solid #e2e8f0;
    }

    .site-menu-mobile-brand img {
        display: block;
        max-width: 160px;
        height: auto;
    }

    .site-menu-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .site-menu a {
        display: block;
        width: 100%;
        color: #0f172a;
        padding: 12px 4px;
        border-bottom: 1px solid #e2e8f0;
    }

    .site-menu-login {
        margin-top: 10px;
        justify-content: center;
        text-align: center;
    }

    .site-menu-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease;
        z-index: 5100;
    }

    .site-menu-backdrop.open {
        opacity: 1;
        pointer-events: auto;
    }
}
