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

:root {
    --primary-color: #F97316;
    --secondary-color: #FB923C;
    --dark-bg: #000000;
    --light-bg: #171717;
    --text-dark: #EDEDED;
    --text-light: #A0A0A0;
    --white: #0A0A0A;
    --border-color: #2A2A2A;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip; /* clip en lugar de hidden: no rompe position:fixed en Safari */
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    background-color: var(--dark-bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%; /* evita que Safari ajuste fuentes automáticamente */
}

h1, h2, h3 {
    font-family: 'Orbitron', 'Nunito', sans-serif;
    letter-spacing: 0.01em;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background-color: rgba(10, 10, 10, 0);
    border-bottom: 1px solid transparent;
    box-shadow: none;
    animation: navBgFadeIn 0.7s ease 0.1s forwards;
}

@keyframes navBgFadeIn {
    to {
        background-color: rgba(10, 10, 10, 0.35);
        border-bottom-color: rgba(255, 255, 255, 0.06);
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    }
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.53rem 6rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    opacity: 0;
    animation: navItemFadeIn 0.5s ease 0.7s forwards;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    opacity: 0;
}

.nav-link:nth-child(1) { animation: navItemFadeIn 0.4s ease 1.1s forwards; }
.nav-link:nth-child(2) { animation: navItemFadeIn 0.4s ease 1.3s forwards; }
.nav-link:nth-child(3) { animation: navItemFadeIn 0.4s ease 1.5s forwards; }
.nav-link:nth-child(4) { animation: navItemFadeIn 0.4s ease 1.7s forwards; }
.nav-link:nth-child(5) { animation: navItemFadeIn 0.4s ease 1.9s forwards; }

@keyframes navItemFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* HERO SECTION */
.hero {
    width: 100%;
    height: 100vh;
    padding: 0 6rem;
    padding-top: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6rem;
    position: relative;
    background-color: var(--dark-bg);
}

.hero-video {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(10, 10, 10, 0.65);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}


.hero-content {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content h1 {
    opacity: 0;
    animation: heroFadeIn 0.8s ease 0.2s forwards;
}

.hero-content .subtitle {
    opacity: 0;
    animation: heroFadeIn 0.8s ease 0.9s forwards;
}

.hero-content .cta-button {
    opacity: 0;
    animation: heroFadeIn 0.7s ease 1.5s forwards;
}

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

.hero-content h1 {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.1;
    text-shadow: 0 0 40px rgba(249, 115, 22, 0.2);
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-button {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: var(--primary-color);
    color: #0A0A0A;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(249, 115, 22, 0.4);
}

.cta-button:active {
    transform: translateY(-1px);
}


/* EXPERIENCE SECTION */
.experience {
    background: linear-gradient(180deg, var(--dark-bg), var(--light-bg));
    padding: 4rem 0 0;
    scroll-margin-top: 65px;
    width: 100%;
}

.experience-container {
    max-width: 100%;
    margin: 0 auto;
}

.section-title-img {
    display: block;
    max-width: 420px;
    width: 100%;
    height: auto;
    margin: 0 auto 1.2rem;
}

.section-highlight {
    display: block;
    text-align: center !important;
    color: var(--primary-color) !important;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-top: -1.5rem;
    margin-bottom: 3rem;
    padding: 0 6rem;
    width: 100%;
}

.experience h2,
.contact h2,
.how-it-works h2,
.examples-hero-text h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 2rem;
    text-align: center;
    color: #ffffff;
    text-shadow: 0 0 30px rgba(249, 115, 22, 0.2);
    letter-spacing: -0.01em;
    line-height: 1.15;
    position: relative;
}

.experience h2::after,
.contact h2::after,
.how-it-works h2::after,
.examples-hero-text h2::after {
    content: '';
    position: absolute;
    bottom: -0.9rem;
    left: 50%;
    transform: translateX(-50%);
    width: 72px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(249, 115, 22, 0.5);
}

.experience h2 {
    padding: 0 6rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.15rem;
    margin-bottom: 3rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.experience .section-subtitle {
    padding: 0 6rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.feature-card {
    padding: 0;
    background: var(--light-bg);
    border: none;
    border-right: 1px solid var(--border-color);
    border-radius: 0;
    text-align: left;
    transition: filter 0.4s ease, opacity 0.4s ease;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    height: 360px;
}

.feature-card:nth-child(3n) {
    border-right: none;
}

.feature-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem 1.8rem 1.8rem;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.98) 0%, rgba(10, 10, 10, 0.82) 55%, transparent 100%);
    z-index: 2;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.02em;
    border-left: 3px solid var(--primary-color);
    padding-left: 0.85rem;
    text-transform: uppercase;
    font-size: 1.05rem;
    transition: border-color 0.35s ease, padding-left 0.35s ease;
}

.feature-card:hover h3 {
    border-left-color: #fff;
    padding-left: 1rem;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    line-height: 1.55;
    padding-left: 0.85rem;
}

.features-grid:hover .feature-card:not(:hover) {
    filter: grayscale(100%) blur(1.5px);
    opacity: 0.45;
}

.feature-card:hover {
    filter: grayscale(0%) blur(0px);
    opacity: 1;
}

.feature-img-wrap {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
}

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

.feature-card:hover .feature-img {
    transform: scale(1.07);
}


/* HOW IT WORKS */
.how-it-works {
    padding: 4rem 5rem 5rem;
    background: #1A1A1A;
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    scroll-margin-top: 65px;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(249, 115, 22, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.how-it-works h2 {
    margin-bottom: 1.2rem;
}

.steps {
    display: flex;
    align-items: stretch;
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: calc(2.5rem + 36px);
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right,
        transparent 5%,
        rgba(249, 115, 22, 0.3) 20%,
        rgba(249, 115, 22, 0.3) 80%,
        transparent 95%
    );
    z-index: 0;
}

.step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 1.8rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(249, 115, 22, 0.12);
    border-radius: 16px;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    z-index: 1;
    cursor: default;
}

.step:hover {
    transform: translateY(-8px);
    border-color: rgba(249, 115, 22, 0.45);
    box-shadow: 0 20px 50px rgba(249, 115, 22, 0.1);
}

.step-number {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.08);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 24px rgba(249, 115, 22, 0.2), inset 0 0 20px rgba(249, 115, 22, 0.05);
    flex-shrink: 0;
    transition: box-shadow 0.35s ease, background 0.35s ease;
}

.step:hover .step-number {
    background: rgba(249, 115, 22, 0.15);
    box-shadow: 0 0 36px rgba(249, 115, 22, 0.4), inset 0 0 20px rgba(249, 115, 22, 0.1);
}

.step-content h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.step-content p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    line-height: 1.65;
}

/* ─── HAMBURGER (oculto en escritorio) ─── */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 36px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    flex-shrink: 0;
}
.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #EDEDED;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* BEFORE / AFTER SLIDER */
.before-after-section {
    display: none;
}

.ba-hint {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1rem;
    font-family: 'Orbitron', sans-serif;
}

.before-after-slider {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 12px;
    cursor: ew-resize;
    -webkit-user-select: none;
    user-select: none;
    border: 1px solid var(--border-color);
    -webkit-transform: translateZ(0); /* fuerza GPU layer en Safari */
    transform: translateZ(0);
}

.ba-before {
    position: relative;
    height: 600px;
    display: block;
}

.ba-after {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    -webkit-clip-path: inset(0 0 0 50%);
    clip-path: inset(0 0 0 50%);
}

.ba-img {
    height: 600px;
    width: auto;
    display: block;
    pointer-events: none;
}

.ba-after .ba-img {
    width: 100%;
    object-fit: cover;
}

.ba-label {
    position: absolute;
    bottom: 1.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
    padding: 0.35rem 0.8rem;
    border-radius: 4px;
    z-index: 20;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.ba-label--before {
    right: 1.4rem;
    background: rgba(0, 0, 0, 0.65);
    color: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ba-label--after {
    left: 1.4rem;
    background: rgba(249, 115, 22, 0.2);
    color: var(--primary-color);
    border: 1px solid rgba(249, 115, 22, 0.45);
}

.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: rgba(255, 255, 255, 0.8);
    z-index: 10;
    pointer-events: none;
}

.ba-handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(249, 115, 22, 0.4);
    color: #0A0A0A;
    font-size: 1rem;
    font-weight: 900;
    gap: 2px;
}

/* SLIDERS GRID */
.examples-header {
    text-align: center;
    padding: 0 6rem;
    margin-bottom: 2.5rem;
}

.sliders-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 0 6rem 6rem;
}

.sliders-grid .before-after-slider {
    width: 100%;
    display: block;
}

.sliders-grid .ba-before {
    height: auto;
}

.sliders-grid .ba-before .ba-img {
    width: 100%;
    height: auto;
}

.sliders-grid .ba-after .ba-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* EXAMPLES SECTION */
.examples {
    background: var(--light-bg);
    padding: 4rem 0 6rem;
    scroll-margin-top: 65px;
    width: 100%;
    position: relative;
}

.examples::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(249, 115, 22, 0.55), transparent);
}

.examples-container {
    max-width: 100%;
    margin: 0 auto;
}

/* HERO — centrado */
.examples-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 6rem;
    gap: 2.5rem;
}

.examples-hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    text-align: center;
    max-width: 680px;
}

.examples-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-color);
    font-family: 'Orbitron', sans-serif;
}

.examples-hero-text h2 {
    margin: 0 0 1.2rem;
    padding: 0;
}

.examples-hero-text > p:not(.ba-hint) {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.examples-hero-slider {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* GALLERY DIVIDER */
.gallery-divider {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 0 6rem;
    margin: 2.5rem 0 1.5rem;
}

.gallery-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-color));
}

.gallery-divider-line:last-child {
    background: linear-gradient(to left, transparent, var(--border-color));
}

.gallery-divider-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    font-family: 'Orbitron', sans-serif;
    white-space: nowrap;
}

/* GRID */
.examples-grid {
    columns: 3;
    column-gap: 10px;
    padding: 0 6rem;
}

.example-item {
    break-inside: avoid;
    margin-bottom: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    display: block;
    border-radius: 6px;
    transition: box-shadow 0.4s ease;
}

.example-item:hover {
    box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.3), 0 12px 40px rgba(0, 0, 0, 0.5);
}

.example-item::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(0, 0, 0, 0.1);
    transition: background 0.45s ease;
    z-index: 1;
    border-radius: 6px;
}

.example-item:hover::before {
    background: rgba(0, 0, 0, 0.5);
}

.example-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.example-item:hover .example-img {
    transform: scale(1.05);
}

.example-item::after {
    content: attr(data-index);
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--primary-color);
    border: 1px solid rgba(249, 115, 22, 0.5);
    background: rgba(0, 0, 0, 0.5);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    letter-spacing: 0.1em;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 3;
}

.example-item:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.example-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 1.4rem 1.4rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 60%, transparent 100%);
    transform: translateY(12px);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    z-index: 2;
    border-radius: 0 0 6px 6px;
}

.example-item:hover .example-text {
    transform: translateY(0);
    opacity: 1;
}

.example-text h3 {
    font-size: 0.95rem;
    font-weight: 800;
    font-family: 'Orbitron', sans-serif;
    color: #ffffff;
    margin-bottom: 0.45rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding-left: 0.7rem;
    border-left: 2px solid var(--primary-color);
}

.example-text p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
}

/* CONTACT SECTION */
.contact {
    background: var(--light-bg);
    scroll-margin-top: 65px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(249, 115, 22, 0.55), transparent);
    z-index: 1;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    min-height: 600px;
}

/* LEFT PANEL */
.contact-info {
    background: #111111;
    padding: 5rem 4rem;
    display: flex;
    align-items: center;
    position: relative;
    border-right: 1px solid var(--border-color);
    overflow: hidden;
}

.contact-info::before {
    content: 'PHOTO';
    position: absolute;
    bottom: -2rem;
    left: -1rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 7rem;
    font-weight: 900;
    color: rgba(249, 115, 22, 0.04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.02em;
}

.contact-info::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
    opacity: 0.6;
}

.contact-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary-color);
    border: 1px solid rgba(249, 115, 22, 0.35);
    padding: 0.35rem 0.9rem;
    border-radius: 4px;
    margin-bottom: 1.8rem;
    font-family: 'Orbitron', sans-serif;
}

.contact-info h2 {
    font-size: 2.4rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    text-shadow: 0 0 24px rgba(249, 115, 22, 0.2);
    letter-spacing: -0.01em;
    position: relative;
}

.contact-info h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 2px;
    margin-top: 0.9rem;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.4);
}

.contact-info-inner > p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.97rem;
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

.contact-social {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.85rem 1.4rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    letter-spacing: 0.03em;
}

.social-link:hover {
    transform: translateX(5px);
}

.social-link--whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
    border: 1px solid rgba(37, 211, 102, 0.25);
}

.social-link--whatsapp:hover {
    background: rgba(37, 211, 102, 0.18);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.15);
}

.social-link--instagram {
    background: rgba(228, 64, 95, 0.1);
    color: #E4405F;
    border: 1px solid rgba(228, 64, 95, 0.25);
}

.social-link--instagram:hover {
    background: rgba(228, 64, 95, 0.18);
    box-shadow: 0 4px 20px rgba(228, 64, 95, 0.15);
}

.social-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* RIGHT PANEL — FORM */
.contact-form-wrap {
    padding: 4rem 5rem;
    background: #0D0D0D;
}

.contact-form {
    margin-top: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 2rem;
}

.form-group {
    margin-bottom: 1.8rem;
    display: flex;
    flex-direction: column;
}

.form-group--full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.7rem 0;
    border: none;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    background: transparent;
    color: var(--text-dark);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
    width: 100%;
}

.form-group select option {
    background: #1a1a1a;
    color: var(--text-dark);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--primary-color);
    box-shadow: none;
}

.form-group textarea {
    resize: none;
    min-height: 100px;
    line-height: 1.6;
}

.submit-button {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--primary-color);
    color: #0A0A0A;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    margin-bottom: 0.8rem;
}

.submit-button:hover {
    background: var(--secondary-color);
    box-shadow: 0 8px 32px rgba(249, 115, 22, 0.4);
    transform: translateY(-2px);
}

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

.form-note {
    text-align: center;
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.78rem;
    letter-spacing: 0.05em;
}

.success-message {
    background: rgba(249, 115, 22, 0.08);
    color: var(--primary-color);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    margin-top: 1rem;
    border: 1px solid rgba(249, 115, 22, 0.25);
}

/* FOOTER */
footer {
    background: #000000;
    color: var(--text-light);
    text-align: center;
    padding: 0.59rem 2rem;
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ═══════════════════════════════════════════════
   RESPONSIVE — MEDIA QUERIES AL FINAL (máxima prioridad)
   ═══════════════════════════════════════════════ */

/* ─── TABLET / MÓVIL: NAV HAMBURGUESA (≤1024px) ─── */
@media (max-width: 1024px) {
    /* Navbar: activar hamburguesa */
    .nav-container { padding: 0.6rem 2rem; }
    .nav-hamburger { display: flex !important; }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        z-index: 1000;
        pointer-events: none;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        display: flex;
    }
    .nav-links.active {
        pointer-events: all;
        opacity: 1;
        transform: translateY(0);
    }
    .nav-link {
        font-size: 1.4rem !important;
        opacity: 1 !important;
        animation: none !important;
    }

    /* Hero */
    .hero { padding: 0 2.5rem; padding-top: 65px; gap: 3rem; }
    .hero-content h1 { font-size: 3.6rem; }

    /* Experiencia IA */
    .experience h2,
    .experience .section-subtitle { padding: 0 3rem; }

    .how-it-works { padding: 4rem 3rem; }

    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-card:nth-child(3n) { border-right: 1px solid var(--border-color); }
    .feature-card:nth-child(2n) { border-right: none; }
    .feature-card { height: 300px; }

    .steps { flex-wrap: wrap; gap: 1rem; }
    .steps::before { display: none; }
    .step { flex: 1 1 calc(50% - 0.5rem); min-width: 260px; }

    .examples-header { padding: 0 3rem; }
    .sliders-grid { grid-template-columns: repeat(2, 1fr); padding: 0 3rem 4rem; gap: 8px; }

    .contact-container { grid-template-columns: 1fr 1.6fr; min-height: auto; }
    .contact-info { padding: 3.5rem 2.5rem; }
    .contact-form-wrap { padding: 3.5rem 2.5rem; }
    .contact-info h2 { font-size: 2rem; }
    .contact-info::before { font-size: 5rem; bottom: -1rem; }
}

/* ─── MÓVIL (≤768px) ─── */
@media (max-width: 768px) {
    /* Navbar */
    .nav-container { padding: 0.5rem 1.25rem; }
    .logo-img { height: 40px; }

    /* Hero */
    .hero {
        padding: 0 1.5rem;
        padding-top: 65px;
        min-height: 100vh;
        min-height: 100dvh;
        height: auto;
        gap: 1.5rem;
        text-align: center;
    }
    .hero-content { display: flex; flex-direction: column; align-items: center; }
    .hero-content h1 { font-size: 2.4rem; line-height: 1.15; margin-bottom: 1rem; }
    .section-title-img { max-width: 260px; }
    .section-highlight { font-size: 1rem !important; padding: 0 1.5rem !important; margin-top: -1rem; text-align: center !important; color: var(--primary-color) !important; }
    .subtitle { font-size: 1.05rem; margin-bottom: 1.5rem; }
    .cta-button { padding: 0.9rem 2rem; font-size: 1rem; }
    .hero-dots { bottom: 1.5rem; }

    /* Experiencia IA */
    .experience { padding: 3rem 0 0; }
    .experience h2,
    .experience .section-subtitle { padding: 0 1.5rem; }
    .experience h2 { font-size: 2rem; }
    .section-subtitle { font-size: 1.05rem; margin-bottom: 2rem; }

    .features-grid { grid-template-columns: 1fr; }
    .feature-card {
        height: 240px;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    .feature-card:last-child { border-bottom: none; }
    .feature-card:nth-child(3n) { border-right: none; }
    .feature-text { padding: 2rem 1.4rem 1.4rem; }
    .feature-card h3 { font-size: 1.1rem; }
    .feature-card p { font-size: 0.88rem; }

    /* Cómo funciona */
    .how-it-works { padding: 3rem 1.5rem; }
    .how-it-works h2 { font-size: 2rem; }
    .steps { flex-direction: column; gap: 0.9rem; }
    .step {
        flex: 1 1 auto;
        flex-direction: row;
        text-align: left;
        align-items: center;
        padding: 1.1rem;
        gap: 1rem;
        min-width: 0;
    }
    .step-number {
        width: 48px;
        height: 48px;
        font-size: 0.95rem;
        flex-shrink: 0;
        margin-bottom: 0;
    }
    .step-content h3 { font-size: 1rem; margin-bottom: 0.25rem; }
    .step-content p { font-size: 0.85rem; }

    /* Ejemplos */
    .examples { padding: 3rem 0 4rem; }
    .examples-header { padding: 0 1.5rem; margin-bottom: 1.5rem; }
    .examples-header h2 { font-size: 2rem; }
    .sliders-grid {
        grid-template-columns: 1fr;
        padding: 0 1.5rem 3rem;
        gap: 12px;
    }
    .ba-label { bottom: 1rem; font-size: 0.62rem; padding: 0.3rem 0.6rem; }
    .ba-label--before { right: 1rem; }
    .ba-label--after { left: 1rem; }
    .ba-handle-circle { width: 40px; height: 40px; font-size: 0.85rem; }

    /* ─── CONTACTO: stacked completo ─── */
    .contact-container {
        grid-template-columns: 1fr !important;
        min-height: auto !important;
    }
    .contact-info {
        padding: 2.5rem 1.5rem !important;
        border-right: none !important;
        border-bottom: 1px solid var(--border-color);
        text-align: center;
        justify-content: center;
    }
    .contact-info-inner {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .contact-info::before {
        font-size: 4rem;
        left: -0.5rem;
        bottom: -1rem;
    }
    .contact-info::after { width: 2px; opacity: 0.5; }
    .contact-tag { margin-bottom: 1.2rem; font-size: 0.65rem; }
    .contact-info h2 {
        font-size: 1.9rem !important;
        margin-bottom: 0.9rem;
    }
    .contact-info-inner > p {
        font-size: 0.92rem;
        line-height: 1.65;
        margin-bottom: 1.8rem;
        max-width: 420px;
    }
    .contact-social {
        flex-direction: row !important;
        flex-wrap: wrap;
        gap: 0.7rem;
        width: 100%;
        max-width: 420px;
        justify-content: center;
    }
    .social-link {
        flex: 1 1 calc(50% - 0.35rem);
        min-width: 0;
        justify-content: center;
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }
    .social-link:hover { transform: translateY(-2px); }

    .contact-form-wrap { padding: 2.5rem 1.5rem 3rem !important; }
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
    .form-group { margin-bottom: 1.4rem; }
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* evita zoom en iOS */
        padding: 0.75rem 0;
    }
    .form-group label { font-size: 0.68rem; }
    .submit-button {
        padding: 1.1rem 1.5rem;
        font-size: 0.85rem;
    }

    /* Footer */
    footer { font-size: 0.72rem; padding: 1rem 1.25rem; line-height: 1.5; }
}

/* ─── MÓVIL PEQUEÑO (≤480px) ─── */
@media (max-width: 480px) {
    .nav-container { padding: 0.5rem 1rem; }
    .logo-img { height: 36px; }

    .hero-content h1 { font-size: 2rem; }
    .subtitle { font-size: 0.98rem; }

    .experience h2,
    .how-it-works h2,
    .examples-hero-text h2,
    .contact-info h2 { font-size: 1.75rem !important; }

    .section-subtitle { font-size: 0.95rem; }

    .feature-card { height: 220px; }
    .ba-img,
    .ba-after .ba-img { height: 260px; }

    .examples-grid { columns: 1; padding: 0 1.25rem; }
    .example-item { margin-bottom: 8px; }

    .contact-info { padding: 2.2rem 1.25rem !important; }
    .contact-form-wrap { padding: 2.2rem 1.25rem 2.5rem !important; }
    .contact-social { flex-direction: column !important; }
    .social-link { flex: 1 1 auto; width: 100%; }
}

