/* MI WEB RENTABLE — SITE.CSS
   CSS puro · Responsive · Wireframe techno sin imágenes
*/

:root{
    --color-bg:#F7F6EF;
    --color-surface:#FCFEFD;
    --color-gray-light:#E6E5E1;
    --color-gray-medium:#A2A6AC;
    --color-primary:#0298D5;
    --color-primary-dark:#027EAF;
    --color-text:#575557;
    --color-text-strong:#312D2C;
    --color-text-secondary:#6C6B70;
    --radius-sm:10px;
    --radius-md:14px;
    --radius-lg:18px;
    --shadow-card:0 1px 2px rgba(49,45,44,.035),0 8px 24px rgba(49,45,44,.045);
    --shadow-card-hover:0 2px 4px rgba(49,45,44,.04),0 18px 42px rgba(49,45,44,.10);
    --shadow-button:0 8px 20px rgba(2,152,213,.18);
    --container:1120px;
    --content:760px;
    --ease:cubic-bezier(.2,.7,.2,1);
    --transition:180ms var(--ease);
}

*,*::before,*::after{box-sizing:border-box}

html{
    scroll-behavior:smooth;
    scroll-padding-top:90px;
}

body{
    margin:0;
    min-width:320px;
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    color:var(--color-text);
    /*background:
        radial-gradient(circle at 10% 0%,rgba(255,255,255,.82),transparent 30%),
        linear-gradient(120deg,var(--color-bg),#FAFAF7 38%,var(--color-surface) 68%,var(--color-bg));
    line-height:1.65;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    text-rendering:optimizeLegibility;*/
background: #F7F7F3;
}

img{display:block;max-width:100%;height:auto}
a{color:var(--color-primary)}

::selection{
    background:rgba(2,152,213,.18);
    color:var(--color-text-strong);
}

.container{
    width:min(var(--container),calc(100% - 40px));
    margin-inline:auto;
}

.narrow{
    width:min(var(--content),calc(100% - 40px));
    margin-inline:auto;
}

/* HEADER */

.site-header{
    position:sticky;
    top:0;
    z-index:100;
    background:rgba(252,254,253,.94);
    border-bottom:1px solid rgba(230,229,225,.92);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
}

.nav-wrap,.footer-wrap{
    min-height:68px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
}

.brand{
    display:inline-flex;
    align-items:center;
    gap:9px;
    color:var(--color-text-strong);
    font-weight:800;
    letter-spacing:-.03em;
    text-decoration:none;
    white-space:nowrap;
}

.brand::before{
    content:"";
    width:8px;
    height:8px;
    flex:0 0 8px;
    border-radius:50%;
    background:var(--color-primary);
    box-shadow:0 0 0 4px rgba(2,152,213,.10);
}

nav{
    display:flex;
    align-items:center;
    gap:22px;
    flex-wrap:wrap;
}

nav a{
    position:relative;
    display:inline-block;
    padding:5px 0;
    color:var(--color-text);
    font-size:.94rem;
    text-decoration:none;
    transition:color var(--transition);
}

nav a::after{
    content:"";
    position:absolute;
    left:0;
    right:100%;
    bottom:0;
    height:2px;
    border-radius:999px;
    background:var(--color-primary);
    transition:right var(--transition);
}

nav a:hover,nav a:focus-visible{color:var(--color-primary)}
nav a:hover::after,nav a:focus-visible::after{right:0}

/* HERO */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    min-height: 560px;
    padding: 112px 0 120px;

    /* MUY IMPORTANTE */
    background: transparent;
}


/* =========================================================
   IMAGEN DEL HERO
   ========================================================= */

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 0;
    pointer-events: none;

    background-image: url("/assets/img/hero.webp");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;

    /*
       La imagen se vuelve transparente progresivamente
       hacia la parte inferior.
    */
    -webkit-mask-image:
        linear-gradient(
            to bottom,
            #000 0%,
            #000 42%,
            rgba(0,0,0,.90) 55%,
            rgba(0,0,0,.65) 68%,
            rgba(0,0,0,.35) 80%,
            rgba(0,0,0,.10) 90%,
            transparent 100%
        );

    mask-image:
        linear-gradient(
            to bottom,
            #000 0%,
            #000 42%,
            rgba(0,0,0,.90) 55%,
            rgba(0,0,0,.65) 68%,
            rgba(0,0,0,.35) 80%,
            rgba(0,0,0,.10) 90%,
            transparent 100%
        );
}


/* =========================================================
   INTEGRACIÓN LATERAL + VIÑETA
   ========================================================= */

.hero::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 1;
    pointer-events: none;

    background:
        linear-gradient(
            to right,
            rgba(247,246,239,.94) 0%,
            rgba(247,246,239,.68) 14%,
            rgba(247,246,239,.18) 34%,
            transparent 52%
        ),

        radial-gradient(
            ellipse at center,
            transparent 45%,
            rgba(247,246,239,.10) 70%,
            rgba(247,246,239,.22) 100%
        );
}


/* =========================================================
   CONTENIDO
   ========================================================= */

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


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

/* =========================================================
   HERO — CONTENIDO
   ========================================================= */
/* TEXTOS */


.hero h1,.page-header h1{
    color:var(--color-text-strong);
    text-shadow:
        0 3px 8px rgba(49,45,44,.16),
        0 0 18px rgba(247,246,239,.95),
        0 0 38px rgba(247,246,239,.85);
}

.hero h1{
    max-width:850px;
    margin:12px 0 24px;
    font-size:clamp(2.65rem,7vw,5rem);
    line-height:1.015;
    letter-spacing:-.055em;
}

.lead{
    max-width:720px;
    margin:0;
    color:var(--color-text-secondary);
    font-size:1.18rem;
    line-height:1.65;
    text-shadow:0 1px 6px rgba(247,246,239,.95);
}

.eyebrow{
    margin:0;
    color:var(--color-primary);
    text-transform:uppercase;
    letter-spacing:.14em;
    font-size:.76rem;
    font-weight:800;
    text-shadow:0 1px 6px rgba(247,246,239,.95);
}

.hero h1::after,.page-header h1::after{
    content:"";
    display:inline-block;
    width:2px;
    height:.78em;
    margin-left:7px;
    vertical-align:-.08em;
    background:var(--color-primary);
    box-shadow:0 0 8px rgba(2,152,213,.35);
    animation:cursorBlink 1s steps(1) infinite;
}

.actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:32px;
}

/* BOTONES */

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:46px;
    padding:11px 18px;
    border:1px solid transparent;
    border-radius:var(--radius-sm);
    font-weight:750;
    line-height:1.2;
    text-decoration:none;
    cursor:pointer;
    transition:transform var(--transition),box-shadow var(--transition),background-color var(--transition),border-color var(--transition),color var(--transition);
}

.btn:hover{transform:translateY(-2px)}

.btn-primary{
    background:var(--color-primary);
    color:var(--color-surface);
    box-shadow:var(--shadow-button);
}

.btn-primary:hover,.btn-primary:focus-visible{
    background:var(--color-primary-dark);
    box-shadow:0 11px 26px rgba(2,152,213,.24);
}

.btn-secondary{
    border-color:var(--color-gray-medium);
    background:var(--color-surface);
    color:var(--color-text-strong);
}

.btn-secondary:hover,.btn-secondary:focus-visible{
    border-color:var(--color-primary);
    color:var(--color-primary);
    box-shadow:var(--shadow-card);
}

/* PAGE HEADER */

.page-header{
    position:relative;
    isolation:isolate;
    overflow:hidden;

    min-height:300px;
    padding:82px 0 58px;

    /*border-bottom:2px solid rgba(2,152,213,.45);*/

    /*
       Misma identidad visual del Hero principal.
       hero.png contiene el paisaje wireframe y el cráneo
       está ubicado a la derecha.
    */
    background-image:
        linear-gradient(
            90deg,
            rgba(247,246,239,.97) 0%,
            rgba(247,246,239,.88) 28%,
            rgba(247,246,239,.48) 55%,
            rgba(247,246,239,.14) 100%
        ),
        url("/assets/img/hero.webp");

    background-size:
        cover,
        cover;

    background-position:
        center,
        center right;

    background-repeat:
        no-repeat,
        no-repeat;
}

/* Brillo sutil sobre la imagen */

.page-header::before{
    content:"";

    position:absolute;
    inset:0;

    z-index:1;
    pointer-events:none;

    background:
        radial-gradient(
            circle at 40% 35%,
            rgba(255,255,255,.28),
            transparent 30%
        ),
        linear-gradient(
            110deg,
            transparent 20%,
            rgba(255,255,255,.10) 50%,
            transparent 80%
        );

    background-size:
        100% 100%,
        220% 100%;

    animation:
        heroGlow 14s ease-in-out infinite alternate;
}

/* Oscurecimiento mínimo en la parte inferior */

.page-header::after{
    content:"";

    position:absolute;
    inset:0;

    z-index:2;
    pointer-events:none;

    background:
        linear-gradient(
            180deg,
            rgba(252,254,253,.02) 0%,
            rgba(247,246,239,.03) 60%,
            rgba(49,45,44,.10) 100%
        );

    opacity:.85;
}

.page-header .container{
    position:relative;
    z-index:3;
}

.page-header h1{
    max-width:850px;
    margin:10px 0 18px;

    font-size:clamp(2.4rem,5vw,4rem);
    line-height:1.05;
    letter-spacing:-.045em;

    text-shadow:
        0 3px 8px rgba(49,45,44,.18),
        0 0 18px rgba(247,246,239,.96),
        0 0 38px rgba(247,246,239,.82);
}

/* SECCIONES */

.section{padding:84px 0}

.section-muted {
    position: relative;
    background: rgba(230, 229, 225, .30);
    overflow: hidden;
}

.section-muted::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(
        ellipse at center,
        transparent 55%,
        rgba(0, 0, 0, .08) 100%
    );
}














.section h2{color:var(--color-text-strong)}

/* GRIDS */

.grid-4,.grid-3,.grid-2{
    display:grid;
    gap:22px;
}

.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}

/* TARJETAS */

.card,.contact-card,.project{
    border:1px solid var(--color-gray-light);
    border-radius:var(--radius-lg);
    background:var(--color-surface);
    box-shadow:var(--shadow-card);
}

.card{
    position:relative;
    padding:30px;
    overflow:hidden;
    transition:transform var(--transition),border-color var(--transition),box-shadow var(--transition);
}

.card::before{
    content:"";
    display:block;
    width:8px;
    height:8px;
    margin-bottom:20px;
    border-radius:50%;
    background:var(--color-primary);
    box-shadow:0 0 0 5px rgba(2,152,213,.08);
}

.card:hover{
    transform:translateY(-4px);
    border-color:rgba(2,152,213,.28);
    box-shadow:var(--shadow-card-hover);
}

.card h2,.project h2{
    margin-top:0;
    color:var(--color-text-strong);
    line-height:1.2;
}

.card p:last-child,.project p:last-child{margin-bottom:0}
.card a,.project a,.blog-item a{font-weight:700}

/* CONTACTO */

.contact-card{
    padding:30px;
    transition:transform var(--transition),border-color var(--transition),box-shadow var(--transition);
}

.contact-card:hover{
    transform:translateY(-3px);
    border-color:rgba(2,152,213,.24);
    box-shadow:var(--shadow-card-hover);
}

/* PORTFOLIO */

.project{
    padding:0;
    overflow:hidden;
    transition:transform var(--transition),border-color var(--transition),box-shadow var(--transition);
}

.project:hover{
    transform:translateY(-4px);
    border-color:rgba(2,152,213,.28);
    box-shadow:var(--shadow-card-hover);
}

.project-placeholder{
    position:relative;
    min-height:205px;
    display:grid;
    place-items:center;
    overflow:hidden;
    background:linear-gradient(135deg,var(--color-gray-light),var(--color-surface));
    color:var(--color-text-secondary);
    font-weight:800;
}

.project-placeholder::before{
    content:"";
    position:absolute;
    inset:0;
    opacity:.34;
    background-image:radial-gradient(circle,var(--color-primary) 1px,transparent 1.4px);
    background-size:20px 20px;
    -webkit-mask-image:linear-gradient(135deg,transparent 0%,#000 65%,transparent 100%);
    mask-image:linear-gradient(135deg,transparent 0%,#000 65%,transparent 100%);
}

.project-placeholder span{
    position:relative;
    z-index:1;
    padding:9px 13px;
    border:1px solid rgba(230,229,225,.9);
    border-radius:999px;
    background:rgba(252,254,253,.82);
    backdrop-filter:blur(5px);
}

.project-body{padding:26px}

/* BLOG */

.blog-list{
    display:grid;
    gap:18px;
}

.blog-item{
    display:block;
    padding:26px;
    border:1px solid var(--color-gray-light);
    border-radius:var(--radius-md);
    background:var(--color-surface);
    text-decoration:none;
    box-shadow:0 1px 2px rgba(49,45,44,.025);
    transition:transform var(--transition),border-color var(--transition),box-shadow var(--transition);
}

.blog-item:hover{
    transform:translateY(-3px);
    border-color:rgba(2,152,213,.28);
    box-shadow:var(--shadow-card);
}

.blog-item h2{
    margin:0 0 8px;
    color:var(--color-text-strong);
    line-height:1.25;
}

/* ENLACES */

main a:not(.btn):not(.blog-item){
    text-decoration-thickness:1px;
    text-underline-offset:3px;
    transition:color var(--transition);
}

main a:not(.btn):not(.blog-item):hover{color:var(--color-primary-dark)}

/* FOOTER */

.site-footer{
    margin-top:40px;
    border-top:1px solid var(--color-gray-light);
    background:var(--color-surface);
}

.footer-wrap{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    color:var(--color-text-secondary);
    font-size:.92rem;
}

.footer-wrap p{margin:0}

.footer-main{
    display:flex;
    align-items:center;
    gap:28px;
    min-width:0;
}

.footer-main nav{
    display:flex;
    align-items:center;
    gap:18px;
}

.footer-main nav a{
    color:var(--color-text-secondary);
    text-decoration:none;
}

.footer-main nav a:hover{color:var(--color-primary)}

.footer-social{
    display:flex;
    align-items:center;
    gap:8px;
}

.social-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:36px;
    height:36px;
    color:var(--color-text-secondary);
    border:1px solid var(--color-gray-light);
    border-radius:50%;
    background:var(--color-surface);
    text-decoration:none;
    transition:color var(--transition),border-color var(--transition),transform var(--transition),background var(--transition);
}

.social-icon svg{
    width:18px;
    height:18px;
}

.social-icon:hover{
    color:var(--color-primary);
    border-color:rgba(2,152,213,.28);
    background:rgba(2,152,213,.045);
    transform:translateY(-2px);
}

/* ANIMACIONES */

@keyframes heroGlow{
    from{transform:translateX(-4%)}
    to{transform:translateX(4%)}
}

@keyframes cursorBlink{
    0%,49%{opacity:1}
    50%,100%{opacity:0}
}

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

.hero .eyebrow{animation:fadeUp .55s ease-out both}
.hero h1{animation:fadeUp .65s .08s ease-out both}
.hero .lead{animation:fadeUp .65s .16s ease-out both}
.hero .actions{animation:fadeUp .65s .24s ease-out both}

.page-header .eyebrow{animation:fadeUp .50s ease-out both}
.page-header h1{animation:fadeUp .60s .08s ease-out both}
.page-header .lead{animation:fadeUp .60s .16s ease-out both}

/* REVEAL OPCIONAL — requiere animations.js */

.reveal{
    opacity:0;
    transform:translateY(18px);
    transition:opacity .6s ease,transform .6s var(--ease);
}

.reveal.is-visible{
    opacity:1;
    transform:translateY(0);
}

/* ACCESIBILIDAD */

:focus-visible{
    outline:3px solid rgba(2,152,213,.30);
    outline-offset:3px;
}

@media(prefers-reduced-motion:reduce){
    html{scroll-behavior:auto}

    *,
    *::before,
    *::after{
        animation:none !important;
        transition:none !important;
    }

    .reveal{
        opacity:1;
        transform:none;
    }
}

/* TABLET */

@media(max-width:900px){
    .grid-4,
    .grid-3{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

/* MOBILE */

@media(max-width:760px){

    .nav-wrap{
        align-items:flex-start;
        flex-direction:column;
        padding:16px 0;
    }

    nav{gap:16px}

    .hero{
        min-height:0;
        padding:78px 0 70px;
    }

    .hero h1{
        font-size:clamp(2.45rem,11vw,4rem);
    }

    .page-header{
        padding:62px 0 40px;
    }

    .page-header h1{
        font-size:clamp(2.35rem,10vw,3.5rem);
    }

    .grid-4,
    .grid-3,
    .grid-2{
        grid-template-columns:1fr;
    }

    .section{padding:62px 0}

    .card,.contact-card{
        padding:25px;
    }

    .actions{margin-top:26px}

    .hero::before{
        background-position:62% center;
    }


    .page-header{
        min-height:260px;
        padding:62px 0 44px;
        background-position:
            center,
            68% center;
    }

    .page-header::after{
        opacity:.65;
    }
}

/* MOBILE PEQUEÑO */

@media(max-width:480px){

    .container,.narrow{
        width:min(100% - 28px,1120px);
    }

    .nav-wrap,.footer-wrap{
        min-height:64px;
    }

    .footer-wrap{
        align-items:flex-start;
        flex-direction:column;
        gap:16px;
    }

    .footer-main{
        width:100%;
        align-items:flex-start;
        justify-content:space-between;
        gap:18px;
    }

    nav{
        width:100%;
        gap:14px 18px;
    }

    .hero{
        padding:64px 0 58px;
    }

    .hero::before{
        background-position:72% center;
    }

    .hero h1{
        letter-spacing:-.045em;
    }

    .lead{font-size:1.08rem}

    .page-header{
        padding:54px 0 34px;
    }

    .page-header{
        min-height:230px;
        padding:54px 0 36px;
        background-position:
            center,
            72% center;
    }

    .page-header::after{
        opacity:.58;
    }

    .btn{width:auto}
}

body {
  display: grid;
  min-height: 100dvh;
  grid-template-rows: auto 1fr auto;
}



/* ==========================================================
   MI WEB RENTABLE
   FORMULARIO DE COTIZACIÓN
   Namespace: mwr-quote
   ========================================================== */


/* ----------------------------------------------------------
   CONTENEDOR PRINCIPAL
   ---------------------------------------------------------- */

.mwr-quote-card {
    width: 100%;
    padding: 34px;
    background: #ffffff;
    border: 1px solid #dfe4e8;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(25, 35, 45, 0.06);

    /* Importante:
       este contenedor NO hereda hover ni movimiento */
    transform: none;
    transition: none;
}

.mwr-quote-card:hover {
    transform: none;
    border-color: #dfe4e8;
    box-shadow: 0 8px 30px rgba(25, 35, 45, 0.06);
}


/* ----------------------------------------------------------
   CABECERA DEL FORMULARIO
   ---------------------------------------------------------- */

.mwr-quote-header {
    margin-bottom: 30px;
}

.mwr-quote-header h2 {
    margin: 0 0 10px;
    color: #292929;
    font-size: 1.65rem;
    line-height: 1.25;
    font-weight: 700;
}

.mwr-quote-header p {
    max-width: 720px;
    margin: 0;
    color: #626262;
    font-size: 0.95rem;
    line-height: 1.6;
}


/* ----------------------------------------------------------
   FORMULARIO
   ---------------------------------------------------------- */

.mwr-quote-form {
    width: 100%;
}

.mwr-quote-field {
    margin: 0 0 25px;
}

.mwr-quote-field:last-of-type {
    margin-bottom: 0;
}


/* ----------------------------------------------------------
   LABELS
   ---------------------------------------------------------- */

.mwr-quote-label,
.mwr-quote-legend {
    display: block;
    margin: 0 0 8px;
    color: #343434;
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: 700;
}

.mwr-quote-required {
    color: #0298d5;
}

.mwr-quote-optional {
    color: #8a8a8a;
    font-size: 0.82rem;
    font-weight: 400;
}


/* ----------------------------------------------------------
   FILA LABEL + CONTADOR
   ---------------------------------------------------------- */

.mwr-quote-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 8px;
}

.mwr-quote-label-row .mwr-quote-label {
    margin-bottom: 0;
}

.mwr-quote-counter {
    flex-shrink: 0;
    color: #999999;
    font-size: 0.72rem;
    line-height: 1;
}


/* ----------------------------------------------------------
   INPUTS / SELECT / TEXTAREA
   ---------------------------------------------------------- */

.mwr-quote-input,
.mwr-quote-select,
.mwr-quote-textarea {
    display: block;
    width: 100%;
    margin: 0;

    border: 1px solid #d7dde2;
    border-radius: 9px;

    background: #ffffff;
    color: #303030;

    font-family: inherit;
    font-size: 0.92rem;
    line-height: 1.5;

    box-shadow:
        0 1px 2px rgba(20, 30, 40, 0.03);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}


/* Input */

.mwr-quote-input {
    min-height: 50px;
    padding: 12px 15px;
}


/* Select */

.mwr-quote-select {
    min-height: 50px;
    padding: 12px 42px 12px 15px;

    cursor: pointer;

    /* Evita que estilos globales alteren el aspecto */
    appearance: auto;
}


/* Textarea */

.mwr-quote-textarea {
    min-height: 155px;
    padding: 14px 15px;

    resize: vertical;
}


/* Placeholder */

.mwr-quote-input::placeholder,
.mwr-quote-textarea::placeholder {
    color: #9a9a9a;
    opacity: 1;
}


/* Hover */

.mwr-quote-input:hover,
.mwr-quote-select:hover,
.mwr-quote-textarea:hover {
    border-color: #b9c4cc;
}


/* Focus */

.mwr-quote-input:focus,
.mwr-quote-select:focus,
.mwr-quote-textarea:focus {
    outline: none;

    border-color: #0298d5;

    box-shadow:
        0 0 0 3px rgba(2, 152, 213, 0.10),
        0 1px 2px rgba(20, 30, 40, 0.03);
}


/* ----------------------------------------------------------
   TEXTO DE AYUDA
   ---------------------------------------------------------- */

.mwr-quote-help {
    margin: 7px 0 0;

    color: #858585;
    font-size: 0.76rem;
    line-height: 1.5;
}


/* ----------------------------------------------------------
   MÉTODO DE CONTACTO
   ---------------------------------------------------------- */

.mwr-quote-contact-fieldset {
    margin: 0 0 25px;
    padding: 0;
    border: 0;
}

.mwr-quote-legend {
    margin-bottom: 10px;
}


/* Contenedor de opciones */

.mwr-quote-contact-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}


/* Cada opción */

.mwr-quote-contact-option {
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
    cursor: pointer;
}


/* Radio real, pero visualmente oculto */

.mwr-quote-contact-option input {
    position: absolute;

    width: 1px;
    height: 1px;

    margin: -1px;
    padding: 0;

    overflow: hidden;
    clip: rect(0, 0, 0, 0);

    white-space: nowrap;

    border: 0;
}


/* Caja visible */

.mwr-quote-contact-box {
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-height: 72px;
    padding: 13px 15px;

    border: 1px solid #d7dde2;
    border-radius: 9px;

    background: #ffffff;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* Título */

.mwr-quote-contact-box strong {
    display: block;

    color: #303030;
    font-size: 0.88rem;
    line-height: 1.3;
    font-weight: 700;
}


/* Descripción */

.mwr-quote-contact-box small {
    display: block;
    margin-top: 3px;

    color: #888888;
    font-size: 0.73rem;
    line-height: 1.35;
}


/* Hover */

.mwr-quote-contact-option:hover
.mwr-quote-contact-box {
    border-color: #aebbc4;
}


/* Seleccionado */

.mwr-quote-contact-option
input:checked
+
.mwr-quote-contact-box {

    border-color: #0298d5;

    background: rgba(2, 152, 213, 0.045);

    box-shadow:
        inset 0 0 0 1px #0298d5,
        0 2px 8px rgba(2, 152, 213, 0.08);
}


/* Foco mediante teclado */

.mwr-quote-contact-option
input:focus-visible
+
.mwr-quote-contact-box {

    outline: 2px solid rgba(2, 152, 213, 0.30);
    outline-offset: 2px;
}


/* ----------------------------------------------------------
   CONSENTIMIENTO / PRIVACIDAD
   ---------------------------------------------------------- */

.mwr-quote-consent {
    margin: 0 0 22px;
}

.mwr-quote-consent label {
    display: flex;
    align-items: flex-start;
    gap: 9px;

    margin: 0;

    color: #707070;
    font-size: 0.77rem;
    line-height: 1.5;

    cursor: pointer;
}

.mwr-quote-consent input {
    flex: 0 0 auto;

    width: 16px;
    height: 16px;

    margin: 1px 0 0;

    accent-color: #0298d5;
}

.mwr-quote-consent a {
    color: #0298d5;
    text-decoration: underline;
}

.mwr-quote-consent a:hover {
    text-decoration: none;
}


/* ----------------------------------------------------------
   BOTÓN
   ---------------------------------------------------------- */

.mwr-quote-actions {
    margin-top: 0;
}

.mwr-quote-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 12px 22px;

    border: 1px solid #0298d5;
    border-radius: 8px;

    background: #0298d5;
    color: #ffffff;

    font-family: inherit;
    font-size: 0.88rem;
    line-height: 1.2;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 5px 15px rgba(2, 152, 213, 0.16);

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.mwr-quote-submit:hover {
    border-color: #0288c0;
    background: #0288c0;

    transform: translateY(-1px);

    box-shadow:
        0 7px 18px rgba(2, 152, 213, 0.22);
}

.mwr-quote-submit:active {
    transform: translateY(0);
}

.mwr-quote-submit:focus-visible {
    outline: 2px solid rgba(2, 152, 213, 0.35);
    outline-offset: 3px;
}

.mwr-quote-submit:disabled {
    opacity: 0.65;
    cursor: wait;
    transform: none;
}


/* ----------------------------------------------------------
   MENSAJES
   ---------------------------------------------------------- */

.mwr-quote-message {
    margin: 0 0 20px;
    padding: 12px 14px;

    border: 1px solid #e0b7b7;
    border-radius: 8px;

    background: #fff8f8;
    color: #8b3a3a;

    font-size: 0.82rem;
    line-height: 1.5;
}


/* ----------------------------------------------------------
   HONEYPOT ANTI-SPAM
   ---------------------------------------------------------- */

.mwr-quote-honeypot {
    position: absolute !important;

    left: -9999px !important;

    width: 1px !important;
    height: 1px !important;

    overflow: hidden !important;
}


/* ----------------------------------------------------------
   ESTADOS DE VALIDACIÓN
   ---------------------------------------------------------- */

.mwr-quote-input.mwr-quote-invalid,
.mwr-quote-select.mwr-quote-invalid,
.mwr-quote-textarea.mwr-quote-invalid {
    border-color: #c85c5c;

    box-shadow:
        0 0 0 3px rgba(200, 92, 92, 0.08);
}


/* ----------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------- */

@media (max-width: 700px) {

    .mwr-quote-card {
        padding: 26px 22px;
        border-radius: 14px;
    }

    .mwr-quote-header {
        margin-bottom: 24px;
    }

    .mwr-quote-header h2 {
        font-size: 1.45rem;
    }

    .mwr-quote-contact-options {
        grid-template-columns: 1fr;
    }

    .mwr-quote-submit {
        width: 100%;
    }
}


@media (max-width: 480px) {

    .mwr-quote-card {
        padding: 22px 17px;
    }

    .mwr-quote-field {
        margin-bottom: 22px;
    }

    .mwr-quote-textarea {
        min-height: 140px;
    }

    .mwr-quote-label-row {
        align-items: flex-start;
    }

}

.project-link,
.project-link:link,
.project-link:visited,
.project-link:hover,
.project-link:active,
.project-link:focus {
    display: block;

    color: inherit;
    text-decoration: none;

    border: 0;
    outline: none;
    box-shadow: none;
}

.project-link:hover {
    color: inherit;
}

.project-link h2,
.project-link p {
    color: inherit;
    text-decoration: none;
}

.project-link .project-visit {
    color: #0099d4;
    text-decoration: none;
}

.project-link:hover .project-visit {
    color: #0099d4;
    text-decoration: none;
}

/* =========================================================
   BLOG — EDITORIAL LIGERO
   El builder genera estos bloques automáticamente.
   ========================================================= */

.blog-header{
    padding:42px 0 34px;
    background:var(--color-surface);
}

.blog-header-inner{
    width:min(900px,calc(100% - 40px));
}

.blog-breadcrumbs{
    display:flex;
    align-items:center;
    gap:8px;
    margin:0 0 34px;
    color:var(--color-text-secondary);
    font-size:.82rem;
    flex-wrap:wrap;
}

.blog-breadcrumbs a{
    color:var(--color-primary);
    text-decoration:none;
}

.blog-breadcrumbs a:hover{color:var(--color-primary-dark)}

.blog-eyebrow{
    display:inline-flex;
    align-items:center;
    margin:0 0 14px;
    padding:5px 10px;
    border:1px solid rgba(2,152,213,.18);
    border-radius:999px;
    background:rgba(2,152,213,.055);
    color:var(--color-primary);
    font-size:.73rem;
    font-weight:800;
    letter-spacing:.07em;
    text-transform:uppercase;
}

.blog-header h1{
    max-width:900px;
    margin:0 0 20px;
    color:var(--color-text-strong);
    font-size:clamp(2.35rem,5vw,4.25rem);
    line-height:1.05;
    letter-spacing:-.048em;
}

.blog-lead{
    max-width:780px;
    margin:0;
    color:var(--color-text-secondary);
    font-size:1.12rem;
    line-height:1.65;
}

.blog-meta{
    display:flex;
    align-items:center;
    gap:18px 24px;
    margin-top:25px;
    color:var(--color-text-secondary);
    font-size:.84rem;
    flex-wrap:wrap;
}

.blog-meta-item{
    display:inline-flex;
    align-items:center;
    gap:7px;
    white-space:nowrap;
}

.blog-meta-icon{
    width:16px;
    height:16px;
    flex:0 0 16px;
    color:var(--color-primary);
}

.blog-featured{
    margin:30px 0 0;
    overflow:hidden;
    border-radius:var(--radius-lg);
    background:var(--color-gray-light);
    box-shadow:var(--shadow-card);
}

.blog-featured img{
    width:100%;
    aspect-ratio:16/7;
    object-fit:cover;
}

.blog-article > .section{
    padding:54px 0 30px;
}

.blog-article > .section > .narrow{
    width:min(760px,calc(100% - 40px));
}

.blog-article h2{
    margin:48px 0 16px;
    padding-top:26px;
    border-top:1px solid var(--color-gray-light);
    color:var(--color-text-strong);
    font-size:clamp(1.45rem,2.4vw,1.9rem);
    line-height:1.2;
    letter-spacing:-.025em;
}

.blog-article h2::first-letter{
    color:var(--color-primary);
}

.blog-article p,
.blog-article li{
    font-size:1rem;
    line-height:1.78;
}

.blog-article p{
    margin:0 0 18px;
}

.blog-article ul{
    margin:18px 0 24px;
    padding-left:1.35rem;
}

.blog-article li{margin:5px 0}

.blog-article blockquote,
.blog-highlight{
    margin:30px 0;
    padding:20px 22px;
    border:1px solid rgba(2,152,213,.18);
    border-radius:var(--radius-md);
    background:rgba(2,152,213,.055);
}

.blog-article blockquote p:last-child{margin-bottom:0}

.blog-cta-wrap{
    padding:18px 0 76px;
}

.blog-cta-wrap > .narrow{
    width:min(760px,calc(100% - 40px));
}

.blog-cta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
    padding:28px 30px;
    border:1px solid rgba(2,152,213,.22);
    border-radius:var(--radius-lg);
    background:linear-gradient(135deg,rgba(2,152,213,.065),rgba(252,254,253,.92));
}

.blog-cta-eyebrow{
    margin:0 0 5px;
    color:var(--color-primary);
    font-size:.74rem;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.blog-cta h2{
    margin:0 0 7px;
    color:var(--color-text-strong);
    font-size:1.35rem;
    line-height:1.25;
}

.blog-cta p:last-child{
    max-width:560px;
    margin:0;
    color:var(--color-text-secondary);
    font-size:.92rem;
    line-height:1.55;
}

@media(max-width:760px){
    .blog-header{padding:30px 0 26px}
    .blog-header-inner{width:min(100% - 28px,900px)}
    .blog-breadcrumbs{margin-bottom:25px}
    .blog-header h1{font-size:clamp(2.15rem,10vw,3.2rem)}
    .blog-lead{font-size:1rem}
    .blog-meta{gap:10px 16px}
    .blog-featured{border-radius:var(--radius-md)}
    .blog-featured img{aspect-ratio:16/9}
    .blog-article > .section{padding:38px 0 20px}
    .blog-article > .section > .narrow,
    .blog-cta-wrap > .narrow{width:min(100% - 28px,760px)}
    .blog-article h2{margin-top:38px;padding-top:22px}
    .blog-cta-wrap{padding:12px 0 54px}
    .blog-cta{align-items:stretch;flex-direction:column;padding:24px 22px}
    .blog-cta .btn{width:100%}
}

/* =========================================================
   BLOG INDEX — LISTADO EDITORIAL
   Generado automáticamente por build.php.
   ========================================================= */

.blog-list{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:22px;
}

.blog-item{
    display:flex;
    flex-direction:column;
    min-width:0;
    padding:0;
    overflow:hidden;
    border:1px solid var(--color-gray-light);
    border-radius:var(--radius-md);
    background:var(--color-surface);
    text-decoration:none;
    box-shadow:0 1px 2px rgba(49,45,44,.025);
    transition:transform var(--transition),border-color var(--transition),box-shadow var(--transition);
}

.blog-item:hover{
    transform:translateY(-3px);
    border-color:rgba(2,152,213,.28);
    box-shadow:var(--shadow-card);
}

.blog-card-image{
    width:100%;
    aspect-ratio:16/9;
    overflow:hidden;
    background:var(--color-gray-light);
}

.blog-card-image img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .35s ease;
}

.blog-item:hover .blog-card-image img{
    transform:scale(1.025);
}

.blog-item-body{
    display:flex;
    flex:1;
    flex-direction:column;
    align-items:flex-start;
    padding:20px 21px 21px;
}

.blog-item-meta{
    display:flex;
    align-items:center;
    gap:9px;
    flex-wrap:wrap;
    margin:0 0 9px;
    color:var(--color-text-secondary);
    font-size:.69rem;
    line-height:1.3;
    font-weight:700;
    letter-spacing:.045em;
    text-transform:uppercase;
}

.blog-item-category{
    color:var(--color-primary);
}

.blog-item-date::before{
    content:"·";
    margin-right:9px;
    color:var(--color-gray-medium);
}

.blog-item h2{
    margin:0 0 9px;
    color:var(--color-text-strong);
    font-size:1.22rem;
    line-height:1.2;
    letter-spacing:-.018em;
}

.blog-item p{
    margin:0;
    color:var(--color-text-secondary);
    font-size:.91rem;
    line-height:1.55;
}

.blog-read-more{
    display:inline-flex;
    align-items:center;
    gap:5px;
    margin-top:auto;
    padding-top:16px;
    color:var(--color-primary);
    font-size:.82rem;
    font-weight:800;
    text-decoration:none;
}

.blog-read-more span{
    transition:transform var(--transition);
}

.blog-item:hover .blog-read-more span{
    transform:translateX(3px);
}

/* Artículo destacado */

.blog-item-featured{
    grid-column:1 / -1;
}

.blog-item-featured .blog-card-image{
    aspect-ratio:16/7;
}

.blog-item-featured .blog-item-body{
    padding:23px 25px 25px;
}

.blog-item-featured h2{
    max-width:900px;
    font-size:clamp(1.55rem,2.6vw,2.15rem);
    line-height:1.13;
}

.blog-item-featured p{
    max-width:820px;
    font-size:.96rem;
}

@media(max-width:760px){
    .blog-list{
        grid-template-columns:1fr;
        gap:18px;
    }

    .blog-item-featured{
        grid-column:auto;
    }

    .blog-item-featured .blog-card-image,
    .blog-card-image{
        aspect-ratio:16/9;
    }

    .blog-item-body,
    .blog-item-featured .blog-item-body{
        padding:18px 18px 20px;
    }

    .blog-item h2,
    .blog-item-featured h2{
        font-size:1.22rem;
    }
}
