/*
Theme Name: Tesoro AI
Author: Quantum Academy team
Version: 2.1
Description: Custom theme for Tesoro AI.
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* Variables Globales */
:root {
    /* Font Families */
    --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Tamaños de Fuente */
    --font-size-h1: 58px;
    --font-size-h2: 48px;
    --font-size-h3: 24px;
    --font-size-body: 18px;
    --font-size-small: 16px;
    --font-size-intro: 20px;
    /* Nuevo estándar para subtítulos de sección */

    /* Font Weights */
    --weight-light: 300;
    --weight-normal: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    --weight-extrabold: 800;

    /* Button Styling */
    --btn-padding: 12px 28px;
    --btn-radius: 25px;
    --btn-font-size: 14px;
    --btn-weight: 600;

    /* Colores de Marca */
    --color-primary: #07393b;
    --color-secondary: #3c7b7d;
    --color-accent: #64babd;
    --color-accent: #64babd;
    --color-gold: #bfa061;
    --color-text-muted: #4b5563;
    /* Color estándar para textos secundarios */
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    color: var(--color-primary);
}

h1 {
    font-size: var(--font-size-h1);
    font-weight: var(--weight-extrabold);
}

h2 {
    font-size: var(--font-size-h2);
    font-weight: var(--weight-bold);
}

h3 {
    font-size: var(--font-size-h3);
    font-weight: var(--weight-bold);
}

body {
    font-size: var(--font-size-body);
    font-weight: var(--weight-normal);
    line-height: 1.6;
    color: #1a1a1a;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo img {
    max-height: 45px;
    width: auto;
    display: block;
}

.custom-logo-link {
    display: block;
}

.logo-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #2e6a6c 0%, #64babd 100%);
    border-radius: 50%;
}

nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

/* Hamburger Menu Button */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background: #07393b;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-menu:hover span {
    background: #3c7b7d;
}

/* Mobile Sidebar Overlay */
.mobile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 57, 59, 0.8);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85%;
    height: 100%;
    background: white;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-sidebar.active {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.sidebar-logo {
    font-size: 20px;
    font-weight: 700;
    color: #07393b;
}

.sidebar-close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #07393b;
    transition: all 0.2s;
}

.sidebar-close:hover {
    background: #f1f5f9;
    border-radius: 8px;
}

.sidebar-nav {
    padding: 20px;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 8px;
}

.sidebar-menu li a {
    display: block;
    padding: 12px 16px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s;
}

.sidebar-menu li a:hover {
    background: #f9fafb;
    color: #3c7b7d;
}

.sidebar-menu .sub-menu {
    list-style: none;
    padding-left: 20px;
    margin-top: 8px;
}

.sidebar-menu .sub-menu li a {
    font-size: 14px;
    padding: 10px 16px;
}

.sidebar-cta {
    margin-top: 20px;
    width: 100%;
    text-align: center;
    display: block;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .hamburger-menu {
        display: flex;
    }

    .desktop-nav {
        display: none;
    }
}

/* Navigation Overlay (Mobile only) */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 57, 59, 0.8);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: none;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Main Navigation - Responsive */
.main-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-close {
    display: none;
}

@media (max-width: 992px) {
    .nav-overlay {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        max-width: 85%;
        height: 100%;
        background: white;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
        z-index: 9999;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 20px;
    }

    .main-nav.active {
        right: 0;
    }

    .nav-close {
        display: flex;
        align-self: flex-end;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 8px;
        margin-bottom: 20px;
        color: #07393b;
        transition: all 0.2s;
    }

    .nav-close:hover {
        background: #f1f5f9;
        border-radius: 8px;
    }

    .main-nav .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 0;
    }

    .main-nav .nav-menu li {
        width: 100%;
        margin-bottom: 8px;
    }

    .main-nav .nav-menu li a {
        display: block;
        padding: 12px 16px;
        border-radius: 8px;
    }

    .main-nav .nav-menu li a:hover {
        background: #f9fafb;
    }

    .main-nav .nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        margin-top: 8px;
        background: transparent;
        border: none;
    }

    .main-nav .nav-menu .sub-menu li a {
        font-size: 14px;
        padding: 10px 16px;
    }

    .main-nav .nav-cta {
        margin-top: 20px;
        width: 100%;
        text-align: center;
    }
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu li a {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 14px;
    transition: color 0.2s;
}

.nav-menu li a:hover {
    color: #2e6a6c;
}

/* Dropdown / Submenu Styles */
.nav-menu li {
    position: relative;
}

.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    list-style: none;
    margin: 0;
    padding: 10px 0;
    border-radius: 8px;
    border: 1px solid #f3f4f6;
}

.nav-menu li:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu li {
    width: 100%;
}

.nav-menu .sub-menu li a {
    display: block;
    padding: 10px 20px;
    color: #4b5563;
    font-size: 14px;
    transition: all 0.2s;
}

.nav-menu .sub-menu li a:hover {
    background: #f9fafb;
    color: #2e6a6c;
}

.custom-header-cta {
    margin-left: 0;
    /* Adjust if needed */
}

.btn-primary {
    background: var(--color-primary);
    color: white;
    padding: var(--btn-padding);
    border-radius: var(--btn-radius);
    text-decoration: none;
    font-size: var(--btn-font-size);
    font-weight: var(--btn-weight);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(7, 57, 59, 0.3);
    background: #2e6a6c;
}

.btn-secondary-outline {
    background: transparent;
    color: var(--color-primary);
    padding: var(--btn-padding);
    border-radius: var(--btn-radius);
    text-decoration: none;
    font-size: var(--btn-font-size);
    font-weight: var(--btn-weight);
    border: 2px solid var(--color-primary);
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
}

.btn-secondary-outline:hover {
    background: #07393b;
    color: white;
}

/* Page Templates */
.page-content {
    padding: 120px 20px 80px;
    /* Top padding supplements fixed header */
    min-height: 60vh;
    background: #fff;
}

.page-content h1 {
    font-size: 48px;
    margin-bottom: 30px;
    text-align: center;
}

.page-content h2 {
    font-size: var(--font-size-h2);
    margin: 40px 0 20px;
    color: #1a1a1a;
}

.page-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
  	padding: 190px 60px 80px;
  	min-height: 60vh;
    gap: 60px;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
}

.hero-content h1 {
    font-size: var(--font-size-h1);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #07393b;
}

.hero-content p {
    font-size: var(--font-size-intro);
    color: var(--color-text-muted);
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.profile-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
    max-width: 350px;
}

.profile-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.profile-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.profile-info p {
    font-size: 14px;
    color: #666;
}

.purple-blob {
    position: absolute;
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #2e6a6c 0%, #64babd 100%);
    border-radius: 50% 40% 60% 50%;
    top: -50px;
    right: -50px;
    z-index: 0;
    animation: blobFloat 8s ease-in-out infinite;
}

@keyframes blobFloat {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(10px, -10px) rotate(5deg);
    }

    66% {
        transform: translate(-10px, 10px) rotate(-5deg);
    }
}

/* Trusted Companies Section */
.trusted-companies {
    background: white;
    padding: 60px 60px 80px;
    overflow: hidden;
}

.trusted-title {
    text-align: center;
    color: #666;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.logo-carousel {
    overflow: hidden;
    position: relative;
}

.logo-track {
    display: flex;
    gap: 60px;
    animation: scroll 30s linear infinite;
}

.logo-track.no-scroll {
    animation: none;
    justify-content: center;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.company-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Problem Section */
.problem-section {
    background-color: #ffffff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 60px;
    position: relative;
    z-index: 1;
}

.problem-content h2 {
    font-size: var(--font-size-h2);
    text-align: center;
    margin-bottom: 20px;
    font-weight: var(--weight-bold);
}

.problem-intro {
    text-align: center;
    font-size: var(--font-size-intro);
    color: var(--color-text-muted);
    max-width: 900px;
    margin: 0 auto 60px;
    line-height: 1.7;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.problem-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.problem-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 700;
}

.problem-card p {
    color: #666;
    line-height: 1.6;
}

.philosophical-problem {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.philosophical-problem blockquote {
    font-size: 24px;
    font-style: italic;
    color: #666;
    line-height: 1.6;
    padding: 40px;
    background: linear-gradient(135deg, #07393b 0%, #3c7b7d 100%);
    border-radius: 20px;
    color: white;
}

/* Stats Section */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 80px 60px;
    background: white;
}

.stat-card {
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s;
}

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

.stat-card.green {
    background: #64babd;
}

.stat-card.pink {
    background: #3c7b7d;
}

.stat-card.purple {
    background: #2e6a6c;
}

.stat-card.yellow {
    background: #64babd;
}

.stat-card h2 {
    font-size: var(--font-size-h2);
    font-weight: var(--weight-extrabold);
    margin-bottom: 10px;
    color: #1a1a1a;
}

.stat-card p {
    font-size: 16px;
    line-height: 1.5;
}

/* Guide Section */
.guide-section {
    background: #f8f9fa;
    padding: 80px 60px;
}

.guide-content h2 {
    font-size: var(--font-size-h2);
    text-align: center;
    margin-bottom: 60px;
    font-weight: var(--weight-bold);
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.guide-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.guide-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 700;
}

.guide-card p {
    color: #666;
    line-height: 1.7;
}

/* Plan Section */
.plan-section {
    padding: 100px 60px;
    background: #fff;
}

.plan-section h2 {
    font-size: var(--font-size-h2);
    text-align: center;
    margin-bottom: 20px;
    font-weight: var(--weight-bold);
}

.plan-subtitle {
    text-align: center;
    font-size: var(--font-size-intro);
    color: var(--color-text-muted);
    margin-bottom: 20px;
}



/* Simple Stepper Layout */
.simple-stepper-container {
    max-width: 800px;
    margin: 60px auto 80px;
    padding: 20px;
    min-height: auto;
}

/* Indicators */
.stepper-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
    gap: 15px;
}

.step-indicator {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    z-index: 2;
}

.step-indicator.active {
    background: #3c7b7d;
    color: white;
    box-shadow: 0 0 0 4px rgba(60, 123, 125, 0.2);
}

.step-indicator.completed {
    background: #3c7b7d;
    color: white;
}

.step-line {
    width: 60px;
    height: 2px;
    background: #e2e8f0;
    flex-shrink: 0;
}

.step-label-mobile {
    display: none;
}

/* Step Card */
.stepper-content-wrapper {
    position: relative;
    min-height: 350px;
}

.step-card {
    background: white;
    padding: 50px;
    border-radius: 24px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    z-index: 10;
}

.step-header {
    margin-bottom: 25px;
}

.step-number-big {
    font-size: 80px;
    font-weight: 900;
    color: rgba(60, 123, 125, 0.1);
    line-height: 1;
    display: block;
    margin-bottom: -20px;
    z-index: 0;
}

.step-card h3 {
    font-size: 28px;
    color: #07393b;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.step-card p {
    font-size: 18px;
    line-height: 1.6;
    color: #475569;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Actions */
.step-actions {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: auto;
}

.btn-prev {
    background: transparent;
    border: none;
    color: #64748b;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
    padding: 10px 20px;
    transition: color 0.2s;
}

.btn-prev:hover {
    color: #0f172a;
}

.btn-next,
.btn-finish {
    background: #3c7b7d;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-next:hover,
.btn-finish:hover {
    background: #2a5a5c;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(60, 123, 125, 0.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .simple-stepper-container {
        padding: 0 15px;
        margin: 40px auto 60px;
    }

    .stepper-indicators {
        gap: 8px;
        margin-bottom: 30px;
    }

    .step-line {
        width: 20px;
    }

    .step-indicator {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .step-card {
        padding: 30px 20px;
        min-height: auto;
    }

    .step-number-big {
        font-size: 60px;
        margin-bottom: -15px;
    }

    .step-card h3 {
        font-size: 22px;
    }

    .step-card p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .step-actions {
        flex-direction: column-reverse;
        /* Stack buttons on mobile */
        gap: 15px;
        align-items: center;
    }

    .btn-prev {
        padding: 10px;
        width: 100%;
        text-align: center;
    }

    .btn-next,
    .btn-finish {
        width: 100%;
        text-align: center;
    }
}

@keyframes stepJump {
    0% {
        opacity: 0;
        filter: blur(3px);
    }

    60% {
        opacity: 1;
        filter: blur(0);
    }

    80% {
        transform: scale(1.05);
    }

    100% {
        opacity: 1;
        filter: blur(0);
        transform: scale(1);
    }
}

.plan-step-v2.step-active {
    cursor: pointer;
    border: 2px solid #3c7b7d;
    background: #fdfdfd;
    animation: borderPulse 2s infinite;
}

@keyframes borderPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(60, 123, 125, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(60, 123, 125, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(60, 123, 125, 0);
    }
}

.plan-step-v2.step-active:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(60, 123, 125, 0.2);
}

.step-badge {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.step-num {
    width: 50px;
    height: 50px;
    background: #07393b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    box-shadow: 0 5px 15px rgba(7, 57, 59, 0.2);
    flex-shrink: 0;
}

.click-hint {
    font-size: 14px;
    color: #3c7b7d;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulseHint 2s infinite;
    transition: opacity 0.3s;
}

@keyframes pulseHint {
    0% {
        transform: translateX(0);
        opacity: 0.7;
    }

    50% {
        transform: translateX(5px);
        opacity: 1;
    }

    100% {
        transform: translateX(0);
        opacity: 0.7;
    }
}

.step-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.step-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* Outcome styling fix */
.plan-outcome {
    background: linear-gradient(135deg, #07393b 0%, #3c7b7d 100%);
    color: white;
    padding: 25px 40px;
    font-style: italic;
    border-radius: 12px;
    text-align: center;
    font-size: 24px;
    max-width: 900px;
    margin: 40px auto;
    box-shadow: 0 10px 30px rgba(7, 57, 59, 0.1);
}

@media (max-width: 992px) {
    .plan-container {
        min-height: 1100px;
        padding: 40px 20px;
    }

    .plan-step-v2 {
        width: 85%;
        max-width: 400px;
    }

    .plan-step-v2:nth-child(1) {
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .plan-step-v2:nth-child(2) {
        top: 35%;
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
    }

    .plan-step-v2:nth-child(3) {
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .plan-step-v2.step-locked:nth-child(1),
    .plan-step-v2.step-locked:nth-child(3) {
        transform: translateX(-50%) translateY(50px) scale(0.95);
    }

    .plan-step-v2.step-locked:nth-child(2) {
        transform: translateX(-50%) translateY(-50%) translateY(50px) scale(0.95);
    }

    .plan-step-v2.step-revealed:nth-child(1),
    .plan-step-v2.step-revealed:nth-child(3) {
        transform: translateX(-50%);
    }

    .plan-step-v2.step-revealed:nth-child(2) {
        transform: translateX(-50%) translateY(-50%);
    }
}



.failure-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 80px 60px;
    color: white;
}

.failure-content h2 {
    font-size: 48px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    color: white;
}

.failure-intro {
    text-align: center;
    font-size: 20px;
    max-width: 900px;
    margin: 0 auto 60px;
    opacity: 0.9;
}

.failure-timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto 60px;
}

.failure-stage {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #fca5a5;
}

.failure-stage h3 {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 700;
    color: #fca5a5;
}

.failure-stage p {
    opacity: 0.9;
    line-height: 1.6;
}

.failure-arrow {
    text-align: center;
    font-size: 40px;
    color: #fca5a5;
}

.failure-callout {
    background: rgba(252, 165, 165, 0.1);
    padding: 30px;
    border-radius: 15px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 18px;
    border: 2px solid #fca5a5;
}

/* Success Section */
.success-section {
    background: white;
    padding: 80px 60px;
}

.success-section h2 {
    font-size: 48px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.success-subtitle {
    text-align: center;
    font-size: var(--font-size-intro);
    color: var(--color-text-muted);
    margin-bottom: 60px;
}

.success-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.success-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.success-icon {
    width: 48px;
    height: 48px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: #3c7b7d;
}

.success-card h3 {
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: 700;
    color: #07393b;
}

.before-after {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.before,
.after {
    padding: 0;
    background: transparent;
}

.before strong {
    display: block;
    color: #ef4444;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.after strong {
    display: block;
    color: #10b981;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.before p,
.after p {
    color: #4b5563;
    line-height: 1.6;
    font-size: 15px;
}

.soundbite {
    background: #3c7b7d;
    color: white;
    padding: 18px 24px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 15px;
    font-style: italic;
    margin-top: auto;
    line-height: 1.5;
}

.transformation-box {
    background: linear-gradient(135deg, #64babd 0%, #3c7b7d 100%);
    padding: 50px;
    border-radius: 20px;
    max-width: 1000px;
    margin: 0 auto;
    color: white;
}

.transformation-box h3 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

.transformation-statement {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 18px;
}

.from {
    opacity: 0.8;
}

/* AI Talent / Roles Section */
.home-ai-talent {
    padding: 100px 0;
    background: #ffffff;
}

.ai-talent-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.ai-talent-content .section-title {
    text-align: center;
    margin-bottom: 25px;
}

.ai-talent-content .section-text {
    font-size: var(--font-size-intro);
    line-height: 1.8;
    color: var(--color-text-muted);
    max-width: 800px;
    margin: 0 auto;
}


.roles-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.roles-track {
    display: flex;
    width: max-content;
    animation: scrollRoles 40s linear infinite;
    align-items: flex-end;
    will-change: transform;
}

.roles-track:hover {
    animation-play-state: paused;
}

@keyframes scrollRoles {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.role-circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    flex-shrink: 0;
    width: 200px;
    margin-right: 80px;
    /* Consistent spacing for seamless loop */
    backface-visibility: hidden;
}

.role-name {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    max-width: 140px;
    line-height: 1.4;
    min-height: 40px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.roles-microcopy {
    text-align: center;
    font-size: var(--font-size-intro);
    color: var(--color-text-muted);
    font-weight: 500;
    margin-top: 20px;
    letter-spacing: 0.5px;
}

.role-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid #07393b;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #07393b;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.role-circle-item:hover .role-circle {
    background: #07393b;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(7, 57, 59, 0.2);
}

.role-circle svg {
    width: 40px;
    height: 40px;
}

@media (max-width: 768px) {
    .roles-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Why Tesoro Section */
.home-why {
    padding: 100px 0;
    background: #07393b;
    color: white;
}

.why-content-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.accent-line {
    width: 60px;
    height: 4px;
    background: #64babd;
    margin: 0 auto 30px;
}

.home-why h2 {
    font-size: var(--font-size-h2);
    font-weight: 800;
    margin-bottom: 15px;
    color: white;
}

.why-subtitle {
    font-size: var(--font-size-intro);
    color: #64babd;
    margin-bottom: 30px;
}

.home-why p {
    font-size: var(--font-size-intro);
    line-height: 1.8;
    color: var(--color-text-muted);
    opacity: 0.9;
    margin-bottom: 40px;
}

.why-bullets {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 600px;
    text-align: left;
}

.why-bullets li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.5;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid rgba(100, 186, 189, 0.2);
    transition: all 0.3s ease;
}

.why-bullets li:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
    border-color: #64babd;
}

.why-bullets li span {
    opacity: 0.95;
    font-weight: 500;
}

/* Key Value Props */
.home-values {
    padding: 100px 0;
    background: #fcfcfc;
}

.home-values .values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-prop-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid #f1f5f9;
    transition: transform 0.3s ease;
}

.value-prop-card:hover {
    transform: translateY(-5px);
    border-color: #64babd;
}

.value-prop-card h3 {
    font-size: 22px;
    color: #07393b;
    margin-bottom: 20px;
    font-weight: 700;
}

.value-prop-card p {
    color: #4b5563;
    line-height: 1.7;
}

/* Clean CTA Section */
.home-cta-new {
    padding: 100px 0;
    background: linear-gradient(135deg, #07393b 0%, #3c7b7d 100%);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.home-cta-new h2 {
    font-size: 52px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.home-cta-new .cta-subtitle {
    font-size: var(--font-size-intro);
    color: #ffffff;
    margin-bottom: 50px;
    font-weight: 600;
    opacity: 1;
}

.home-cta-new .cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.home-cta-new .cta-actions .btn-primary {
    display: inline-block;
    padding: 20px 50px;
    font-size: 18px;
    font-weight: 700;
    background: #ffffff;
    color: #07393b;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.home-cta-new .cta-actions .btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background: #64babd;
    color: white;
}

.home-cta-new .cta-actions .cta-secondary {
    display: inline-block;
    padding: 18px 45px;
    font-size: 18px;
    font-weight: 700;
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.home-cta-new .cta-actions .cta-secondary:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: #64babd;
    color: white;
}

/* Insights Section */
.home-insights {
    padding: 100px 0;
    background: #f8f9fa;
}

.insights-box {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.insights-box h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 800;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    text-align: center;
    padding: 100px 60px;
    position: relative;
    overflow: hidden;
    color: white;
}

.wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: white;
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 100%);
}

.cta-section h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 800;
}

.cta-section p {
    font-size: var(--font-size-intro);
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn-secondary {
    background: #64babd;
    color: white;
    padding: 18px 45px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    display: inline-block;
    transition: all 0.3s;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(100, 186, 189, 0.4);
    background: #3c7b7d;
}


/* Testimonial Section Refactor */
.testimonial {
    padding: 80px 60px;
    background: white;
}

.testimonial h2 {
    font-size: 48px;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
}

.testimonial-carousel {
    overflow: hidden;
    padding: 20px 0;
}

.testimonial-track {
    display: flex;
    gap: 30px;
    animation: scrollTestimonials 40s linear infinite;
}

.testimonial-track.no-scroll {
    animation: none;
    justify-content: center;
}

@keyframes scrollTestimonials {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card-item {
    flex-shrink: 0;
    background: #f8f9fa;
    padding: 40px;
    border-radius: 20px;
    min-width: 400px;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.quote {
    font-size: 18px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 30px;
    font-style: italic;
}

.author-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* FAQ Section */
.faq {
    background: white;
    padding: 80px 60px;
}

.faq h2 {
    font-size: 48px;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
}

.faq-item {
    background: #f8f9fa;
    padding: 25px 30px;
    border-radius: 10px;
    margin-bottom: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-item.active {
    background: #07393b;
    color: white;
}

.faq-toggle {
    font-size: 24px;
    font-weight: 300;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
}

.faq-answer.active {
    max-height: 500px;
    padding: 20px;
}

.faq-answer p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}


footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 60px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
    color: #64babd;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: white;
}

.footer-social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icon {
    color: #999;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    color: #64babd !important;
    transform: translateY(-3px);
}

.newsletter {
    display: flex;
    gap: 10px;
}

.newsletter input {
    padding: 10px 15px;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    flex-grow: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #e5e7eb;
    color: #999;
}

/* ==========================================================================
   Responsive Overrides - Improved & Clean
   ========================================================================== */

/* Universal Container Padding for Mobile */
.container {
    padding-left: 25px;
    padding-right: 25px;
    width: 100%;
}

@media (max-width: 1200px) {
    header {
        padding: 20px 40px;
    }
}

@media (max-width: 1024px) {
    header {
        position: relative;
        /* Dejamos de ser fijios en móvil */
        flex-direction: column;
        padding: 20px;
        height: auto;
    }

    nav {
        flex-direction: column;
        gap: 20px;
        margin-top: 15px;
        width: 100%;
        text-align: center;
    }

    .nav-menu {
        flex-direction: column;
        gap: 15px;
    }

    .custom-header-cta {
        margin-left: 0;
        width: 100%;
        max-width: 300px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 80px 20px;
        text-align: center;
        gap: 50px;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .hero-content p {
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-content div[style*="flex"] {
        justify-content: center;
    }

    .hero-image {
        order: 2;
    }

    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-mv-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 38px;
    }

    .section-title,
    .home-why h2,
    .plan-section h2,
    .home-cta-new h2,
    .home-insights h2,
    .faq h2 {
        font-size: 32px !important;
    }

    .problem-grid,
    .values-grid,
    .team-grid,
    .footer-content {
        grid-template-columns: 1fr !important;
    }

    .plan-steps {
        flex-direction: column;
        gap: 10px;
    }

    .plan-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }

    .plan-outcome {
        padding: 20px;
        font-size: 16px;
    }

    .home-cta-new h2 {
        font-size: 36px;
    }

    .cta-subtitle {
        font-size: 20px;
    }

    .insights-box {
        padding: 40px 25px;
    }

    .faq-item {
        padding: 20px;
        font-size: 15px;
    }

    .about-hero h1 {
        font-size: 40px;
    }

    .team-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .testimonial-card-item {
        min-width: 280px;
        padding: 25px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 15px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content div[style*="flex"] {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary-outline {
        width: 100%;
        text-align: center;
    }

    .roles-carousel-wrapper {
        mask-image: none;
        -webkit-mask-image: none;
    }

    .role-circle {
        width: 80px;
        height: 80px;
    }
}

/* About Us Page Styles */
.about-page {
    padding-top: 50px;
}

.about-hero {
    padding: 100px 60px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.about-hero h1 {
    font-size: var(--font-size-h1);
    font-weight: var(--weight-extrabold);
    margin-bottom: 20px;
    color: var(--color-primary);
}

.about-hero-subtitle {
    font-size: var(--font-size-intro);
    color: var(--color-text-muted);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.about-mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.mv-card {
    background: white;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.mv-icon {
    width: 64px;
    height: 64px;
    background: #f1f5f9;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: #3c7b7d;
}

.mv-card h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #07393b;
    font-weight: 700;
}

.mv-card p {
    color: #4b5563;
    line-height: 1.8;
}

.about-story {
    padding: 100px 60px;
    background: #07393b;
    color: white;
}

.about-story .story-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-story h2 {
    font-size: 42px;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 800;
    color: rgb(255, 0, 0);
}

.story-text {
    font-size: 18px;
    line-height: 1.9;
    opacity: 0.9;
}

.about-values {
    padding: 100px 60px;
    background: #f8f9fa;
}

.section-title {
    font-size: 42px;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 800;
    color: #07393b;
}

.about-values .values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border-left: 5px solid #64babd;
}

.value-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #07393b;
    font-weight: 700;
}

.value-card p {
    color: #4b5563;
    line-height: 1.7;
}

.about-team {
    padding: 100px 60px;
    background: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.team-card {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    padding: 30px;
    background: #f9fafb;
    border-radius: 20px;
    transition: transform 0.3s;
}

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

.team-img,
.team-img-placeholder {
    width: 140px;
    height: 140px;
    border-radius: 20px;
    object-fit: cover;
    background: #e2e8f0;
    flex-shrink: 0;
}

.team-info h3 {
    font-size: 22px;
    margin-bottom: 5px;
    color: #07393b;
}

.team-pos {
    color: #3c7b7d;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-bio {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.6;
}

@media (max-width: 992px) {

    .about-mv-grid,
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}



/* Services Page Styles */
.services-page {
    overflow-x: hidden;
    position: relative;
}

.services-hero {
    padding: 120px 60px;
    background: white;
    position: relative;
    text-align: center;
}

.abstract-shape {
    position: absolute;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.15;
    border-radius: 50%;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: #64babd;
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: #3c7b7d;
    bottom: 50px;
    left: -100px;
}

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

.services-hero h1 {
    font-size: 72px;
    font-weight: 900;
    margin-bottom: 30px;
    letter-spacing: -2px;
    color: #07393b;
}

.services-intro-wrap {
    max-width: 900px;
    margin: 0 auto;
}

.services-intro-p {
    font-size: 22px;
    line-height: 1.6;
    color: #4b5563;
    font-weight: 500;
}

.services-roles {
    padding: 60px 20px;
    background: #f9fafb;
}

.roles-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto;
}

.role-tag {
    background: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    color: #07393b;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef2f6;
    transition: all 0.3s ease;
}

.role-tag:hover {
    transform: translateY(-5px);
    background: #07393b;
    color: white;
}

.services-main {
    padding: 100px 60px;
    position: relative;
}

.shape-3 {
    width: 500px;
    height: 500px;
    background: #2e6a6c;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.08;
    filter: blur(100px);
}

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

.main-text-plain {
    padding: 0;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.main-text-plain h2 {
    font-size: 42px;
    margin-bottom: 40px;
    color: #07393b;
    font-weight: 800;
}

.main-text-body {
    font-size: 18px;
    line-height: 1.8;
    color: #4b5563;
}

.services-why {
    padding: 100px 60px;
    background: white;
}

.why-asymmetric-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.why-card {
    background: #f9fafb;
    padding: 40px;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.why-card:hover {
    background: white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    border-color: #64babd;
    transform: translateY(-5px);
}

.why-card.card-1 {
    grid-column: span 3;
}

.why-card.card-2 {
    grid-column: span 3;
}

.why-card.card-3 {
    grid-column: span 2;
}

.why-card.card-4 {
    grid-column: span 2;
}

.why-card.card-5 {
    grid-column: span 2;
}

.card-number {
    display: block;
    font-size: 40px;
    font-weight: 900;
    color: rgba(7, 57, 59, 0.05);
    margin-bottom: -20px;
}

.why-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #07393b;
    position: relative;
    z-index: 2;
}

.card-desc {
    color: #4b5563;
    line-height: 1.6;
    font-size: 15px;
}

.services-cta-wrap {
    padding: 100px 60px;
}

.services-cta-inner {
    background: #07393b;
    padding: 80px;
    border-radius: 40px;
    text-align: center;
    color: white;
}

.services-cta-inner h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 800;
    color: white;
}

.services-cta-inner p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

@media (max-width: 992px) {
    .why-asymmetric-grid {
        grid-template-columns: 1fr;
    }

    .why-card {
        grid-column: span 1 !important;
    }

    .main-text-plain {
        padding: 20px;
    }
}

/* Contact Page Styles */
.contact-page {
    padding: 120px 0;
    background: #fdfdfd;
    min-height: 80vh;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info {
    padding-right: 20px;
}

.contact-info h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.2;
    color: #07393b;
}

.contact-intro {
    font-size: 18px;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 40px;
}

.contact-badges-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
}

.contact-info .hero-sub {
    font-size: 20px;
    color: #4b5563;
    margin-bottom: 12px;
    line-height: 1.5;
}

.expectation-text {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 30px;
    display: block;
}

.badge-card {
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease;
    border: 1px solid #f1f5f9;
}

.badge-card:hover {
    transform: translateY(-5px);
    border-color: #64babd;
}

.badge-card h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #07393b;
}

.badge-icon {
    width: 40px;
    height: 40px;
    background: #e6f2f2;
    color: #2e6a6c;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.recaptcha-wrapper {
    margin: 20px 0;
}

.contact-form-wrapper {
    background: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.form-card-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 30px;
    color: #07393b;
    text-align: left;
}

.form-microcopy {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 15px;
    line-height: 1.4;
    text-align: center;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #07393b;
    font-size: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 15px;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #64babd;
    background: white;
    box-shadow: 0 0 0 4px rgba(100, 186, 189, 0.1);
}

.form-submit {
    width: 100%;
    padding: 16px !important;
    font-size: 16px !important;
    margin-top: 10px;
}

.form-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    font-size: 14px;
    display: none;
}

.form-status.success {
    display: block;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-status.error {
    display: block;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.form-status.sending {
    display: block;
    background: #f0f9ff;
    color: #075985;
    border: 1px solid #bae6fd;
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-info h1 {
        font-size: 36px;
    }

    .contact-form-wrapper {
        padding: 30px;
    }
}

/* Podcast Page Styles */
.podcast-page {
    background: #fdfdfd;
}

.podcast-hero {
    padding: 120px 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    text-align: center;
}

.podcast-hero h1 {
    font-size: 58px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #07393b;
}

.podcast-hero-subtitle {
    font-size: 20px;
    color: #4b5563;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.podcast-episodes {
    padding: 80px 0;
}

.episodes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.episode-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.episode-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.episode-media {
    width: 100%;
    background: #000;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.episode-card img {
    width: 100%;
    height: auto;
    display: block;
}

.episode-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.episode-date {
    font-size: 14px;
    color: #3c7b7d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.episode-info h3 {
    font-size: 24px;
    color: #07393b;
    margin-bottom: 15px;
    line-height: 1.3;
    font-weight: 700;
}

.episode-description {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 25px;
}

.view-on-youtube {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ff0000;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: opacity 0.2s;
}

.view-on-youtube:hover {
    opacity: 0.8;
}

/* Podcast Filters */
.podcast-filters {
    padding: 20px 0 60px;
    background: #fdfdfd;
}

.search-wrap {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-group svg {
    position: absolute;
    left: 20px;
    color: #94a3b8;
    pointer-events: none;
}

.search-input-group input {
    width: 100%;
    padding: 18px 20px 18px 55px;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    font-size: 16px;
    color: #07393b;
    outline: none;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.search-input-group input:focus {
    border-color: #3c7b7d;
    box-shadow: 0 10px 25px rgba(60, 123, 125, 0.1);
}

.search-input-group input::placeholder {
    color: #94a3b8;
}

#noResults {
    animation: podcastFadeIn 0.5s ease;
}

@keyframes podcastFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .episodes-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .podcast-hero h1 {
        font-size: 42px;
    }
}

.episode-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.episode-tags {
    font-size: 13px;
    color: #3c7b7d;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.meta-divider {
    color: #cbd5e1;
    font-weight: 300;
}

/* Home Insights Section */
.home-insights {
    padding: 100px 0;
    background: #fff;
}

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

.insights-box {
    text-align: center;
    margin-bottom: 60px;
}

.insights-box h2 {
    font-size: var(--font-size-h2);
    font-weight: 800;
    margin-bottom: 25px;
    color: #07393b;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.insights-box p {
    font-size: 18px;
    color: #666;
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.7;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 70px;
    margin-top: 60px;
}

.insight-card {
    display: flex;
    gap: 30px;
    align-items: center;
    text-align: left;
    transition: all 0.3s ease;
}

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

.insight-thumb {
    width: 260px;
    height: 150px;
    border-radius: 2px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.insight-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.insight-info {
    flex-grow: 1;
}

.insight-info .episode-date {
    display: block;
    color: #bfa061;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.insight-info h3 {
    font-size: 24px;
    color: #07393b;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}

.episode-actions {
    display: flex;
    gap: 20px;
    margin-top: auto;
    align-items: center;
}

.view-on-youtube,
.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.view-on-youtube {
    color: #ff0000;
}

.read-more-btn {
    background: transparent;
    border: none;
    color: #3c7b7d;
    cursor: pointer;
    padding: 0;
}

.view-on-youtube:hover,
.read-more-btn:hover {
    opacity: 0.7;
    transform: translateX(3px);
}

/* Modal Styles */
.podcast-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.podcast-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 57, 59, 0.9);
    backdrop-filter: blur(5px);
}

.modal-container {
    position: relative;
    background: white;
    width: 100%;
    max-width: 800px;
    max-height: 85vh;
    border-radius: 20px;
    padding: 50px;
    overflow-y: auto;
    z-index: 10;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f1f5f9;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #07393b;
    transition: all 0.2s;
}

.modal-close:hover {
    background: #07393b;
    color: white;
}

.post-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.post-date {
    font-size: 13px;
    color: #bfa061;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.post-header h2 {
    font-size: 32px;
    color: #07393b;
    margin: 0;
    line-height: 1.2;
}

.post-body {
    font-size: 17px;
    line-height: 1.8;
    color: #4b5563;
}

.post-body p {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .modal-container {
        padding: 30px 20px;
    }

    .post-header h2 {
        font-size: 24px;
    }

    .episode-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

.insight-info h3 a {
    color: inherit;
    text-decoration: none;
}

.insight-info h3 a:hover {
    color: #3c7b7d;
}

@media (max-width: 1100px) {
    .insight-thumb {
        width: 180px;
        height: 110px;
    }
}

@media (max-width: 992px) {
    .insights-grid {
        grid-template-columns: 1fr;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .insight-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .insight-thumb {
        width: 100%;
        height: 200px;
    }

    .insights-box h2 {
        font-size: 28px !important;
    }
}

/* =========================================
   NEW ABOUT US PAGE STYLES
   ========================================= */

.about-page {
    overflow-x: hidden;
}

/* --- Hero Section V2 --- */
.about-hero-v2 {
    padding: 120px 0 100px;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-left h1 {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 800;
    color: #07393b;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero-subheadline {
    font-size: 20px;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.trust-line {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 500;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust-line::before {
    content: '';
    display: block;
    width: 20px;
    height: 1px;
    background: #cbd5e1;
}

.hero-right {
    position: relative;
}

.hero-team-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.hero-img-placeholder {
    width: 100%;
    height: 400px;
    background: #f1f5f9;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-weight: 600;
    border: 2px dashed #cbd5e1;
}

/* --- Mission & Vision --- */
.about-mission-vision {
    padding: 80px 0;
    background: #f8fafc;
}

.about-mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mv-card {
    background: white;
    padding: 50px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.mv-icon {
    width: 50px;
    height: 50px;
    background: #f0fdf9;
    color: #3c7b7d;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.mv-card h2 {
    font-size: 24px;
    color: #0f172a;
    margin-bottom: 15px;
    font-weight: 700;
}

.mv-card p {
    font-size: 17px;
    line-height: 1.7;
    color: #475569;
}

/* --- Our Story --- */
.about-story {
    padding: 100px 0;
    background: #07393b;
    color: white;
}

.story-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-story h2 {
    font-size: 24px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 700;
}

.story-lead {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 40px;
    color: white;
}

.story-timeline {
    list-style: none;
    padding: 0;
    margin: 40px 0 0;
    position: relative;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: rgba(60, 123, 125, 0.3);
}

.story-timeline li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 30px;
}

.story-timeline li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 10px;
    height: 10px;
    background: #3c7b7d;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(60, 123, 125, 0.1);
}

.timeline-label {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
    color: #64babd;
    margin-bottom: 5px;
}

.timeline-text {
    font-size: 18px;
    line-height: 1.6;
    color: #ffffff;
    display: block;
}

.story-cta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
}

/* --- How We Work --- */
.about-how-we-work {
    padding: 100px 0;
    background: white;
    text-align: center;
}

.section-title {
    font-size: 36px;
    color: #0f172a;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    font-size: 20px;
    color: #64748b;
    margin-bottom: 60px;
}

.how-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

.how-step {
    padding: 40px 30px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.3s ease;
}

.how-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Flecha derecha para desktop */
@media (min-width: 900px) {
    .how-step:not(:last-child)::after {
        content: "";
        position: absolute;
        right: -45px;
        top: 50%;
        transform: translateY(-50%);
        width: 30px;
        height: 30px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23cbd5e1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3Cpolyline points='12 5 19 12 12 19'%3E%3C/polyline%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-size: contain;
    }
}

/* Responsive: 1 columna y flecha abajo */
@media (max-width: 899px) {
    .how-steps {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .how-step:not(:last-child)::after {
        content: "";
        position: absolute;
        bottom: -45px;
        left: 50%;
        transform: translateX(-50%) rotate(90deg);
        width: 30px;
        height: 30px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23cbd5e1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3Cpolyline points='12 5 19 12 12 19'%3E%3C/polyline%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-size: contain;
    }
}

.step-icon {
    width: 60px;
    height: 60px;
    background: #0f172a;
    color: white;
    font-size: 24px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.how-step h3 {
    font-size: 22px;
    color: #0f172a;
    margin-bottom: 15px;
    font-weight: 700;
}

.how-step p {
    font-size: 16px;
    color: #475569;
    line-height: 1.6;
}

.how-ctas {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* --- Values --- */
.about-values {
    padding: 100px 0;
    background: #f8fafc;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.value-card h3 {
    font-size: 18px;
    color: #07393b;
    margin-bottom: 15px;
    font-weight: 700;
}

.value-card p {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* --- Team --- */
.about-team {
    padding: 100px 0;
    background: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.team-card {
    background: #f8fafc;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    display: flex;
    gap: 30px;
    align-items: center;
    text-align: left;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(7, 57, 59, 0.08);
    background: white;
}

.team-img-placeholder,
.team-img {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
    background: #f1f5f9;
    border-radius: 12px;
    object-fit: cover;
}

.team-info h3 {
    font-size: 18px;
    color: #0f172a;
    margin-bottom: 5px;
    font-weight: 700;
}

.team-pos {
    font-size: 14px;
    color: #3c7b7d;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-bio {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

/* --- Final CTA --- */
.about-final-cta {
    padding: 100px 0;
    background: #07393b;
    text-align: center;
    color: white;
}

.about-final-cta h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
}

.about-final-cta p {
    font-size: 20px;
    color: #cbd5e1;
    margin-bottom: 40px;
}

.final-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* --- Global Buttons --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: #3c7b7d;
    color: white;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    border: 2px solid #3c7b7d;
}

.btn-primary:hover {
    background: #2a5a5c;
    border-color: #2a5a5c;
    transform: translateY(-2px);
    color: white;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: transparent;
    color: #0f172a;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    border: 2px solid #cbd5e1;
}

.btn-secondary:hover {
    border-color: #0f172a;
    background: #f8fafc;
    color: #0f172a;
}

.about-final-cta .btn-secondary {
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.about-final-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

/* --- Responsive --- */

/* Services Page - New Design */
.services-page {
    overflow-x: hidden;
}

/* Hero Section */
.services-hero-new {
    padding: 120px 0 100px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    margin-top: -50px;
}

.hero-grid-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-left-new h1 {
    font-size: var(--font-size-h1);
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--color-primary);
    font-weight: var(--weight-extrabold);
    text-align: left;
}

.hero-subtitle-new {
    font-size: 22px;
    color: #4b5563;
    margin-bottom: 40px;
    line-height: 1.6;
    text-align: left;
}

.hero-actions-new {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.hero-trust-line-new {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
    text-align: left;
}

.hero-right-new img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.placeholder-img-services {
    width: 100%;
    height: 500px;
    background: #e2e8f0;
    border-radius: 30px;
}

/* Service Models */
.services-models {
    padding: 100px 0;
    background: white;
}

.section-header-new {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-subtitle-new {
    font-size: 20px;
    color: #64748b;
}

.models-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto 60px;
}

.model-card {
    background: #f8fafc;
    padding: 60px 40px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.model-card.featured {
    background: white;
    border-color: #3c7b7d;
    box-shadow: 0 15px 40px rgba(7, 57, 59, 0.08);
}

.model-badge {
    position: absolute;
    top: 25px;
    right: 30px;
    background: #e2e8f0;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #475569;
}

.model-card.featured .model-badge {
    background: #3c7b7d;
    color: white;
}

.model-card h3 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #07393b;
    text-align: left;
}

.model-one-liner {
    font-size: 18px;
    color: #3c7b7d;
    font-weight: 600;
    margin-bottom: 30px;
}

.model-details {
    flex-grow: 1;
}

.best-for {
    margin-bottom: 25px;
}

.model-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.model-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 15px;
    font-size: 16px;
    color: #4b5563;
    text-align: left;
}

.model-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #3c7b7d;
    font-weight: 800;
}

.model-pricing {
    padding-top: 25px;
    border-top: 1px solid #e2e8f0;
    margin-bottom: 30px;
    font-weight: 700;
    color: #07393b;
    text-align: left;
}

.btn-text {
    font-weight: 700;
    color: #3c7b7d;
    text-decoration: none;
    font-size: 18px;
}

/* Not Sure Section */
.not-sure-section {
    background: #07393b;
    color: white;
    padding: 60px;
    border-radius: 24px;
    text-align: center;
}

.not-sure-section h3 {
    margin-bottom: 30px;
    color: white;
    text-align: center;
}

.not-sure-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.not-sure-list li {
    font-size: 16px;
    opacity: 1;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px 25px;
    border-radius: 50px;
}

.not-sure-cta p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 18px;
    margin: 0;
}

.not-sure-cta a {
    display: inline-block;
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.not-sure-cta a:hover {
    background-color: #64babd;
    color: white;
}

/* Micro-Plan Section */
.services-micro-plan {
    padding: 80px 0;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}

.services-micro-plan h3 {
    text-align: center;
    font-size: 28px;
    color: #07393b;
    margin-bottom: 50px;
    font-weight: 800;
}

.micro-plan-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.micro-step {
    position: relative;
    text-align: left;
    background: white;
    padding: 30px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.micro-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.micro-step-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.micro-num {
    width: 32px;
    height: 32px;
    background: #f1f5f9;
    color: #3c7b7d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}

.micro-step h4 {
    font-size: 18px;
    color: #07393b;
    margin: 0;
    font-weight: 700;
}

.micro-step p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .micro-plan-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .micro-plan-grid {
        grid-template-columns: 1fr;
    }
}

/* Roles cloud */
.services-roles-new {
    padding: 100px 0;
    background: #f8fafc;
}

.section-subtitle-center {
    text-align: center;
    color: #64748b;
    margin: 10px auto 50px;
    max-width: 600px;
}

.roles-cloud-new {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.role-tag-new {
    background: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    color: #07393b;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}

.role-tag-new:hover {
    border-color: #3c7b7d;
    color: #3c7b7d;
    transform: translateY(-2px);
}

/* Outcomes */
.services-outcomes {
    padding: 100px 0;
}

.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.outcome-item {
    text-align: center;
    background: white;
    padding: 40px 30px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.outcome-item:hover {
    transform: translateY(-5px);
}

.check-icon {
    color: #10b981;
    margin-bottom: 20px;
}

.outcome-item p {
    font-size: 18px;
    font-weight: 600;
    color: #334155;
    text-align: center;
}

/* Benefits */
.services-benefits {
    padding: 100px 0;
    background: #f8fafc;
}

.benefits-grid-new {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-card-new {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    text-align: left;
    width: calc(33.333% - 20px);
    box-sizing: border-box;
    min-width: 300px;
    flex-grow: 1;
    max-width: 400px;
    /* Limitar ancho máximo para que no se estiren demasiado */
}

.benefit-icon-box {
    font-size: 14px;
    font-weight: 800;
    color: #3c7b7d;
    margin-bottom: 20px;
    opacity: 0.5;
}

.benefit-card-new h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #07393b;
    text-align: left;
}

.benefit-card-new p {
    text-align: left;
}

/* Plan Section */
.services-plan-new {
    padding: 100px 0;
    background: white;
    text-align: center;
}

.plan-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 60px 0;
}

.plan-step-new {
    position: relative;
    background: white;
    padding: 40px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.plan-step-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.step-num-new {
    width: 60px;
    height: 60px;
    background: #07393b;
    color: white;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
}

.plan-step-new p {
    font-weight: 600;
    color: #475569;
    text-align: center;
}

.plan-actions-new {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* FAQ */
.services-faq {
    padding: 100px 0;
    background: #f8fafc;
}

.faq-accordion-new {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item-new {
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    text-align: left;
}

.faq-toggle-new {
    width: 100%;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 700;
    color: #07393b;
    cursor: pointer;
    text-align: left;
}

.faq-answer-new {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 0 30px;
}

.faq-answer-new p {
    text-align: left;
    color: #64748b;
}

.faq-item-new.active .faq-answer-new {
    max-height: 300px;
    padding-bottom: 30px;
}

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

/* Final CTA */
.services-final-cta {
    padding: 120px 0;
    background: #07393b;
    color: white;
    text-align: center;
}

.services-final-cta h2 {
    font-size: 48px;
    color: white;
    margin-bottom: 20px;
    text-align: center;
}

.cta-sub {
    font-size: 24px;
    color: #64babd;
    margin-bottom: 50px;
    text-align: center;
}

.cta-actions-new {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-secondary-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: transparent;
    color: #3c7b7d;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    border: 2px solid #3c7b7d;
}

.btn-secondary-outline:hover {
    background: #3c7b7d;
    color: white;
}

.services-final-cta .btn-secondary-outline {
    color: white;
    border-color: white;
}

.services-final-cta .btn-secondary-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #64babd;
}

/* Responsiveness Services */
@media (max-width: 1024px) {
    .hero-grid-new {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-left-new h1,
    .hero-subtitle-new,
    .hero-trust-line-new {
        text-align: center;
    }

    .hero-actions-new,
    .cta-actions-new,
    .plan-actions-new {
        justify-content: center;
    }

    .models-grid {
        grid-template-columns: 1fr;
    }

    .outcomes-grid {
        grid-template-columns: 1fr;
    }

    .plan-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }

    .not-sure-list {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .services-hero-new h1 {
        font-size: 42px;
    }

    .plan-grid-new {
        grid-template-columns: 1fr;
    }

    .hero-actions-new {
        flex-direction: column;
    }

    .services-final-cta h2 {
        font-size: 36px;
    }
}

@media (max-width: 992px) {

    .hero-grid,
    .about-mv-grid,
    .story-grid,
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .how-steps {
        grid-template-columns: 1fr;
    }

    .hero-left h1 {
        font-size: 42px;
    }

    .story-cta {
        justify-content: start;
    }

    .team-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .team-img {
        width: 180px;
        height: 180px;
        margin-bottom: 20px;
    }
}

/* Scroll Animation */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
    visibility: hidden;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* Scorecard Page Styles */
.scorecard-hero {
    padding: 180px 0 100px;
    background: #f8fafc;
}

/* Intro Card */
.intro-card-box {
    background: white;
    padding: 60px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    max-width: 800px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.intro-card-box h1 {
    font-size: 36px;
    color: #0f172a;
    margin-bottom: 20px;
}

.intro-subtitle {
    font-size: 20px;
    color: #64748b;
    margin-bottom: 40px;
}

.instruction-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    text-align: left;
    max-width: 600px;
}

.instruction-list li {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 18px;
    color: #334155;
}

.instruction-list span {
    width: 32px;
    height: 32px;
    background: #3c7b7d;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

/* Form Section Animation */
.scorecard-form-section {
    padding: 60px 0 100px;
    background: white;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.scorecard-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.scorecard-question-group {
    margin-bottom: 50px;
    padding: 30px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.scorecard-question-group h3 {
    color: #07393b;
    font-size: 22px;
    margin-bottom: 10px;
}

.question-subtitle {
    font-style: italic;
    color: #64748b;
    margin-bottom: 25px;
    font-size: 16px;
}

/* Checkbox List (forced 1 column) */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    /* Better alignment for single line questions */
    gap: 15px;
    margin: 0;
    cursor: pointer;
    background: #ffffff;
    padding: 18px 25px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.checkbox-group label:hover {
    border-color: #3c7b7d;
    background: #f0fdfa;
    transform: translateX(5px);
}

.checkbox-group input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin: 0;
    accent-color: #3c7b7d;
    cursor: pointer;
}

.warning-msg {
    display: none !important;
}

.form-actions {
    text-align: center;
    margin-top: 40px;
}

.scorecard-results {
    margin-top: 60px;
    padding: 60px;
    background: white;
    border-radius: 32px;
    box-shadow: 0 40px 100px -20px rgba(7, 57, 59, 0.15);
    text-align: center;
    border: 1px solid #e2e8f0;
    animation: fadeIn 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.result-status {
    padding: 40px;
    border-radius: 20px;
    margin: 30px 0 50px;
    text-align: center;
}

.status-green {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #86efac;
    color: #166534;
}

.status-yellow {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fcd34d;
    color: #92400e;
}

.status-red {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid #fca5a5;
    color: #991b1b;
}

.result-status h3 {
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-status p {
    font-size: 19px;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

.next-steps-box {
    margin-top: 20px;
    border-top: 1px solid #e2e8f0;
    padding-top: 50px;
}

.result-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.result-actions .btn-primary,
.result-actions .btn-secondary-outline {
    padding: 16px 32px;
    font-size: 18px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.result-actions .btn-secondary-outline {
    color: #3c7b7d;
    border: 2px solid #3c7b7d;
    background: transparent;
}

.result-actions .btn-secondary-outline:hover {
    background: #f0fdfa;
    transform: translateY(-2px);
}

.result-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(60, 123, 125, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= 404 ERROR PAGE ================= */
.error-404-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f9fa 0%, #ffffff 100%);
}

.error-404-section {
    padding: 120px 20px 80px;
    width: 100%;
}

.error-404-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.error-404-content {
    text-align: left;
}

.error-404-number {
    font-size: 120px;
    font-weight: 800;
    color: #07393b;
    line-height: 1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #07393b 0%, #64babd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-404-title {
    font-size: 48px;
    font-weight: 700;
    color: #07393b;
    margin-bottom: 20px;
    line-height: 1.2;
}

.error-404-message {
    font-size: 20px;
    color: #4b5563;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 500px;
}

.error-404-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.error-404-actions .btn-primary,
.error-404-actions .btn-secondary-outline {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    font-size: 16px;
}

.error-404-links {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e5e7eb;
}

.error-404-links h3 {
    font-size: 18px;
    font-weight: 600;
    color: #07393b;
    margin-bottom: 20px;
}

.error-404-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.error-404-nav li a {
    display: block;
    padding: 10px 16px;
    color: #4b5563;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
    font-size: 16px;
}

.error-404-nav li a:hover {
    background: #f0f9fa;
    color: #07393b;
    transform: translateX(5px);
}

.error-404-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.error-404-illustration svg {
    width: 100%;
    max-width: 400px;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Responsive 404 Page */
@media (max-width: 992px) {
    .error-404-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .error-404-content {
        text-align: center;
    }

    .error-404-number {
        font-size: 100px;
    }

    .error-404-title {
        font-size: 36px;
    }

    .error-404-message {
        margin-left: auto;
        margin-right: auto;
    }

    .error-404-actions {
        justify-content: center;
    }

    .error-404-illustration {
        order: -1;
    }

    .error-404-illustration svg {
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .error-404-number {
        font-size: 80px;
    }

    .error-404-title {
        font-size: 28px;
    }

    .error-404-message {
        font-size: 18px;
    }

    .error-404-actions {
        flex-direction: column;
        width: 100%;
    }

    .error-404-actions .btn-primary,
    .error-404-actions .btn-secondary-outline {
        width: 100%;
        justify-content: center;
    }

    .error-404-nav {
        grid-template-columns: 1fr;
    }
}