/* RESET GENERAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
  font-size: 92%;
  overflow-x: hidden;
}

@media (max-width: 1366px) {

    .html{
        font-size: 90%;
    }

}

body {
  background: #fff;
  color: #333;
  overflow-x: hidden;
  line-height: 1.6;
  background-color: var(--brand-white);
  color: var(--text-main);
  line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* VARIABLES DE COLOR */
:root {
  --orange: #ff6600;
  --orange-light: #ff8c1a;
  --blue: #007BFF;
  --brand-blue: #1469D9;
  --muted: #666;
  --brand-white: #FFFFFF;
  --text-secondary: #444444;
  --border-color: #E0E0E0;
  --color-carta: #f0a436;
  --brand-gray: #333333;
  --brand-light-gray: #F5F5F5;
  --brand-pastel: #fff3e6;
  --color-cuerpo: #1A1A1A;
  --text-muted: #6B7280;
  --bg-light: #f8fafc;
  --card-border: #e5e7eb;
  --orange-main: #f0a436;
  --orange-soft: rgba(240, 164, 54, 0.1);
  --orange-glass: rgba(240, 164, 54, 0.7);
  --dark-base: #121212;
  --white: #ffffff;
  --color-beige: #F9F7F2;
  --transition: all 0.4s ease;  
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  --card-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
  --card-shadow-hover: 0 20px 40px -5px rgba(255, 102, 0, 0.15);
  --transition: cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-speed: 0.4s;
  --shadow-card: 0 4px 12px rgba(0,0,0,0.05);
  --shadow-hover: 0 15px 30px -5px rgba(255, 102, 0, 0.15);
  --card-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

/* ------------------------------------------------------------------------------------------------------------------------------------------------------------------ */

/* HEADER MODERNO */

header {
    width: 100%;  
    padding: 7px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(8deg, var(--orange), var(--orange-light));
    position: fixed;
    top: 0;
    z-index: 1000;
}

header.scrolled {
    padding: 10px 6%;
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-logo {
    width: 55px;
    height: auto;
    border-radius: 50%;
    transition: var(--transition);
}

header.scrolled .header-logo {
    width: 45px;
}

.header-title {
    color: var(--bg-light);
    font-size: 20px;
    font-weight: 700;
}

/* NAVEGACIÓN DESKTOP */
.barra {
    display: flex;
    align-items: center;
}

nav a {
    text-decoration: none;
    font-weight: 500;
    color: var(--bg-light);
    margin-left: 25px;
    transition: var(--transition);
    font-size: 15px;
}

nav a:hover {
    color: var(--orange-corp);
}

/* MENÚ HAMBURGUESA */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 2100;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--bg-light);
    border-radius: 3px;
    transition: var(--transition);
}

.header-buttons {
    display: flex;
    align-items: center;
    margin-left: 30px;
}
/* BOTÓN CREAR EMPRESA */

.btn-crear {
    background-color: var(--bg-light);
    color: var(--orange);
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-crear:hover {
    background-color: var(--orange-corp);
    color: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
/* BOTÓN ASISTENTE VIRTUAL */

.btn-asistente {

    background-color: transparent;
    color: var(--bg-light);
    padding: 8px 18px;
    border-radius: 30px;
    border: 2px solid var(--bg-light);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}


.btn-asistente:hover {
    background-color: var(--bg-light);
    color: var(--orange);
    transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .menu-toggle {
        display: flex;
    }

    .barra {
        position: fixed; /* Fixed para que cubra la pantalla */
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        background-color: var(--color-carta);
        flex-direction: column;
        padding: 100px 0 40px 0;
        gap: 25px;
        /* Animación acordeón */
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
        pointer-events: none;
    }

    .barra.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    nav a {
        margin-left: 0;
        font-size: 18px;
    }

    /* Animación Icono */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .header-buttons {
        flex-direction: column;
        margin-left: 0;
        margin-top: 20px;
        gap: 16px;
    }

    .header-buttons a {
        width: 80%;
        text-align: center;
        font-size: 16px;
        padding: 12px 22px;
    }
}

/* ------------------------------------------------------------------------------------------------ */


 .hero {
    width: 100%;
    padding: 5rem 6rem 2rem 6rem; /* espacio para header */
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    border-bottom-left-radius: 45px;
    border-bottom-right-radius: 45px;
}

/* --- Nuevo layout lado izquierdo / lado derecho --- */
.hero-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2; 
    max-width: 1600px;
    margin: 0 auto;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative; /* Para posicionar el fondo decorativo */
}

.hero-image img {
    width: 100%;
    max-width: 700px;
    height: auto;
    position: relative;
    z-index: 2; /* Para que la imagen quede encima de la decoración */
    border-radius: 12px;
}


/* TEXTOS */
.hero h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--brand-white);
}

.hero p {
    font-size: 1.3rem;
    max-width: 600px;
    opacity: 0.95;
    color: var(--brand-white);
}

/* BOTÓN */
.hero button {
    margin-top: 3.5rem;
    padding: 1.8rem 3rem;
    font-size: 1.5rem;
    border-radius: 50px;
    background: var(--brand-white);
    color: var(--orange);
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.hero button:hover {
    background: #ffeede;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* RESPONSIVO */

@media (max-width: 1366px) {

    .hero {
        padding: 50px 50px 20px 50px;
    }


    .hero h2 {
        font-size: 2.4rem;
    }


    .hero p {
        font-size: 1.15rem;
    }


    .hero-image img {
        max-width: 520px;
    }

    .hero button {
        padding: 1.4rem 2.6rem;
        font-size: 1.25rem;
        margin-top: 2.5rem;
    }
}



@media (max-width: 1023px) {

    .hero {
        padding: 2rem 2rem 1.5rem 2rem;
        min-height: auto;
    }

    .hero-inner {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        margin-top: 2.5rem;
    }

    .hero-text {
        text-align: center;
    }

    .hero h2 {
        font-size: 2.3rem;
    }

    .hero p {
        font-size: 1.1rem;
        max-width: 100%;
    }

    .hero-image img {
        display: none;
        max-width: 460px;
        align-items: center;
    }

}

@media (max-width: 767px) {


    .hero h2 {
        font-size: 1.9rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero button {
        padding: 1.2rem 2.2rem;
        font-size: 1.1rem;
    }

    .hero-image img {
        display: none;
        width: 100%;
        max-width: 100%;
    }
}



/* contenedores de los SVG */
.hero-semicircle {
  position: absolute;
  width: 350px;
  height: 250px;
  z-index: 0 !important;
  opacity: 0.9;
}

.hero-semicircle svg {
  width: 100%;
  height: 100%;
}

/* semicirculo izquierdo */
.hero-semicircle.left {
  left: -200px;  /* mueve el círculo hacia la izquierda para mostrar solo la mitad */
  top: -100px;
}

/* semicirculo derecho */
.hero-semicircle.right {
  right: -200px; /* mueve hacia la derecha para mostrar solo la mitad */
  top: 270px;
}


/* ---------------------------------------------------------------------------------------------------------------- */

/* SECCIÓN SERVICIOS */
.servicios {
    width: 100%;
    padding: 6rem 0;
    text-align: center;
}

.servicios h2 {
  font-size: 2.8rem;
  color: var(--blue);
  margin-bottom: 3rem;
  font-weight: 700;
}

.servicios h2 span {
  color: var(--orange);
  position: relative;
}

.servicios h2 span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 10px;
  background: rgba(255,102,0,0.18);
  border-radius: 6px;
}

/* .servicios::before,
.servicios::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.55;
}


.servicios::before {
  background: rgba(255, 170, 120, 0.55);
  top: -120px;
  left: -150px;
}


.servicios::after {
  background: rgba(255, 170, 120, 0.55);
  bottom: -150px;
  right: -120px;
}  */

/* ----------------------------------------------------------------------------------------------------------------------------- */

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  padding: 1rem 0rem;
}

.card {
  padding: 8px;
  background: var(--brand-white);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  text-align: center;
  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.10);
}

.card img {
  width: 80px;
  margin-bottom: 1.5rem;
}

.card.reveal{
  padding: 0rem 10rem;
}

@media (max-width: 1200px) {

    .cards{
        padding: 1rem;
    }
    
    .servicios {
       
        padding: 5rem 30px; 
    }
    
    
    .servicios h2 {
        font-size: 2rem; 
    }
}


@media (max-width: 500px) {
    
    
    .cards {
        gap: 1.5rem; 
    }
    
    
    .card img {
        max-width: 60px; 
    }
}

/* ----------------------------------------------------------------------------------------------------------------------------- */

/* ABOUT - DISEÑO PREMIUM */
.about-grid {
  margin: 0 auto;
  padding: 0.8rem 6%;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
  justify-content: center;
  background: #fcf4e4;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

/* FIGURAS PASTEL DE FONDO */
.about-grid::before,
.about-grid::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 1;
  z-index: -1;
}

/* Color pastel naranja */
.about-grid::before {
  background: rgba(255, 180, 120, 0.45);
  top: -120px;
  left: -120px;
}

/* Color pastel violeta */
.about-grid::after {
  background: rgba(150, 120, 255, 0.45);
  bottom: -120px;
  right: -120px;
}

/* COLUMNA PRINCIPAL */
.about-grid > div {
  flex: 1 1 325px;
  background: #fcf4e4;
  padding: 2.5rem 2rem;
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
  transition: 0.35s ease;
}

.about-grid > div:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.09);
}

/* COLUMNA LATERAL (aside con imagen) */
aside {
  flex: 1 1 340px;
  margin-top: 20px;
  padding: 1rem;
  text-align: center;
}

/* Imagen del Fundador */
.imagen-fundador {
  width: 60px;
  border-radius: 30px;
  border: solid 3px var(--orange);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.imagen-fundador:hover {
  transform: scale(1.03);
}

/* BOTONES CTA */
.btn-container {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* El CSS de tus botones (sin cambios aquí) */
/* ---- TUS ESTILOS EXISTENTES ---- */
.btn {
    background: var(--orange);
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block; /* necesario para la alineación */
}

.btn:hover {
    background: #e65c00;
}

.btn.secondary {
    background: white;
    color: var(--orange);
    border: 2px solid var(--orange);
}

.btn.secondary:hover {
    background: #fff3e6;
}

/* ---- ESTILOS PARA QUE LOS BOTONES SE ACOMODEN BIEN ---- */
.btn-group {
    display: flex;
    gap: 1rem;
    margin-top: 30px;
    margin-bottom: 30px;
    justify-content: center;   /* centra los botones */
    align-items: center;
}

.btn-group .btn {
    text-align: center;
}

@media (max-width: 1366px) {

}


/* En pantallas pequeñas */
@media (max-width: 600px) {

    .about-grid{
        padding: 0.8, 0px;
    }
    .btn-group {
        flex-direction: column; /* uno debajo del otro */
        gap: 1rem;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .btn-group .btn {
        width: 100%;          /* mismo ancho */
        max-width: 280px;     /* evita botones demasiado largos */
    }
}



/* ANIMACIÓN SCROLL REVEAL MEJORADA */


/* ------------------------------------------------------------------------------------------------------------------------------------ */


  /* SERVICES */
        
.services-section {
    padding: 6rem 2rem;   
    margin: 0 auto;
}

.services-section::before {
content: "";
position: absolute;
bottom: -120px;
right: -190px;
width: 420px;
height: 450px;
padding-left: 165rem;
margin-bottom: 291rem;
background-image: url("./img/Palmera-reves.png");
background-repeat: no-repeat;
background-position: center;
background-size: contain;
opacity: 0.14;
pointer-events: none;
z-index: 0;
transform: rotate(-20deg);
}

.services-section::after {
    content: "";
    position: absolute;
    bottom: -120px;
    right: -245px;
    width: 420px;
    height: 450px;
    margin-bottom: 291rem;
    background-image: url("./img/Palmera.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.15;
    pointer-events: none;
    z-index: -1;
    transform: rotate(20deg);
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem; 
    opacity: 1;
    transform: none;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 0.8rem;
    letter-spacing: -0.5px;
}

.section-header h2 span {
    color: var(--orange);
    position: relative;
}

.section-header h2 span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 10px;
    background: rgba(255,102,0,0.18);
    border-radius: 6px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}


.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem; 
}


.service-card {
    background: var(--brand-white);
    border: 2px solid var(--border-color);
    border-radius: 16px; 
    padding: 2rem; 
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: none;
    height: 100%;
    box-shadow: var(--shadow-card);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--orange);
    box-shadow: var(--shadow-hover);
    z-index: 2;
}


.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.icon-box {
    width: 48px; 
    height: 48px;
    min-width: 48px;
    background-color: rgba(255, 102, 0, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    transition: transform 0.3s ease;
}

.service-card:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
    background-color: var(--orange);
    color: #fff;
}

.service-card h4 {
    font-size: 1.25rem; 
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.2;
}

.service-card p {
    font-size: 1rem; 
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}


.card-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--orange);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
}

.card-link:hover {
    text-decoration: underline;
}

@media (max-width: 1366px) {

    .services-section{
        max-width: 1050px;
    }

    .services-section::before {
        right: -17rem;
        margin-bottom: 294rem;
    }

    
    .services-section::after {
        
        padding-left: 8rem; 
        margin-bottom: 294rem;

    }


}

@media (max-width: 1200px) {
    
    .services-section::before,
    .services-section::after {
    display: none;  
    }

}


@media (max-width: 960px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 600px) {
    .services-section {
        padding: 5rem 2rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .service-card {
        padding: 1.8rem;
    }

    
    }

    /* ----------------------------------------------------------------------------------------------------------------------------- */


/* --- TÍTULOS Y TEXTOS --- */
.section-items {
    margin-bottom: 30px;
}

.section-titulo {
    font-size: clamp(2rem, 3.8vw, 2.8rem);
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 1rem;
    line-height: 1.1;
    text-align: left;
    padding: 15px 0px;
}

.section-titulo span {
    color: var(--orange);
}

.muted-a {
    color: var(--brand-gray);
    font-size: 1.1rem;
    max-width: 100%;
    margin: 0;
    text-align: left;
}

/* --- NUEVO LAYOUT DE DOS COLUMNAS (GRID) --- */
.content-wrapper {
    width: 100%;
    padding: 0rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: center;
}

/* --- COLUMNA IZQUIERDA: IMAGEN Y GRÁFICOS --- */
.image-column {
    position: relative;
    padding: 40px;
    background-color: var(--brand-pastel); 
    border-radius: 16px;
    height: 100%;
    min-height: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.image-column img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 10;
}

/* Decoración de fondo abstracta (más moderna) */
.image-bg-decoration {
    position: absolute;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    background: radial-gradient(circle at 100% 0%, rgba(255, 102, 0, 0.1), transparent 70%);
    top: -20%;
    right: -20%;
    opacity: 0.7;
    z-index: 5;
}

.image-bg-decoration::before {
        content: '';
        position: absolute;
        width: 80%;
        height: 80%;
        border-radius: 50%;
        background: radial-gradient(circle at 0% 100%, rgba(255, 102, 0, 0.15), transparent 70%);
        bottom: -10%;
        left: -10%;
        z-index: 4;
}

/* --- COLUMNA DERECHA: ACORDEÓN --- */
.accordion-column {
    padding-right: 0; 
}

/* ================================================= */
/* --- ESTILOS DEL ACORDEÓN (Audaces) --- */
/* ================================================= */
.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 15px; 
    position: relative;
}

/* Línea de Proceso: Conexión vertical entre los pasos */
.accordion-container::before {
    content: '';
    position: absolute;
    left: 27px; 
    top: 20px;
    bottom: 20px;
    width: 3px;
    background-color: var(--brand-light-gray);
    z-index: 1;
}

.accordion-item {
    border-radius: 16px;
    background-color: var(--brand-light-gray); 
    transition: all var(--transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden; 
    border: 1px solid var(--brand-light-gray); 
    box-shadow: 0 2px 10px rgba(250, 253, 64, 0.05);
    z-index: 2; 
}

/* Efecto al pasar el ratón (Hover) */
.accordion-item:hover:not(.active) {
    background-color: var(--brand-pastel);
    border-color: rgba(255, 102, 0, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Estilo al estar ACTIVO (Audaz) */
.accordion-item.active {
    background-color: var(--brand-pastel); 
    color: var(--brand-white);
    border-color: var(--orange);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px); 
}

/* --- HEADER CLICKABLE --- */
.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.accordion-title-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Número de Paso (Círculo) */
.step-num {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--orange);
    color: var(--brand-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(255, 102, 0, 0.5);
    transition: all var(--transition-speed) ease;
}

.accordion-item.active .step-num {
    background-color: var(--brand-white); 
    color: var(--orange);
    box-shadow: 0 0 0 4px var(--orange), 0 0 15px rgba(255, 102, 0, 0.8);
    transform: scale(1.05);
}

.step-title {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    font-weight: 700;
    color: var(--color-cuerpo);
    transition: color var(--transition-speed) ease;
}

/* Título en blanco en modo activo */
.accordion-item.active .step-title {
    color: var(--blue);
}

/* --- ICONO DE FLECHA (SVG) --- */
.accordion-icon {
    width: 20px;
    height: 20px;
    stroke: var(--brand-gray);
    transition: transform var(--transition-speed) ease, stroke var(--transition-speed) ease;
    flex-shrink: 0;
}

/* Flecha en naranja o blanco */
.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
    stroke: var(--orange); 
}

.accordion-header:hover:not(.active) .accordion-icon {
        stroke: var(--orange);
}

/* --- CONTENIDO DESPLEGABLE (BODY) --- */
.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.19, 1, 0.22, 1), padding 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.accordion-item.active .accordion-body {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.accordion-content {
    padding: 1.2rem;
    background-color: var(--brand-pastel); 
    border-radius: 12px;
    color: var(--brand-gray);
    font-size: 1rem;
    line-height: 1.6;
    border: 2px solid var(--orange); 
}

.accordion-content p {
    margin: 0;
    font-size: 0.95rem;
}

@media (max-width: 1366px) {

    .content-wrapper{
        width: 90%;  
        padding: 0rem 2rem 0rem 9rem; 
    }

}

/* --- RESPONSIVE (MÓVIL / TABLET) --- */
@media (max-width: 900px) {
    
    .section-titulo span{
        margin-top: 20px;
    }
    

    .content-wrapper {
        grid-template-columns: 1fr; 
        gap: 0; 
    }

    .image-column {
        order: 1; 
        padding: 30px 20px;
        min-height: 350px;
        border-radius: 0 0 16px 16px;
        margin-bottom: 20px;
    }

    .image-column img {
        width: 70%;
        max-width: 250px;
    }

    .accordion-column {
        order: 2;
        padding: 0;
    }
    
    .section-header {
        text-align: center;
        padding: 0 20px;
        margin-bottom: 30px;
    }
    
    /* Ajuste de tamaño en móvil para la línea de proceso */
    .accordion-container::before {
        left: 22px; 
    }
    
    .accordion-header {
        padding: 1rem 1rem;
    }
    
    .accordion-title-wrapper {
        gap: 1rem;
    }
    
    .step-num {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }

    .accordion-item.active .accordion-body {
        padding: 0 1rem 1rem 1rem;
    }
}


@media (max-width: 600px) {
    
    .content-wrapper{
            padding: 0rem 0rem 0rem 2.5rem;
        }
}



/* --------------------------------------------------------------------------------------------------------------------------- */

.testimonials-section {
    width: 100%;
    padding: 6rem 1rem;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-badge {
    display: inline-block;
    background: rgba(255, 102, 0, 0.1);
    color: var(--orange);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--blue);
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

/* --- Estilos del Slider --- */
.slider-container {
    position: relative;
    padding: 10px 0 40px 0;
}

.slider-track-wrapper {
    overflow: hidden; /* Oculta lo que desborda */
    cursor: grab;
}

.slider-track-wrapper:active {
    cursor: grabbing;
}

.slider-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s var(--transition);
    will-change: transform;
}

.testimonial-card {
    min-width: calc(33.333% - 1.35rem); /* 3 cartas por vista en desktop */
    background: var(--brand-white);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0,0,0,0.03); 
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s var(--transition);
    user-select: none;
}

@media (max-width: 960px) {
    .testimonial-card { min-width: calc(50% - 1rem); } /* 2 cartas en tablets */
    .section-header h2 { font-size: 2rem; }
}

@media (max-width: 650px) {
    .testimonial-card { min-width: 100%; } /* 1 carta en móvil */
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(255, 102, 0, 0.2);
}

.testimonial-card::before {
    content: '“';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 8rem;
    line-height: 1;
    font-family: serif;
    color: var(--orange);
    opacity: 0.06;
    pointer-events: none;
}

.stars {
    color: var(--orange);
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--brand-gray);
    font-style: italic;
    margin-bottom: 2rem;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--brand-light-gray);
}

.avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--brand-white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.user-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.user-info span {
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
    display: block;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: var(--orange);
    font-weight: 600;
    margin-top: 2px;
}

/* Botones de Navegación */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 10;
    border: none;
    color: var(--blue);
    transition: all 0.3s ease;
}

.slider-nav:hover {
    background: var(--blue);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.nav-prev { left: -22px; }
.nav-next { right: -22px; }

@media (max-width: 1250px) {
    .nav-prev { left: 10px; }
    .nav-next { right: 10px; }
}

/* Indicadores inferiores */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 24px;
    background: var(--orange);
    border-radius: 4px;
}

/* -------------------------------------------------------------------------------------------------------------------------------------------------------- */

body {
    background-color: var(--bg-light);
    color: var(--color-cuerpo);
    line-height: 1.6;
}

.pricing-section {
    width: 100%;
    padding: 0rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw; 
    height: 1000px; 
    background: radial-gradient(
    circle at top, 
    rgba(255, 102, 0, 0.12) 0%, 
    rgba(255, 255, 255, 0) 75%
    );

    pointer-events: none;
    z-index: -1;
}


.titulo-paquetes {
    display: flex;
    flex-direction: column; /* Fuerza el orden: Título arriba, Subtítulo abajo */
    align-items: center;    /* Centra ambos elementos */
    text-align: center;
    padding-top: 20px;      /* Espacio superior para que no pegue al borde */
    margin-bottom: 20px;    /* EMPUJA los paquetes hacia abajo para que no se encimen */
    width: 100%;            /* Asegura que ocupe todo el ancho */
    position: relative;
    z-index: 20;            /* Lo pone por delante de cualquier fondo o tarjeta */
}

.titulo-paquetes h2 span::after  {
    content: "";
    position: absolute;
    left: 610px;
    bottom: 45px;
    width:17%;
    height: 10px;
    background: rgba(255,102,0,0.18);
    border-radius: 6px;
}


.titulo-paquetes h2 {
    display: block;         /* Asegura que ocupe su propia línea */
    font-size: 3rem;
    margin-bottom: 15px;    /* Espacio con el subtítulo */
    letter-spacing: -1.5px;
    color: var(--blue);
}   

.subtitulo-paquetes {
    display: block;         /* Asegura que baje */
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;         /* Centra el bloque de texto */
}

.titulo-paquetes h2 span {
    color: var(--orange);
}


 /* Contenedor principal más estrecho para centrar las tarjetas */
.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    max-width: 900px; /* Reducido de 1200px a 900px */
    margin: 0 auto;
    padding: 0rem 1.2rem;
    flex-wrap: wrap;
}

/* Tarjeta de precio compacta */
.price-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    padding: 1.5rem; /* Padding reducido */
    flex: 1;
    min-width: 280px;
    max-width: 340px; /* Ancho máximo controlado */
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.price-card:hover {
    transform: translateY(-4px);
}

/* Encabezado más pequeño */
.price-header {
    text-align: center;
    margin-bottom: 1rem;
}

.plan-title {
    font-size: 2rem; /* Reducido */
    color: var(--blue);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.price-amount {
    display: block;
    font-size: 2rem; /* Reducido de 3rem o más */
    font-weight: 800;
    color: var(--orange);
}

.price-period {
    display: block;
    font-size: 0.85rem; /* Más pequeño */
    color: #718096;
    line-height: 1.3;
    margin-top: 0.5rem;
    min-height: 40px; /* Para alinear alturas */
}

.price-abajo{
    display: block;
    font-size: 0.90rem; /* Más pequeño */
    color: #666;
    line-height: 1.3;
    margin-top: 3rem;
    min-height: 40px; /* Para alinear alturas */
    text-align: center;
}

.price-per{
    font-size: 0.90rem; /* Más pequeño */
    color: #666;
    line-height: 1.3;
    margin-bottom: 1rem;
    min-height: 40px; /* Para alinear alturas */
    text-align: center;
}

/* Lista de características compacta */
.features-list {
    font-size: 3rem;
    padding: 0;
    margin: 1rem 0;
    flex-grow: 1;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px; /* Menos espacio entre items */
    font-size: 0.85rem; /* Fuente más pequeña */
    line-height: 1.4;
    color: #4a5568;
}

.check-icon {
    width: 16px; /* Iconos más pequeños */
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    stroke: #FF6600; /* Color de tu marca */
    stroke-width: 3;
    fill: none;
}

/* Botón adaptado */
.btn {
    display: block;
    text-align: center;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.3s;
    margin-top: 1rem;
}

.btn-basic {
    background: #edf2f7;
    color: #2d3748;
}

.btn-premium {
    background: #FF6600;
    color: white;
}

.spacer {
    margin-top: auto;
}

hr {
    border: 0;
    border-top: 1px solid #edf2f7;
    margin: 1rem 0;
}

.tax-disclaimer{
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .pricing-grid {
        display: flex;
        grid-template-columns: 1fr;
        max-width: 550px;
        margin: 0 auto;
    }
    .section-header h2 {
        font-size: 2.5rem;
    }
}

/* -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------  */


  /* FAQ */
.faq-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


.faq-item {
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
  transition: 0.3s;
}

.faq-item:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}


.faq-q {
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--orange);
  font-size: 1.1rem;
}

.faq-a {
  margin-top: 8px;
  color: var(--muted);
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  line-height: 1.6;
}


.faq-item.active .faq-a {
  max-height: 500px; /* suficiente para mostrar el texto */
}

.faq-titulo{
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 2rem;
  text-align: center;
}

.faq-titulo span {
  color: var(--orange);
  position: relative;
}

.faq-titulo span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 10px;
  background: rgba(255,102,0,0.18);
  border-radius: 6px;
}

.preguntas{
    padding: 6rem 2rem;
}



/* Responsive */
@media (max-width: 768px) {
  .faq-q {
    font-size: 1rem;
  }
  .faq-item {
    padding: 12px;
  }
}

/* -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */

.titulo-ubicacion {
    font-size: 2rem;
    color: var(--blue);
    margin-bottom: 2rem;
    text-align: center;
}

.title-container {
    display: inline-block;
    position: relative;
}

.main-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--color-texto-principal);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.title-underline {
    height: 5px;
    width: 80px;
    background-color: var(--orange);
    margin: 0 auto;
    border-radius: 2px;
}

/* Contenedor de Tarjetas con mayor ancho */
.contact-container {
    display: flex;
    flex-direction: column;
    gap: 35px;
    padding: 2rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.contact-card {
    background-color: var(--color-beige);
    border-radius: 24px;
    padding: 45px 50px;
    /* Ancho incrementado */
    width: 100%;
    max-width: 850px; 
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
    display: grid;
    grid-template-columns: 80px 1fr auto;
    align-items: center;
    gap: 40px;
    border: 1px solid rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: scale(1.01);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.flag-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flag-img {
    width: 65px;
    height: auto;
    border-radius: 6px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.address-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-left: 2px solid rgba(0,0,0,0.05);
    padding-left: 40px;
}

.info-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon {
    color: var(--color-naranja);
    flex-shrink: 0;
}

.text-content {
    font-size: 15px;
    line-height: 1.5;
    color: var(--color-texto-secundario);
    font-weight: 500;
    text-transform: uppercase; /* Estilo corporativo de YourBiz */
}

.phone-section {
    background-color: white;
    padding: 15px 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.phone-text {
    color: var(--color-texto-principal);
    font-weight: 700;
    font-size: 17px;
    white-space: nowrap;
}

/* Responsivo para móviles */
@media (max-width: 850px) {
    .contact-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 25px;
        gap: 25px;
    }
    .address-section {
        border-left: none;
        padding-left: 0;
        align-items: center;
    }
    .info-group {
        flex-direction: column;
        gap: 8px;
    }
    .phone-section {
        justify-content: center;
    }
}


/* ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */

.info {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.brand-name {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: var(--blue);
}

.brand-creations {
    color: var(--orange);
}

.year-tag {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.disclaimer {
    text-align: justify;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.8;
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 2rem;
}


@media (max-width: 1000px) {
    .texto{
        padding: 2rem;
    }
}


/* ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */

  /* FOOTER */

    /* --- ESTILOS DEL FOOTER --- */
footer {
    position: relative;
    padding: 80px 20px;
    color: var(--brand-white);
    
    /* IMAGEN EN EL FONDO */
    background-image: url('./img/footer.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll; /* Cambiar a 'fixed' para efecto parallax si se desea */
    
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.main-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.footer-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

/* Columna Izquierda */
.footer-brand {
    flex: 1;
    max-width: 450px;
}

.footer-logo-text {
    font-weight: 800;
    font-size: 28px;
    letter-spacing: -1px;
    margin-bottom: 10px;
    color: var(--brand-blue)
}

.footer-logo-text .highlight {
    color: var(--orange);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-contact span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-contact a {
    color: var(--brand-white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: var(--orange);
}

/* Columna Derecha */
.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.footer-nav {
    margin-bottom: 30px;
    display: inline-block;
    align-items: center;
    gap: 15px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--orange);
}

.footer-nav .divider {
    color: rgba(255, 255, 255, 0.2);
}

.social-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.social-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 700;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    background: rgba(255, 255, 255, 0.05);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.8rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.social-icons a:hover {
    background: var(--orange);
    border-color: var(--orange);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 102, 0, 0.4);
}

/* Ajustes para Móvil */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-brand, .footer-links {
        max-width: 100%;
        align-items: center;
        text-align: center;
    }

    .footer-nav {
        flex-direction: column;
        gap: 10px;
    }

    .footer-nav .divider {
        display: none;
    }

    .social-section {
        align-items: center;
    }

    .social-icons {
        justify-content: center;
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {


.section-title {
    font-size: 1.7rem;
}

.btn {
    font-size: 0.9rem;
    display: flex;
    margin-top: 1 rem;
    flex-wrap: wrap;
    justify-content: center;

}

.price-card.recommended {
    transform: none;
}
}

@media (max-width: 768px) {
    header {
    padding-bottom: 0.5rem;
    }

    nav {
    flex-wrap: wrap;
    justify-content: center;
    }

    .nosotros {
    flex-direction: column;
    }

    .hero h2 {
    font-size: 2rem;
    text-align: left;

    }

    .hero p {
    font-size: 1rem;
    text-align: left;
    }
}

.section-title {
    text-align: center;
    position: relative;
    display:block;
    font-size: 2rem;
    padding: 10px;
    color: var(--orange);
}


.section-title::after {

    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 3px;
    background: var(--orange);
    transition: width 0.4s ease;
    }

    .section-title:hover::after {
        width: 100%
    }

    .info-panel:hover,
    .chat-panel:hover {

        transform: scale(1.01);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        transition: 0.3s ease-in-out;
    }


@keyframes popIn {
  0% { transform: scale(0.7); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

