/* =============================================================================
   GrenBee Service Landings — landing.css
   Estilos específicos para service-landing.php.
   Mantiene el sistema base en main.css y premium.css, pero saca de global
   los bloques exclusivos de las landings para reducir colisiones.
   ============================================================================= */

.site-main.service-landing {
    padding-top: 0;
}

.gbx-service-hero {
    position: relative;
    overflow: hidden;
    padding: 0 0 48px;
    margin-top: 0;
    background-color: #08101d;
    background-image: var(--gbx-service-hero);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.gbx-service-hero--no-image {
    background: linear-gradient(135deg, rgba(8, 15, 31, 0.95), rgba(8, 15, 31, 0.78));
}

.gbx-service-hero::after {
    content: "";
    position: absolute;
    inset: auto auto -120px 56%;
    width: min(32vw, 360px);
    aspect-ratio: 1;
    border-radius: 999px;
    background: transparent;
    filter: none;
    pointer-events: none;
}

.gbx-service-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.gbx-split-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
    gap: clamp(2rem, 4vw, 3.25rem);
    align-items: start;
}

.gbx-service-hero__grid {
    padding-top: 84px;
}

.gbx-service-hero__copy {
    width: 100%;
    max-width: 780px;
}

.gbx-service-hero__copy > * {
    max-width: 100%;
}

.gbx-service-hero__copy h1 {
    font-size: clamp(2.4rem, 3.35vw, 3.3rem);
    line-height: 1.06;
    font-weight: 600;
    letter-spacing: -0.04em;
    color: #0f172a;
    max-width: 14ch;
    margin-bottom: 0.7rem;
    text-wrap: balance;
    text-shadow: none;
}

.gbx-service-hero__lead {
    margin: 0;
    font-size: clamp(1.02rem, 1.4vw, 1.14rem);
    line-height: 1.64;
    color: #111827;
    max-width: 48ch;
    text-shadow: none;
}

.gbx-service-hero__copy .gbx-action-row {
    margin-top: 1.2rem;
    gap: 0.9rem;
}

.gbx-service-page .gbx-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--green-dark, #059669);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.gbx-service-page .gbx-kicker::before {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 99px;
    background: var(--green, #10b981);
    flex-shrink: 0;
}

.gbx-service-hero .gbx-action-row .btn-secondary {
    background: transparent;
    border: 2px solid rgba(15, 23, 42, 0.86);
    color: #0f172a;
}

.gbx-service-hero .gbx-action-row .btn-secondary:hover,
.gbx-service-hero .gbx-action-row .btn-secondary:focus-visible {
    background: rgba(255, 255, 255, 0.72);
    border-color: #0f172a;
    color: #0f172a;
}

.gbx-checklist {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.gbx-checklist--tight {
    margin-top: 16px;
    gap: 10px;
}

.gbx-checklist li {
    position: relative;
    padding-left: 28px;
    color: #0f172a;
    line-height: 1.65;
}

.gbx-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #10b981;
    font-weight: 800;
}

.gbx-checklist--negative li::before {
    content: '×';
    color: #ef4444;
}

.gbx-process-grid,
.gbx-stack,
.gbx-room-grid,
.gbx-quote-grid,
.gbx-detail-grid,
.gbx-addon-grid,
.gbx-rule-grid,
.gbx-frequency-grid {
    display: grid;
    gap: 32px;
}

.gbx-stack,
.gbx-room-grid,
.gbx-quote-grid,
.gbx-frequency-grid,
.gbx-detail-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 36px;
}

.gbx-process-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gbx-addon-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gbx-rule-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin-top: 22px;
}

.gbx-frequency-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    margin-top: 22px;
}

@media (min-width: 1100px) {
    .gbx-room-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 24px;
    }
}

.gbx-stack-card,
.gbx-detail-card,
.gbx-room-card,
.gbx-quote-card,
.gbx-addon-card,
.gbx-frequency-card,
.gbx-rule-card {
    padding: 1.65rem;
    margin-bottom: 0;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid var(--ink-10, #e2e8f0);
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(15, 23, 42, 0.08));
    transition:
        transform var(--duration-md, 0.3s) var(--ease-default, ease),
        box-shadow var(--duration-md, 0.3s) var(--ease-default, ease);
}

.gbx-stack-card:hover,
.gbx-detail-card:hover,
.gbx-room-card:hover,
.gbx-quote-card:hover,
.gbx-addon-card:hover,
.gbx-frequency-card:hover,
.gbx-rule-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md, 0 12px 28px rgba(15, 23, 42, 0.10));
}

.gbx-stack-card strong,
.gbx-detail-card h2,
.gbx-detail-card h3,
.gbx-room-card h3,
.gbx-addon-card strong {
    display: block;
    color: #0f172a;
    font-size: 21px;
    line-height: 1.2;
}

.gbx-copy-intro {
    margin-bottom: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
}

.gbx-stack-head {
    margin-bottom: 0.85rem;
}

.gbx-stack-head h3 {
    margin: 0;
    font-size: clamp(1.18rem, 2vw, 1.4rem);
    line-height: 1.3;
    color: var(--primary-color);
}

.gbx-pricing-photo {
    margin-top: 24px;
    border-radius: 24px;
    overflow: hidden;
    min-height: 220px;
    height: clamp(220px, 26vw, 280px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.10);
}

.gbx-pricing-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gbx-process-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2.6rem 1.75rem 1.75rem;
    border-radius: 20px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef5fb 100%);
    border: 1px solid var(--ink-10, #e2e8f0);
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(15, 23, 42, 0.08));
    text-align: left;
    transition:
        transform var(--duration-md, 0.3s) var(--ease-default, ease),
        box-shadow var(--duration-md, 0.3s) var(--ease-default, ease);
}

.gbx-process-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md, 0 12px 28px rgba(15, 23, 42, 0.10));
}

.gbx-process-card span {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 26px;
    height: 26px;
    margin: 0;
    font-size: 0.7rem;
    font-weight: 700;
    color: #ffffff;
    background: var(--green, #10b981);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
    padding: 0;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.gbx-process-card--icon img {
    margin: 0 auto;
    display: block;
    width: 94%;
    height: auto;
    max-width: 196px;
    margin-bottom: 1rem;
}

.gbx-process-card h3 {
    font-size: 1.15rem;
}

.gbx-process-card p {
    margin: 0;
    color: var(--text-muted, #475569);
    line-height: 1.65;
}

.gbx-quote-card p,
.gbx-quote-card cite {
    margin: 0;
}

.gbx-quote-card p {
    color: #334155;
    line-height: 1.75;
    font-style: italic;
}

.gbx-quote-card cite {
    display: block;
    margin-top: 14px;
    color: #0f766e;
    font-style: normal;
    font-weight: 700;
}

.gbx-addon-card {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
}

.gbx-addon-card span {
    display: block;
    margin-top: 6px;
    color: #64748b;
    font-size: 14px;
}

.gbx-addon-card em {
    align-self: center;
    font-style: normal;
    color: #0f766e;
    font-weight: 800;
    white-space: nowrap;
}

.gbx-rule-card {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #9a3412;
}

.gbx-frequency-card {
    padding: 18px;
    text-align: center;
}

.gbx-frequency-card small {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #0f766e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.gbx-frequency-card small::before {
    content: '';
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
    flex-shrink: 0;
}

.gbx-frequency-card strong {
    display: block;
    color: #0f172a;
    font-size: 18px;
}

.gbx-frequency-card span {
    display: block;
    margin-top: 6px;
    color: #0f766e;
    font-weight: 800;
}

.gbx-inline-cta,
.gbx-guarantee-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.2rem;
    align-items: center;
    padding: clamp(1.4rem, 2vw, 2rem);
    border-radius: 28px;
    border: 1px solid rgba(16, 185, 129, 0.16);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(255, 255, 255, 0.96));
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.08);
    transition: box-shadow var(--duration-md, 220ms) var(--ease-default, ease);
}

.gbx-inline-cta h2,
.gbx-guarantee-card h2 {
    margin-bottom: 0.65rem;
}

.gbx-inline-cta p,
.gbx-guarantee-card p {
    max-width: 62ch;
    margin: 0;
}

.gbx-guarantee-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.04), rgba(255, 255, 255, 0.98));
    border-color: rgba(15, 23, 42, 0.09);
}

.gbx-final-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 34px;
    background: linear-gradient(135deg, #0f172a 0%, #0f766e 100%);
    color: #ffffff;
}

.gbx-final-card--service {
    background: linear-gradient(135deg, #0f172a 0%, #14532d 100%);
}

.gbx-final-card .gbx-action-row .btn,
.gbx-inline-cta .gbx-action-row .btn {
    min-width: 190px;
}

.gbx-reassurance-list {
    display: grid;
    gap: 0.65rem;
    margin-top: 1.15rem;
}

.gbx-reassurance-list li {
    position: relative;
    padding-left: 1.65rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.gbx-reassurance-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.52rem;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--secondary-color);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.12);
}

.gbx-reassurance-list--compact {
    margin-top: 1rem;
}

.gbx-reassurance-list--compact li {
    font-size: 0.9rem;
}

.gbx-reassurance-list--light li {
    color: rgba(255, 255, 255, 0.9);
}

.gbx-reassurance-list--light li::before {
    background: #ffffff;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.15);
}

.service-faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: grid;
    gap: 0.75rem;
}

.service-faq-item {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition:
        box-shadow var(--duration-md, 220ms) var(--ease-default, ease),
        border-color var(--duration-md, 220ms) var(--ease-default, ease);
}

.service-faq-item[open] {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.service-faq-item:hover {
    border-color: rgba(16, 185, 129, 0.18);
}

.service-faq-item summary {
    padding: 20px 24px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary-color);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    background-color: transparent;
}

.service-faq-item summary::-webkit-details-marker {
    display: none;
}

.service-faq-item summary:focus,
.service-faq-item summary:active {
    background-color: transparent;
}

.service-faq-item summary:focus-visible {
    outline: 2px solid rgba(16, 185, 129, 0.35);
    outline-offset: -4px;
    border-radius: 10px;
}

.service-faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: #94a3b8;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.service-faq-item[open] summary::after {
    content: '\2212';
    color: var(--secondary-color);
}

.service-faq-item p {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

.gbx-service-page .gbx-section-head h2,
.gbx-service-page .gbx-detail-card h2,
.gbx-service-page .gbx-detail-card h3,
.gbx-service-page .gbx-room-card h3,
.gbx-service-page .gbx-stack-card strong,
.gbx-service-page .gbx-addon-card strong {
    font-weight: 600;
}

@media (max-width: 1100px) {
    .gbx-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .gbx-service-hero {
        padding-top: 56px;
    }

    .gbx-service-hero__grid {
        padding-top: 84px;
    }

    .gbx-split-grid,
    .gbx-final-card {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .gbx-inline-cta,
    .gbx-guarantee-card {
        grid-template-columns: 1fr;
    }

    .gbx-inline-cta .gbx-action-row,
    .gbx-guarantee-card .btn {
        width: 100%;
    }

    .gbx-inline-cta .gbx-action-row .btn,
    .gbx-guarantee-card .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .gbx-service-hero {
        padding-top: 44px;
        padding-bottom: 56px;
        background-image: var(--gbx-service-hero);
    }

    .gbx-service-hero::after {
        inset: auto auto -84px 42%;
        width: 240px;
    }

    .gbx-service-hero__grid {
        padding-top: 84px;
    }

    .gbx-service-hero__copy {
        max-width: 100%;
    }

    .gbx-service-hero__copy h1 {
        max-width: 12.5ch;
    }

    .gbx-service-hero__lead {
        font-size: 0.98rem;
        line-height: 1.58;
    }

    .gbx-process-grid,
    .gbx-room-grid,
    .gbx-quote-grid,
    .gbx-detail-grid,
    .gbx-addon-grid,
    .gbx-rule-grid,
    .gbx-frequency-grid,
    .gbx-split-grid {
        grid-template-columns: 1fr;
    }

    .gbx-addon-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .gbx-stack-card,
    .gbx-process-card,
    .gbx-detail-card,
    .gbx-room-card,
    .gbx-quote-card,
    .gbx-rule-card,
    .gbx-final-card {
        padding: 22px;
    }
}

.gbx-service-hero__copy h1,
.gbx-section-head h2,
.gbx-inline-cta h2,
.gbx-guarantee-card h2 {
    font-weight: 600 !important;
}

.gbx-detail-card h2,
.gbx-detail-card h3,
.gbx-room-card h3,
.gbx-stack-head h3,
.gbx-process-card h3 {
    font-weight: 500 !important;
}
