﻿@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap");

/* =====================================================
   ADMIN LAB — SERVICIO DETALLE CSS
===================================================== */

:root {
    --primary: #0B3D91;
    --primary-light: #2563EB;
    --secondary: #60A5FA;
    --background: #F8FAFC;
    --white: #FFFFFF;
    --text: #111827;
    --text-light: #475569;
    --border: #E2E8F0;
    --shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 25px 50px rgba(37, 99, 235, 0.15);
    --radius: 18px;
    --transition: all .3s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    letter-spacing: -0.015em;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 {
    font-family: "DM Serif Display", Georgia, serif;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* HEADER */
.topbar {
    position: fixed; top: 0; left: 0; width: 100%;
    padding: 16px 7%;
    display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 12px 30px;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(226,232,240,.7);
    z-index: 1000;
}
.brand { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.brand-text { text-align: center; white-space: nowrap; min-width: fit-content; }
.brand-mark {
    width: 45px; height: 45px;
    display: flex; justify-content: center; align-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white; font-size: 24px; font-weight: 800;
}
.brand-name { font-family: "Plus Jakarta Sans", sans-serif; font-size: 22px; font-weight: 800; color: var(--primary); white-space: nowrap; letter-spacing: -0.02em; }
.brand-tag { font-family: "Plus Jakarta Sans", sans-serif; font-size: 12px; font-weight: 600; color: var(--text-light); white-space: nowrap; }
.navbar { flex: 1 1 auto; display: flex; flex-wrap: nowrap; justify-content: center; gap: 30px; padding: 10px 0 0; }
.navbar a { font-family: "Plus Jakarta Sans", sans-serif; font-size: 14px; font-weight: 500; color: #334155; transition: var(--transition); }
.navbar a:hover { color: var(--primary-light); }
.topbar-link {
    font-family: "Plus Jakarta Sans", sans-serif;
    padding: 12px 22px; border-radius: 50px;
    background: var(--primary); color: white; font-weight: 600; transition: var(--transition);
}
.topbar-link:hover { background: var(--primary-light); transform: translateY(-3px); }

/* BOTONES */
.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 30px; border-radius: 50px;
    font-family: "Plus Jakarta Sans", sans-serif; font-weight: 600; transition: var(--transition);
    cursor: pointer; border: none;
}
.button-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white; box-shadow: 0 10px 25px rgba(37,99,235,.25);
}
.button-primary:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.button-secondary { border: 2px solid var(--primary); color: var(--primary); background: white; }
.button-secondary:hover { background: #EFF6FF; transform: translateY(-4px); }

/* HERO */
.service-hero {
    padding-top: 100px;
    background: linear-gradient(135deg, #00152d 0%, #064568 52%, #0b79ad 100%);
    min-height: 340px; display: flex; align-items: center; justify-content: center;
    text-align: center; position: relative; overflow: hidden;
}
.service-hero::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 70% 50%, rgba(96,165,250,0.18), transparent 60%);
    pointer-events: none;
}
.service-hero-inner { position: relative; z-index: 1; max-width: 780px; padding: 50px 7%; }
.service-hero-icon {
    width: 72px; height: 72px;
    background: linear-gradient(135deg, #00c6ff, #0072c6);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 22px; box-shadow: 0 8px 24px rgba(0,198,255,0.3);
}
.service-hero-icon svg { width: 34px; height: 34px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-hero-eyebrow { font-family: "Plus Jakarta Sans", sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--secondary); margin-bottom: 14px; display: block; }
.service-hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.15; color: #ffffff; margin-bottom: 18px; text-shadow: 0 4px 16px rgba(0,0,0,0.3); }
.service-hero p { font-size: 17px; color: rgba(255,255,255,0.82); max-width: 600px; margin: 0 auto; line-height: 1.7; }

/* SECCIONES */
.detail-section { padding: 70px 7%; }
.detail-section:nth-child(odd) { background: var(--white); }
.detail-section:nth-child(even) { background: #F1F5F9; }
.detail-section-inner { max-width: 900px; margin: 0 auto; }
.detail-eyebrow { font-family: "Plus Jakarta Sans", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--primary-light); margin-bottom: 12px; display: block; }
.detail-section h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.2; color: #1a202c; margin-bottom: 20px; }
.detail-section p { font-size: 17px; color: var(--text-light); line-height: 1.8; margin-bottom: 16px; }
.detail-section p:last-child { margin-bottom: 0; }

/* QUE INCLUYE */
.includes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 36px; }
.include-card {
    background: white; border: 1px solid #e0e7ff; border-radius: 16px; padding: 28px 24px;
    display: flex; flex-direction: column; gap: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06); transition: var(--transition);
}
.include-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.include-card-icon { width: 50px; height: 50px; background: linear-gradient(135deg, #00c6ff, #0072c6); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.include-card-icon svg { width: 24px; height: 24px; stroke: white; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.include-card h3 { font-size: 19px; color: #1a202c; margin: 0; }
.include-card p { font-size: 15px; color: var(--text-light); line-height: 1.6; margin: 0; }

/* BENEFICIOS */
.benefits-list { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.benefit-item {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 20px 24px; background: white; border-radius: 14px; border: 1px solid var(--border); transition: var(--transition);
}
.benefit-item:hover { border-color: var(--secondary); box-shadow: 0 4px 16px rgba(37,99,235,0.1); }
.benefit-icon { width: 36px; height: 36px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.benefit-icon svg { width: 18px; height: 18px; stroke: white; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.benefit-item p { font-size: 16px; color: var(--text); line-height: 1.6; margin: 0; font-weight: 500; }

/* CTA */
.service-cta {
    background: linear-gradient(135deg, #00152d 0%, #064568 52%, #0b79ad 100%);
    padding: 80px 7%; text-align: center; position: relative; overflow: hidden;
}
.service-cta::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(96,165,250,0.15), transparent 60%);
    pointer-events: none;
}
.service-cta-inner { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; }
.service-cta h2 { font-size: clamp(28px, 4vw, 40px); color: white; margin-bottom: 16px; line-height: 1.2; }
.service-cta p { font-size: 17px; color: rgba(255,255,255,0.8); margin-bottom: 36px; line-height: 1.7; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.button-whatsapp {
    background: #25D366; color: white;
    box-shadow: 0 10px 25px rgba(37,211,102,0.3);
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 30px; border-radius: 50px;
    font-family: "Plus Jakarta Sans", sans-serif; font-weight: 600; font-size: 15px; transition: var(--transition);
}
.button-whatsapp:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(37,211,102,0.4); }
.button-whatsapp svg { width: 20px; height: 20px; fill: white; flex-shrink: 0; }
.button-back {
    display: inline-flex; align-items: center; gap: 8px;
    color: rgba(255,255,255,0.75); font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 15px; font-weight: 600; transition: var(--transition);
    padding: 14px 30px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.3);
}
.button-back:hover { color: white; border-color: rgba(255,255,255,0.7); transform: translateY(-2px); }
.button-back svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* FOOTER */
.footer { background: #00112c; padding: 60px 7% 30px; color: rgba(255,255,255,0.8); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; margin-bottom: 40px; }
.footer-brand img.footer-logo { width: 60px; height: 60px; border-radius: 14px; margin-bottom: 16px; object-fit: cover; }
.footer-brand h3 { font-size: 22px; color: white; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.65); }
.footer-services h4, .footer-contact h4 { font-family: "Plus Jakarta Sans", sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--secondary); margin-bottom: 18px; }
.footer-services ul { list-style: none; padding: 0; }
.footer-services li { font-size: 14px; color: rgba(255,255,255,0.65); padding: 5px 0; transition: var(--transition); }
.footer-services li:hover { color: white; }
.footer-contact p { font-size: 14px; color: rgba(255,255,255,0.65); margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; text-align: center; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.4); }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
    .topbar { padding: 12px 5%; flex-wrap: wrap; }
    .navbar { display: none; }
    .service-hero { min-height: 280px; }
    .service-hero h1 { font-size: 28px; }
    .detail-section { padding: 50px 5%; }
    .includes-grid { grid-template-columns: 1fr; }
    .service-cta { padding: 60px 5%; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 480px) {
    .topbar-link { display: none; }
    .service-hero-inner { padding: 40px 5%; }
    .detail-section h2 { font-size: 24px; }
}
