/* ── Service Sub-page Shared Styles ── */

.sp-hero {
    background: linear-gradient(135deg, #0d1f3c 0%, #1a3a6e 100%);
    padding: 5rem 2rem 3.5rem;
    text-align: center;
    color: #fff;
}
.sp-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.sp-hero p {
    color: #94a3b8;
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
}
.sp-section {
    max-width: 920px;
    margin: 0 auto;
    padding: 3rem 2rem 4rem;
}
.sp-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: #0d1f3c;
    margin-bottom: 1.5rem;
}
.sp-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.1rem;
    margin-bottom: 2.5rem;
}
.sp-card {
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem 1.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(13,31,60,0.06);
}
.sp-card:hover {
    background: #e0f2fe;
    box-shadow: 0 8px 24px rgba(13,31,60,0.12);
    transform: translateY(-2px);
}
.sp-card .sc-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
}
.sp-card .sc-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0ea5e9;
    margin-left: 1rem;
    white-space: nowrap;
}
.sp-infobox {
    background: #f0f9ff;
    border-left: 4px solid #38bdf8;
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    color: #1e293b;
    line-height: 1.75;
    font-size: 0.97rem;
}
.sp-cta {
    background: linear-gradient(135deg, #0d1f3c 0%, #1a3a6e 100%);
    text-align: center;
    padding: 3.5rem 1.5rem;
    color: #fff;
}
.sp-cta h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.3rem, 3vw, 1.85rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.sp-cta p { color: #94a3b8; margin-bottom: 2rem; }
.sp-cta-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-cta-white {
    background: #fff;
    color: #0d1f3c;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    transition: opacity 0.2s;
}
.btn-cta-white:hover { opacity: 0.9; }
.btn-cta-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}
.btn-cta-wa:hover { background: #22c55e; transform: translateY(-2px); }

/* Nav Dropdown shared */
.nav-dropdown { position: relative; }
.nav-dropdown > .nav-link { cursor: pointer; display: flex; align-items: center; gap: 4px; }
.nav-dropdown > .nav-link::after { content: '▾'; font-size: 0.75rem; }
.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    min-width: 240px;
    padding: 8px 0;
    z-index: 1000;
    border: 1px solid #e2e8f0;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
    display: block;
    padding: 10px 18px;
    color: #1e293b;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: background 0.15s;
}
.dropdown-menu a:hover { background: #f0f9ff; color: #0ea5e9; }

/* Lead Modal */
.lead-modal-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(15,23,42,0.65); backdrop-filter: blur(8px);
    z-index: 9999; justify-content: center; align-items: center;
    padding: 20px; pointer-events: none;
}
.lead-modal-overlay.active { display: flex; pointer-events: auto; }
.lead-modal {
    background: #fff; padding: 40px; border-radius: 24px;
    max-width: 640px; width: 100%; position: relative;
    max-height: 90vh; overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,.25);
    transform: scale(0.95); opacity: 0;
    transition: all 0.3s cubic-bezier(0.165,0.84,0.44,1);
}
.lead-modal-overlay.active .lead-modal { transform: scale(1); opacity: 1; }
.lead-modal h3 { color: #0f172a; font-size: 1.75rem; font-weight: 700; margin-bottom: 8px; }
.lead-modal > p { color: #64748b; margin-bottom: 28px; font-size: 0.95rem; line-height: 1.6; }
.modal-close-btn {
    position: absolute; top: 20px; right: 20px; cursor: pointer;
    color: #94a3b8; font-size: 1.1rem; width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    background: #f1f5f9; border-radius: 50%; border: none;
}
.modal-close-btn:hover { color: #0f172a; background: #e2e8f0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-full { grid-column: 1 / -1; }
.lead-modal label { display: block; margin-bottom: 7px; font-weight: 600; font-size: 0.82rem; color: #334155; text-transform: uppercase; letter-spacing: 0.05em; }
.lead-modal label span { color: #ef4444; }
.lead-modal input, .lead-modal select, .lead-modal textarea {
    width: 100%; padding: 11px 14px; border: 1.5px solid #e2e8f0; border-radius: 10px;
    font-family: inherit; font-size: 0.97rem; color: #0f172a; background: #f8fafc; box-sizing: border-box;
}
.lead-modal input:focus, .lead-modal select:focus, .lead-modal textarea:focus {
    outline: none; border-color: #3b82f6; background: #fff;
    box-shadow: 0 0 0 4px rgba(59,130,246,.1);
}
.lead-modal textarea { height: 90px; resize: vertical; }
.phone-group { display: flex; }
.phone-group .prefix {
    background: #e2e8f0; border: 1.5px solid #e2e8f0; border-right: none;
    padding: 0 12px; border-radius: 10px 0 0 10px;
    display: flex; align-items: center; gap: 5px;
    font-weight: 600; color: #475569; font-size: 0.88rem;
}
.phone-group input { border-radius: 0 10px 10px 0; flex: 1; }
.whatsapp-btn {
    background: #25D366; color: white; border: none; padding: 15px; width: 100%;
    border-radius: 12px; font-size: 1.05rem; font-weight: 700; cursor: pointer;
    display: flex; justify-content: center; align-items: center; gap: 10px;
    margin-top: 20px; transition: all 0.3s;
    box-shadow: 0 8px 15px -3px rgba(37,211,102,.25);
}
.whatsapp-btn:hover { background: #22c55e; transform: translateY(-2px); }
@media (max-width: 600px) {
    .lead-modal { padding: 28px 18px; border-radius: 18px; }
    .form-grid { grid-template-columns: 1fr; }
}

/* --- Turno Buttons --- */
.turno-btn {
    flex: 1;
    padding: 8px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all .15s;
}
.turno-btn.active {
    background: #0d1f3c;
    border-color: #0d1f3c;
    color: white;
}
.turno-btn:hover:not(.active) {
    border-color: #0d1f3c;
    color: #0d1f3c;
}
