/* ==========================================================
   desarrollowebamedida.es — capa propia sobre Devix (home 02)
   ========================================================== */

/* --- logo de texto en lugar del logotipo de la plantilla --- */
.wam-logo {
    font-family: "Space Grotesk", sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: #fff;
    line-height: 1;
    white-space: nowrap;
}
.wam-logo span {
    color: #a4ec4e;
}
.wam-logo:hover {
    color: #fff;
}
.offcanvas__logo .wam-logo {
    font-size: 19px;
}

/* --- rejilla de trabajos --- */
.wam-works {
    margin-top: 10px;
}
.wam-work {
    display: block;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    background: #101010;
    height: 100%;
}
.wam-work figure {
    margin: 0;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}
.wam-work img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform .7s cubic-bezier(.2, .8, .2, 1);
}
.wam-work:hover img {
    transform: scale(1.06);
}
.wam-work-caption {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px 20px;
}
.wam-work-caption h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}
.wam-work-caption span {
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #a4ec4e;
    white-space: nowrap;
}

/* --- imagen del hero: captura de una web, no retrato --- */
.hero-image .wam-hero-shot {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}

/* --- precios: tres columnas en vez de dos --- */
.pricing-box-items ul li {
    align-items: flex-start;
}
.wam-price-note {
    margin-top: 34px;
    text-align: center;
    opacity: .7;
}

/* --- formulario --- */
.wam-form-msg {
    display: none;
    margin-bottom: 22px;
    padding: 16px 20px;
    border: 1px solid #a4ec4e;
    border-radius: 8px;
    color: #fff;
}
.wam-form-msg.visible {
    display: block;
}
.wam-hp {
    position: absolute;
    left: -9999px;
}
.form-clt select {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    color: #fff;
    padding: 16px 20px;
    font-family: inherit;
    font-size: 16px;
    outline: none;
}
.form-clt select option {
    background: #111;
    color: #fff;
}
.wam-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #cfcfcf;
    line-height: 1.6;
}
.wam-consent input {
    margin-top: 4px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.wam-consent a {
    color: #a4ec4e;
    text-decoration: underline;
}

/* --- pie --- */
.wam-footer-legal a {
    color: #cfcfcf;
}
.wam-footer-legal a:hover {
    color: #a4ec4e;
}

/* --- pagina legal --- */
.wam-legal {
    padding: 180px 0 100px;
}
.wam-legal h1 {
    font-family: "Space Grotesk", sans-serif;
    color: #fff;
    margin-bottom: 30px;
}
.wam-legal h2 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 24px;
    color: #fff;
    margin: 40px 0 14px;
}
.wam-legal p,
.wam-legal li {
    color: #cfcfcf;
    line-height: 1.8;
    margin-bottom: 12px;
}
.wam-legal ul {
    padding-left: 20px;
    list-style: disc;
}
.wam-legal .pendiente {
    color: #a4ec4e;
}

/* --- ajustes de la tarjeta de precios con tres columnas --- */
.pricing-box-items {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.pricing-box-items .pricing-header h2 {
    font-size: 44px;
    white-space: nowrap;
}
.pricing-box-items .pricing-header span {
    font-size: 15px;
}
.pricing-box-items ul {
    flex-grow: 1;
}
.pricing-box-items .pricing-button {
    margin-top: auto;
}
@media only screen and (max-width: 1399px) {
    .pricing-box-items .pricing-header h2 {
        font-size: 36px;
    }
}

/* --- filtros de tipologia en Trabajos (seccion de fondo claro) --- */
.wam-filtros {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 34px 0 10px;
}
.wam-filtro {
    font-family: "Space Grotesk", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #3a3a3a;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, .16);
    border-radius: 40px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background .25s, color .25s, border-color .25s;
}
.wam-filtro:hover {
    background: #111;
    border-color: #111;
    color: #fff;
}
.wam-filtro.activo,
.wam-filtro.activo:hover {
    background: #a4ec4e;
    border-color: #a4ec4e;
    color: #111;
}
.wam-sin-resultados {
    display: none;
    margin-top: 24px;
    padding: 20px 24px;
    border: 1px dashed rgba(0, 0, 0, .25);
    border-radius: 10px;
    color: #4a4a4a;
}
@media only screen and (max-width: 768px) {
    .wam-filtro {
        font-size: 13px;
        padding: 8px 15px;
    }
}

/* --- lista de puntos en las paginas por sector --- */
.wam-sector-puntos {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px 34px;
}
.wam-sector-puntos li {
    position: relative;
    padding-left: 22px;
    color: #3a3a3a;
    font-size: 16px;
    line-height: 1.7;
}
.wam-sector-puntos li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #a4ec4e;
}
