/* ==========================================================================
   ESTILOS ESENCIALES DE ELEMENTOR (LIMPIOS)
   ========================================================================== */

/* 1. Reset de Box-Sizing para Widgets */
.elementor-widget-container {
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
}

/* 2. Encabezados (Heading Widget) */
.elementor-heading-title {
    padding: 0;
    margin: 0;
    line-height: 1.2;
    font-family: 'Barlow Condensed', sans-serif; /* Tipografía del kit */
    text-transform: uppercase;
    font-weight: 700;
}

.elementor-heading-title.elementor-size-default {
    font-size: 48px;
    color: #1a1a1a;
}

/* Subtítulos (Pequeños arriba del título) */
h2.elementor-heading-title {
    font-size: 16px;
    color: #ff5e14; /* Naranja Qutiiz */
    letter-spacing: 2px;
    margin-bottom: 10px;
}

/* 3. Contenedores Flex (E-Con) */
.e-con {
    display: flex;
    position: relative;
    width: 100%;
}

.e-con-boxed {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.e-con-inner {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

/* 4. Efectos de Imagen (Image Widget) */
.elementor-widget-image img {
    height: auto;
    max-width: 100%;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.4s ease;
}

.elementor-animation-shrink:hover img {
    transform: scale(0.95);
}

/* 5. Iconos y Listas (Icon List) */
.elementor-icon-list-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.elementor-icon-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.elementor-icon-list-icon svg {
    width: 18px;
    height: 18px;
    fill: #ff5e14;
}

/* 6. Tabs de Proyectos (TFTabs) */
.tf-tabs .tf-tabnav ul {
    display: flex;
    justify-content: center;
    border-bottom: 2px solid #eee;
    margin-bottom: 30px;
}

.tf-tabs .tablinks {
    padding: 15px 25px;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    transition: 0.3s;
}

.tf-tabs .tablinks.active {
    color: #ff5e14;
    border-bottom: 2px solid #ff5e14;
}

/* 7. Caja de Imagen de Portafolio (TFImageBox) */
.tf-imagebox.style-2 {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.tf-imagebox .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 94, 20, 0.85); /* Overlay naranja */
    opacity: 0;
    transition: 0.4s;
}:root {
     --bg: #151515;
     --bg-2: #101010;
     --text: #f5f5f5;
     --muted: rgba(255, 255, 255, 0.58);
     --muted-2: rgba(255, 255, 255, 0.35);
     --purple: #7d5cff;
     --pink: #ff4a74;
 }

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: "Inter", Arial, sans-serif;
    background: linear-gradient(180deg, #1a1a1a 0%, #111111 100%);
    color: var(--text);
}

body {
    display: flex;
    justify-content: center;
}

.page {
    position: relative;
    width: 100%;
    max-width: 1400px;
    min-height: 100vh;
    padding: 72px 92px 70px;
    background:
            radial-gradient(circle at top right, rgba(255,255,255,0.03), transparent 25%),
            linear-gradient(180deg, #171717 0%, #121212 100%);
    overflow: hidden;
}

/* Decorative blobs */
.blob {
    position: absolute;
    pointer-events: none;
    opacity: 0.48;
    filter: drop-shadow(0 14px 26px rgba(0,0,0,.35));
}

.blob::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
            repeating-radial-gradient(circle at 45% 45%,
            rgba(255,255,255,0.24) 0 1px,
            transparent 2px 10px);
    border-radius: 48% 52% 58% 42% / 41% 55% 45% 59%;
    transform: rotate(10deg);
}

.blob-top-right {
    top: -60px;
    right: -80px;
    width: 280px;
    height: 430px;
}

.blob-mid-right {
    top: 275px;
    right: -35px;
    width: 180px;
    height: 220px;
    opacity: 0.38;
}

.blob-bottom-left {
    left: 30px;
    top: 560px;
    width: 160px;
    height: 160px;
    opacity: 0.32;
}

/* Small texts */
.mini-brand,
.mini-label {
    position: absolute;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.9);
    text-transform: uppercase;
}

.mini-brand.top-left {
    top: 86px;
    left: 35px;
}

.mini-label.right-center {
    right: 40px;
    top: 455px;
}

.mini-label.bottom-left {
    left: 35px;
    bottom: 78px;
}

/* Tiny lines */
.tiny-line {
    position: absolute;
    width: 1px;
    background: rgba(255,255,255,0.8);
}

.line-left-top {
    left: 36px;
    top: 345px;
    height: 28px;
}

.line-right-mid {
    right: 34px;
    top: 740px;
    height: 38px;
}

.line-left-bottom {
    left: 36px;
    bottom: 6px;
    height: 40px;
}

/* Hero */
.hero {
    position: relative;
    z-index: 2;
}

.title {
    margin: 0 0 34px 95px;
    font-size: clamp(56px, 7vw, 110px);
    line-height: 0.88;
    font-weight: 900;
    letter-spacing: -0.07em;
    text-transform: uppercase;
}

.title span {
    display: block;
    background: linear-gradient(90deg, var(--purple) 0%, #a548ff 45%, var(--pink) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-grid {
    margin-left: 95px;
    display: grid;
    grid-template-columns: 280px 1fr;
    align-items: center;
    gap: 140px;
}

/* Card */
.card {
    width: 100%;
    padding: 18px 22px 16px;
    background:
            linear-gradient(180deg, rgba(0,0,0,0.72), rgba(0,0,0,0.82)),
            radial-gradient(circle at right top, rgba(255,255,255,0.08), transparent 40%);
    border: 1px solid rgba(255,255,255,0.04);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
            repeating-radial-gradient(circle at 85% 12%,
            rgba(255,255,255,0.16) 0 1px,
            transparent 2px 10px);
    opacity: 0.35;
    pointer-events: none;
}

.card h3 {
    position: relative;
    margin: 0 0 14px;
    font-size: 29px;
    line-height: 0.92;
    font-weight: 900;
    letter-spacing: -0.05em;
    text-transform: uppercase;
}

.card p {
    position: relative;
    margin: 0;
    font-size: 12px;
    line-height: 1.15;
    color: rgba(255,255,255,0.72);
    max-width: 185px;
}

.dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 6px;
    border-radius: 50%;
    background: linear-gradient(90deg, var(--purple), var(--pink));
    vertical-align: middle;
}

/* Days */
.days-box {
    justify-self: start;
    text-align: center;
    margin-top: 48px;
}

.days-number {
    font-size: clamp(68px, 7vw, 118px);
    line-height: 0.9;
    font-weight: 900;
    letter-spacing: -0.08em;
    background: linear-gradient(180deg, var(--pink) 0%, #b945da 40%, var(--purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.days-text {
    margin-top: 2px;
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
}

/* Details section */
.details {
    position: relative;
    z-index: 2;
    margin-top: 110px;
    margin-left: 95px;
}

.section-title {
    margin: 0 0 34px;
    font-size: clamp(54px, 6vw, 98px);
    line-height: 0.9;
    font-weight: 900;
    letter-spacing: -0.07em;
    text-transform: uppercase;
}

.section-title span {
    display: block;
    background: linear-gradient(90deg, var(--purple) 0%, #a548ff 50%, var(--pink) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.fonts-block {
    margin-left: 118px;
}

.font-item {
    margin-bottom: 28px;
}

.font-item h3 {
    margin: 0;
    font-size: clamp(34px, 4vw, 60px);
    line-height: 0.96;
    font-weight: 900;
    letter-spacing: -0.05em;
    text-transform: uppercase;
}

.font-item p {
    margin: 4px 0 0;
    font-size: 16px;
    color: var(--muted);
}

.idea-block {
    margin-top: 28px;
    margin-left: 118px;
    max-width: 360px;
}

.idea-block h4 {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 0.92;
    font-weight: 900;
    letter-spacing: -0.05em;
    text-transform: uppercase;
}

.idea-block p {
    margin: 0;
    font-size: 14px;
    line-height: 1.2;
    color: var(--muted);
}

/* Bottom */
.bottom-section {
    position: relative;
    z-index: 2;
    margin-top: 140px;
    margin-left: 95px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.desktop-title {
    margin: 0;
    font-size: clamp(62px, 7vw, 112px);
    line-height: 0.9;
    font-weight: 900;
    letter-spacing: -0.07em;
    text-transform: uppercase;
}

.desktop-title span {
    display: block;
    background: linear-gradient(90deg, var(--purple) 0%, #a548ff 48%, var(--pink) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.blocks-box {
    margin-right: 28px;
    text-align: center;
}

.blocks-number {
    font-size: clamp(68px, 7vw, 122px);
    line-height: 0.9;
    font-weight: 900;
    letter-spacing: -0.08em;
    background: linear-gradient(180deg, var(--pink) 0%, #b945da 40%, var(--purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.blocks-text {
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .page {
        padding: 42px 24px 48px;
    }

    .title,
    .hero-grid,
    .details,
    .bottom-section {
        margin-left: 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .days-box {
        justify-self: start;
        margin-top: 0;
    }

    .fonts-block,
    .idea-block {
        margin-left: 0;
    }

    .bottom-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }

    .blocks-box {
        margin-right: 0;
    }

    .mini-label,
    .mini-brand,
    .tiny-line,
    .blob {
        opacity: 0.2;
    }
}

.tf-imagebox:hover .image-overlay {
    opacity: 1;
}

.tf-imagebox .content {
    position: absolute;
    bottom: -50px;
    left: 20px;
    transition: 0.4s;
}

.tf-imagebox:hover .content {
    bottom: 20px;
}