/*
Theme Name: Servicio Tecnico de Computadoras
*/

:root {
    --stc-bg: #eef7ff;
    --stc-ink: #102033;
    --stc-muted: #52647c;
    --stc-line: #cfe0f5;
    --stc-panel: #ffffff;
    --stc-blue: #2563eb;
    --stc-cyan: #06b6d4;
    --stc-green: #16a34a;
    --stc-yellow: #facc15;
    --stc-orange: #f97316;
    --stc-navy: #0f172a;
    --stc-shadow: 0 18px 44px rgba(15, 23, 42, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--stc-ink);
    background:
        radial-gradient(circle at 12% 14%, rgba(250, 204, 21, .22), transparent 28%),
        radial-gradient(circle at 88% 8%, rgba(6, 182, 212, .2), transparent 30%),
        linear-gradient(180deg, #f8fbff 0%, var(--stc-bg) 42%, #fff 100%);
}
a { color: inherit; }

.stc-page { min-height: 100vh; overflow: hidden; background: transparent; }
.stc-page-has-router .stc-view { display: none; }
.stc-page-has-router .stc-view.is-active { display: block; animation: stcViewIn .22s ease both; }
@keyframes stcViewIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.stc-container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.stc-topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(239, 246, 255, .93));
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(37, 99, 235, .14);
    box-shadow: 0 12px 36px rgba(15, 23, 42, .08);
}
.stc-nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.stc-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; color: var(--stc-navy); }
.stc-brand-mark { width: 44px; height: 44px; border-radius: 8px; display: grid; place-items: center; color: white; background: linear-gradient(135deg, var(--stc-blue), var(--stc-cyan) 55%, var(--stc-green)); font-size: 22px; box-shadow: 0 14px 28px rgba(37, 99, 235, .26); }
.stc-brand small { display: block; font-size: 12px; font-weight: 600; color: var(--stc-muted); }
.stc-menu-toggle { display: none; align-items: center; gap: 8px; min-height: 42px; padding: 0 13px; border: 1px solid rgba(37, 99, 235, .18); border-radius: 8px; color: var(--stc-blue); background: #fff; font: inherit; font-size: 14px; font-weight: 900; cursor: pointer; box-shadow: 0 8px 20px rgba(37, 99, 235, .1); }
.stc-menu-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; }
.stc-menu { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 800; }
.stc-menu a, .stc-dropdown-toggle { text-decoration: none; color: var(--stc-muted); }
.stc-menu-link, .stc-dropdown-toggle { min-height: 42px; display: inline-flex; align-items: center; border-radius: 8px; padding: 0 12px; transition: color .18s ease, background .18s ease, transform .18s ease; }
.stc-menu-link:hover, .stc-menu-link:focus-visible, .stc-menu-link.is-active, .stc-dropdown-toggle:hover, .stc-dropdown.is-open .stc-dropdown-toggle { color: var(--stc-blue); background: rgba(37, 99, 235, .08); }
.stc-dropdown { position: relative; }
.stc-dropdown-toggle { gap: 6px; border: 0; background: transparent; font: inherit; font-weight: 900; cursor: pointer; }
.stc-dropdown-toggle svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s ease; }
.stc-dropdown.is-open .stc-dropdown-toggle svg { transform: rotate(180deg); }
.stc-dropdown-panel {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    width: min(330px, calc(100vw - 32px));
    padding: 10px;
    border: 1px solid rgba(37, 99, 235, .14);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--stc-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    z-index: 50;
}
.stc-dropdown-panel::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid rgba(37, 99, 235, .14);
    border-top: 1px solid rgba(37, 99, 235, .14);
    transform: translateX(-50%) rotate(45deg);
}
.stc-dropdown.is-open .stc-dropdown-panel, .stc-dropdown:hover .stc-dropdown-panel, .stc-dropdown:focus-within .stc-dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}
.stc-dropdown-panel a { position: relative; display: grid; gap: 4px; padding: 13px 14px 13px 42px; border-radius: 8px; color: var(--stc-ink); }
.stc-dropdown-panel a::before { content: ""; position: absolute; left: 14px; top: 17px; width: 14px; height: 14px; border-radius: 8px; background: linear-gradient(135deg, var(--stc-blue), var(--stc-orange)); box-shadow: 0 8px 18px rgba(249, 115, 22, .22); }
.stc-dropdown-panel a:hover, .stc-dropdown-panel a:focus-visible { background: linear-gradient(135deg, rgba(37, 99, 235, .08), rgba(6, 182, 212, .1)); color: var(--stc-blue); outline: none; }
.stc-dropdown-panel strong { font-size: 14px; }
.stc-dropdown-panel span { color: var(--stc-muted); font-size: 12px; font-weight: 700; line-height: 1.35; }
.stc-menu .stc-call { color: #fff; background: linear-gradient(135deg, var(--stc-blue), var(--stc-cyan)); padding: 12px 18px; border-radius: 8px; box-shadow: 0 12px 28px rgba(37, 99, 235, .28); transition: transform .18s ease, box-shadow .18s ease; }
.stc-menu .stc-call:hover, .stc-menu .stc-call:focus-visible { color: #fff; transform: translateY(-1px); box-shadow: 0 16px 34px rgba(37, 99, 235, .36); }

.stc-hero { position: relative; color: #fff; background: linear-gradient(135deg, #07111f, #123a68 48%, #0891b2); }
.stc-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(110deg, rgba(7, 17, 31, .96), rgba(18, 58, 104, .78), rgba(6, 182, 212, .32)),
        url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1800&q=80') center/cover;
}
.stc-hero .stc-container { position: relative; min-height: 660px; display: grid; align-items: center; padding: 72px 0; }
.stc-hero-content { max-width: 680px; }
.stc-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 8px 12px; border: 1px solid rgba(250, 204, 21, .48); border-radius: 8px; background: rgba(250, 204, 21, .16); color: #fef08a; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.stc-hero h1 { margin: 0 0 18px; font-size: clamp(42px, 6vw, 78px); line-height: .98; letter-spacing: 0; }
.stc-hero p { max-width: 590px; margin: 0 0 30px; font-size: 19px; line-height: 1.65; color: rgba(255,255,255,.84); }
.stc-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.stc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 8px; text-decoration: none; font-weight: 800; border: 1px solid transparent; }
.stc-btn-primary { background: linear-gradient(135deg, var(--stc-yellow), var(--stc-orange)); color: var(--stc-navy); box-shadow: 0 16px 34px rgba(249, 115, 22, .25); }
.stc-btn-secondary { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); }
.stc-whatsapp-btn { border-color: rgba(37, 211, 102, .7); background: rgba(37, 211, 102, .14); }
.stc-wa-img { width: 24px; height: 24px; display: inline-block; flex: 0 0 auto; border-radius: 6px; object-fit: cover; }

.stc-hero-strip { position: relative; margin-top: -52px; z-index: 2; }
.stc-strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; border-radius: 8px; box-shadow: 0 24px 60px rgba(16, 24, 39, .18); background: linear-gradient(135deg, var(--stc-blue), var(--stc-cyan)); }
.stc-strip-item { background: rgba(255,255,255,.96); padding: 24px; }
.stc-strip-item strong { display: block; font-size: 28px; color: var(--stc-orange); }
.stc-strip-item span { color: var(--stc-muted); font-size: 14px; font-weight: 700; }

.stc-section { min-height: calc(100vh - 102px); padding: 92px 0; }
.stc-section-head { max-width: 720px; margin-bottom: 34px; }
.stc-label { color: var(--stc-blue); font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.stc-section h2 { margin: 10px 0 14px; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: 0; }
.stc-section-head p { margin: 0; color: var(--stc-muted); font-size: 17px; line-height: 1.7; }

.stc-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stc-card { background: var(--stc-panel); border: 1px solid var(--stc-line); border-radius: 8px; padding: 26px; box-shadow: 0 10px 30px rgba(16, 24, 39, .05); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.stc-card:hover { transform: translateY(-3px); border-color: rgba(37, 99, 235, .22); box-shadow: var(--stc-shadow); }
.stc-icon { width: 46px; height: 46px; border-radius: 8px; display: grid; place-items: center; margin-bottom: 18px; background: linear-gradient(135deg, #dbeafe, #cffafe); color: var(--stc-blue); font-size: 23px; }
.stc-card h3 { margin: 0 0 10px; font-size: 20px; }
.stc-card p { margin: 0; color: var(--stc-muted); line-height: 1.65; }
.stc-about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.stc-band { background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(239,246,255,.86)); border-block: 1px solid var(--stc-line); }
.stc-process { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stc-step { display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: start; padding: 24px; border: 1px solid var(--stc-line); border-radius: 8px; background: #fff; }
.stc-number { width: 54px; height: 54px; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(135deg, var(--stc-blue), var(--stc-orange)); color: #fff; font-weight: 900; box-shadow: 0 12px 24px rgba(37, 99, 235, .22); }
.stc-step h3 { margin: 0 0 8px; }
.stc-step p { margin: 0; color: var(--stc-muted); line-height: 1.6; }

.stc-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 36px); align-items: stretch; }
.stc-plan { position: relative; min-width: 0; display: flex; flex-direction: column; min-height: 100%; }
.stc-plan-featured { border: 2px solid var(--stc-orange); transform: translateY(-8px); box-shadow: 0 20px 48px rgba(249, 115, 22, .16); }
.stc-badge { position: absolute; top: 18px; right: 18px; color: #102033; background: linear-gradient(135deg, var(--stc-yellow), #fff176); padding: 6px 10px; border-radius: 8px; font-size: 12px; font-weight: 900; }
.stc-price { margin: 18px 0 4px; font-size: clamp(30px, 3vw, 38px); font-weight: 900; color: var(--stc-navy); overflow-wrap: anywhere; }
.stc-price span { font-size: 15px; color: var(--stc-muted); }
.stc-plan ul { padding: 0; margin: 20px 0 24px; list-style: none; display: grid; gap: 10px; color: var(--stc-muted); }
.stc-plan li::before { content: "ok"; color: var(--stc-green); font-weight: 900; margin-right: 8px; }
.stc-plan-btn { width: 100%; margin-top: auto; border-color: var(--stc-line); color: var(--stc-navy); background: #fff; }
.stc-plan-btn:hover, .stc-plan.is-selected .stc-plan-btn { border-color: var(--stc-blue); color: #fff; background: var(--stc-blue); }
.stc-plan-btn-primary { color: #fff; background: var(--stc-blue); border-color: var(--stc-blue); }
.stc-plan.is-selected { border-color: var(--stc-blue); box-shadow: 0 18px 42px rgba(23, 105, 255, .16); }

.stc-payment-card {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: clamp(28px, 4vw, 42px);
    padding: 24px;
    border: 1px solid var(--stc-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(16, 24, 39, .05);
}
.stc-payment-icons { display: flex; flex-wrap: wrap; gap: 10px; flex: 0 0 230px; }
.stc-payment-icons img {
    width: 70px;
    height: 54px;
    object-fit: contain;
    border: 1px solid var(--stc-line);
    border-radius: 8px;
    background: #fff;
    padding: 6px;
}
.stc-payment-card h3 { margin: 4px 0 6px; font-size: 28px; }
.stc-payment-card p { margin: 0; color: var(--stc-muted); line-height: 1.65; }
.stc-payment-card strong { color: var(--stc-navy); font-weight: 900; }

.stc-contact { display: grid; grid-template-columns: minmax(280px, .9fr) minmax(320px, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.stc-contact-list { display: grid; gap: 18px; margin-top: 28px; max-width: 420px; }
.stc-contact-item { display: flex; gap: 14px; align-items: center; color: var(--stc-muted); text-decoration: none; }
.stc-contact-item strong { display: block; color: var(--stc-ink); }
.stc-whatsapp-link strong { color: var(--stc-green); }
.stc-whatsapp-link:hover { color: var(--stc-green); }
.stc-whatsapp-icon { background: #e9fbf0; color: #25d366; overflow: hidden; }
.stc-whatsapp-icon .stc-wa-img { width: 34px; height: 34px; border-radius: 8px; }
.stc-contact-icon { background: #edf4ff; color: var(--stc-blue); }
.stc-contact-icon svg { width: 28px; height: 28px; fill: currentColor; }
.stc-form { display: grid; gap: 14px; }
.stc-form label { display: grid; gap: 7px; color: var(--stc-muted); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.stc-form input, .stc-form select, .stc-form textarea { width: 100%; border: 1px solid var(--stc-line); border-radius: 8px; padding: 14px 15px; font: inherit; color: var(--stc-ink); background: #fff; }
.stc-form textarea { min-height: 128px; resize: vertical; }
.stc-form input:focus, .stc-form select:focus, .stc-form textarea:focus { outline: 3px solid #dce9ff; border-color: var(--stc-blue); }
.stc-form-submit { width: 100%; background: linear-gradient(135deg, #25d366, #7cf2a8); color: #062d16; }
.stc-alert { padding: 12px 14px; border-radius: 8px; font-weight: 800; background: #eaf8f0; color: #0f6b3c; }
.stc-payment-select-label { gap: 7px; }
.stc-payment-select {
    position: relative;
    display: grid;
    grid-template-columns: 64px 1fr;
    align-items: center;
    border: 1px solid var(--stc-line);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}
.stc-payment-current {
    height: 52px;
    display: grid;
    place-items: center;
    border-right: 1px solid var(--stc-line);
    background: #f8fafc;
}
.stc-payment-current img { width: 42px; height: 30px; object-fit: contain; display: block; }
.stc-form .stc-payment-select select {
    height: 52px;
    border: 0;
    border-radius: 0;
    padding: 0 42px 0 14px;
    font-weight: 900;
    appearance: auto;
}
.stc-payment-select:focus-within {
    outline: 3px solid #dce9ff;
    border-color: var(--stc-blue);
}

.stc-footer { padding: 30px 0; color: #cbd5e1; background: var(--stc-navy); }
.stc-footer .stc-container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 900px) {
    .stc-nav { position: relative; min-height: 68px; padding: 12px 0; gap: 12px; flex-wrap: wrap; }
    .stc-menu-toggle { display: inline-flex; margin-left: auto; }
    .stc-menu { display: none; width: 100%; justify-content: flex-start; padding: 10px; border: 1px solid rgba(37, 99, 235, .14); border-radius: 8px; background: rgba(255,255,255,.96); box-shadow: 0 14px 34px rgba(15, 23, 42, .1); }
    .stc-menu.is-open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .stc-menu-link, .stc-dropdown-toggle, .stc-menu .stc-call { width: 100%; justify-content: center; }
    .stc-dropdown { width: 100%; grid-column: 1 / -1; }
    .stc-menu .stc-call { grid-column: 1 / -1; }
    .stc-dropdown-panel { position: static; width: 100%; margin-top: 8px; box-shadow: none; transform: none; display: none; opacity: 1; visibility: visible; }
    .stc-dropdown-panel::before { display: none; }
    .stc-dropdown.is-open .stc-dropdown-panel { display: grid; transform: none; }
    .stc-hero .stc-container { min-height: 590px; }
    .stc-strip-grid, .stc-services, .stc-process, .stc-contact, .stc-about-grid { grid-template-columns: 1fr; }
    .stc-plans { grid-template-columns: repeat(2, minmax(260px, 1fr)); }
    .stc-plans .stc-plan:last-child { grid-column: 1 / -1; max-width: 540px; justify-self: center; width: 100%; }
    .stc-plan-featured { transform: none; }
}

@media (max-width: 560px) {
    .stc-container { width: min(100% - 24px, 1120px); }
    .stc-brand small { display: none; }
    .stc-menu { font-size: 13px; }
    .stc-menu.is-open { grid-template-columns: 1fr; }
    .stc-menu-link, .stc-dropdown-toggle { min-height: 44px; border: 1px solid var(--stc-line); background: #fff; }
    .stc-menu .stc-call { min-height: 46px; padding: 0 10px; }
    .stc-hero .stc-container { min-height: 620px; padding: 54px 0 84px; }
    .stc-hero p { font-size: 17px; }
    .stc-section { padding: 64px 0; }
    .stc-strip-item, .stc-card, .stc-step { padding: 20px; }
    .stc-actions .stc-btn { width: 100%; }
    .stc-contact-list { max-width: none; }
    .stc-plans { grid-template-columns: 1fr; gap: 18px; }
    .stc-plans .stc-plan:last-child { grid-column: auto; max-width: none; }
    .stc-badge { position: static; width: max-content; margin-bottom: 12px; }
    .stc-payment-card { align-items: flex-start; flex-direction: column; padding: 20px; }
    .stc-payment-icons { flex-basis: auto; width: 100%; }
    .stc-payment-icons img { width: calc((100% - 20px) / 3); min-width: 0; }
    .stc-payment-select { grid-template-columns: 58px 1fr; }
}
