@charset "utf-8";

/* =========================================================
   COLABORAWEB | HOSTING & DOMINIOS
   Diseño premium · Azul + verde · Responsive
   Ajusta el espacio vertical con --hosting-section-space
========================================================= */

:root {
    --hosting-blue: #087cf0;
    --hosting-blue-dark: #075bc0;
    --hosting-blue-soft: #eaf4ff;
    --hosting-green: #10d982;
    --hosting-ink: #10243a;
    --hosting-muted: #60748a;
    --hosting-border: #dce7f2;
    --hosting-surface: #ffffff;
    --hosting-surface-soft: #f5f9fe;
    --hosting-section-space: clamp(10px, 5vw, 22px);
    --hosting-radius: 24px;
    --hosting-shadow: 0 24px 70px rgba(19, 54, 91, .10);
    --hosting-transition: .24s ease;
}

.hosting,
.hosting * {
    box-sizing: border-box;
}

.hosting {
    position: relative;
    isolation: isolate;
    width: 100%;
    padding: var(--hosting-section-space) 0;
    overflow: hidden;
    color: var(--hosting-ink);
    background:
        radial-gradient(ellipse at 4% 5%, rgba(8,124,240,.075), transparent 32%),
        radial-gradient(ellipse at 96% 38%, rgba(16,217,130,.07), transparent 29%),
        linear-gradient(180deg, #fff 0%, #f8fbff 58%, #fff 100%);
}

.hosting .container {
    position: relative;
    z-index: 2;
    width: min(100% - 40px, 1200px);
    margin-inline: auto;
}

.hosting-bg,
.hosting-grid,
.hosting-glow {
    position: absolute;
    z-index: -1;
    pointer-events: none;
}

.hosting-bg {
    inset: 0;
    opacity: .5;
    background-image: linear-gradient(rgba(8,124,240,.035) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(8,124,240,.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.hosting-grid {
    inset: 0;
    opacity: .28;
    background-image: radial-gradient(rgba(8,124,240,.18) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
}

.hosting-glow {
    width: 340px;
    height: 340px;
    border-radius: 50%;
    filter: blur(85px);
    opacity: .12;
}

.hosting-glow-1 { top: -190px; left: -130px; background: var(--hosting-blue); }
.hosting-glow-2 { right: -160px; bottom: -180px; background: var(--hosting-green); }

.hosting-header {
    max-width: 850px;
    margin: 0 auto clamp(30px, 4vw, 48px);
    text-align: center;
    animation: hostingIntro .5s ease both;
}

.hosting-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-bottom: 20px;
    padding: 9px 15px;
    border: 1px solid rgba(8,124,240,.16);
    border-radius: 999px;
    color: var(--hosting-blue-dark);
    background: rgba(255,255,255,.88);
    box-shadow: 0 8px 25px rgba(8,124,240,.07);
    font-size: .82rem;
    font-weight: 750;
    letter-spacing: .015em;
}

.hosting-badge svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hosting-header h1,
.hosting-header h2 {
    max-width: 820px;
    margin: 0 auto 17px;
    color: #10243a;
    font-size: clamp(2rem, 4.4vw, 3.65rem);
    font-weight: 850;
    line-height: 1.08;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.hosting-header h1::after,
.hosting-header h2::after {
    content: "";
    display: block;
    width: 76px;
    height: 4px;
    margin: 20px auto 0;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--hosting-blue), var(--hosting-green));
}

.hosting-header p {
    max-width: 710px;
    margin: 0 auto;
    color: var(--hosting-muted);
    font-size: clamp(.98rem, 1.3vw, 1.08rem);
    line-height: 1.8;
    text-wrap: pretty;
}

.hosting-search-card {
    position: relative;
    width: min(100%, 1000px);
    margin-inline: auto;
    padding: clamp(22px, 4vw, 42px);
    overflow: hidden;
    border: 1px solid rgba(197,216,237,.9);
    border-radius: var(--hosting-radius);
    background: rgba(255,255,255,.94);
    box-shadow: var(--hosting-shadow), 0 2px 5px rgba(20,55,90,.035);
    animation: hostingIntro .55s ease .04s both;
}

.hosting-search-card::before {
    content: "";
    position: absolute;
    inset: 0 12% auto;
    height: 3px;
    border-radius: 0 0 8px 8px;
    background: linear-gradient(90deg, transparent, var(--hosting-blue), var(--hosting-green), transparent);
}

.hosting-card-top {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
}

.hosting-icon {
    display: grid;
    place-items: center;
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border: 1px solid rgba(8,124,240,.12);
    border-radius: 19px;
    color: var(--hosting-blue);
    background: linear-gradient(145deg, #edf6ff, #f5fffb);
    box-shadow: inset 0 1px 0 #fff, 0 10px 24px rgba(8,124,240,.08);
}

.hosting-icon svg,
.hosting-search-box svg,
.hosting-search-box button svg,
.result-icon svg,
.btn-hosting svg,
.feature-icon svg {
    display: block;
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hosting-card-info { min-width: 0; }

.hosting-card-info h2,
.hosting-card-info h3 {
    margin: 0 0 6px;
    color: var(--hosting-ink);
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.025em;
}

.hosting-card-info p {
    margin: 0;
    color: var(--hosting-muted);
    font-size: .96rem;
    line-height: 1.65;
}

.hosting-search-form { margin: 0; }
.hosting-search-form > label,
.hosting-select-label {
    display: block;
    margin: 0 0 9px;
    color: #314961;
    font-size: .83rem;
    font-weight: 750;
}

.hosting-search-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 145px 190px;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    padding: 6px;
    gap: 5px;
    border: 1px solid #d4e1ef;
    border-radius: 17px;
    background: #f8fbff;
    box-shadow: inset 0 1px 2px rgba(20,55,90,.025);
    transition: border-color var(--hosting-transition), box-shadow var(--hosting-transition), background var(--hosting-transition);
}

.hosting-search-box:focus-within {
    border-color: rgba(8,124,240,.65);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(8,124,240,.09), 0 12px 28px rgba(8,124,240,.07);
}

.hosting-input-wrap {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 11px;
    padding: 0 14px;
    color: #7890a8;
}

.hosting-input-wrap svg { flex: 0 0 21px; width: 21px; height: 21px; }

.hosting-search-box input {
    display: block;
    width: 100%;
    min-width: 0;
    height: 54px;
    padding: 0;
    margin: 0;
    border: 0;
    outline: 0;
    color: var(--hosting-ink);
    background: transparent;
    font: inherit;
    font-size: 1rem;
}

.hosting-search-box input::placeholder { color: #8a9bae; opacity: 1; }

.hosting-search-box .hosting-select-label { display: none; }

.hosting-search-box select {
    width: 100%;
    min-width: 0;
    height: 54px;
    padding: 0 13px;
    border: 1px solid #e0e9f3;
    border-radius: 11px;
    outline: 0;
    color: #29435d;
    background: #fff;
    font: inherit;
    font-size: .93rem;
    font-weight: 700;
    cursor: pointer;
}

.hosting-search-box select:focus-visible { outline: 3px solid rgba(8,124,240,.2); }
.hosting-search-box option { color: #10243a; background: #fff; }

.hosting-search-box button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 0;
    min-height: 54px;
    padding: 0 17px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--hosting-blue), #0566d4);
    box-shadow: 0 8px 18px rgba(8,124,240,.2);
    font: inherit;
    font-size: .94rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform var(--hosting-transition), background var(--hosting-transition), box-shadow var(--hosting-transition);
}

.hosting-search-box button svg { width: 19px; height: 19px; }
.hosting-search-box button:hover { transform: translateY(-1px); background: linear-gradient(135deg, #066ddd, #075bc0); box-shadow: 0 11px 23px rgba(8,124,240,.27); }
.hosting-search-box button:focus-visible,
.hosting-extensions button:focus-visible,
.btn-hosting:focus-visible,
.hosting-suggestions a:focus-visible { outline: 3px solid rgba(8,124,240,.35); outline-offset: 3px; }
.hosting-search-box button:disabled { opacity: .72; cursor: wait; transform: none; }

.hosting-search-help {
    margin: 11px 2px 0;
    color: #74879b;
    font-size: .82rem;
    line-height: 1.6;
}

.hosting-extensions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 23px;
}

.hosting-extension-label {
    margin-right: 3px;
    color: var(--hosting-muted);
    font-size: .82rem;
    font-weight: 700;
}

.hosting-extensions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 12px;
    border: 1px solid #dce7f2;
    border-radius: 999px;
    color: #536a82;
    background: #fff;
    font: inherit;
    font-size: .8rem;
    font-weight: 750;
    cursor: pointer;
    transition: color var(--hosting-transition), border-color var(--hosting-transition), background var(--hosting-transition), transform var(--hosting-transition);
}

.hosting-extensions button:hover { transform: translateY(-1px); border-color: rgba(8,124,240,.4); color: var(--hosting-blue-dark); }
.hosting-extensions button.active { border-color: rgba(8,124,240,.3); color: var(--hosting-blue-dark); background: var(--hosting-blue-soft); box-shadow: inset 0 0 0 1px rgba(8,124,240,.035); }

.hosting-result { width: 100%; margin-top: 22px; }
.hosting-success,
.hosting-error {
    position: relative;
    display: none;
    padding: clamp(22px, 3vw, 32px);
    overflow: hidden;
    border: 1px solid #dce7f2;
    border-radius: 20px;
    background: #fbfdff;
}

.hosting-success { border-color: rgba(16,217,130,.35); background: linear-gradient(135deg, #f0fff8, #fff 75%); }
.hosting-error { border-color: #f4d8d8; background: linear-gradient(135deg, #fff7f7, #fff 75%); }
.hosting-result-info { position: relative; z-index: 1; text-align: center; }

.result-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;
    border: 1px solid #c8f5df;
    border-radius: 18px;
    color: #07995b;
    background: #e7fff2;
}

.result-icon svg { width: 28px; height: 28px; }
.hosting-error .result-icon { border-color: #f4d0d0; color: #d74747; background: #fff0f0; }
.hosting-result h3 { margin: 0 0 9px; color: var(--hosting-ink); font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 850; line-height: 1.3; }
.hosting-result h4 { margin: 12px 0; color: #078c53; font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 850; line-height: 1.25; overflow-wrap: anywhere; }
.hosting-error h4 { color: #c83e48; }
.hosting-result p { max-width: 650px; margin: 0 auto; color: var(--hosting-muted); font-size: .95rem; line-height: 1.75; }

.btn-hosting {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    margin-top: 21px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--hosting-blue), #0566d4);
    box-shadow: 0 9px 20px rgba(8,124,240,.18);
    font-size: .91rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform var(--hosting-transition), box-shadow var(--hosting-transition), background var(--hosting-transition);
}

.btn-hosting svg { width: 18px; height: 18px; }
.btn-hosting:hover { transform: translateY(-2px); color: #fff; background: linear-gradient(135deg, #066ddd, #075bc0); box-shadow: 0 13px 25px rgba(8,124,240,.24); text-decoration: none; }

.hosting-suggestions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.hosting-suggestions a { display: inline-flex; align-items: center; justify-content: center; min-height: 35px; padding: 7px 13px; border: 1px solid #d9e7f5; border-radius: 999px; color: var(--hosting-blue-dark); background: #fff; font-size: .82rem; font-weight: 750; text-decoration: none; overflow-wrap: anywhere; transition: border-color var(--hosting-transition), background var(--hosting-transition), transform var(--hosting-transition); }
.hosting-suggestions a:hover { transform: translateY(-1px); border-color: rgba(8,124,240,.4); color: var(--hosting-blue-dark); background: var(--hosting-blue-soft); text-decoration: none; }

.hosting-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 17px;
    margin-top: clamp(28px, 4vw, 44px);
}

.hosting-feature {
    position: relative;
    min-width: 0;
    padding: 26px 20px 25px;
    overflow: hidden;
    border: 1px solid #e0eaf4;
    border-radius: 20px;
    background: rgba(255,255,255,.9);
    box-shadow: 0 10px 28px rgba(22,57,91,.045);
    text-align: center;
    transition: transform var(--hosting-transition), border-color var(--hosting-transition), box-shadow var(--hosting-transition);
    animation: hostingIntro .5s ease both;
}

.hosting-feature:nth-child(2) { animation-delay: .04s; }
.hosting-feature:nth-child(3) { animation-delay: .08s; }
.hosting-feature:nth-child(4) { animation-delay: .12s; }
.hosting-feature::before { content: ""; position: absolute; inset: 0 18% auto; height: 3px; border-radius: 0 0 5px 5px; background: linear-gradient(90deg, var(--hosting-blue), var(--hosting-green)); transform: scaleX(0); transform-origin: center; transition: transform var(--hosting-transition); }
.hosting-feature:hover { transform: translateY(-5px); border-color: #c9def3; box-shadow: 0 18px 38px rgba(22,57,91,.09); }
.hosting-feature:hover::before { transform: scaleX(1); }

.feature-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 17px;
    border: 1px solid rgba(8,124,240,.12);
    border-radius: 17px;
    color: var(--hosting-blue);
    background: linear-gradient(145deg, #edf6ff, #f2fff9);
    transition: transform var(--hosting-transition), color var(--hosting-transition), background var(--hosting-transition);
}

.feature-icon svg { width: 26px; height: 26px; }
.hosting-feature:hover .feature-icon { transform: translateY(-2px); color: #057f52; background: #eafff4; }
.hosting-feature h3,
.hosting-feature h4 { margin: 0 0 9px; color: var(--hosting-ink); font-size: 1.02rem; font-weight: 800; line-height: 1.35; }
.hosting-feature p { margin: 0; color: var(--hosting-muted); font-size: .88rem; line-height: 1.7; }

@keyframes hostingIntro {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1000px) {
    .hosting-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hosting-search-box { grid-template-columns: minmax(0, 1fr) 130px 175px; }
}

@media (max-width: 720px) {
    .hosting .container { width: min(100% - 30px, 600px); }
    .hosting-header { margin-bottom: 30px; }
    .hosting-header h1,
    .hosting-header h2 { font-size: clamp(1.9rem, 7vw, 2.65rem); letter-spacing: -.035em; }
    .hosting-header p { font-size: .96rem; line-height: 1.75; }
    .hosting-search-card { padding: 23px 20px; border-radius: 21px; }
    .hosting-card-top { align-items: flex-start; gap: 14px; margin-bottom: 23px; }
    .hosting-icon { flex-basis: 54px; width: 54px; height: 54px; border-radius: 16px; }
    .hosting-icon svg { width: 23px; height: 23px; }
    .hosting-card-info h2,
    .hosting-card-info h3 { font-size: 1.2rem; }
    .hosting-card-info p { font-size: .9rem; }
    .hosting-search-box { grid-template-columns: minmax(0, 1fr) 112px; gap: 8px; padding: 0; overflow: visible; border: 0; background: transparent; box-shadow: none; }
    .hosting-input-wrap { grid-column: 1 / -1; min-height: 54px; padding: 0 14px; border: 1px solid #d4e1ef; border-radius: 12px; background: #f8fbff; }
    .hosting-search-box:focus-within { box-shadow: none; }
    .hosting-input-wrap:focus-within { border-color: rgba(8,124,240,.65); box-shadow: 0 0 0 3px rgba(8,124,240,.09); }
    .hosting-search-box input { height: 52px; }
    .hosting-search-box select { height: 52px; }
    .hosting-search-box button { min-height: 52px; padding: 0 12px; }
    .hosting-search-box button span { font-size: .88rem; }
    .hosting-extensions { justify-content: flex-start; margin-top: 20px; }
    .hosting-extension-label { flex-basis: 100%; }
    .hosting-features { gap: 12px; margin-top: 28px; }
    .hosting-feature { padding: 23px 16px; border-radius: 17px; }
}

@media (max-width: 460px) {
    .hosting .container { width: calc(100% - 26px); }
    .hosting-badge { margin-bottom: 16px; padding: 8px 12px; font-size: .76rem; }
    .hosting-header h1,
    .hosting-header h2 { font-size: clamp(1.8rem, 8.3vw, 2.25rem); }
    .hosting-header h1::after,
    .hosting-header h2::after { margin-top: 16px; }
    .hosting-card-top { flex-direction: column; align-items: flex-start; }
    .hosting-search-card { padding: 20px 16px; }
    .hosting-search-box { grid-template-columns: minmax(0, 1fr); }
    .hosting-input-wrap { grid-column: auto; }
    .hosting-search-box select,
    .hosting-search-box button { width: 100%; }
    .hosting-search-box button { min-height: 51px; }
    .hosting-features { grid-template-columns: 1fr; }
    .hosting-feature { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 18px; text-align: left; }
    .feature-icon { grid-row: 1 / span 2; width: 48px; height: 48px; margin: 0; border-radius: 14px; }
    .feature-icon svg { width: 23px; height: 23px; }
    .hosting-feature h3,
    .hosting-feature h4 { margin: 0 0 4px; font-size: .98rem; }
    .hosting-feature p { font-size: .85rem; }
    .hosting-success,
    .hosting-error { padding: 22px 16px; }
    .hosting-result h4 { font-size: 1.35rem; }
    .btn-hosting { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .hosting-header,
    .hosting-search-card,
    .hosting-feature { animation: none; }
    .hosting-feature,
    .hosting-feature::before,
    .feature-icon,
    .btn-hosting,
    .hosting-search-box button,
    .hosting-extensions button,
    .hosting-suggestions a { transition: none; }
}
