/* =========================
   Producto
========================= */

.product-intro-grid,
.product-visual-grid,
.product-benefits-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: center;
}

.product-intro-card,
.product-benefits-list {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 34px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

.product-benefits-list {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.product-highlight h3 {
    font-size: 24px;
    line-height: 1.18;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
    color: #0f172a;
}

.product-highlight ul {
    list-style: none;
    padding: 0;
}

.product-highlight li {
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
    font-size: 16px;
}

.product-highlight li:last-child {
    border-bottom: none;
}

.product-visual-image img {
    width: 100%;
    display: block;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.section-heading-centered {
    max-width: 760px;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.capability-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 30px 26px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
    min-height: 100%;
}

.capability-card h3 {
    font-size: 20px;
    margin-bottom: 14px;
    color: #0f172a;
}

.capability-card p {
    color: #475569;
    line-height: 1.65;
    font-size: 16px;
}

.product-benefits-list {
    display: grid;
    gap: 16px;
}

.benefit-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 20px;
    color: #1e293b;
    font-weight: 500;
}

.product-flow,
.product-states {
    position: relative;
}

.product-flow {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.product-flow .section-heading-centered,
.product-states .section-heading-centered {
    margin-bottom: 46px;
}

.product-flow .capability-card,
.product-states .capability-card {
    padding: 32px 28px;
}

.product-flow .capability-card h3,
.product-states .capability-card h3 {
    font-size: 19px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.product-flow .capability-card p,
.product-states .capability-card p {
    line-height: 1.72;
}

.product-flow .capabilities-grid {
    gap: 26px;
}

.product-states .capabilities-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.product-states .capability-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.product-capabilities,
.product-flow,
.product-states,
.product-benefits {
    scroll-margin-top: 110px;
}

.product-flow + .product-states {
    padding-top: 88px;
}

.product-states + .product-benefits {
    padding-top: 88px;
}

.page-cta-block{
padding:60px 0 70px;
}

.page-cta-block:first-of-type{
margin-top:20px;
}

.page-cta-box{
background:linear-gradient(
180deg,
#ffffff 0%,
#f8fbff 100%
);
padding:60px 48px;
text-align:center;
box-shadow:
0 10px 35px rgba(15,23,42,0.08),
0 2px 8px rgba(15,23,42,0.06);
border:1px solid rgba(15,23,42,0.04);
}

.page-cta-box h2 {
    font-size: 40px;
    line-height: 1.05;
    letter-spacing: -0.032em;
    color: #0f172a;
    margin-bottom: 18px;
    max-width: min(50ch, 100%);
    margin-left: auto;
    margin-right: auto;
}

.page-cta-box p {
    max-width: 66ch;
    margin: 0 auto 30px;
    font-size: 17px;
    line-height: 1.72;
    color: #475569;
    text-wrap: pretty;
}

.page-cta-box .btn-primary {
    min-width: 180px;
}

.final-cta-container {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.final-cta-container h2 {
    font-size: 40px;
    line-height: 1.05;
    letter-spacing: -0.032em;
    color: #0f172a;
    max-width: 18ch;
    margin: 0 auto 18px;
    text-wrap: balance;
}

.final-cta-container p {
    max-width: 68ch;
    margin: 0 auto 30px;
    font-size: 17px;
    line-height: 1.72;
    color: #475569;
    text-wrap: pretty;
}

.product-flow-diagram {
    margin-top: 38px;
    padding: 30px;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #dbe7f5;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.product-flow-diagram-track {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.product-flow-step {
    position: relative;
    display: grid;
    gap: 10px;
    padding: 18px 16px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.product-flow-step::after {
    content: "→";
    position: absolute;
    top: 50%;
    right: -12px;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 20px;
    font-weight: 700;
}

.product-flow-step:last-child::after {
    display: none;
}

.product-flow-step-number {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2563eb;
}

.product-flow-step-title {
    font-size: 17px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.product-flow-step-text {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
}

.product-states .capability-card:nth-child(1) {
    border-color: rgba(59, 130, 246, 0.16);
}

.product-states .capability-card:nth-child(2) {
    border-color: rgba(16, 185, 129, 0.18);
}

.product-states .capability-card:nth-child(3) {
    border-color: rgba(99, 102, 241, 0.18);
}

/* =========================
   Arquitectura
========================= */

.architecture-overview-grid,
.architecture-principles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.architecture-overview-image img {
    width: 100%;
    display: block;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.architecture-modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.architecture-module-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 30px 26px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
    min-height: 100%;
}

.architecture-module-card h3 {
    font-size: 20px;
    margin-bottom: 14px;
    color: #0f172a;
}

.architecture-module-card p {
    color: #475569;
    line-height: 1.65;
    font-size: 16px;
}

.architecture-principles-list {
    display: grid;
    gap: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 34px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

.principle-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 20px;
    color: #1e293b;
    font-weight: 500;
}

/* =========================
   Aplicaciones
========================= */

.applications-overview-grid,
.applications-processes-grid,
.applications-results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.applications-overview-card,
.applications-results-list {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 34px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

.applications-overview-card h3 {
    font-size: 24px;
    line-height: 1.18;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
    color: #0f172a;
}

.applications-overview-card ul {
    list-style: none;
    padding: 0;
}

.applications-overview-card li {
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
    font-size: 16px;
}

.applications-overview-card li:last-child {
    border-bottom: none;
}

.applications-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.application-case-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 30px 26px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
    min-height: 100%;
}

.application-case-card h3 {
    font-size: 20px;
    margin-bottom: 14px;
    color: #0f172a;
}

.application-case-card p {
    color: #475569;
    line-height: 1.65;
    font-size: 16px;
}

.applications-processes-image img {
    width: 100%;
    display: block;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.applications-process-list {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.process-item,
.result-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 20px;
    color: #1e293b;
    font-weight: 500;
}

.applications-results-list {
    display: grid;
    gap: 16px;
}

/* =========================
   Video sections
========================= */

.home-video-section,
.demo-video-section {
    padding: 90px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    scroll-margin-top: 110px;
}

.video-section-header {
    max-width: 860px;
    margin: 0 auto 34px;
    text-align: center;
}

.video-section-header--narrow {
    max-width: 820px;
}

.video-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2563eb;
}

.video-kicker::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #60a5fa;
    box-shadow: 0 0 12px rgba(96, 165, 250, 0.28);
    flex: 0 0 auto;
}

.video-section-header h2 {
    margin-bottom: 16px;
    font-size: 42px;
    line-height: 1.06;
    letter-spacing: -0.03em;
    color: #0f172a;
    text-wrap: balance;
}

.video-section-header p {
    max-width: 68ch;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.72;
    color: #475569;
    text-wrap: pretty;
}

.video-shell {
    max-width: 1100px;
    margin: 0 auto;
    padding: 18px;
    border-radius: 28px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #dbe7f5;
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.06),
        0 6px 18px rgba(15, 23, 42, 0.05);
}

.video-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
}

.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.video-section-cta {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

/* =========================
   Demo
========================= */

.demo-intro-box {
    max-width: 860px;
}

.demo-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: start;
}

.demo-form-wrapper,
.demo-info-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 34px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

.demo-form-text {
    margin-bottom: 28px;
}

.demo-form {
    display: grid;
    gap: 22px;
}

.form-group {
    display: grid;
    gap: 10px;
}

.form-group label span {
    color: #64748b;
    font-weight: 500;
}

.form-group label {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #1e293b;
}

.form-group input:not([type="checkbox"]),
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    padding: 15px 16px;
    font-size: 16px;
    line-height: 1.55;
    font-family: 'Inter', sans-serif;
    color: #1e293b;
    background: #ffffff;
    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast),
        background var(--transition-fast),
        transform var(--transition-fast);
}

.form-group input:not([type="checkbox"]):hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #94a3b8;
    background: #fcfdff;
}

.form-group input:not([type="checkbox"]):focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    background: #fcfdff;
    transform: translateY(-1px);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.form-group input:not([type="checkbox"]):required:valid,
.form-group textarea:required:valid {
    border-color: rgba(16, 185, 129, 0.42);
}

.form-group input:not([type="checkbox"]):required:invalid:not(:placeholder-shown),
.form-group textarea:required:invalid:not(:placeholder-shown) {
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 152px;
}

.demo-submit {
    border: none;
    cursor: pointer;
    width: fit-content;
    margin-top: 6px;
}

.demo-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.14);
}

.demo-info-card h3 {
    font-size: 24px;
    line-height: 1.18;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: #0f172a;
}

.demo-info-list {
    display: grid;
    gap: 16px;
    margin-bottom: 28px;
}

.demo-info-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 20px;
    color: #1e293b;
    font-weight: 500;
    line-height: 1.5;
}

.demo-note {
    padding: 22px;
    border-radius: 18px;
    background: linear-gradient(180deg, #eff6ff 0%, #f8fbff 100%);
    border: 1px solid #bfdbfe;
}

.demo-note p {
    color: #1e3a8a;
    line-height: 1.6;
    font-size: 15px;
}

.form-helper-text {
    margin-top: -8px;
    font-size: 14px;
    line-height: 1.55;
    color: #64748b;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.product-intro-text,
.product-visual-text,
.product-benefits-text,
.architecture-overview-text,
.architecture-principles-text,
.applications-overview-text,
.applications-processes-text,
.applications-results-text,
.demo-intro-box,
.demo-form-wrapper {
    display: grid;
    align-content: start;
}

.product-intro-text .section-title,
.product-visual-text .section-title,
.product-benefits-text .section-title,
.architecture-overview-text .section-title,
.architecture-principles-text .section-title,
.applications-overview-text .section-title,
.applications-processes-text .section-title,
.applications-results-text .section-title,
.demo-intro-box .section-title,
.demo-form-wrapper .section-title {
    margin-bottom: 16px;
}

.product-intro-text .section-text,
.product-visual-text .section-text,
.product-benefits-text .section-text,
.architecture-overview-text .section-text,
.architecture-principles-text .section-text,
.applications-overview-text .section-text,
.applications-processes-text .section-text,
.applications-results-text .section-text,
.demo-intro-box .section-text,
.demo-form-wrapper .section-text {
    max-width: 62ch;
}
.product-benefits-text .section-text {
    max-width: 58ch;
}
.form-status {
    display: none;
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 500;
}

.form-status.is-visible {
    display: block;
}

.form-status.is-success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #155443;
}

.form-status.is-error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #ffd6d6;
}