* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    scroll-behavior: smooth;
    margin: 0;
    overflow-x: hidden;
    font-family: 'Montserrat-Regular';
}

li {
    list-style: none;
}

/* color principal: #e1aa69 */

a {
    text-decoration: none;
    color: black;
}

/* Fuentes externas */

@font-face {
    font-family: 'Montserrat-Regular';
    src: url(../fonts/Montserrat-Regular.ttf);
}

.header {
    margin: 0;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 90px;
}

.ul_link {
    display: flex;
    gap: 40px;
    margin-right: 130px;
}

.li_link {
    padding: 8px;
    border-radius: 30px;
    transition: all ease-in-out .4s;
}

.li_link:hover {
    background-color: #e1aa69;
    padding: 8px;
    border-radius: 30px;
    transition: all ease-in-out .3s;
}

.hero_banner {
    background-image: url(../img/banner.jpg);
    height: 600px;
    width: auto;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.text_hero_banner {
    position: absolute;
    top: 140px;
    left: 130px;
}

.text_hero_banner hr {
    width: 60px;
    border: 0;
    height: 2px;
    background-color: #e1aa69;
    margin: 10px 0px;
}

.text_hero_banner span {
    font-size: 18px;   
}

.text_hero_banner p.first_p {
    margin-top: 10px;
    font-size: 35px;
    max-width: 600px;
}

.text_hero_banner p.second_p {
    margin-top: 10px;
    font-size: 16px;
    max-width: 350px;
}

/* Botón contáctame hero_banner */

.button_contact a {
    background-color: #e1aa69;
    color: white;
    padding: 10px 10px;
    border-radius: 2px;
    text-align: center;
    margin: 12px 0px;
    position: absolute;
}

.button_contact a:hover {
    background-color: #d6b081;
    transition: all ease-in-out .5s;
}

/* Botón contáctame hero_banner */

/* Sección como podemos empezar */

.how-it-works {
    text-align: center;
    padding: 50px 20px;
    background-color: #f8f8f8; 
}

.how-it-works h2 {
    font-size: 2em;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}


.how-it-works h2::after {
    content: '';
    display: block;
    width: 30%;
    height: 2px;
    background-color: #e1aa69; 
    margin: 5px auto 0;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 20px; 
    max-width: 1200px; 
    margin: 0 auto;
}

.step {
    flex: 1;
    padding: 0 15px;
    text-align: center;
}

.step-number {
    display: block; 
    width: 40px;
    height: 40px;
    line-height: 40px; 
    border-radius: 50%;
    background-color: #e1aa69; 
    color: #fff; 
    font-size: 1.2em;
    font-weight: bold;
    margin: 0 auto 15px; 
}

.step p {
    font-size: 0.95em;
    line-height: 1.6;
    color: #333;
}


.step a {
    color: #e1aa69;
    text-decoration: none;
    font-weight: bold;
}

.design-showcase {
    text-align: center;
    margin-top: 40px;
}

.design-showcase h2 {
    font-size: 2em;
    text-align: center;
    margin-bottom: 90px;
    position: relative;
    display: inline-block;
}


.design-showcase h2::after {
    content: '';
    display: block;
    width: 30%;
    height: 2px;
    background-color: #e1aa69; 
    margin: 5px auto 0;
}

/* Sección de diseños */

.design-showcase {
    padding: 60px 20px;
    background-color: #fff;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    flex: 1;
    background-color: #f7f7f7;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 0 20px 30px;
    text-align: center;
    max-width: 350px;
}

.mockup-container {
    margin-top: -30px;
    margin-bottom: 20px;
}

.mockup-image {
    max-width: 100%;
    height: auto;
    display: block;
}

.card h3 {
    font-size: 1.4em;
    color: #333;
    margin-top: 0;
    margin-bottom: 10px;
}

.card p {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 20px;
    min-height: 90px;
}

.link-demonstration {
    display: block;
    color:#e1aa69;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .cards-container {
        flex-direction: column;
        gap: 40px;
    }

    .card {
        max-width: 100%;
        margin: 0 auto;
    }
}

.contents {
    text-align: center;
}

.flex-principal-contents {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.contents {
    text-align: center;
    padding: 50px 20px;
    margin-bottom: 40px;
}

.contents h2 {
    font-size: 2em;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}


.contents h2::after {
    content: '';
    display: block;
    width: 30%;
    height: 2px;
    background-color: #e1aa69; 
    margin: 7px auto 0;
}

.text-selector p {
    max-width: 250px;
    font-size: 15px;
}

.title-selector h3 {
    font-size: 18px;
    margin: 6px 0px;
}

.icon-selector img {
    max-width: 50px;
}

.separator {
    margin: 20px 0px;
}

/* Sección de tarifas */

:root {
    --main-color: #e1aa69; /* Color principal solicitado */
    --gold-card-bg: #ffe0d5; /* Fondo más claro para la tarjeta Gold */
    --light-bg: #ffffff; /* Fondo de las otras tarjetas */
    --text-color: #333333; /* Color de texto general */
    --light-text: #555555; /* Color de texto secundario */
    --border-color: #f0f0f0;
}

/* Contenedor principal */
.tariffs {
    padding: 40px 20px;
    text-align: center;
    background-color: #f8f8f8; /* Fondo sutil para la sección */
}

/* Título de la sección */
.tariffs h2 {
    font-size: 2em;
    color: var(--text-color);
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.tariffs h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--main-color);
    margin: 5px auto 0;
}

/* Contenedor de las tarjetas */
.pricing-container {
    display: flex;
    justify-content: center;
    gap: 30px; /* Espacio entre tarjetas */
    flex-wrap: wrap;
}

/* Estilos de las tarjetas base */
.pricing-card {
    background-color: var(--light-bg);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 30px;
    width: 100%;
    max-width: 350px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}


.pricing-card.featured {
    background-color:rgba(214, 176, 129,0.4);
    box-shadow: 0 6px 15px rgba(225, 170, 105, 0.3);
    border: 1px solid var(--main-color);
}


.ribbon {
    position: absolute;
    top: 60px;
    right: -30px;
    background-color: #e1aa69;
    color: white;
    padding: 5px 25px;
    font-weight: bold;
    font-size: 0.85em;
    transform: rotate(38deg) translate(8px, -10px);
    transform-origin: 100% 0;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
}


.card-title {
    font-size: 1.5em;
    color: var(--text-color);
    margin-bottom: 5px;
}

.card-subtitle {
    color: var(--light-text);
    font-size: 0.9em;
    margin-bottom: 20px;
    font-weight: 300;
}


.card-price {
    font-size: 3em;
    font-weight: bold;
    color: var(--main-color);
    margin-bottom: 30px;
}

.card-price sup {
    font-size: 0.5em;
    margin-left: 5px;
    font-weight: normal;
}

.card-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
}

.card-features li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color);
    color: var(--light-text);
    display: flex;
    align-items: center;
    font-size: 0.95em;
}

.card-features li:last-child {
    border-bottom: none;
}

.check-icon {
    color: var(--main-color);
    font-size: 1.2em;
    margin-right: 10px;
    width: 15px;
    font-weight: bold;
    text-align: center;
}

.circle-icon {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 2px solid #ccc;
    margin-right: 13px;
    margin-left: 5px;
}

/* Botón de acción */
.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: #e1aa69;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #d48320;
}

@media (max-width: 768px) {
    .pricing-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .pricing-card {
        margin-bottom: 20px;
        max-width: 90%;
    }
}

/* Secciones opiniones y footer */

:root {
    /* Colores base para ambas secciones */
    --main-color: #e1aa69; /* Color principal de acento (para estrellas) */
    --bg-light: #f5f5f5; /* Fondo general de secciones (Gris muy claro) */
    --card-bg: #ffffff; /* Fondo de tarjetas y Footer */
    --main-text-color: #333333; /* Títulos y enlaces */
    --secondary-text-color: #777777; /* Párrafos y texto secundario */
    --button-color: #222222; /* Color negro/gris oscuro del botón de contacto */
}

/* ======================================= */
/* SECCIÓN DE OPINIONES (TESTIMONIALS)     */
/* ======================================= */

.testimonials-section {
    background-color: var(--bg-light);
    padding: 60px 20px 40px;
    text-align: center;
}

/* Reemplaza la regla .testimonials-section h2 existente */
.testimonials-section h2 {
    font-size: 2.2em;
    color: var(--main-text-color);
    margin-bottom: 40px; 
    font-weight: 400; /* Ajustado para mayor peso visual */
    text-align: center; /* Asegura que el texto esté centrado */

    /* Reglas para la barra inferior */
    display: inline-block; 
    position: relative; 
    padding-bottom: 8px; 
}

.testimonials-section h2::after {
    content: '';
    display: block;
    width: 60px; /* Ancho de la barra */
    height: 3px; /* Grosor de la barra */
    background-color: var(--main-color); /* Color de la barra (#e1aa69) */
    position: absolute;
    bottom: 0;
    left: 50%; /* Centra la barra horizontalmente */
    transform: translateX(-50%); /* Ajuste final para el centrado */
}

.carousel-wrapper {
    overflow: hidden; 
    margin: 0 auto;
    max-width: 1050px; 
}

.testimonials-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%; 
    justify-content: space-between; 
}

/* Ajuste clave: Tarjeta compacta para ver 3 por fila en desktop */
.testimonial-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 20px; /* Reducido para hacerla más pequeña */
    margin: 0 10px; 
    width: calc(33.333% - 20px); /* 3 tarjetas por vista */
    flex-shrink: 0; 
    text-align: left;
    min-height: 150px; 
}

.client-name {
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--main-text-color);
}

.rating {
    color: var(--main-color); /* Color de acento para las estrellas */
    font-size: 1em;
    margin-bottom: 10px; 
}

.review-text {
    color: var(--secondary-text-color);
    line-height: 1.4; 
    font-size: 0.9em; 
}

.carousel-indicators {
    text-align: center;
    margin-top: 30px;
}

.indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #cccccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: #d48320;
    width: 8px;
    height: 8px;
}

/* ======================================= */
/* SEPARADOR Y FOOTER (PIE DE PÁGINA)      */
/* ======================================= */

.section-divider {
    border: 0;
    border-top: 1px solid #eeeeee;
    width: 80%;
    max-width: 1050px;
    margin: 0 auto 0 auto; 
}

.main-footer {
    background-color: var(--card-bg); 
    padding: 60px 20px 40px;
    color: var(--secondary-text-color);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1050px;
    margin: 0 auto;
    flex-wrap: wrap; 
    gap: 30px;
}

.footer-col {
    padding: 0;
    min-width: 150px; /* Asegura que las columnas de enlaces no sean demasiado estrechas */
}

.about-us {
    max-width: 300px;
    flex-grow: 1;
}

.footer-logo {
    height: 60px; 
    margin-bottom: 10px;
    /* Filtro para simular el logo en blanco y negro (si tu logo original es a color) */
}

.footer-col h4 {
    color: var(--main-text-color);
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    text-decoration: none;
    color: var(--main-text-color);
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.footer-col a:hover:first-child {
    color: var(--main-color);
}

.active-link {
    font-weight: bold;
    color: var(--main-color) !important;
}

.contact-col {
    flex-basis: 250px; /* Ancho fijo para la columna de contacto */
}

.contact-col p {
    font-size: 0.9em;
    margin-bottom: 15px;
    line-height: 1.5;
}

.email-link {
    margin-bottom: 20px;
}

.email-link a {
    font-weight: normal;
    color: var(--main-text-color);
}

/* Estilo del botón de contacto corregido */
.btn-contact {
    display: inline-block;
    padding: 12px 25px;
    background-color:#e1aa69; /* Fondo negro */
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9em;
    font-weight: 600;
    transition: background-color 0.3s ease;
    border: none;
    text-transform: uppercase;
    white-space: nowrap;
}

@media (max-width: 992px) {
    /* Opiniones: 2 tarjetas por fila en tablet */
    .testimonial-card {
        width: calc(50% - 20px); 
    }
}

@media (max-width: 768px) {
    /* Footer: Columnas apiladas en móvil */
    .footer-container {
        flex-direction: column;
        align-items: flex-start; /* Alineado a la izquierda */
    }

    .footer-col {
        width: 100%;
        margin-bottom: 30px;
    }

    .footer-col:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 600px) {
    /* Opiniones: 1 tarjeta por fila en móvil */
    .testimonial-card {
        width: calc(100% - 20px); 
        margin: 0 10px 20px 10px;
    }

    .testimonials-carousel {
        flex-wrap: wrap; /* Permite que las tarjetas caigan en vertical */
        justify-content: center;
    }
    
    .carousel-indicators {
        display: none; /* Ocultamos los puntos en móvil si no hay un carrusel funcional */
    }
}

.carousel-indicators {
    text-align: center;
    margin-top: 30px;
}

.indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #cccccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: #d48320; /* Punto activo en negro */
    width: 8px;
    height: 8px;
}

/* Menu navbar para moviles */

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 27px;
    height: 25px;
    cursor: pointer;
    z-index: 1000; 
}

.menu-toggle .bar {
    width: 90%;
    height: 2px;
    background-color:#d48320; 
    border-radius: 5px;
    transition: all 0.3s linear;
    transform-origin: 1px;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(49deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0; 
}

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-50deg);
}


.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background-color: rgb(255, 255, 255);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%);
    transition: transform 0.4s ease-in-out;
    z-index: 999;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sidebar.open {
    transform: translateX(0);
}

.sidebar .logo img {
    max-width: 80px;
    margin-bottom: 30px;
}

.sidebar .ul_link {
    flex-direction: column;
    gap: 15px;
    margin: 0;
    padding: 0;
    width: 100%;
}

.sidebar .li_link {
    width: 100%;
    text-align: left;
    border-radius: 5px;
}


@media (max-width: 992px) {
    
    
    
    .ul_link_desktop { 
        display: none;
    }

    .logo img {
        width: 50px;
    }
    
    
    .sidebar .ul_link {
        display: flex;
    }

    .sidebar .logo img {
        width: 70px;
    }


    .menu-toggle {
        display: flex;
    }
    

    .navbar {
        margin: 10px 30px;
    }


    .sidebar {
        width: 60%;
    }

    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 100;
        background-color: rgba(255, 255, 255,0.8);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        margin: 0;
    }

    body {
        padding-top: 60px; 
    }
}

/* Responsive versión hero_banner */

@media (max-width: 768px) {
    /* ... Tus reglas de responsive existentes ... */

    /* HERO BANNER RESPONSIVE STYLES */
    .hero_banner {
        /* Reducir la altura fija de 600px. Usamos 50vh (50% del alto de la pantalla) 
           para que se ajuste, pero le ponemos una altura mínima. */
        height: 50vh; 
        min-height: 350px; 
    }

    .text_hero_banner {
        /* Anular la posición absoluta fija (top: 140px, left: 130px) */
        position: static; 
        top: auto; 
        left: auto;
        
        /* Añadir padding (relleno) para que el texto no toque los bordes del móvil */
        padding: 40px 20px 20px 20px; 
        width: 100%;
        text-align: center; /* Centrar todo el texto */
    }
    
    /* Centrar la línea horizontal */
    .text_hero_banner hr {
        margin: 10px auto; 
    }

    /* Reducir tamaño de fuente del texto más pequeño */
    .text_hero_banner span {
        font-size: 14px;   
    }

    /* Reducir tamaño de fuente del título principal (de 35px a 24px) */
    .text_hero_banner p.first_p {
        font-size: 24px; 
        max-width: 100%; 
    }

    /* Reducir tamaño de fuente del texto secundario */
    .text_hero_banner p.second_p {
        font-size: 14px; 
        max-width: 90%; 
        margin: 10px auto; /* Centrar el párrafo */
    }
    
    /* Estilos para el botón de contacto en móvil */
    .button_contact {
        position: static; /* Asegurar que el contenedor esté en el flujo normal */
        text-align: center;
        margin-top: 20px;
    }
    
    .button_contact a {
        /* Anular la posición absoluta del botón de escritorio */
        position: static; 
        display: inline-block;
        margin: 20px auto;
    }
    
    /* ... Tus reglas de responsive existentes ... */
}


/* Responsive sección como empezar */

@media (max-width: 768px) {
    /* ... Tus estilos responsive anteriores aquí (diseños, hero_banner, etc.) ... */

    /* RESPONSIVE: SECCIÓN CÓMO PODEMOS EMPEZAR */
    .steps-container {
        /* Cambia de disposición horizontal a vertical */
        flex-direction: column; 
        /* Aumenta el espacio entre los pasos al apilarlos */
        gap: 40px; 
        /* Restablece el margen lateral para usar el 100% del ancho */
        margin: 0; 
    }

    .step {
        /* Asegura que cada paso ocupe el ancho completo y elimina el padding horizontal */
        flex: none; 
        padding: 0 20px; 
    }
    
    .step-number {
        /* Asegura que el número se mantenga centrado en móvil */
        margin: 0 auto 15px; 
    }
    
    /* Pequeño ajuste en el padding general de la sección para móviles */
    .how-it-works {
        padding: 30px 10px; 
    }

    /* ... El resto de tus estilos responsive ... */
}

/* Responsive para la sección que incluye la web */

@media (max-width: 768px) {
    /* ... Tus estilos responsive anteriores aquí ... */

    /* RESPONSIVE: SECCIÓN CONTENTS */
    
    /* 1. Apila las dos filas de contenido principales */
    .flex-principal-contents {
        flex-direction: column;
        gap: 30px; /* Espacio entre cada elemento de contenido */
    }

    /* 2. Apila los elementos dentro de cada bloque de contenido y céntralos */
    .contents1 {
        width: 100%;
        display: flex;
        flex-direction: column; /* Apila los elementos (Icono, Título, Texto) */
        align-items: center;    /* Centra los elementos (Icono, Título, Texto) */
        text-align: center;     /* Centra el texto dentro de sus contenedores */
        padding: 0 20px;        /* Añade padding lateral para que no toque los bordes */
    }
    
    /* 3. Asegura el espaciado y ancho de los sub-elementos */
    .icon-selector {
        margin-bottom: 10px; /* Espacio entre el Icono y el Título */
    }

    .title-selector h3 {
        margin: 6px 0 10px 0; /* Espacio debajo del Título */
    }
    
    .text-selector p {
        /* Elimina la restricción de ancho que tenías en escritorio */
        max-width: 100%;
    }

    /* ... El resto de tus estilos responsive ... */
}
