/* ================================================
   QHATAI DESKTOP CSS — NORMALIZED VERSION
   Forces consistent rendering across browsers
   ================================================ */

@font-face {
    font-family: 'Helvetica Neue Thai Bold';
    src: url('../helvetica-neue-5/HelveticaNeueBold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Helvetica Neue Thai Bold', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-y: scroll;
    scrollbar-width: none;
    zoom: 1;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #eef3f6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 80vw;
    max-width: 1300px;
    margin: 0 auto;
}

/* ========== HEADER / NAV ========== */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80vw;
    max-width: 1300px;
    margin: 0 auto;
    gap: 40px;
}

.nav-left {
    position: absolute;
    left: max(40px, 10vw);
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo-img {
    height: 40px;
    width: auto;
    display: block;
}

/* Glassmorphic Pill */
.nav-pill {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 4px;
    padding: 6px;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
}

.nav-link {
    display: block;
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 9999px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    background: #ffffff;
    color: #000;
    font-weight: 600;
}

.nav-right {
    position: absolute;
    right: max(40px, 10vw);
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-store {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 24px;
    background: #e09f3e;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-store-icon {
    flex-shrink: 0;
}

.btn-store:hover {
    background: #c88a2e;
    transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: #fff;
    border-radius: 3px;
    transition: 0.3s;
}

/* ========== ANIMATIONS ========== */
@keyframes slideUpFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes countPop {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    60% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInText {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* ========== SCROLL REVEAL ========== */
[data-reveal] {
    opacity: 0;
    will-change: transform, opacity;
}

[data-reveal="up"] {
    transform: translateY(50px);
}

[data-reveal="left"] {
    transform: translateX(-60px);
}

[data-reveal="right"] {
    transform: translateX(60px);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateX(0) translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal-delay="0.1"].revealed { transition-delay: 0.1s; }
[data-reveal-delay="0.2"].revealed { transition-delay: 0.2s; }
[data-reveal-delay="0.3"].revealed { transition-delay: 0.3s; }
[data-reveal-delay="0.4"].revealed { transition-delay: 0.4s; }
[data-reveal-delay="0.5"].revealed { transition-delay: 0.5s; }
[data-reveal-delay="0.6"].revealed { transition-delay: 0.6s; }

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        url('../web.jpg')
        center / cover no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.35) 50%,
        rgba(0, 0, 0, 0.15) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 220px 40px 140px max(40px, 10vw);
    max-width: 700px;
    color: #fff;
}

.hero-content h1 {
    font-family: 'Helvetica Neue Thai Bold', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: clamp(2rem, 0.5rem + 5vw, 4.5rem);
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 1.05;
    margin-bottom: 0.25rem;
    white-space: nowrap;
}

.hero-content h2 {
    font-family: 'Helvetica Neue Thai Bold', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: clamp(1.3rem, 0.5rem + 3vw, 2.8rem);
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    opacity: 0.85;
    margin-bottom: 2.5rem;
    max-width: 520px;
    line-height: 1.7;
}

/* CTAs */
.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 10px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #e09f3e;
    color: #fff;
}

.btn-primary:hover {
    background: #c88a2e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(224, 159, 62, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ========== METRICS ========== */
.hero-metrics {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 60px;
    flex-wrap: nowrap;
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 28px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    flex-shrink: 0;
    white-space: nowrap;
}

.metric-item:first-child {
    padding-left: 0;
}

.metric-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.metric-item:nth-child(1).visible { transition-delay: 0.1s; }
.metric-item:nth-child(3).visible { transition-delay: 0.3s; }
.metric-item:nth-child(5).visible { transition-delay: 0.5s; }

.metric-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    flex-shrink: 0;
}

.metric-value-text {
    opacity: 0;
    animation: fadeInText 0.8s ease forwards;
    flex-shrink: 0;
}

.metric-item.visible .metric-value-text {
    animation: countPop 0.6s ease forwards;
}

.metric-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.2;
    white-space: nowrap;
}

.metric-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.metric-item.visible ~ .metric-divider {
    opacity: 1;
}

.metric-item:nth-child(1).visible ~ .metric-divider { transition-delay: 0.2s; }
.metric-item:nth-child(3).visible ~ .metric-divider { transition-delay: 0.4s; }

/* ========== SECTION TRABAJO ========== */
.section-trabajo {
    position: relative;
    background: url('../trabajo-bg.jpg') center / cover no-repeat;
    padding: 48px 0 40px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.section-trabajo .container {
    position: relative;
    z-index: 1;
    width: 80vw;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

/* Top Header */
.trabajo-top {
    margin-bottom: 20px;
    flex-shrink: 0;
}

.trabajo-sub {
    display: inline-block;
    font-size: clamp(1rem, 0.5rem + 0.5vw, 1.6rem);
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #7bc9f0;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.trabajo-top-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
}

.trabajo-title {
    font-family: 'Helvetica Neue Thai Bold', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: clamp(1.8rem, 0.5rem + 3vw, 4rem) !important;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    flex: 0 0 60%;
    max-width: 65%;
}

.trabajo-line {
    display: block;
    white-space: nowrap;
}

.trabajo-desc {
    font-size: clamp(1.1rem, 0.7rem + 0.3vw, 1.4rem);
    font-weight: 200;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.2;
    flex: 0 0 35%;
    max-width: 35%;
    text-align: right;
    transform: translateY(-46px);
}

/* Grid */
.trabajo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    flex: 1;
    min-height: 0;
}

/* Card */
.trabajo-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: #000;
}

.trabajo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.trabajo-card-tall {
    grid-row: 1 / 3;
    aspect-ratio: 1 / 1;
}

.trabajo-card-img {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    inset: 0;
}

.trabajo-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.1) 50%,
        transparent 100%
    );
    pointer-events: none;
}

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

.trabajo-card:hover .trabajo-card-img img {
    transform: scale(1.08);
}

.trabajo-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 28px 28px;
    z-index: 2;
    color: #fff;
}

.trabajo-card-tall .trabajo-card-body {
    padding: 28px 32px 32px;
    text-align: left;
}

.trabajo-card:not(.trabajo-card-tall) .trabajo-card-body {
    text-align: right;
}

.trabajo-card-body h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    line-height: 1.15;
    white-space: nowrap;
}

.trabajo-card-body p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

/* ========== SECTIONS (generic) ========== */
.section {
    padding: 6rem 0;
}

.section-alt {
    background: #f8fafc;
}

.section-title {
    font-family: 'Helvetica Neue Thai Bold', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: clamp(1.8rem, 0.5rem + 3vw, 3.5rem);
    font-weight: 800;
    color: #1e3a5f;
    margin-bottom: 1rem;
    text-align: center;
}

.section-desc {
    text-align: center;
    color: #666;
    max-width: 600px;
    margin-inline: auto;
    font-size: clamp(1rem, 0.5rem + 0.5vw, 1.3rem);
}

/* ========== SECCION PUNTO DE PARTIDA ========== */
.section-punto {
    padding: 80px 0 100px;
    background: url('../punto-bg.jpg') center / cover no-repeat;
    background-color: #eef3f6;
    position: relative;
}

.section-punto::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 0;
}

.section-punto .container {
    position: relative;
    z-index: 1;
}

.punto-header {
    margin-bottom: 48px;
}

.punto-title {
    font-family: 'Helvetica Neue Thai Bold', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: clamp(1rem, 0.5rem + 0.5vw, 1.6rem);
    font-weight: 700;
    color: #7bc9f0;
    text-align: left;
    margin-bottom: 32px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.punto-sub-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
}

.punto-sub {
    font-family: 'Helvetica Neue Thai Bold', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: clamp(1.8rem, 0.5rem + 3vw, 3.6rem);
    font-weight: 800;
    color: #033c6c;
    flex-shrink: 0;
    max-width: 500px;
    white-space: nowrap;
    line-height: 1.15;
    margin-bottom: 8px;
}

.punto-desc {
    font-size: clamp(1.1rem, 0.7rem + 0.3vw, 1.4rem);
    color: #033c6c;
    line-height: 1.5;
    flex: 0 0 40%;
    max-width: 40%;
    text-align: right;
    padding-top: 24px;
}

/* Cards cascade/escalera */
.punto-cards {
    display: flex;
    gap: 0;
    align-items: flex-start;
    position: relative;
}

.punto-card {
    flex: 1;
    min-width: 0;
    perspective: 1000px;
    cursor: pointer;
}

.punto-card-1 { margin-top: 0; }
.punto-card-2 { margin-top: 16px; }
.punto-card-3 { margin-top: 32px; }
.punto-card-4 { margin-top: 48px; }
.punto-card-5 { margin-top: 64px; }

.punto-card-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.punto-card:hover .punto-card-inner {
    transform: rotateY(180deg);
}

.punto-card-front,
.punto-card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 0;
    overflow: hidden;
}

.punto-card-front {
    transform: rotateY(180deg);
}

.punto-num {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.85);
    color: #033c6c;
    font-size: 0.6rem;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 20px;
    z-index: 3;
    letter-spacing: 0.3px;
    animation: numFloat 2s ease-in-out infinite;
}

@keyframes numFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.punto-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.punto-card-back {
    z-index: 2;
    background: linear-gradient(135deg, #022c5a 0%, #3aa8d8 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding: 32px 28px;
    color: #fff;
}

.punto-card-back .punto-num {
    position: absolute;
    top: 10px;
    left: 10px;
    margin-bottom: 0;
}

.punto-card-back h3 {
    font-family: 'Helvetica Neue Thai Bold', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.punto-card-back p {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
}

.punto-card-back-title-wrap {
    white-space: normal !important;
}

/* ========== SECCION UNA SOLA MARCA ========== */
.section-lineas {
    padding: 80px 0 100px;
    background: #eef3f6;
}

.lineas-header {
    margin-bottom: 48px;
}

.lineas-sub {
    font-size: clamp(1rem, 0.5rem + 0.5vw, 1.6rem);
    font-weight: 700;
    color: #7bc9f0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 32px;
    margin-top: 40px;
    line-height: 1.3;
}

.lineas-title {
    font-family: 'Helvetica Neue Thai Bold', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: clamp(1.8rem, 0.5rem + 3vw, 4rem) !important;
    font-weight: 800;
    color: #033c6c;
    line-height: 1.15;
    margin-bottom: 24px;
}

.lineas-desc {
    font-size: 1.3rem;
    color: #033c6c;
    line-height: 1.5;
}

.lineas-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lineas-card {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.lineas-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.lineas-card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.lineas-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 1;
    transition: opacity 0.4s ease, transform 0.6s ease;
}

.lineas-card:hover .lineas-card-bg img {
    opacity: 1;
    transform: scale(1.05);
}

.lineas-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 20px 30px;
    gap: 24px;
}

.lineas-card-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 100%;
    width: 220px;
    min-width: 220px;
}

.lineas-brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.lineas-card-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: center;
    align-items: flex-start;
}

.lineas-card-text h3 {
    font-size: clamp(1.2rem, 0.5rem + 0.8vw, 1.5rem);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1.2;
}

.lineas-card-text p {
    font-size: clamp(0.9rem, 0.5rem + 0.3vw, 1.2rem);
    font-weight: 200;
    letter-spacing: 0.5px;
    line-height: 1.3;
    margin: 8px 0 0 0;
}

.lineas-brand-lagoon ~ .lineas-card-text h3,
.lineas-brand-lagoon ~ .lineas-card-text p {
    color: #2da8d8;
}

.lineas-brand-proline ~ .lineas-card-text h3,
.lineas-brand-proline ~ .lineas-card-text p {
    color: #e8952e;
}

.lineas-brand-chemical ~ .lineas-card-text h3,
.lineas-brand-chemical ~ .lineas-card-text p {
    color: #033c6c;
}

/* ========== SECCION PROCESO QHATAI ========== */
.section-proceso {
    padding: 80px 0 100px;
    background: url('../proceso.jpg') center / cover no-repeat;
    background-color: #eef3f6;
    position: relative;
}

.section-proceso::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 0;
}

.section-proceso .container {
    position: relative;
    z-index: 1;
}

.proceso-grid {
    display: flex;
    gap: 48px;
    align-items: stretch;
}

.proceso-img {
    flex: 0 0 55%;
    overflow: hidden;
    border-radius: 20px;
}

.proceso-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.proceso-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.proceso-sub {
    font-size: clamp(1rem, 0.5rem + 0.5vw, 1.6rem);
    font-weight: 700;
    color: #7bc9f0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.proceso-title {
    font-family: 'Helvetica Neue Thai Bold', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: clamp(1.8rem, 0.5rem + 3vw, 4rem) !important;
    font-weight: 800;
    color: #033c6c;
    line-height: 1.15;
    margin-bottom: 40px;
}

.proceso-steps {
    display: flex;
    flex-direction: column;
}

.proceso-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
}

.proceso-num {
    font-size: 1.4rem;
    font-weight: 800;
    color: #e09f3e;
    flex-shrink: 0;
    min-width: 40px;
}

.proceso-step-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #033c6c;
    margin-bottom: 4px;
}

.proceso-step-text p {
    font-size: 0.95rem;
    color: #033c6c;
    line-height: 1.5;
}

.proceso-divider {
    width: 100%;
    height: 1px;
    background: #033c6c;
    opacity: 0.3;
}

/* ========== SECCION QHATAI STORE ========== */
.section-store {
    padding: 80px 0 100px;
    background: linear-gradient(135deg, #04477c 0%, #48a4c8 100%);
}

.section-store .container {
    width: 80vw;
    max-width: 1300px;
    margin: 0 auto;
}

.store-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
}

.store-card {
    background: url('../store-card-bg.jpg') center / cover no-repeat;
    border-radius: 20px;
    padding: 48px 44px;
    margin-right: -40px;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.store-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 20px;
    z-index: 0;
}

.store-card > * {
    position: relative;
    z-index: 1;
}

.store-sub {
    font-size: clamp(1rem, 0.5rem + 0.5vw, 1.6rem);
    font-weight: 700;
    color: #7bc9f0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.store-title {
    font-family: 'Helvetica Neue Thai Bold', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: clamp(1.8rem, 0.5rem + 3vw, 4rem) !important;
    font-weight: 800;
    color: #033c6c;
    line-height: 1.15;
    margin-bottom: 24px;
}

.store-desc {
    font-size: 1.1rem;
    color: #033c6c;
    line-height: 1.6;
    margin-bottom: 32px;
}

.btn-store-card {
    display: inline-block;
    padding: 14px 32px;
    background: #04477c;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-store-card:hover {
    background: #033c6c;
    transform: translateY(-2px);
}

.store-img {
    border-radius: 20px;
    overflow: hidden;
    height: 500px;
    position: relative;
    z-index: 2;
}

.store-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ========== SECCION FAQ ========== */
.section-faq {
    padding: 80px 0 100px;
    background: #eef3f6;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.faq-left {
    padding-top: 20px;
}

.faq-sub {
    font-size: clamp(1rem, 0.5rem + 0.5vw, 1.6rem);
    font-weight: 700;
    color: #7bc9f0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.faq-title {
    font-family: 'Helvetica Neue Thai Bold', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: clamp(1.8rem, 0.5rem + 3vw, 4rem) !important;
    font-weight: 800;
    color: #033c6c;
    line-height: 1.15;
}

.faq-right {
    display: flex;
    flex-direction: column;
}

.faq-item {
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    color: #033c6c;
    text-align: left;
    gap: 16px;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 700;
    color: #033c6c;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 0 20px;
    font-size: 1rem;
    color: #033c6c;
    line-height: 1.6;
}

.faq-divider {
    width: 100%;
    height: 2px;
    background: #033c6c;
    opacity: 0.6;
}

/* ========== SECCION CONTACTO ========== */
.section-contacto {
    position: relative;
    padding: 80px 0 100px;
    background: url('../contacto-bg.jpg') center / cover no-repeat;
    overflow: hidden;
}

.contacto-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(4, 71, 124, 0.85), transparent);
    z-index: 0;
}

.section-contacto .container {
    position: relative;
    z-index: 1;
    width: 80vw;
    max-width: 1300px;
    margin: 0 auto;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: center;
}

.contacto-left {
}

.contacto-sub {
    font-size: clamp(1rem, 0.5rem + 0.5vw, 1.6rem);
    font-weight: 700;
    color: #7bc9f0;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.contacto-title {
    font-family: 'Helvetica Neue Thai Bold', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: clamp(1.8rem, 0.5rem + 3vw, 4rem) !important;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 24px;
}

.contacto-desc {
    font-size: clamp(1.1rem, 0.7rem + 0.3vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

/* Form */
.contacto-right {
    width: 380px;
    margin-left: auto;
}

.contacto-form {
    background: rgba(238, 243, 246, 0.95);
    border-radius: 20px;
    padding: 28px 28px;
    width: 380px;
    box-sizing: border-box;
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #033c6c;
    margin-bottom: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #04477c;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    color: #033c6c;
    background: #fff;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group select::placeholder,
.form-group textarea::placeholder {
    color: #033c6c;
    opacity: 1;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #7bc9f0;
    box-shadow: 0 0 0 3px rgba(123, 201, 240, 0.2);
}

.form-group textarea {
    height: 60px;
    resize: vertical;
}

.form-phone {
    display: flex;
    gap: 8px;
}

.phone-prefix {
    padding: 10px 12px;
    background: #fff;
    border: 1.5px solid #04477c;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #033c6c;
    flex-shrink: 0;
}

.form-phone input {
    flex: 1;
}

.btn-form {
    width: auto;
    padding: 12px 24px;
    background: #04477c;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 6px;
}

.btn-form:hover {
    background: #033c6c;
    transform: translateY(-2px);
}

.form-subtitle {
    text-align: left;
    font-size: clamp(1rem, 0.5rem + 0.5vw, 1.6rem);
    color: #033c6c;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.form-divider {
    width: 100%;
    height: 1px;
    background: #033c6c;
    opacity: 0.3;
    margin-bottom: 16px;
}

.form-whatsapp {
    text-align: center;
    font-size: 0.9rem;
    color: #033c6c;
    line-height: 1.5;
}

/* ========== FOOTER ========== */
.footer {
    background: #04477c;
    padding: 24px 0;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo-img {
    height: 36px;
    width: auto;
    display: block;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-links span {
    color: rgba(255, 255, 255, 0.4);
}

/* ========== MODAL SUCCESS ========== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    max-width: 360px;
    width: 90%;
    transform: scale(0.8) translateY(20px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-overlay.active .modal-card {
    transform: scale(1) translateY(0);
}

.modal-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
}

.modal-check {
    width: 72px;
    height: 72px;
}

.modal-check circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: modalCircle 0.6s ease forwards 0.2s;
}

.modal-check path {
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: modalCheck 0.4s ease forwards 0.6s;
}

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

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

.modal-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #033c6c;
    margin-bottom: 8px;
}

.modal-desc {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 24px;
    line-height: 1.5;
}

.modal-btn {
    display: inline-block;
    padding: 12px 32px;
    background: #04477c;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-btn:hover {
    background: #033c6c;
    transform: translateY(-2px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .header {
        padding: 16px 0;
    }

    .hero-content {
        padding: 160px 24px 160px max(24px, 10vw);
    }

    .hero-content h1 {
        font-size: clamp(2rem, 0.5rem + 5vw, 4rem);
        font-weight: 700;
    }

    .hero-content h2 {
        font-size: clamp(1.3rem, 0.5rem + 3vw, 2.6rem);
        font-weight: 400;
    }

    .metric-item {
        padding: 0 24px;
    }

    .metric-value {
        font-size: clamp(1.2rem, 0.5rem + 0.5vw, 1.5rem);
    }

    .trabajo-title {
        font-size: clamp(1.8rem, 0.5rem + 3vw, 2.8rem) !important;
        font-weight: 800;
    }

    .section-trabajo {
        padding: 40px 0;
    }

    .trabajo-card-img {
        height: 100%;
    }

    /* Punto Section */
    .punto-title {
        font-size: clamp(1rem, 0.5rem + 0.5vw, 2.6rem);
    }

    .punto-sub {
        font-size: clamp(1.2rem, 0.5rem + 0.5vw, 1.3rem);
        max-width: 300px;
    }

    .punto-desc {
        font-size: clamp(1.1rem, 0.7rem + 0.3vw, 1.27rem);
    }

    .punto-card-inner {
        aspect-ratio: 1 / 1;
    }

    .punto-card-1 { margin-top: 0; }
    .punto-card-2 { margin-top: 30px; }
    .punto-card-3 { margin-top: 60px; }
    .punto-card-4 { margin-top: 90px; }
    .punto-card-5 { margin-top: 120px; }

    /* Lineas Section */
    .lineas-title {
        font-size: clamp(1.8rem, 0.5rem + 3vw, 2.8rem) !important;
        font-weight: 800;
    }

    .lineas-card {
        height: 200px;
    }

    .lineas-card-content {
        padding: 24px 28px;
        gap: 20px;
    }

    .lineas-brand-logo {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .lineas-card-text h3 {
        font-size: clamp(1.2rem, 0.5rem + 0.8vw, 1.5rem);
        font-weight: 700;
    }

    .lineas-card-text p {
        font-size: clamp(0.8rem, 0.5rem + 0.2vw, 0.95rem);
        font-weight: 200;
    }

    /* Store Section */
    .store-card {
        padding: 40px 32px;
    }

    .store-title {
        font-size: clamp(1.8rem, 0.5rem + 3vw, 3rem) !important;
        font-weight: 800;
    }

    .store-img {
        height: 420px;
    }
}

@media (max-width: 768px) {
    /* Mobile Nav */
    .nav {
        width: 100%;
        padding: 0 16px;
    }

    .nav-left {
        position: relative;
        left: auto;
    }

    .nav-right {
        position: relative;
        right: auto;
    }

    .nav-pill {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100dvh;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 8px;
        padding: 24px;
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: none;
        border-radius: 0;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.4s ease;
        z-index: 999;
    }

    .nav-pill.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-pill .nav-link {
        font-size: 1.3rem;
        padding: 12px 28px;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .btn-store {
        padding: 6px 16px;
        font-size: 0.8rem;
    }

    /* Hero */
    .hero-content {
        padding: 120px 20px 100px;
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: clamp(1.5rem, 0.5rem + 4vw, 2.2rem);
        font-weight: 700;
        letter-spacing: 1px;
        white-space: normal;
    }

    .hero-content h2 {
        font-size: clamp(1.1rem, 0.5rem + 2.5vw, 1.5rem);
        font-weight: 400;
        letter-spacing: 1px;
    }

    .hero-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .hero-ctas {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* Metrics */
    .hero-metrics {
        flex-direction: column;
        gap: 12px;
        margin-top: 28px;
    }

    .metric-item {
        padding: 0;
        gap: 8px;
    }

    .metric-value {
        font-size: 1.1rem;
    }

    .metric-label {
        font-size: 0.75rem;
    }

    .metric-divider {
        width: 40px;
        height: 1px;
    }

    /* Trabajo Section */
    .section-trabajo {
        padding: 32px 0;
        height: auto;
        min-height: auto;
    }

    .trabajo-sub {
        font-size: 1rem;
    }

    .trabajo-top-grid {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .trabajo-title {
        flex: none;
        max-width: 100%;
        font-size: clamp(1.5rem, 0.5rem + 3vw, 1.8rem);
        font-weight: 800;
    }

    .trabajo-desc {
        flex: none;
        max-width: 100%;
        text-align: left;
        font-size: 0.9rem;
        transform: none;
    }

    .trabajo-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .trabajo-card-tall {
        grid-row: auto;
        aspect-ratio: auto;
        height: 220px;
    }

    .trabajo-card {
        height: 200px;
    }

    .trabajo-card-img {
        height: 100%;
    }

    .trabajo-card-body {
        padding: 16px 18px 18px;
    }

    .trabajo-card-body h3 {
        font-size: 1.1rem;
        white-space: normal;
    }

    .trabajo-card-body p {
        font-size: 0.85rem;
        white-space: normal;
    }

    /* Punto Section */
    .section-punto {
        padding: 40px 0 48px;
    }

    .punto-title {
        font-size: 1.2rem;
    }

    .punto-sub-row {
        flex-direction: column;
        gap: 12px;
    }

    .punto-sub {
        font-size: 1.8rem;
        max-width: 100%;
    }

    .punto-desc {
        font-size: 1.1rem;
        text-align: left;
    }

    .punto-cards {
        flex-direction: column;
        gap: 12px;
    }

    .punto-card {
        margin-top: 0 !important;
        flex: none;
        width: 100%;
    }

    .punto-card-inner {
        height: 200px;
        aspect-ratio: auto;
    }

    .punto-card-front img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .punto-card-back {
        padding: 20px 18px;
    }

    .punto-card-back h3 {
        font-size: 1.1rem;
    }

    .punto-card-back p {
        font-size: 0.85rem;
    }

    .punto-num {
        font-size: 0.7rem;
        padding: 2px 6px;
    }

    /* Lineas Section */
    .section-lineas {
        padding: 40px 0 48px;
    }

    .lineas-sub {
        font-size: 1.2rem;
    }

    .lineas-title {
        font-size: 1.5rem;
    }

    .lineas-desc {
        font-size: 1.3rem;
    }

    .lineas-cards {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
    }

    .lineas-card {
        flex: 0 0 80%;
        scroll-snap-align: start;
        height: 180px;
    }

    .lineas-card-content {
        padding: 20px 24px;
        gap: 16px;
    }

    .lineas-card-brand {
        min-width: 160px;
        width: 160px;
    }

    .lineas-brand-logo {
        width: 100%;
        height: 100%;
    }

    .lineas-card-text h3 {
        font-size: 1.5rem;
        font-weight: 700;
    }

    .lineas-card-text p {
        font-size: 0.95rem;
        font-weight: 200;
    }

    /* Proceso Section */
    .section-proceso {
        padding: 40px 0 48px;
    }

    .proceso-grid {
        flex-direction: column;
        gap: 28px;
    }

    .proceso-img {
        flex: none;
        height: 250px;
        border-radius: 14px;
    }

    .proceso-sub {
        font-size: 1.2rem;
    }

    .proceso-title {
        font-size: 1.8rem;
        margin-bottom: 28px;
    }

    .proceso-step {
        padding: 14px 0;
        gap: 14px;
    }

    .proceso-num {
        font-size: 1.1rem;
        min-width: 32px;
    }

    .proceso-step-text h4 {
        font-size: 0.95rem;
    }

    .proceso-step-text p {
        font-size: 0.85rem;
    }

    /* Store Section */
    .section-store {
        padding: 40px 0 48px;
    }

    .store-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .store-card {
        margin-right: 0;
        order: 2;
        padding: 28px 24px;
    }

    .store-sub {
        font-size: 1.2rem;
    }

    .store-title {
        font-size: 1.8rem;
    }

    .store-desc {
        font-size: 0.95rem;
    }

    .store-img {
        height: 260px;
        order: 1;
    }

    /* FAQ Section */
    .section-faq {
        padding: 40px 0 48px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .faq-sub {
        font-size: 1.2rem;
    }

    .faq-title {
        font-size: 1.8rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 16px 0;
    }

    /* Contacto Section */
    .section-contacto {
        padding: 40px 0 48px;
    }

    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .contacto-sub {
        font-size: 1.2rem;
    }

    .contacto-title {
        font-size: 1.8rem;
    }

    .contacto-desc {
        font-size: 1.1rem;
    }

    .contacto-form {
        padding: 28px 20px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    .btn-form {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    /* Footer */
    .footer-grid {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-logo-img {
        height: 30px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .footer-links a {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 12px 0;
    }

    .hero-content h1 {
        font-size: clamp(1.3rem, 0.5rem + 3.5vw, 1.8rem);
        font-weight: 700;
    }

    .hero-content h2 {
        font-size: clamp(1rem, 0.5rem + 2vw, 1.3rem);
        font-weight: 400;
    }

    .hero-content p {
        font-size: 0.85rem;
    }

    .btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .metric-value {
        font-size: 1rem;
    }

    .metric-label {
        font-size: 0.7rem;
    }

    .trabajo-title {
        font-size: 1.3rem;
    }

    .punto-sub {
        font-size: 1.5rem;
    }

    .punto-card-inner {
        height: 180px;
        aspect-ratio: auto;
    }

    .lineas-title {
        font-size: 1.3rem;
    }

    .lineas-card {
        height: 200px;
    }

    .lineas-card-content {
        padding: 16px 20px;
        gap: 12px;
    }

    .lineas-brand-logo {
        width: 100%;
        height: 100%;
    }

    .lineas-card-text h3 {
        font-size: 1.2rem;
        font-weight: 700;
    }

    .lineas-card-text p {
        font-size: 0.85rem;
        font-weight: 200;
    }

    .proceso-title {
        font-size: 1.5rem;
    }

    .store-title {
        font-size: 1.5rem;
    }

    .faq-title {
        font-size: 1.5rem;
    }

    .contacto-title {
        font-size: 1.5rem;
    }
}
