/* =============================================================
 * neoStyles.css — Propuesta visual Lamicro 2026
 * Inspirado en el lenguaje visual de IKEA.com/sustainability:
 *   · Azul IKEA como primario (#0058A3)
 *   · Amarillo IKEA como acento (#FFDA1A)
 *   · Secciones numeradas con indicador grande
 *   · CTAs de texto subrayado + botones rectangulares
 *   · Fondos alternados: blanco / azul profundo
 *   · Tipografía de alto contraste peso/tamaño
 *   · Cards limpias con borde sutil y sin sombra excesiva
 * Cargado al final del stack → máxima precedencia
 * ============================================================= */

/* ─────────────────────────────────────────────
 * TOKENS DE DISEÑO
 * ───────────────────────────────────────────── */
:root {
    --ikea-blue:        #BDBDBD;
    --ikea-blue-dark:   #003087;
    --ikea-blue-mid:    #0073CF;
    --ikea-yellow:      #693edf;
    --ikea-yellow-dark: #5730c4;
    --neo-black:        #111111;
    --neo-white:        #FFFFFF;
    --neo-off-white:    #F5F5F0;
    --neo-gray:         #555555;
    --neo-gray-light:   #888888;
    --neo-hairline:     #DCDCDC;
    --neo-section-num:  rgba(0, 88, 163, 0.07);
}

/* ─────────────────────────────────────────────
 * SECCIONES — FONDOS ALTERNADOS
 * ───────────────────────────────────────────── */
.s-works {
    background-color: #FAFAF9;
}
.s-services {
    background-color: #F8F7F5;
}
.s-about {
    background-color: #F4F3F0;
}
.s-contact {
    background-color: #3A3A3A;
}

/* ─────────────────────────────────────────────
 * NEO SECTION HEADER — numeración de sección
 * Patrón IKEA Sustainability: cada sección lleva
 * un número grande de fondo como contexto visual.
 * ───────────────────────────────────────────── */
.neo-section-header {
    position: relative;
    padding-left: 0;
    margin-bottom: 5rem;
    border-left: none;
}

/* Subhead: etiqueta de categoría en púrpura */
.neo-section-header .subhead {
    color: #693edf;
    font-size: 1.0rem;
    font-weight: 700;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    display: block;
}

/* Display-1: grande, peso bold, sin margin-bottom */
.neo-section-header .display-1 {
    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--neo-black);
    margin-bottom: 0;
    max-width: 800px;
}

/* En sección oscura (contact, services) */
.s-contact .neo-section-header .display-1 {
    color: var(--neo-white);
}
.s-services .neo-section-header .display-1 {
    color: var(--neo-black);
}
.s-contact .neo-section-header .subhead {
    color: var(--neo-white);
}
.s-services .neo-section-header .subhead {
    color: var(--ikea-yellow);
}
.s-about .neo-section-header .subhead {
    color: #693edf;
}
.neo-section-header .subhead--light {
    color: var(--ikea-yellow);
}

/* ─────────────────────────────────────────────
 * LEAD PARAGRAPHS
 * ───────────────────────────────────────────── */
.s-works p.lead,
.s-about p.lead {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--neo-gray);
    line-height: 1.6;
    margin-bottom: 1.2rem;
    max-width: 700px;
}
.s-services p.lead {
    font-size: 1.8rem;
    font-weight: 400;
    color: rgba(0,0,0,0.80);
    line-height: 1.6;
    margin-bottom: 1.2rem;
    max-width: 700px;
}

/* ─────────────────────────────────────────────
 * NEO LEAD LIST — lista editorial con hairline
 * ───────────────────────────────────────────── */
.s-works .col-full ul.neo-lead-list {
    list-style: none;
    margin-left: 0;
}
.s-works .col-full ul.neo-lead-list li {
    display: block;
}
ul.neo-lead-list {
    list-style: none;
    margin: 0 0 2.8rem 0;
    padding: 0;
    max-width: 520px;
    border-top: 2px solid var(--ikea-yellow);
}
ul.neo-lead-list li {
    display: block;
    font-size: 1.6rem;
    font-weight: 400;
    color: rgba(0,0,0,0.80);
    padding: 1rem 0 1rem 2rem;
    border-bottom: 1px solid var(--neo-hairline);
    position: relative;
}
ul.neo-lead-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--ikea-yellow);
    border-radius: 50%;
    border: none;
}

/* ─────────────────────────────────────────────
 * BOTÓN PRINCIPAL — rectangular, sin border-radius
 * Patrón IKEA: botón sólido azul, texto blanco,
 * hover con amarillo IKEA.
 * ───────────────────────────────────────────── */
.btn.btn-primary,
a.btn.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #693edf;
    border-radius: 0.25rem;
    padding: 1rem 2.4rem;
    color: var(--neo-white) !important;
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.06rem;
    text-transform: capitalize;
    text-decoration: none;
    border: none;
    transition: background-color 0.2s ease;
    margin-top: 2.4rem;
}
.btn.btn-primary:hover,
a.btn.btn-primary:hover {
    background-color: #4a2aaa;
    color: var(--neo-white) !important;
}

/* ─────────────────────────────────────────────
 * HERO — fondo azul profundo IKEA
 * ───────────────────────────────────────────── */
.s-home {
    background-color: #FCFCFC;
}
.home-content .subheader {
    color: var(--ikea-yellow);
    font-size: 1.0rem;
    font-weight: 700;
    letter-spacing: 0.22rem;
    text-transform: uppercase;
    margin-bottom: 1.8rem;
    display: block;
}
.home-content h1 {
    color: var(--neo-black);
    font-size: 5.2rem;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02rem;
    margin-bottom: 2.4rem;
}
.home-content h1 + p,
.home-content__main > p {
    color: rgba(0,0,0,0.80);
    font-size: 1.7rem;
    line-height: 1.6;
}

/* Lista en hero — fondo blanco */
.home-content__main ul {
    color: var(--neo-black);
    border-top: 2px solid var(--ikea-yellow);
    list-style: none;
    margin-left: 0;
    margin-top: 2rem;
}
.home-content__main ul li {
    border-bottom: 1px solid var(--neo-hairline);
    color: rgba(0,0,0,0.80);
    list-style: none;
    padding: 1rem 0 1rem 2rem;
    position: relative;
    display: block;
}
.home-content__main ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--ikea-yellow);
    border-radius: 50%;
}

/* ─────────────────────────────────────────────
 * ACORDEÓN DE PROYECTOS — lista limpia
 * ───────────────────────────────────────────── */
.s-works .ui.styled.fluid.accordion {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
}
.s-works .ui.styled.fluid.accordion .title {
    border-top: 1px solid var(--neo-hairline);
    padding: 2.2rem 0;
    background: transparent;
    transition: color 0.2s ease;
}
.s-works .ui.styled.fluid.accordion .title.active {
    border-bottom: none;
    padding-bottom: 0;
}
.s-works .ui.styled.fluid.accordion .title .ui.medium.header {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--neo-black);
}
.s-works .ui.styled.fluid.accordion .title:hover .ui.medium.header {
    color: var(--ikea-blue);
}
.s-works .ui.styled.fluid.accordion .title .dropdown.icon {
    color: var(--ikea-blue);
}
.s-works .ui.styled.fluid.accordion .title .workDown {
    color: var(--neo-gray);
    font-size: 1.4rem;
    margin-top: 0.4rem;
    margin-left: 2rem;
    font-weight: 400;
}
.s-works .ui.styled.fluid.accordion .content {
    padding: 0 0 2.8rem 0;
    background: transparent;
}
.s-works .ui.styled.fluid.accordion > .title ~ .title {
    border-top: 1px solid var(--neo-hairline);
}

/* Cards dentro del acordeón */
.s-works .ui.raised.card,
.s-works .ui.raised.centered.card {
    border-radius: 0 !important;
    box-shadow: none !important;
    border: 1px solid var(--neo-hairline) !important;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.s-works .ui.raised.card:hover,
.s-works .ui.raised.centered.card:hover {
    border-color: var(--ikea-blue) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,88,163,0.10) !important;
}
.s-works .ui.cards > .card > .image {
    background: var(--neo-off-white);
}
.s-works .headerWork {
    color: var(--neo-black);
    font-weight: 700;
}
.s-works .dateWork {
    color: var(--ikea-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    font-size: 0.9em;
}

/* ─────────────────────────────────────────────
 * NEO-SERVICES — grid 2 columnas, ícono izquierda
 * Clases propias, espejo de neo-process
 * ───────────────────────────────────────────── */
.neo-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100%;
}
.neo-services__item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.6rem;
    padding: 3rem 3rem 3rem 0;
    border-top: 1px solid var(--neo-hairline);
}
.neo-services__item:nth-child(odd) {
    padding-right: 4rem;
}
.neo-services__item:nth-child(even) {
    padding-left: 4rem;
    border-left: 1px solid var(--neo-hairline);
}
.neo-services__icon {
    flex-shrink: 0;
    font-size: 3rem;
    line-height: 1;
    color: #693edf;
    min-width: 3.2rem;
    padding-top: 0.2rem;
}
.neo-services__body {
    flex: 1;
}
.neo-services__title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--neo-black);
    margin-top: 0;
    margin-bottom: 0.8rem;
    line-height: 1;
}
.neo-services__body p {
    font-size: 1.5rem;
    color: rgba(0,0,0,0.80);
    margin-bottom: 0.6rem;
}
.neo-services__body ul {
    list-style: none;
    margin: 0 0 0.8rem 0;
    padding: 0;
}
.neo-services__body ul li {
    font-size: 1.5rem;
    color: rgba(0,0,0,0.80);
    padding-left: 1.4rem;
    position: relative;
    margin-bottom: 0.3rem;
}
.neo-services__body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    background-color: #693edf;
    border-radius: 50%;
}

@media only screen and (max-width: 800px) {
    .neo-services__item:nth-child(even) {
        padding-left: 2rem;
    }
    .neo-services__icon {
        font-size: 2.4rem;
    }
}
@media only screen and (max-width: 600px) {
    .neo-services {
        grid-template-columns: 1fr;
    }
    .neo-services__item:nth-child(even) {
        padding-left: 0;
        border-left: none;
    }
}

/* ─────────────────────────────────────────────
 * NEO-PROCESS — grid 2 columnas, número grande
 * Clases propias, sin conflicto con main.css
 * ───────────────────────────────────────────── */
.neo-process {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100%;
}
.neo-process__item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.6rem;
    padding: 3rem 3rem 3rem 0;
    border-top: 1px solid var(--neo-hairline);
}
.neo-process__item:nth-child(odd) {
    padding-right: 4rem;
}
.neo-process__item:nth-child(even) {
    padding-left: 4rem;
    border-left: 1px solid var(--neo-hairline);
}
.neo-process__num {
    font-family: 'Noto Sans', sans-serif;
    font-size: 4.8rem;
    font-weight: 700;
    line-height: 1;
    color: #693edf;
    flex-shrink: 0;
    min-width: 3.2rem;
}
.neo-process__body {
    flex: 1;
}
.neo-process__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--neo-black);
    margin-top: 0;
    margin-bottom: 0.8rem;
    line-height: 1;
}
.neo-process__body p {
    font-size: 1.5rem;
    color: rgba(0,0,0,0.80);
    margin-bottom: 0.6rem;
}

@media only screen and (max-width: 800px) {
    .neo-process__item:nth-child(even) {
        padding-left: 2rem;
    }
    .neo-process__num {
        font-size: 3.6rem;
    }
}
@media only screen and (max-width: 600px) {
    .neo-process {
        grid-template-columns: 1fr;
    }
    .neo-process__item:nth-child(even) {
        padding-left: 0;
        border-left: none;
    }
}

/* ─────────────────────────────────────────────
 * CONTACTO — fondo azul profundo
 * ───────────────────────────────────────────── */
.contact-email {
    color: var(--ikea-yellow) !important;
    font-weight: 700;
    letter-spacing: -0.02rem;
    transition: color 0.2s ease;
    text-decoration: none;
}
.contact-email:hover {
    color: var(--neo-white) !important;
    text-decoration: underline;
}
.contact-number {
    color: rgba(255,255,255,0.70);
}
.contact-main ul {
    border-top: 2px solid var(--ikea-yellow);
    margin-left: 0;
    list-style: none;
    padding: 0;
}
.contact-main ul li {
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding: 1rem 0 1rem 2rem;
    position: relative;
}
.contact-main ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--ikea-yellow);
}
.contact-main ul li .contact-number {
    color: rgba(255,255,255,0.75);
}
.cl-copyright span {
    color: rgba(255,255,255,0.35);
}

/* ─────────────────────────────────────────────
 * FORMULARIO DE CONTACTO
 * ───────────────────────────────────────────── */
/* Layout 40/60 */
.neo-contact__layout {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 6rem;
    align-items: start;
}
.neo-contact__left {}
.neo-contact__right {}

@media only screen and (max-width: 800px) {
    .neo-contact__layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.neo-form {
    margin-top: 0;
    width: 100%;
}
.neo-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem;
}
.neo-form__group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.6rem;
}
.neo-form__label {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    color: rgba(255,255,255,0.70);
    margin-bottom: 0.6rem;
}
.neo-form .neo-form__input,
.neo-contact__right input.neo-form__input,
.neo-contact__right textarea.neo-form__input {
    background-color: rgba(255,255,255,0.10) !important;
    border: 1px solid rgba(255,255,255,0.28) !important;
    border-radius: 4px !important;
    color: rgba(255,255,255,0.45) !important;
    font-family: 'Noto Sans', sans-serif !important;
    font-size: 1.5rem !important;
    padding: 1rem 1.2rem !important;
    outline: none !important;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    width: 100% !important;
    box-shadow: none !important;
}
.neo-form .neo-form__input::placeholder,
.neo-contact__right input.neo-form__input::placeholder,
.neo-contact__right textarea.neo-form__input::placeholder {
    color: rgba(255,255,255,0.30) !important;
}
.neo-form .neo-form__input:focus,
.neo-contact__right input.neo-form__input:focus,
.neo-contact__right textarea.neo-form__input:focus {
    border-color: #693edf !important;
    background-color: rgba(255,255,255,0.15) !important;
    box-shadow: 0 0 0 3px rgba(105,62,223,0.25) !important;
    color: var(--neo-white) !important;
}
.neo-form__input[aria-invalid="true"] {
    border-color: #f08080;
}
.neo-form__field-error {
    font-size: 1.2rem;
    color: #f08080;
    margin-top: 0.4rem;
    display: block;
}
.neo-form__textarea {
    resize: vertical;
    min-height: 12rem;
}
.neo-form__footer {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.neo-form__btn {
    cursor: pointer;
    margin-top: 0;
}
.neo-form__status {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.65);
    margin: 0;
}
/* Neutralizar estilos por defecto del SDK Formspree */
[data-fs-success] {
    background-color: rgba(105,62,223,0.12) !important;
    border: 1px solid rgba(105,62,223,0.30) !important;
    border-radius: 4px !important;
    color: #9b72f5 !important;
    padding: 1rem 1.4rem !important;
    margin-bottom: 1.6rem;
}
[data-fs-success] * {
    background-color: transparent !important;
    color: #9b72f5 !important;
}
.neo-form__status--ok {
    color: #9b72f5;
    background-color: transparent;
    padding: 0;
    border: none;
    margin-bottom: 0;
}
.neo-form__status--error {
    color: #f08080;
}

@media only screen and (max-width: 600px) {
    .neo-form__row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ─────────────────────────────────────────────
 * NAVEGACIÓN
 * ───────────────────────────────────────────── */
.header-nav__list li a:hover {
    color: var(--ikea-yellow);
}
.header-nav__list li.current a {
    color: var(--ikea-yellow);
}
.header-menu-toggle.opaque {
    background-color: #693edf;
    color: var(--neo-white);
}
.header-menu-toggle.opaque::before {
    color: var(--neo-white);
}
.header-menu-toggle.opaque .header-menu-icon,
.header-menu-toggle.opaque .header-menu-icon::before,
.header-menu-toggle.opaque .header-menu-icon::after {
    background-color: var(--neo-white);
}

/* ─────────────────────────────────────────────
 * SCROLL ICON
 * ───────────────────────────────────────────── */
.home-scroll__icon_up {
    filter: brightness(0) invert(1);
}
.cl-go-top a:hover,
.cl-go-top a:focus {
    background-color: transparent;
}
.home-scroll__icon {
    border-color: var(--ikea-yellow);
    filter: invert(32%) sepia(80%) saturate(1400%) hue-rotate(244deg) brightness(100%) contrast(95%);
}
.home-scroll__icon::before {
    background-color: var(--ikea-yellow);
}

/* ─────────────────────────────────────────────
 * RESPONSIVE
 * ───────────────────────────────────────────── */
@media only screen and (max-width: 1200px) {
    .neo-section-header .display-1 {
        font-size: 3rem;
    }
    .home-content h1 {
        font-size: 4.2rem;
    }
}
@media only screen and (max-width: 900px) {
    .neo-section-header .display-1 {
        font-size: 2.6rem;
    }
    .home-content h1 {
        font-size: 3.4rem;
    }
}
@media only screen and (max-width: 600px) {
    .neo-section-header {
        padding-left: 25px;
        padding-right: 25px;
    }
    .neo-section-header .display-1 {
        font-size: 2.4rem;
    }
    .neo-section-header .subhead {
        font-size: 1.3rem;
    }
    .home-content h1 {
        font-size: 2.8rem;
    }
    ul.neo-lead-list {
        max-width: 100%;
    }
}
@media only screen and (max-width: 400px) {
    .neo-section-header .display-1 {
        font-size: 2.2rem;
    }
    .neo-section-header .subhead {
        font-size: 1.2rem;
    }
    .home-content h1 {
        font-size: 2.4rem;
    }
}
