/* Desarrollo web: reglas específicas de página */

.custom-ideas.secondary {
    padding-bottom: clamp(5rem, 8vw, 7.5rem);
}

.ideas-content p {
    max-width: 760px;
    margin-bottom: 2.4rem;
    color: var(--ink-muted);
    font-size: clamp(1.02rem, 1.5vw, 1.18rem);
}

.ideas-features {
    max-width: 1080px;
    margin: 3rem 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.idea-item {
    position: relative;
    padding: 1.45rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgb(255 255 255 / 72%);
    box-shadow: var(--shadow-xs);
    transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.idea-item:hover {
    border-color: rgb(116 91 199 / 42%);
    box-shadow: var(--shadow-sm);
    transform: translateY(-4px);
}

.idea-icon,
.service-main-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 1.2rem;
}

.idea-icon svg,
.service-main-icon svg {
    width: 28px;
    height: 28px;
}

.idea-item h3 {
    margin-bottom: 0.55rem;
    font-size: 1.03rem;
}

.idea-item p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
}

.idea-arrow {
    margin-top: 1rem;
    color: var(--brand-violet);
}

.services {
    padding: clamp(4.5rem, 8vw, 7.5rem) 0;
    background: var(--surface);
}

.features {
    padding: clamp(4.5rem, 8vw, 7.5rem) 0;
    background: var(--canvas);
}

.service-main {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.service-content {
    max-width: 760px;
}

.service-content h3 {
    margin-bottom: 1rem;
    font-size: clamp(1.65rem, 3vw, 2.55rem);
    line-height: 1.12;
}

.service-content > p {
    color: var(--ink-muted);
    font-size: 1.04rem;
    line-height: 1.75;
}

.service-benefits {
    margin: 2rem 0;
    display: grid;
    gap: 0.75rem;
}

.service-benefits .benefit-item {
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
}

.service-benefits .benefit-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    margin: 0;
    border-radius: 8px;
}

.service-benefits .benefit-icon svg {
    width: 16px;
    height: 16px;
}

.service-buttons,
.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.price-section {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
    padding: clamp(1.6rem, 3vw, 2.1rem);
    border: 1px solid rgb(116 91 199 / 24%);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 100% 0, rgb(116 91 199 / 12%), transparent 32%),
        var(--surface);
    box-shadow: var(--shadow-md);
}

.price-badge {
    display: inline-flex;
    margin-bottom: 1.2rem;
    padding: 0.42rem 0.62rem;
    border: 1px solid rgb(116 91 199 / 22%);
    border-radius: 4px;
    background: rgb(116 91 199 / 9%);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.price-container {
    margin-bottom: 0.75rem;
}

.price-label,
.price-currency,
.price-footer {
    color: var(--ink-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.price {
    margin: 0.2rem 0;
    font-size: clamp(2.4rem, 5vw, 3.35rem);
    font-weight: 820;
    line-height: 0.95;
    transition: opacity var(--ease), transform var(--ease);
}

.maintenance {
    margin-bottom: 1.25rem;
    color: var(--ink-muted);
    font-size: 0.92rem;
}

.price-toggle-container {
    margin-bottom: 1.25rem;
}

.price-toggle-btn {
    width: 100%;
    padding: 0.85rem 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--canvas);
    cursor: pointer;
    transition: border-color var(--ease), background var(--ease);
}

.price-toggle-btn:hover,
.price-toggle-btn.active {
    border-color: rgb(116 91 199 / 38%);
    background: rgb(116 91 199 / 8%);
}

.price-toggle-btn.active .toggle-arrow-svg {
    transform: rotate(180deg);
}

.price-divider {
    height: 1px;
    margin: 1.35rem 0;
    background: var(--line);
}

.features-mini {
    display: grid;
    gap: 0.72rem;
    margin-bottom: 1.45rem;
}

.feature-mini {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    color: var(--ink-muted);
    font-size: 0.93rem;
}

.feature-mini .check-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    border-radius: 6px;
    font-size: 0.78rem;
}

.pulse-button {
    width: 100%;
}

.features-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.features-grid .feature-item {
    padding: 1.55rem;
}

.features-grid .feature-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 1.2rem;
}

.features-grid .feature-icon svg {
    width: 26px;
    height: 26px;
}

.features-grid h3 {
    margin-bottom: 0.55rem;
    font-size: 1rem;
}

.features-grid p {
    margin: 0;
    font-size: 0.92rem;
}

@media (max-width: 1120px) {
    .ideas-features,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-main {
        grid-template-columns: 1fr;
    }

    .price-section {
        position: relative;
        top: auto;
        max-width: 560px;
    }
}

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

    .service-buttons,
    .contact-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}
