/**
 * _home.css
 * Módulo: SPA Home — página principal del sitio de Innova Arquitectura
 * Contiene: spa-home-body, hero, header, nav, proyectos, filtros, modales,
 *           sección nosotros, artículos, contacto, toasts y sus @media queries
 * Extraído de style.css (líneas 142–1985) — 2026-06
 * Cargado desde: views/Include/head.html.twig
 */

.spa-home-body {
    background-color: #283F4F;
}

.spa-home-body .ui-widget-overlay,
.spa-home-body .jconfirm {
    z-index: 20000 !important;
}

.spa-home-lock-scroll {
    overflow: hidden;
}

.spa-home {
    --spa-blue: #1A3F4F;
    --spa-blue-soft: #2B5566;
    --spa-yellow: #FAE000;
    --spa-form-yellow: #FFCE00;
    --spa-whatsapp: #1FD246;
    --spa-sale: #4DEB00;
    --spa-sold: #FF1A1E;
    --spa-white: #ffffff;
    --spa-text-light: rgba(255, 255, 255, 0.92);
    --spa-glass: rgba(255, 255, 255, 0.62);
    color: var(--spa-text-light);
    background-color: var(--spa-blue);
    font-family: 'AkzidenzGroteskBold';
}

.spa-home a {
    text-decoration: none;
}

.spa-home button {
    font-family: inherit;
    cursor: pointer;
}

.spa-home-hero {
    position: relative;
    min-height: 92vh;
    overflow: hidden;
    padding: 28px 48px 44px;
}

.spa-home-hero-bg,
.spa-home-hero-overlay {
    position: absolute;
    inset: 0;
}

.spa-home-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.015);
    transition: transform 1.2s ease;
}

.spa-home-hero:hover .spa-home-hero-image {
    transform: scale(1.045);
}

.spa-home-hero-overlay {
    background:
        linear-gradient(90deg, rgba(15, 22, 28, 0.22) 0%, rgba(15, 22, 28, 0.06) 38%, rgba(15, 22, 28, 0.03) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(12, 17, 21, 0.1) 100%);
}

.spa-home-header,
.spa-home-hero-copy,
.spa-home-filter-shell,
.spa-home-toast-stack {
    position: relative;
    z-index: 2;
}

.spa-home-header {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.spa-home-brand img {
    width: 270px;
    max-width: 100%;
    filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.18));
    display: block;
}

.spa-home-header-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 18px;
    margin-left: auto;
    padding-top: 28px;
}

.spa-home-menu-toggle {
    display: none;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.66);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(2px);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
}

.spa-home-menu-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #11202a;
}

.spa-home-social {
    position: absolute;
    top: -2px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.2rem;
    color: var(--spa-white);
    z-index: 3;
}

.spa-home-social a,
.spa-home-social-button {
    color: var(--spa-white);
    background: transparent;
    border: none;
    opacity: 0.9;
}

.spa-home-social-label {
    font-size: 0.9rem;
    text-transform: lowercase;
    letter-spacing: 0.28rem;
}

.spa-home-nav {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.66);
    border-radius: 999px;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(2px);
    box-shadow: 0 12px 24px rgba(10, 18, 24, 0.05);
    padding: 9px 11px 9px 18px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.spa-home-nav-link,
.spa-home-nav-button {
    position: relative;
    color: #11202a;
    font-size: 1.05rem;
    letter-spacing: 0.14rem;
    font-family: 'AkzidenzGroteskMedium', 'Helvetica Neue', Arial, sans-serif;
    padding: 14px 22px;
    border-radius: 999px;
    background: transparent;
    border: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.spa-home-nav-link:not(:first-child)::before,
.spa-home-nav-button::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 50%;
    width: 1px;
    height: 34px;
    transform: translateY(-50%);
    background: rgba(17, 32, 42, 0.18);
}

.spa-home-nav-link:hover,
.spa-home-nav-link.is-active,
.spa-home-nav-button:hover {
    background-color: rgba(255, 255, 255, 0.92);
    color: #0f1f27;
}

.spa-home-mobile-menu {
    display: none;
}

.spa-home-mail-trigger {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    border: none;
    background-color: var(--spa-yellow);
    color: #16242d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    font-family: 'AkzidenzGroteskMedium', 'Helvetica Neue', Arial, sans-serif;
    flex-shrink: 0;
    padding: 0;
}

.spa-home-mail-trigger img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}

.spa-home-hero-copy {
    max-width: 620px;
    padding-top: 34px;
    padding-bottom: 118px;
}

.spa-home-kicker,
.spa-home-section-kicker {
    text-transform: uppercase;
    letter-spacing: 0.28rem;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.82);
}

.spa-home-hero-copy h1 {
    font-family: 'AkzidenzGroteskBold', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: clamp(3.15rem, 6vw, 5.25rem);
    line-height: 0.9;
    letter-spacing: -0.045em;
    margin-bottom: 0.65rem;
    max-width: 620px;
    text-transform: uppercase;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.spa-home-hero-message-slider {
    position: relative;
    min-height: clamp(18.5rem, 28vw, 24.5rem);
    margin-bottom: 0.7rem;
    max-width: 620px;
}

.spa-home-hero-message {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.05em;
    opacity: 0;
    transform: translateY(24px);
    pointer-events: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
    margin-bottom: 0;
    /* color: #fff;
    text-shadow:
        0 1px 2px rgba(255,255,255,0.18),
        0 4px 16px rgba(0,0,0,0.18); */
}

.spa-home-hero-message span {
    display: block;
}

.spa-home-hero-message.is-active {
    opacity: 1;
    transform: translateY(0);
}

.spa-home-hero-progress {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.7rem;
    position: relative;
    z-index: 3;
}

.spa-home-hero-progress-dot {
    width: 44px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.spa-home-hero-progress-dot.is-active {
    background: var(--spa-yellow);
    transform: scaleX(1.1);
}

.spa-home-hero-text {
    max-width: 560px;
    font-size: 1.02rem;
    line-height: 1.62;
    margin-bottom: 1.35rem;
    color: rgba(255, 255, 255, 0.88);
}

.spa-home-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.spa-home-btn {
    border: none;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0 28px;
    font-size: 1.02rem;
    font-weight: 700;
    font-family: 'AkzidenzGroteskMedium', 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.12rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

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

.spa-home-btn-primary {
    background-color: var(--spa-yellow);
    color: #15212a;
    box-shadow: 0 18px 34px rgba(250, 224, 0, 0.22);
}

.spa-home-btn-secondary {
    background: rgba(255, 255, 255, 0.18);
    color: var(--spa-white);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(14px);
}

.spa-home-btn-dark {
    background-color: #101a20;
    color: var(--spa-white);
}

.spa-home-btn-ghost {
    background: transparent;
    color: #101a20;
    border: 1px solid rgba(16, 26, 32, 0.4);
}

.spa-home-filter-shell {
    position: absolute;
    left: 72px;
    width: min(1080px, calc(100% - 180px));
    transform: none;
    bottom: 34px;
}

.spa-home-filter {
    display: block;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 28px;
    padding: 16px 18px;
    box-shadow: 0 12px 24px rgba(10, 18, 24, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.spa-home-filter:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 30px rgba(10, 18, 24, 0.09);
}

.spa-home-filter-title {
    margin-bottom: 0.55rem;
    font-size: 0.76rem;
    letter-spacing: 0.16rem;
    text-transform: uppercase;
    color: rgba(17, 32, 42, 0.76);
    font-weight: 700;
    font-family: 'AkzidenzGroteskMedium', 'Helvetica Neue', Arial, sans-serif;
}

.spa-home-filter-options {
    display: grid;
    grid-template-columns: minmax(0, 2.05fr) minmax(0, 1.35fr) auto;
    align-items: center;
    gap: 0;
}

.spa-home-filter-group {
    padding-right: 28px;
    border-right: 1px solid rgba(40, 63, 79, 0.12);
}

.spa-home-filter-group-options {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.spa-home-filter-option,
.spa-home-filter-price-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 68px;
    padding: 0 16px;
    background: transparent;
    border: none;
    color: #11202a;
    text-align: left;
    position: relative;
}

.spa-home-filter-group-options .spa-home-filter-option + .spa-home-filter-option {
    border-left: 1px solid rgba(40, 63, 79, 0.12);
}

.spa-home-filter-price {
    padding: 0 28px;
    border-right: 1px solid rgba(40, 63, 79, 0.12);
}

.spa-home-filter-option-icon {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.spa-home-filter-option-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.spa-home-filter-option-text {
    font-family: 'AkzidenzGroteskRegular', 'Helvetica Neue', Arial, sans-serif;
    font-size: clamp(1.15rem, 1.8vw, 1.65rem);
    color: #101a20;
    line-height: 1;
}

.spa-home-filter-price-value {
    color: #101a20;
    font-family: 'AkzidenzGroteskRegular', 'Helvetica Neue', Arial, sans-serif;
    font-size: clamp(1.08rem, 1.55vw, 1.5rem);
    line-height: 1;
}

.spa-home-filter-price-wrap::after {
    content: none;
}

.spa-home-filter-option.is-active {
    background: rgba(255, 255, 255, 0.24);
}

.spa-home-filter-option.is-active .spa-home-filter-option-icon,
.spa-home-filter-option.is-active .spa-home-filter-option-text,
.spa-home-filter-price-wrap:hover .spa-home-filter-price-value {
    color: #17364a;
}

.spa-home-filter-submit {
    margin-left: 18px;
    min-width: 176px;
    align-self: center;
}

.spa-home-section {
    padding: 92px 48px;
    background-color: var(--spa-blue);
}

.spa-home-section-projects {
    padding-top: 56px;
}

.spa-home-section-news {
    padding-top: 56px;
    padding-bottom: 72px;
}

.spa-home-section-head {
    max-width: 760px;
    margin: 0 auto 44px;
    text-align: center;
}

.spa-home-section-projects .spa-home-section-head,
.spa-home-section-news .spa-home-section-head {
    margin-bottom: 24px;
}

.spa-home-section-head h2 {
    font-family: 'KiffoBDB', Georgia, "Times New Roman", serif;
    font-size: clamp(2.1rem, 4vw, 3.1rem);
    margin-bottom: 1rem;
}

.spa-home-section-head p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.06rem;
    line-height: 1.75;
}

.spa-home-project-slider-wrap {
    position: relative;
}

.spa-home-project-grid {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0 54px 10px;
    scrollbar-width: none;
}

.spa-home-project-grid::-webkit-scrollbar {
    display: none;
}

.spa-home-project-card {
    flex: 0 0 calc((100% - 54px) / 3);
    scroll-snap-align: start;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    color: #13232d;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 24px 50px rgba(8, 16, 22, 0.14);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.spa-home-project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 54px rgba(8, 16, 22, 0.2);
    border-color: rgba(255, 255, 255, 0.7);
}

.spa-home-project-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #16242d;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 10px 22px rgba(8, 16, 22, 0.12);
    z-index: 2;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.spa-home-project-slider-arrow:hover {
    transform: translateY(-50%) scale(1.04);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 14px 26px rgba(8, 16, 22, 0.16);
}

.spa-home-project-slider-arrow.is-prev {
    left: 0;
}

.spa-home-project-slider-arrow.is-next {
    right: 0;
}

.spa-home-project-image-wrap {
    position: relative;
    min-height: 460px;
}

.spa-home-project-image {
    width: 100%;
    height: 100%;
    min-height: 460px;
    object-fit: cover;
}

.spa-home-project-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.78rem;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
}

.spa-home-project-badge.is-sale {
    background-color: var(--spa-sale);
    color: #0f2416;
}

.spa-home-project-badge.is-sold {
    background-color: var(--spa-sold);
}

.spa-home-project-body {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 16px 16px 14px;
    min-height: 158px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 18px;
    backdrop-filter: blur(1px);
    box-shadow: 0 16px 30px rgba(10, 18, 24, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spa-home-project-card:hover .spa-home-project-body {
    transform: translateY(-4px);
    box-shadow: 0 20px 32px rgba(10, 18, 24, 0.16);
}

.spa-home-project-card.is-tech-card .spa-home-project-body {
    padding: 14px 16px 12px;
    min-height: 208px;
}

.spa-home-project-tech-top {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) 84px;
    column-gap: 14px;
    align-items: center;
}

.spa-home-project-body-grid {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) 96px;
    column-gap: 14px;
    row-gap: 16px;
    align-items: center;
}

.spa-home-project-logo-wrap {
    width: 92px;
    height: 92px;
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(17, 32, 42, 0.08);
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(8, 16, 22, 0.06);
}

.spa-home-project-logo {
    max-width: calc(100% - 18px);
    max-height: 58px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.spa-home-project-copy {
    min-width: 0;
    min-height: 92px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.spa-home-project-category {
    display: block;
    font-family: 'AkzidenzGroteskBold', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.74rem;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
    color: #111f29;
    margin-bottom: 0.12rem;
    white-space: nowrap;
}

.spa-home-project-name {
    display: block;
    font-family: 'AkzidenzGroteskBold', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.84rem;
    letter-spacing: 0.02rem;
    text-transform: uppercase;
    color: #111f29;
    margin-bottom: 0.12rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spa-home-project-body small {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.06rem;
    text-transform: none;
    color: rgba(17, 32, 42, 0.68);
    margin-bottom: 0.38rem;
    min-height: 1.1rem;
}

.spa-home-project-specs {
    list-style: none;
    margin: 0;
    padding: 0;
    color: rgba(17, 32, 42, 0.88);
    font-size: 0.75rem;
    line-height: 1.18;
    min-height: 3.7rem;
}

.spa-home-project-specs li + li {
    margin-top: 0.04rem;
}

.spa-home-project-link {
    min-height: 42px;
    padding: 0 16px;
    width: 76px;
    min-width: 76px;
    box-shadow: none;
    justify-self: start;
    align-self: center;
    margin-left: -2px;
    margin-bottom: 0;
}

.spa-home-project-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(17, 32, 42, 0.12);
}

.spa-home-project-metric {
    text-align: center;
    padding: 0 8px;
}

.spa-home-project-metric + .spa-home-project-metric {
    border-left: 1px solid rgba(17, 32, 42, 0.12);
}

.spa-home-project-metric strong {
    display: block;
    color: #111f29;
    font-size: 0.88rem;
    line-height: 1.1;
    margin-bottom: 0.3rem;
    font-family: 'AkzidenzGroteskBold', 'Helvetica Neue', Arial, sans-serif;
}

.spa-home-project-metric span {
    display: block;
    color: rgba(17, 32, 42, 0.72);
    font-size: 0.66rem;
    letter-spacing: 0.04rem;
    line-height: 1.15;
    font-family: 'AkzidenzGroteskMedium', 'Helvetica Neue', Arial, sans-serif;
}

.spa-home-empty-filter {
    margin-top: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.84);
}

.spa-home-section-about {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.spa-home-about-media {
    position: relative;
    overflow: hidden;
    min-height: 560px;
}

.spa-home-about-photo {
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.spa-home-about-media:hover .spa-home-about-photo {
    transform: scale(1.04);
}

.spa-home-about-growth {
    position: absolute;
    left: 32px;
    right: 32px;
    top: 8px;
    height: 116px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.9;
}

.spa-home-about-growth-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.spa-home-about-growth-path {
    fill: none;
    stroke: url(#spaAboutGrowthLine);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 420;
    stroke-dashoffset: 420;
    opacity: 0.65;
    filter: drop-shadow(0 0 12px rgba(250, 224, 0, 0.14));
}

.spa-home-about-growth-node {
    fill: rgba(255, 255, 255, 0.98);
    stroke: rgba(250, 224, 0, 0.88);
    stroke-width: 2.5;
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
}

.spa-home-about-growth-node.is-strong {
    stroke: rgba(250, 224, 0, 0.95);
    filter: drop-shadow(0 0 10px rgba(250, 224, 0, 0.28));
}

.spa-home-about-media.is-growth-active .spa-home-about-growth-path {
    animation: spaHomeGrowthDraw 1.6s ease forwards;
}

.spa-home-about-media.is-growth-active .spa-home-about-growth-node {
    animation: spaHomeGrowthPop 0.45s ease forwards;
}

.spa-home-about-media.is-growth-active .spa-home-about-growth-node:nth-of-type(2) {
    animation-delay: 0.45s;
}

.spa-home-about-media.is-growth-active .spa-home-about-growth-node:nth-of-type(3) {
    animation-delay: 0.85s;
}

.spa-home-about-media.is-growth-active .spa-home-about-growth-node:nth-of-type(4) {
    animation-delay: 1.15s;
}

.spa-home-about-blueprint {
    position: absolute;
    top: 50%;
    left: 54%;
    width: 40%;
    max-width: 360px;
    transform: translate(-50%, -50%);
    opacity: 1.24;
    pointer-events: none;
    z-index: 2;
}

.spa-home-about-copy {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 72px 60px 54px;
    background:
        linear-gradient(135deg, rgba(61, 88, 108, 0.3) 0%, rgba(40, 63, 79, 1) 28%),
        var(--spa-blue);
}

.spa-home-about-copy h2 {
    font-family: 'KiffoBDB', Georgia, "Times New Roman", serif;
    font-size: clamp(3.1rem, 4.8vw, 4.4rem);
    letter-spacing: 0.24rem;
    margin-bottom: 1.45rem;
}

.spa-home-about-copy .spa-home-section-kicker,
.spa-home-about-copy h2,
.spa-home-about-copy p {
    position: relative;
    z-index: 1;
}

.spa-home-about-copy p {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.82;
    font-size: 1.08rem;
    max-width: 560px;
    margin-bottom: 1.15rem;
}

.spa-home-about-stats {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 28px 24px 20px;
    background: linear-gradient(180deg, rgba(7, 14, 18, 0) 0%, rgba(7, 14, 18, 0.6) 48%, rgba(7, 14, 18, 0.78) 100%);
}

.spa-home-about-stat-card {
    position: relative;
    z-index: 2;
    padding: 18px 16px 14px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(10, 18, 24, 0.12) 0%, rgba(10, 18, 24, 0.4) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 12px 28px rgba(4, 8, 12, 0.16);
}

.spa-home-about-stat-value {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    color: var(--spa-yellow);
    font-size: clamp(2.6rem, 4.1vw, 4rem);
    line-height: 0.92;
    margin-bottom: 0.6rem;
    font-family: 'AkzidenzGroteskBold', 'Helvetica Neue', Arial, sans-serif;
    text-shadow: 0 0 18px rgba(250, 224, 0, 0.16);
}

.spa-home-about-stat-plus {
    font-size: 0.78em;
    line-height: 1;
    transform: translateY(0.02em);
}

.spa-home-about-stat-copy {
    display: block;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.35;
    font-size: 0.84rem;
    letter-spacing: 0.05rem;
    max-width: 170px;
    font-family: 'AkzidenzGroteskMedium', 'Helvetica Neue', Arial, sans-serif;
}

@keyframes spaHomeGrowthDraw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes spaHomeGrowthPop {
    0% {
        opacity: 0;
        transform: scale(0.35);
    }
    75% {
        opacity: 1;
        transform: scale(1.12);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.spa-home-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 350px));
    justify-content: center;
    gap: 22px;
}

.spa-home-news-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 20px;
    overflow: hidden;
    color: #101a20;
    box-shadow: 0 24px 48px rgba(8, 16, 22, 0.14);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    min-height: 476px;
}

.spa-home-news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 52px rgba(8, 16, 22, 0.18);
}

.spa-home-news-image {
    width: 100%;
    height: 286px;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.spa-home-news-card:hover .spa-home-news-image {
    transform: scale(1.05);
}

.spa-home-news-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px 18px 18px;
}

.spa-home-news-body h3 {
    font-family: 'AkzidenzGroteskBold', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    line-height: 1.08;
    margin-bottom: 0.6rem;
}

.spa-home-news-body p {
    color: rgba(16, 26, 32, 0.8);
    font-size: 0.92rem;
    line-height: 1.48;
    margin-bottom: 0.9rem;
}

.spa-home-news-read {
    min-height: 48px;
    padding: 0 20px;
    margin-top: auto;
    margin-left: auto;
}

.spa-home-whatsapp {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 82px;
    height: 82px;
    z-index: 1200;
    border-radius: 50%;
    background-color: var(--spa-whatsapp);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 24px 45px rgba(74, 185, 105, 0.28);
    font-size: 2.5rem;
}

.spa-home-toast-stack {
    position: fixed;
    top: 24px;
    right: 24px;
    width: min(360px, calc(100vw - 32px));
    display: grid;
    gap: 10px;
    z-index: 2200;
}

.spa-home-toast {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.96);
    color: #14232d;
    border-radius: 18px;
    box-shadow: 0 24px 48px rgba(8, 16, 22, 0.18);
}

.spa-home-toast.is-success {
    border-left: 5px solid var(--spa-whatsapp);
}

.spa-home-toast-close {
    border: none;
    background: transparent;
    font-size: 1.3rem;
    line-height: 1;
    color: rgba(20, 35, 45, 0.64);
    cursor: pointer;
}

.spa-home-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 2100;
}

.spa-home-modal.is-open {
    display: flex;
}

.spa-home-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 16, 23, 0.72);
    backdrop-filter: blur(12px);
}

.spa-home-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(1080px, 100%);
    max-height: min(92vh, 920px);
    overflow: auto;
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(5, 10, 15, 0.26);
}

.spa-home-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(15, 24, 30, 0.72);
    color: #ffffff;
    font-size: 1.5rem;
    z-index: 2;
}

.spa-home-article-dialog {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    background: rgba(255, 255, 255, 0.98);
    color: #14232d;
}

.spa-home-article-media img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
}

.spa-home-article-copy {
    padding: 64px 52px 52px;
}

.spa-home-article-copy .spa-home-section-kicker {
    color: rgba(20, 35, 45, 0.56);
}

.spa-home-article-copy h3 {
    font-family: 'KiffoBDB', Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.3rem;
}

.spa-home-article-copy p {
    color: rgba(20, 35, 45, 0.8);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.spa-home-contact-dialog {
    width: min(780px, 100%);
    background: transparent;
}

.spa-home-contact-shell {
    position: relative;
    background-color: var(--spa-form-yellow);
    color: #111b22;
    border-radius: 34px;
    padding: 44px 34px 34px;
}

.spa-home-contact-shell h2 {
    text-align: center;
    font-family: 'KiffoBDB', Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 5vw, 3.7rem);
    line-height: 0.98;
    margin-bottom: 0.8rem;
}

.spa-home-contact-subtitle {
    text-align: center;
    max-width: 520px;
    margin: 0 auto 1.8rem;
    color: rgba(17, 27, 34, 0.82);
    line-height: 1.6;
}

.spa-home-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.spa-home-contact-field.is-full {
    grid-column: 1 / -1;
}

.spa-home-contact-field label {
    display: block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.16rem;
    margin-bottom: 0.55rem;
    font-family: 'AkzidenzGroteskMedium', 'Helvetica Neue', Arial, sans-serif;
}

.spa-home-contact-field.has-error label,
.spa-home-contact-policy.has-error span,
.spa-home-contact-error-note {
    color: #7f1015;
    font-weight: 700;
}

.spa-home-contact-field input,
.spa-home-contact-field select {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 999px;
    border: 2px solid rgba(17, 27, 34, 0.08);
    background: rgba(255, 255, 255, 0.98);
    color: #111b22;
    outline: none;
}

.spa-home-contact-field input.is-invalid,
.spa-home-contact-field select.is-invalid {
    border-color: #CC2229;
    background: rgba(255, 244, 244, 0.96);
    box-shadow: 0 0 0 3px rgba(204, 34, 41, 0.22);
}

.spa-home-contact-policy {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.96rem;
}

.spa-home-contact-policy input {
    accent-color: #CC2229;
}

.spa-home-contact-policy.has-error input {
    box-shadow: 0 0 0 3px rgba(204, 34, 41, 0.22);
}

.spa-home-contact-error-note {
    margin-top: 1rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.spa-home-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
    margin-top: 1.8rem;
}

.spa-home-contact-close {
    background: rgba(17, 27, 34, 0.12);
    color: #111b22;
}

@media (max-width: 1399px) {
    .spa-home-project-grid {
        padding-left: 46px;
        padding-right: 46px;
    }

    .spa-home-project-card {
        flex-basis: calc((100% - 18px) / 2);
    }

    .spa-home-project-slider-arrow {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 1199px) {
    .spa-home-hero {
        padding: 24px 24px 140px;
    }

    .spa-home-header {
        flex-direction: column;
        align-items: stretch;
    }

    .spa-home-social {
        position: static;
        align-self: flex-end;
        margin-bottom: 12px;
    }

    .spa-home-header-actions,
    .spa-home-nav {
        align-items: stretch;
    }

    .spa-home-header-actions {
        margin-left: 0;
        padding-top: 0;
    }

    .spa-home-nav {
        justify-content: center;
    }

    .spa-home-filter-shell {
        left: 50%;
        width: min(1120px, calc(100% - 48px));
        bottom: 24px;
    }

    .spa-home-filter {
        padding: 16px;
    }

    .spa-home-filter-options {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .spa-home-filter-group,
    .spa-home-filter-price {
        padding-right: 0;
        border-right: none;
    }

    .spa-home-filter-price {
        padding: 0;
    }

    .spa-home-filter-submit {
        min-width: 0;
        margin-left: 0;
    }

    .spa-home-section-about {
        grid-template-columns: 1fr;
    }

    .spa-home-about-media {
        min-height: 420px;
    }

    .spa-home-about-photo {
        min-height: 420px;
    }

    .spa-home-about-blueprint {
        width: 34%;
    }

    .spa-home-news-grid {
        grid-template-columns: 1fr;
    }

    .spa-home-article-dialog {
        grid-template-columns: 1fr;
    }

    .spa-home-article-media img {
        min-height: 320px;
    }

    .spa-home-project-image-wrap,
    .spa-home-project-image {
        min-height: 420px;
    }

    .spa-home-project-link {
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    .spa-home-hero {
        padding: 16px 14px 214px;
        min-height: 100svh;
    }

    .spa-home-header {
        position: relative;
        min-height: 88px;
        overflow: visible;
        z-index: 6;
    }

    .spa-home-brand img {
        width: 180px;
    }

    .spa-home-social {
        position: absolute;
        top: 88px;
        right: 4px;
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: 10px;
        font-size: 1rem;
        margin-bottom: 0;
    }

    .spa-home-social-label {
        font-size: 0.78rem;
        letter-spacing: 0.18rem;
    }

    .spa-home-header-actions {
        display: none !important;
    }

    .spa-home-mobile-menu {
        display: block;
        position: fixed;
        top: 112px;
        right: 14px;
        z-index: 1005;
    }

    .spa-home-mobile-menu-toggle {
        display: inline-flex;
        width: 52px;
        height: 52px;
        border: 1px solid rgba(255, 255, 255, 0.66);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.62);
        backdrop-filter: blur(1px);
        -webkit-backdrop-filter: blur(2px);
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        padding: 0;
        box-shadow: 0 14px 28px rgba(17, 32, 42, 0.14);
    }

    .spa-home-mobile-menu-toggle span {
        width: 20px;
        height: 2px;
        border-radius: 999px;
        background: #11202a;
        display: block;
    }

    .spa-home-mobile-nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 176px;
        right: 14px;
        width: 300px;
        max-width: calc(100vw - 28px);
        gap: 8px;
        align-items: stretch;
        overflow: hidden;
        padding: 10px;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.74);
        box-shadow: 0 18px 30px rgba(10, 18, 24, 0.12);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px) scale(0.98);
        transform-origin: top right;
        pointer-events: none;
        transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
        z-index: 1004;
    }

    .spa-home-mobile-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    .spa-home-nav-link,
    .spa-home-nav-button {
        width: 100%;
        min-width: 0;
        text-align: center;
        letter-spacing: 0.02rem;
        font-size: 0.88rem;
        padding: 11px 12px;
        white-space: normal;
        line-height: 1.2;
    }

    .spa-home-nav-link:not(:first-child)::before,
    .spa-home-nav-button::before {
        content: none;
    }

    .spa-home-mail-trigger {
        width: 100%;
        min-width: 0;
        height: 48px;
        border-radius: 18px;
        margin-left: 0;
    }

    .spa-home-mail-trigger img {
        width: 22px;
        height: 22px;
    }

    .spa-home-hero-copy {
        max-width: none;
        width: 100%;
        padding-top: 170px;
        padding-bottom: 42px;
    }

    .spa-home-hero-copy h1 {
        font-size: 3.35rem !important;
        line-height: 0.88 !important;
        max-width: 100% !important;
        width: min(340px, 100%);
        letter-spacing: -0.05em;
    }

    .spa-home-hero-message-slider {
        min-height: 18rem !important;
        max-width: 100% !important;
        width: 100%;
    }

    .spa-home-hero-progress-dot {
        width: 30px;
    }

    .spa-home-hero-text {
        font-size: 1rem;
    }

    .spa-home-hero-buttons,
    .spa-home-contact-actions {
        flex-direction: column;
    }

    .spa-home-btn,
    .spa-home-hero-buttons .spa-home-btn {
        width: 100%;
    }

    .spa-home-filter {
        padding: 12px;
    }

    .spa-home-filter-shell {
        left: 12px;
        width: calc(100% - 24px);
        transform: none;
        bottom: 20px;
    }

    .spa-home-filter-options {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .spa-home-filter-group,
    .spa-home-filter-price {
        padding-right: 0;
        border-right: none;
    }

    .spa-home-filter-group-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .spa-home-filter-option,
    .spa-home-filter-price-wrap {
        min-height: 62px;
        padding: 0 12px;
        gap: 10px;
    }

    .spa-home-filter-group-options .spa-home-filter-option + .spa-home-filter-option {
        border-left: 1px solid rgba(40, 63, 79, 0.12);
        border-top: none;
    }

    .spa-home-filter-option-icon {
        width: 42px;
        height: 42px;
    }

    .spa-home-filter-option-text {
        font-size: 1rem;
    }

    .spa-home-filter-price-value {
        font-size: 1rem;
    }

    .spa-home-filter-submit {
        margin-top: 6px;
    }

    .spa-home-section {
        padding: 42px 16px;
    }

    .spa-home-section-projects,
    .spa-home-section-news {
        padding-top: 28px;
        padding-bottom: 36px;
    }

    .spa-home-section-head {
        margin: 0 auto 18px;
    }

    .spa-home-project-grid {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        padding-left: 0;
        padding-right: 28px;
    }

    .spa-home-project-image-wrap,
    .spa-home-project-image {
        min-height: 400px;
    }

    .spa-home-project-card {
        flex: 0 0 88%;
        scroll-snap-align: start;
    }

    .spa-home-project-slider-arrow {
        display: none;
    }

    .spa-home-project-body {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 16px;
        min-height: 0;
    }

    .spa-home-project-card.is-tech-card .spa-home-project-body {
        min-height: 0;
    }

    .spa-home-project-tech-top {
        grid-template-columns: 72px minmax(0, 1fr);
        row-gap: 12px;
        align-items: start;
    }

    .spa-home-project-body-grid {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 12px;
        align-items: start;
    }

    .spa-home-project-logo-wrap {
        width: 72px;
        height: 72px;
        min-height: 68px;
    }

    .spa-home-project-logo {
        max-height: 58px;
    }

    .spa-home-project-link {
        grid-column: 2;
        justify-self: start;
        margin-top: 10px;
        margin-bottom: 0;
        width: auto;
    }

    .spa-home-project-card.is-tech-card .spa-home-project-link {
        grid-column: 2;
    }

    .spa-home-project-specs {
        margin-bottom: 0.8rem;
        min-height: 0;
    }

    .spa-home-project-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 12px;
    }

    .spa-home-project-metric:nth-child(odd) {
        border-left: none;
    }

    .spa-home-project-category,
    .spa-home-project-name,
    .spa-home-project-body small {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .spa-home-project-copy {
        min-height: 0;
    }

    .spa-home-about-copy {
        justify-content: flex-start;
        padding: 28px 20px 18px;
        min-height: auto;
    }

    .spa-home-about-copy h2 {
        margin-bottom: 1rem;
    }

    .spa-home-about-copy p {
        margin-bottom: 0.8rem;
    }

    .spa-home-about-copy p:last-child {
        margin-bottom: 0;
    }

    .spa-home-about-stats {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 18px 20px 16px;
    }

    .spa-home-about-growth {
        left: 18px;
        right: 18px;
        top: 10px;
        height: 92px;
    }

    .spa-home-about-stat-card {
        padding: 16px 14px 14px;
    }

    .spa-home-about-stat-value {
        font-size: 2.8rem;
        margin-bottom: 0.45rem;
    }

    .spa-home-about-stat-copy {
        max-width: none;
        font-size: 0.82rem;
    }

    .spa-home-modal {
        padding: 14px;
    }

    .spa-home-contact-shell {
        padding: 34px 20px 24px;
        border-radius: 24px;
    }

    .spa-home-contact-grid {
        grid-template-columns: 1fr;
    }

    .spa-home-whatsapp {
        right: 16px;
        bottom: 16px;
        width: 70px;
        height: 70px;
        font-size: 2.15rem;
    }

    .spa-home-toast-stack {
        top: 16px;
        right: 16px;
    }
}
