/* ============================================================
   servicio-tecnico.css — Smartbytes · Servicio Técnico
   Paleta: navy oscuro + teal (#0d9488)
   ============================================================ */

:root {
    --st-bg:         #060e1c;
    --st-navy:       #0b1c35;
    --st-navy-mid:   #102040;
    --st-teal:       #0d9488;
    --st-teal-d:     #0f766e;
    --st-teal-light: #5eead4;
    --st-teal-pale:  #f0fdfa;
    --st-gray:       #f5f7fa;
    --st-dark:       #050c18;
    --st-text:       #1e293b;
    --st-muted:      #64748b;
}

/* ── Reset & base ── */
html, body {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--st-text);
    background: #fff;
    line-height: 1.6;
}

/* ── Skip link ── */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--st-teal);
    color: #fff;
    padding: 8px 16px;
    z-index: 9999;
    font-weight: 600;
    transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ── Cookie banner ── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--st-navy);
    color: #cbd5e1;
    padding: 14px 20px;
    z-index: 9000;
    border-top: 2px solid var(--st-teal);
    transition: transform .4s ease;
}
.cookie-banner.hidden { transform: translateY(110%); }
.cookie-banner p { margin: 0; font-size: .88rem; }
.cookie-banner a { color: var(--st-teal-light); text-decoration: underline; }
.cookie-actions { display: flex; gap: .5rem; flex-shrink: 0; }

.btn-cookie {
    background: var(--st-teal);
    color: #fff;
    border: none;
    padding: 7px 18px;
    border-radius: 6px;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}
.btn-cookie:hover { background: var(--st-teal-d); }

.btn-cookie-reject {
    background: transparent;
    color: #94a3b8;
    border: 1px solid #475569;
    padding: 7px 18px;
    border-radius: 6px;
    font-size: .85rem;
    cursor: pointer;
    white-space: nowrap;
}
.btn-cookie-reject:hover { border-color: #94a3b8; color: #e2e8f0; }

body.cookie-pending .whatsapp-float { bottom: 92px; }

/* ── Navbar ── */
.site-nav {
    background: var(--st-dark);
    border-bottom: 1px solid rgba(255,255,255,.07);
    padding: 10px 0;
    z-index: 1030;
}
.navbar-brand img { display: block; }

.nav-back {
    color: #94a3b8;
    font-size: .85rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: .4rem;
    transition: color .2s;
}
.nav-back:hover { color: var(--st-teal-light); }

.btn-nav-call {
    background: var(--st-teal);
    color: #fff;
    padding: 7px 18px;
    border-radius: 8px;
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: .4rem;
    transition: background .2s;
    white-space: nowrap;
}
.btn-nav-call:hover { background: var(--st-teal-d); color: #fff; }

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    padding: 96px 0 72px;
    background:
        linear-gradient(140deg, rgba(6,14,28,.95) 0%, rgba(10,28,60,.88) 60%, rgba(13,148,136,.18) 100%),
        url('../img/portfolio/servicio-tecnico.jpeg') center/cover no-repeat;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 80% 60%, rgba(13,148,136,.15) 0%, transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(13,148,136,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13,148,136,.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(13,148,136,.18);
    border: 1px solid rgba(94,234,212,.3);
    color: var(--st-teal-light);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.hero h1 {
    color: #f8fafc;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 1.25rem;
    letter-spacing: -.02em;
}

.hero-highlight {
    background: linear-gradient(90deg, var(--st-teal-light), #a7f3d0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .lead {
    color: #cbd5e1;
    font-size: clamp(1rem, 2vw, 1.15rem);
    max-width: 560px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--st-teal);
    color: #fff;
    padding: 13px 28px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, transform .15s;
    border: 2px solid transparent;
}
.btn-hero:hover {
    background: var(--st-teal-d);
    color: #fff;
    transform: translateY(-2px);
}
.btn-hero--outline {
    background: transparent;
    border-color: rgba(94,234,212,.5);
    color: var(--st-teal-light);
}
.btn-hero--outline:hover {
    background: rgba(13,148,136,.15);
    border-color: var(--st-teal-light);
    color: var(--st-teal-light);
}

/* ── Stats strip ── */
.stats-strip {
    background: var(--st-navy);
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,.06);
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.stat-item { padding: 8px 0; }

.stat-num {
    color: var(--st-teal-light);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: .25rem;
}
.stat-num i { font-size: 1.9rem; }

.stat-label {
    color: #94a3b8;
    font-size: .82rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .05em;
}

/* ── Sections ── */
.page-section { padding: 80px 0; }

.bg-st-gray  { background: var(--st-gray); }
.bg-white    { background: #fff; }

.bg-dark-section {
    background: var(--st-bg);
    position: relative;
    overflow: hidden;
}
.bg-dark-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(13,148,136,.12) 0%, transparent 70%);
    pointer-events: none;
}
.bg-dark-section .container { position: relative; z-index: 1; }

/* Section headings */
.section-eyebrow {
    color: var(--st-teal);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: .5rem;
}

.bg-dark-section .section-eyebrow { color: var(--st-teal-light); }

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--st-text);
    margin-bottom: .5rem;
    letter-spacing: -.02em;
}

.bg-dark-section .section-title { color: #f1f5f9; }

.section-title-line {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--st-teal), var(--st-teal-light));
    border-radius: 2px;
    margin: .75rem auto 1.25rem;
}
.section-title-line.left { margin-left: 0; }

.section-sub {
    color: var(--st-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-desc {
    color: var(--st-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* ── Service cards ── */
.service-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 28px 24px;
    height: 100%;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.service-card:hover {
    border-color: var(--st-teal);
    box-shadow: 0 8px 32px rgba(13,148,136,.12);
    transform: translateY(-4px);
}
.bg-st-gray .service-card { background: #fff; }

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(13,148,136,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: var(--st-teal);
    transition: background .2s;
}
.service-card:hover .service-icon { background: rgba(13,148,136,.18); }

.service-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--st-text);
    margin-bottom: .5rem;
}
.service-card p {
    font-size: .92rem;
    color: var(--st-muted);
    margin: 0;
    line-height: 1.65;
}

/* ── Process steps ── */
.step-card {
    text-align: center;
    padding: 28px 20px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    height: 100%;
    transition: border-color .2s, background .2s;
}
.step-card:hover {
    background: rgba(13,148,136,.08);
    border-color: rgba(13,148,136,.3);
}

.step-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--st-teal), var(--st-teal-d));
    border: 2px solid rgba(94,234,212,.4);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.step-card h3 {
    color: #e2e8f0;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .5rem;
}
.step-card p {
    color: #94a3b8;
    font-size: .88rem;
    margin: 0;
    line-height: 1.6;
}

/* ── Why cards ── */
.why-card {
    background: #fff;
    border-left: 4px solid var(--st-teal);
    border-radius: 0 10px 10px 0;
    padding: 20px 18px;
    height: 100%;
    transition: box-shadow .2s;
}
.why-card:hover { box-shadow: 0 4px 20px rgba(13,148,136,.1); }

.why-card > i {
    font-size: 1.5rem;
    color: var(--st-teal);
    margin-bottom: .6rem;
    display: block;
}
.why-card h4 {
    font-size: .95rem;
    font-weight: 700;
    color: var(--st-text);
    margin-bottom: .4rem;
}
.why-card p {
    font-size: .88rem;
    color: var(--st-muted);
    margin: 0;
    line-height: 1.6;
}

.btn-primary-teal {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--st-teal);
    color: #fff;
    padding: 11px 24px;
    border-radius: 9px;
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, transform .15s;
}
.btn-primary-teal:hover {
    background: var(--st-teal-d);
    color: #fff;
    transform: translateY(-2px);
}

/* ── Accordion ── */
.accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 10px !important;
    margin-bottom: .5rem;
    overflow: hidden;
}
.accordion-button {
    font-weight: 600;
    font-size: .97rem;
    color: var(--st-text);
    background: #fff;
    border-radius: 10px !important;
    padding: 16px 20px;
}
.accordion-button:not(.collapsed) {
    color: var(--st-teal-d);
    background: var(--st-teal-pale);
    box-shadow: none;
}
.accordion-button:focus { box-shadow: 0 0 0 3px rgba(13,148,136,.25); }
.accordion-button::after {
    filter: none;
}
.accordion-button:not(.collapsed)::after {
    filter: invert(40%) sepia(90%) saturate(500%) hue-rotate(150deg);
}
.accordion-body {
    font-size: .93rem;
    color: var(--st-muted);
    line-height: 1.7;
    padding: 4px 20px 18px;
    background: var(--st-teal-pale);
}

/* ── CTA section ── */
.cta-section {
    background: linear-gradient(135deg, var(--st-dark) 0%, #0a1e3c 60%, #0a2a2a 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(13,148,136,.15) 0%, transparent 70%);
    pointer-events: none;
}
.cta-section .container { position: relative; z-index: 1; }

.cta-section h2 {
    color: #f1f5f9;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    margin-bottom: .75rem;
}
.cta-section > .container > p {
    color: #94a3b8;
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: 13px 28px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s;
}
.btn-cta-teal {
    background: var(--st-teal);
    color: #fff;
    border: 2px solid transparent;
}
.btn-cta-teal:hover {
    background: var(--st-teal-d);
    color: #fff;
    transform: translateY(-2px);
}
.btn-cta-outline {
    background: transparent;
    border: 2px solid rgba(94,234,212,.4);
    color: var(--st-teal-light);
}
.btn-cta-outline:hover {
    background: rgba(13,148,136,.15);
    border-color: var(--st-teal-light);
    color: var(--st-teal-light);
    transform: translateY(-2px);
}

/* ── Footer ── */
.site-footer {
    background: var(--st-dark);
    color: #94a3b8;
    padding: 56px 0 0;
}

.site-footer h4 {
    color: #e2e8f0;
    font-size: .95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 1rem;
}

.site-footer ul li {
    margin-bottom: .45rem;
}
.site-footer a {
    color: #94a3b8;
    text-decoration: none;
    font-size: .9rem;
    transition: color .2s;
}
.site-footer a:hover { color: var(--st-teal-light); }

.footer-address {
    font-size: .85rem;
    color: #64748b;
    line-height: 1.7;
    margin-top: .75rem;
    font-style: normal;
}

.footer-social {
    display: flex;
    gap: .75rem;
}
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #94a3b8;
    transition: background .2s, color .2s;
}
.footer-social a:hover {
    background: var(--st-teal);
    color: #fff;
}

.footer-tagline {
    font-size: .83rem;
    color: #475569;
    margin-bottom: 0;
}
.footer-tagline a { color: #64748b; }
.footer-tagline a:hover { color: var(--st-teal-light); }

.footer-divider {
    border-color: rgba(255,255,255,.07);
    margin: 40px 0 20px;
}

.footer-copy {
    font-size: .82rem;
    color: #475569;
    padding-bottom: 28px;
}
.footer-copy a { color: #64748b; }
.footer-copy a:hover { color: var(--st-teal-light); }

/* ── WhatsApp float ── */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,.4);
    z-index: 8000;
    transition: transform .2s, box-shadow .2s;
}
.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37,211,102,.55);
}

/* ── Responsive ── */
@media (max-width: 575px) {
    .hero { min-height: 70vh; padding: 80px 0 60px; }
    .hero h1 { font-size: 2rem; }
    .page-section { padding: 56px 0; }
    .cta-section { padding: 56px 0; }
}
