/* -----------------------------------------------
   RESET WPBAKERY: elimina padding/margin de filas
   ----------------------------------------------- */
.wpb_content_element { margin-bottom: 10px !important; }


/* -----------------------------------------------
   1. VARIABLES GLOBALES
   ----------------------------------------------- */
:root {
    --primary-orange: #d4765a;
    --primary-blue:   #4a6fa5;
    --bg-dark:        #2a2d34;
    --box-bg:         #404040;
    --text-light:     #ffffff;
    --text-muted:     #b3b3b3;
}

/* -----------------------------------------------
   2. TIPOGRAFÍA BASE (compartida por todas las secciones)
   ----------------------------------------------- */
.hero-section,
.features-section,
.trece-services-wrapper,
.trece-wrapper-ba,
.trece-full-sections,
.trece-faq-wrapper,
.trece-footer-sections,
.tree-footer {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-sizing: border-box;
}

/* -----------------------------------------------
   3. HERO SECTION
   ----------------------------------------------- */
.hero-section {
    background-image:
        linear-gradient(to right, rgba(42,45,52,0.9) 30%, rgba(74,111,165,0.6) 100%),
        url("");
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
    max-width: 550px;
}

.hero-text h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.trece-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255,255,255,0.15);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.95rem;
    margin-bottom: 30px;
    backdrop-filter: blur(5px);
    color: white;
}

.trece-badge svg { flex-shrink: 0; }

.hero-text p {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.btn-group {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary                { background-color: var(--primary-orange); color: white; border: none; }
.btn-primary:hover          { background-color: #c0654b; color: white; text-decoration: none; }
.btn-secondary              { background-color: transparent; color: white; border: 2px solid white; }
.btn-secondary:hover        { background-color: rgba(255,255,255,0.1); color: white; text-decoration: none; }

.trece-hero-image-box {
    flex: 1;
    position: relative;
}

.trece-hero-image-box img {
    width: 100%;
    border-radius: 20px;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.floating-card {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background-color: var(--primary-blue);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    color: white;
}

.floating-card h3 { font-size: 2rem; margin-bottom: 5px; color: white; }
.floating-card p  { font-size: 0.8rem; margin: 0; }

/* -----------------------------------------------
   4. FEATURES SECTION
   ----------------------------------------------- */
.features-section {
    background-color: #333333;
    padding: 50px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-box .vc_column-inner{
    background-color: var(--box-bg);
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s ease;
}

.feature-box:hover .vc_column-inner { transform: translateY(-5px); }

.icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    font-size: 1.2rem;
}

.icon-blue   { background-color: var(--primary-blue); }
.icon-orange { background-color: var(--primary-orange); }

.feature-box p { font-size: 0.9rem; color: var(--text-light); margin: 0; }

/* -----------------------------------------------
   5. SERVICES SECTION
   ----------------------------------------------- */
.trece-services-wrapper {
    background-color: #ffffff;
    padding: 80px 0;
    color: #111827;
}

.trece-services-wrapper .trece-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.trece-services-wrapper .trece-header {
    text-align: center;
    margin-bottom: 50px;
}

.trece-services-wrapper .trece-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin: 0 0 10px 0;
    color: #111827;
}

.trece-services-wrapper .trece-header p {
    font-size: 1.1rem;
    color: #6b7280;
    margin: 0;
}

.trece-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.trece-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
		margin: 0 15px 0 15px;
}

.trece-card:hover { transform: translateY(-5px); }

.trece-card-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.trece-card-content { padding: 35px 30px; }

.trece-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #000000;
}

.trece-card-desc {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.trece-list { list-style: none; padding: 0; margin: 0 0 25px 0; }

.trece-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #4b5563;
}

.trece-check-circle {
    background-color: #eef2f6;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trece-check-circle svg {
    width: 12px; height: 12px;
    fill: none;
    stroke: #4a6fa5;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.trece-link {
    color: #4a6fa5;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.trece-link:hover           { gap: 10px; text-decoration: none; }
.trece-link svg             { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.trece-guarantee-banner {
    background-color: #f4f7fb;
    border-radius: 12px;
    padding: 25px 40px;
    margin: 50px 15px 50px 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 30px;
}

.trece-guarantee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #4b5563;
}

.trece-guarantee-item svg {
    width: 18px; height: 18px;
    fill: none;
    stroke: #10b981;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.trece-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trece-stat-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.trece-stat-icon {
    width: 50px; height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
}

.trece-stat-icon svg { width: 24px; height: 24px; fill: white; }

.trece-bg-blue   { background-color: #4a6fa5; }
.trece-bg-orange { background-color: #d4765a; }
.trece-bg-teal   { background-color: #3e8181; }
.trece-bg-dark   { background-color: #3b6b7a; }

.trece-stat-box h4 { font-size: 2rem; font-weight: 800; margin: 0 0 5px 0; color: #111827; }
.trece-stat-box p  { font-size: 0.9rem; color: #6b7280; margin: 0; }

/* -----------------------------------------------
   6. ANTES / DESPUÉS
   ----------------------------------------------- */
.trece-wrapper-ba {
    background: radial-gradient(circle at center, #2a2d34 0%, #1a1a1a 100%);
    padding: 80px 0;
    color: #ffffff;
}

.trece-wrapper-ba .trece-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.trece-wrapper-ba .trece-section-header      { text-align: center; margin-bottom: 50px; }
.trece-wrapper-ba .trece-section-header h2   { font-size: 2.2rem; font-weight: 800; margin: 0 0 10px 0; color: #ffffff; }
.trece-wrapper-ba .trece-section-header p    { font-size: 1.1rem; color: #a3a3a3; margin: 0; }

.trece-comparison-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

.trece-comparison-row:last-child { margin-bottom: 0; }

.trece-image-card {
    flex: 1;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

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

.trece-image-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
    pointer-events: none;
}

.trece-label {
    position: absolute;
    top: 15px; left: 15px;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 2;
}

.trece-label-red  { background-color: #ff4747; color: white; }
.trece-label-blue { background-color: #4a6fa5; color: white; }

.trece-caption {
    position: absolute;
    bottom: 15px; left: 15px;
    font-size: 0.95rem;
    font-weight: 500;
    color: white;
    z-index: 2;
    margin: 0;
}

.trece-arrow-circle {
    width: 45px; height: 45px;
    background-color: #4a6fa5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 5;
}

.trece-arrow-circle svg {
    width: 20px; height: 20px;
    fill: none; stroke: white;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.3s ease;
}

/* -----------------------------------------------
   7. POR QUÉ / NOSOTROS / CÓMO FUNCIONA
   ----------------------------------------------- */
.trece-full-sections { overflow-x: hidden; }

.trece-full-sections .trece-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.trece-section-title            { text-align: center; margin-bottom: 50px; }
.trece-section-title h2         { font-size: 2.2rem; font-weight: 800; margin: 0 0 10px 0; }
.trece-section-title p          { font-size: 1.1rem; margin: 0; }

/* Olas decorativas */
.vc_row:has(.trece-wave-top),
.vc_row:has(.trece-wave-bottom),
.wpb_column:has(.trece-wave-top),
.wpb_column:has(.trece-wave-bottom) {
    overflow: visible !important;
}

.trece-wave-top,
.trece-wave-bottom {
    position: absolute;
    left: 50%;
    width: 100vw;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
    transform: translateX(-50%);
}

.trece-wave-top    { top: 0;    transform: translateX(-50%) translateY(-1px); }
.trece-wave-bottom { bottom: 0; transform: translateX(-50%) translateY(1px); }

.trece-wave-top svg,
.trece-wave-bottom svg { display: block; width: 100%; height: 60px; }

.trece-fill-dark  { fill: #242424; }
.trece-fill-light { fill: #ffffff; }

/* --- Por qué elegirnos --- */
.trece-why-section {
    background: linear-gradient(135deg, #2c2c2c 0%, #3a3a3a 50%, #2c2c2c 100%);
    color: #ffffff;
    padding: 100px 0;
    position: relative;
}

.trece-why-section .trece-section-title p { color: #b0b3b8; }

.trece-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.trece-why-card {
    background-color: #3a3d45;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 30px;
    transition: transform 0.3s ease;
}

.trece-why-card:hover { transform: translateY(-5px); }

.trece-why-icon {
    width: 45px; height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.trece-why-icon svg { width: 22px; height: 22px; fill: white; }

.trece-why-card h3 { font-size: 1.2rem; margin: 0 0 10px 0; color: white; }
.trece-why-card p  { font-size: 0.9rem; color: #b0b3b8; line-height: 1.6; margin: 0; }

/* --- Somos InstallMove --- */
.trece-about-section {
    background-color: #242424;
    color: #ffffff;
    padding: 60px 0 100px 0;
    position: relative;
}

.trece-about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 40px;
}

.trece-about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 500px;
}

.trece-about-image-wrapper img { width: 100%; height: 100%; object-fit: cover; }

.trece-about-image-overlay {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    padding: 30px 20px 20px;
    color: white;
}

.trece-about-image-overlay h3  { font-size: 1.5rem; margin: 0 0 15px 0; font-weight: 600; }
.trece-about-tags              { display: flex; gap: 10px; flex-wrap: wrap; }

.trece-about-tag {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.trece-about-tag svg { width: 14px; height: 14px; fill: white; }

.trece-about-text .trece-badge-small {
    background-color: rgba(74,111,165,0.2);
    color: #8ab4f8;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 15px;
}

.trece-about-text .trece-badge-small svg { width: 12px; height: 12px; fill: currentColor; }

.trece-about-text h2 { font-size: 2.2rem; margin: 0 0 20px 0; color: white; }
.trece-about-text p  { font-size: 0.95rem; color: #b0b3b8; line-height: 1.7; margin-bottom: 15px; }

.trece-about-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.trece-promise-box {
    background-color: #33363d;
    border-left: 4px solid #4a6fa5;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
}

.trece-promise-box p { margin: 0; font-style: italic; font-size: 0.95rem; color: #d1d5db; }

.trece-about-stats               { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.trece-about-stat-box            { background-color: #33363d; padding: 15px; border-radius: 10px; text-align: center; }
.trece-about-stat-box h4         { font-size: 1.4rem; color: #8ab4f8; margin: 0 0 5px 0; font-weight: bold; }
.trece-about-stat-box p          { font-size: 0.75rem; color: #b0b3b8; margin: 0; }

/* -----------------------------------------------
   8. FAQ
   ----------------------------------------------- */
.trece-faq-wrapper {
    background-color: #fcfcfc;
    padding: 80px 0 0 0;
    color: #111827;
}

.trece-faq-wrapper .trece-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.trece-faq-wrapper .trece-section-header   { text-align: center; margin-bottom: 50px; }
.trece-faq-wrapper .trece-section-header h2 { font-size: 2.2rem; font-weight: 800; margin: 0 0 10px 0; color: #111827; }
.trece-faq-wrapper .trece-section-header p  { font-size: 1.1rem; color: #6b7280; margin: 0; }

.trece-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #eef2f6;
    color: #4a6fa5;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.trece-badge-pill svg { width: 14px; height: 14px; fill: currentColor; }

.trece-faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 80px;
}

.trece-faq-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.02);
    overflow: hidden;
}

.trece-faq-item summary {
    list-style: none;
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1rem;
    color: #111827;
    user-select: none;
}

.trece-faq-item summary::-webkit-details-marker { display: none; }

.trece-faq-icon {
    width: 32px; height: 32px;
    background-color: #eef2f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.trece-faq-icon svg {
    width: 12px; height: 12px;
    stroke: #4a6fa5;
    stroke-width: 2.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.trece-faq-item[open] .trece-faq-icon { transform: rotate(180deg); }

.trece-faq-answer {
    padding: 0 30px 25px 30px;
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
    animation: trece-fade-in 0.4s ease-in-out;
}

.trece-faq-answer p { margin: 0; }

@keyframes trece-fade-in {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.trece-bottom-wave          { display: block; width: 100%; line-height: 0; }
.trece-bottom-wave svg      { width: 100%; height: auto; max-height: 100px; }

/* -----------------------------------------------
   9. TESTIMONIOS + CTA
   ----------------------------------------------- */
.trece-footer-sections { overflow-x: hidden; }

.trece-footer-sections .trece-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.trece-testimonials-sec {
    background-color: #1a1c23;
    padding: 80px 0 40px 0;
    color: #ffffff;
}

.trece-sec-header         { text-align: center; margin-bottom: 50px; }
.trece-sec-header h2      { font-size: 2.2rem; font-weight: 800; margin: 0 0 10px 0; color: white; }
.trece-sec-header p       { font-size: 1.1rem; color: #9ca3af; margin: 0; }

.trece-testimonial-card {
    background-color: #2c2f36;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.trece-quote-bg {
    position: absolute;
    top: 30px; right: 30px;
    width: 60px; height: 60px;
    fill: rgba(74,111,165,0.15);
}

.trece-stars          { display: flex; gap: 5px; margin-bottom: 25px; }
.trece-stars svg      { width: 18px; height: 18px; fill: #d4765a; }

.trece-quote-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #e5e7eb;
    margin: 0 0 30px 0;
    position: relative;
    z-index: 2;
}

.trece-quote-text strong { color: white; }

.trece-divider {
    border: none;
    height: 1px;
    background-color: rgba(255,255,255,0.1);
    margin-bottom: 20px;
}

.trece-author h4 { font-size: 1.1rem; margin: 0 0 5px 0; color: white; }
.trece-author p  { font-size: 0.85rem; color: #9ca3af; margin: 0; }

.trece-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.trece-arrow-btn {
    background-color: rgba(255,255,255,0.08);
    border: none;
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
}

.trece-arrow-btn:hover { background-color: rgba(255,255,255,0.15); }

.trece-arrow-btn svg {
    width: 16px; height: 16px;
    stroke: white; stroke-width: 2;
    fill: none;
    stroke-linecap: round; stroke-linejoin: round;
}

.trece-dots         { display: flex; gap: 8px; align-items: center; }
.trece-dot          { width: 6px; height: 6px; border-radius: 50%; background-color: rgba(255,255,255,0.3); }
.trece-dot.active   { width: 20px; border-radius: 10px; background-color: #4a6fa5; }

/* CTA */
.trece-cta-sec {
    background: radial-gradient(circle at top center, #5980ba 0%, #355380 100%);
    padding: 60px 0 80px 0;
    color: white;
    text-align: center;
    position: relative;
}

.trece-cta-wave-top {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    line-height: 0;
    transform: translateY(-98%);
}

.trece-cta-wave-top svg { width: 100%; height: 80px; }

.trece-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 25px;
    backdrop-filter: blur(5px);
}

.trece-cta-badge svg { width: 14px; height: 14px; fill: none; stroke: white; stroke-width: 2; }

.trece-cta-sec h2 { font-size: 2.8rem; font-weight: 800; margin: 0 0 15px 0; line-height: 1.2; color: white; }
.trece-cta-sec p  { font-size: 1.1rem; color: #e2e8f0; margin: 0 0 40px 0; }

.trece-main-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #ffffff;
    color: #4a6fa5;
    padding: 16px 36px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 60px;
}

.trece-main-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    color: #4a6fa5;
    text-decoration: none;
}

.trece-btn-icon {
    background-color: #4a6fa5;
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trece-btn-icon svg { width: 14px; height: 14px; fill: none; stroke: white; stroke-width: 2; }

.trece-cta-features       { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }

.trece-cta-feature-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
}

.trece-cta-feature-pill svg { width: 16px; height: 16px; fill: white; }

/* -----------------------------------------------
   10. FOOTER
   ----------------------------------------------- */
.trece-footer {
    background-color: #242424;
    color: #9ca3af;
    padding: 80px 0 20px 0;
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.trece-footer * { box-sizing: border-box; }

.trece-footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.trece-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.trece-footer-brand    { margin-bottom: 40px; }
.trece-footer-logo     { height: 50px; margin-bottom: 15px; }

.trece-footer-company {
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    margin: 0 0 10px 0;
    letter-spacing: 1px;
}

.trece-footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    max-width: 400px;
}

.trece-footer h3 { color: #ffffff; font-size: 1.1rem; font-weight: 700; margin: 0 0 20px 0; }

.trece-icon-text {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.trece-icon-box {
    width: 38px; height: 38px;
    background-color: #33363d;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trece-icon-box svg {
    width: 18px; height: 18px;
    stroke: #9ca3af; stroke-width: 2;
    fill: none;
    stroke-linecap: round; stroke-linejoin: round;
}

.trece-text-content p  { margin: 0 0 4px 0; font-size: 0.9rem; line-height: 1.5; }
.trece-text-label      { color: #6b7280 !important; font-size: 0.85rem !important; }
.trece-text-blue       { color: #4a6fa5 !important; font-size: 0.85rem !important; margin-top: 6px !important; }

.trece-footer-links    { list-style: none; padding: 0; margin: 0 0 25px 0; }
.trece-footer-links li { margin-bottom: 12px; }
.trece-footer-links a  { color: #9ca3af; text-decoration: none; font-size: 0.95rem; transition: color 0.3s ease; }
.trece-footer-links a:hover { color: #ffffff; }

.trece-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 25px;
    text-align: center;
    font-size: 0.85rem;
    color: #6b7280;
}

/* Botón volver arriba */
.trece-scroll-top-btn {
    position: fixed;
    bottom: 40px; right: 40px;
    width: 50px; height: 50px;
    background-color: #4a6fa5;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.trece-scroll-top-btn.trece-show { opacity: 1; visibility: visible; transform: translateY(0); }
.trece-scroll-top-btn:hover   { background-color: #37547e; transform: translateY(-5px); }

.trece-scroll-top-btn svg {
    width: 24px; height: 24px;
    stroke: white; stroke-width: 2.5;
    fill: none;
    stroke-linecap: round; stroke-linejoin: round;
}

/* -----------------------------------------------
   11. RESPONSIVE
   ----------------------------------------------- */
@media (max-width: 992px) {
    .hero-content       { flex-direction: column; text-align: center; }
    .hero-text          { max-width: 100%; }
    .btn-group          { justify-content: center; }
    .floating-card      { right: 50%; transform: translateX(50%); }
    .features-grid      { grid-template-columns: repeat(2, 1fr); }
    .trece-stats-grid      { grid-template-columns: repeat(2, 1fr); }
    .trece-about-layout    { grid-template-columns: 1fr; gap: 30px; }
    .trece-about-image-wrapper { height: 400px; }
    .trece-about-bottom    { grid-template-columns: 1fr; }
    .trece-steps-grid      { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .trece-steps-line      { display: none; }
}

@media (max-width: 768px) {
    .trece-services-grid                   { grid-template-columns: 1fr; }
    .trece-guarantee-banner                { grid-template-columns: 1fr; padding: 25px; }
    .trece-services-wrapper .trece-header h2  { font-size: 2rem; }
    .trece-wrapper-ba .trece-section-header h2 { font-size: 1.8rem; }
    .trece-comparison-row                  { flex-direction: column; gap: 15px; margin-bottom: 60px; }
    .trece-image-card                      { width: 100%; }
    .trece-arrow-circle svg                { transform: rotate(90deg); }
    .trece-why-grid                        { grid-template-columns: 1fr; }
    .trece-about-stats                     { grid-template-columns: 1fr; }
    .trece-steps-grid                      { grid-template-columns: 1fr; }
    .trece-faq-wrapper .trece-section-header h2 { font-size: 1.8rem; }
    .trece-faq-item summary                { padding: 20px; font-size: 0.95rem; gap: 15px; }
    .trece-faq-answer                      { padding: 0 20px 20px 20px; }
    .trece-sec-header h2                   { font-size: 1.8rem; }
    .trece-testimonial-card                { padding: 30px 20px; }
    .trece-quote-text                      { font-size: 1.1rem; }
    .trece-cta-sec h2                      { font-size: 2rem; }
    .trece-main-btn                        { padding: 14px 28px; font-size: 1rem; width: 100%; justify-content: center; }
    .trece-cta-features                    { flex-direction: column; }
    .trece-cta-feature-pill                { justify-content: center; }
    .trece-footer-grid                     { grid-template-columns: 1fr; gap: 40px; }
    .trece-scroll-top-btn                  { bottom: 20px; right: 20px; }
}

@media (max-width: 576px) {
    .hero-text h1   { font-size: 2.2rem; }
    .btn-group      { flex-direction: column; }
    .features-grid  { grid-template-columns: 1fr; }
}

/* -----------------------------------------------
   12. CONTAINER GENÉRICO
   ----------------------------------------------- */
.trece-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* -----------------------------------------------
   13. ABOUT SECTION — clases faltantes (trece-)
   ----------------------------------------------- */
.trece-about-tags { display: flex; gap: 10px; flex-wrap: wrap; }

.trece-about-text .trece-badge-small {
    background-color: rgba(74, 111, 165, 0.2);
    color: #8ab4f8;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 15px;
}
.trece-about-text .trece-badge-small svg { width: 12px; height: 12px; fill: currentColor; }
.trece-about-text h2 { font-size: 2.2rem; margin: 0 0 20px 0; color: #ffffff; }
.trece-about-text p  { font-size: 0.95rem; color: #b0b3b8; line-height: 1.7; margin-bottom: 15px; }

.trece-about-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.trece-promise-box {
    background-color: #33363d;
    border-left: 4px solid #4a6fa5;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
}
.trece-promise-box p { margin: 0; font-style: italic; font-size: 0.95rem; color: #d1d5db; }

.trece-about-stats        { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.trece-about-stat-box     { background-color: #33363d; padding: 15px; border-radius: 10px; text-align: center; }
.trece-about-stat-box h4  { font-size: 1.4rem; color: #8ab4f8; margin: 0 0 5px 0; font-weight: bold; }
.trece-about-stat-box p   { font-size: 0.75rem; color: #b0b3b8; margin: 0; }

/* -----------------------------------------------
   14. HOW IT WORKS / STEP CARDS (trece-step-*)
   ----------------------------------------------- */
.trece-how-section {
    background-color: #ffffff;
    color: #1f2937;
    padding: 60px 0 100px 0;
}
.trece-how-section .trece-section-title h2 { color: #1f2937; }
.trece-how-section .trece-section-title p  { color: #6b7280; }

/* Row container */
.trece-steps-container {
    position: relative;
    overflow: visible !important;
}

/*
 * Grid de los cards: los step-cards van todos en un único wpb_wrapper,
 * así que es ese div el que actúa como grid de 4 columnas.
 */
.trece-steps-container .wpb_wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

/* Línea de conexión horizontal mediante ::before sobre el wrapper */
.trece-steps-container .wpb_wrapper::before {
    content: '';
    position: absolute;
    top: 90px;
    left: 12.5%;
    right: 12.5%;
    height: 3px;
    background: linear-gradient(90deg, #4a6fa5, #d4765a);
    transform-origin: left;
    transform: scaleX(0);
    opacity: 0;
    transition: transform 1.5s ease-in-out, opacity 0.4s ease;
    z-index: 0;
    border-radius: 3px;
    pointer-events: none;
}
.trece-steps-container.trece-visible .wpb_wrapper::before {
    transform: scaleX(1);
    opacity: 1;
}

.trece-step-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid #f3f4f6;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.5s ease-out, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.trece-step-check {
    position: absolute;
    top: -10px; right: -10px;
    width: 26px; height: 26px;
    background-color: #38a169;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    opacity: 0;
    transform: scale(0);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
}
.trece-step-check svg { width: 12px; height: 12px; stroke: white; stroke-width: 3; fill: none; }

/* Visibilidad al activar trece-visible */
.trece-steps-container.trece-visible .trece-step-card  { opacity: 1; transform: translateY(0); }
.trece-steps-container.trece-visible .trece-step-check { opacity: 1; transform: scale(1); }

/* Cascada de delays — nth-child sobre los cards directamente (son hermanos en wpb_wrapper) */
.trece-steps-container .trece-step-card:nth-child(1)                   { transition-delay: 0.2s; }
.trece-steps-container .trece-step-card:nth-child(1) .trece-step-check { transition-delay: 0.6s; }
.trece-steps-container .trece-step-card:nth-child(2)                   { transition-delay: 0.9s; }
.trece-steps-container .trece-step-card:nth-child(2) .trece-step-check { transition-delay: 1.3s; }
.trece-steps-container .trece-step-card:nth-child(3)                   { transition-delay: 1.6s; }
.trece-steps-container .trece-step-card:nth-child(3) .trece-step-check { transition-delay: 2.0s; }
.trece-steps-container .trece-step-card:nth-child(4)                   { transition-delay: 2.3s; }
.trece-steps-container .trece-step-card:nth-child(4) .trece-step-check { transition-delay: 2.7s; }

.trece-step-icon {
    width: 60px; height: 60px;
    background-color: #37547e;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}
.trece-step-icon svg { width: 28px; height: 28px; fill: white; }
.trece-step-card h4  { font-size: 1.1rem; font-weight: 800; margin: 0 0 10px 0; }
.trece-step-card p   { font-size: 0.85rem; color: #6b7280; line-height: 1.5; margin: 0; }

@media (max-width: 992px) {
    .trece-about-bottom { grid-template-columns: 1fr; }
    .trece-steps-container .wpb_wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .trece-steps-container .wpb_wrapper::before { display: none; }
}
@media (max-width: 768px) {
    .trece-about-stats { grid-template-columns: 1fr; }
    .trece-steps-container .wpb_wrapper { grid-template-columns: 1fr; }
}
