* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-dark: #3a2e2c;
    --color-accent: #d4a373;
    --color-secondary-accent: #9d8189;
    --color-light-accent: #f8edeb;
    --color-text-dark: #333;
    --color-text-light: #f0f0f0;
    --color-background-light: #fefefe;

    /* Tipografía */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Roboto', sans-serif;

}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    line-height: 1.6;
    background-color: white;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Botones Genéricos --- */
.btn-primary {
    display: inline-block;
    background-color: transparent;
    border: 2px solid white;
    color: white;
    padding: 10px 25px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s, border-color 0.3s;
}

.btn-primary:hover {
    background-color: var(--color-accent);
    /* Dorado/Champán */
    border-color: var(--color-accent);
}

/*
  ENCABEZADO Y NAVEGACIÓN
*/
.main-header {
    background-color: var(--color-dark);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
}

.logo {
    font-size: 1.5em;
    font-weight: 700;
    font-family: var(--font-heading);
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    padding: 5px 10px;
    transition: color 0.3s;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: var(--color-accent);
}

/*
  SECCIÓN INDEX.HTML
*/

.hero-section {
    background-color: var(--color-dark);
    color: white;
    text-align: center;
    padding: 100px 20px;
    background-size: cover;
    background-position: center;
}

.hero-content h1 {
    font-size: 3em;
    color: var(--color-accent);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Productos Destacados --- */
.featured-products {
    padding: 60px 0;
    text-align: center;
}

.featured-products h2 {
    font-family: var(--font-heading);
    font-size: 2.2em;
    margin-bottom: 40px;
    color: var(--color-text-dark);
}

.products-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.product-card {
    flex: 1 1 300px;
    max-width: 350px;
    background-color: white;
    border: 1px solid #ddd;
    padding: 20px;
    text-align: center;
    transition: box-shadow 0.3s;
}

.product-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-image img {
    height: 250px;
    width: 100%;
    object-fit: contain;
    margin-bottom: 15px;
}

.product-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4em;
    margin-bottom: 10px;
}

.price {
    font-size: 1.1em;
    color: var(--color-secondary-accent);
    font-weight: 700;
    margin-bottom: 15px;
}

.btn-add-cart {
    background-color: var(--color-dark);
    color: white;
    border: none;
    padding: 8px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: var(--font-body);
}

.btn-add-cart:hover {
    background-color: var(--color-accent);
}

/* ---(Sección Abajo de Productos) --- */
.philosophy-section {
    background-color: var(--color-background-light);
    padding: 50px 0;
    text-align: center;
}

.philosophy-text {
    max-width: 800px;
    margin: 0 auto;
}

.philosophy-text h2 {
    font-family: var(--font-heading);
    color: var(--color-accent);
    font-size: 2em;
    margin-bottom: 15px;
}

/*
  SECCIÓN EMPRESA.HTML (NOSOTROS)
*/

/* --- Acerca de la Empresa --- */
.about-company-section {
    padding: 60px 0;
    background-color: white;
}

.about-flex {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
}

.about-text-content {
    flex: 2;
}

.about-text-content h2 {
    font-family: var(--font-heading);
    font-size: 2.2em;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.about-text-content p {
    margin-bottom: 15px;
    color: #555;
}

.about-image-circle {
    flex: 1;
    min-width: 250px;
    height: 250px;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.about-image-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Estilos de Testimonios --- */
.testimonials-section {
    padding: 40px 0 80px 0;
    background-color: var(--color-background-light);
}

.testimonials-section h3 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2em;
    margin-bottom: 30px;
    color: var(--color-text-dark);
}

.testimonial-card {
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.testimonial-card .client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-card .client-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    border: 2px solid var(--color-secondary-accent);
}

.testimonial-card .client-quote {
    font-style: italic;
    flex-grow: 1;
    line-height: 1.4;
}

.testimonial-card .client-name {
    text-align: right;
    font-weight: 700;
    margin-top: 10px;
    padding-right: 15px;
    font-size: 0.9em;
}

/* Colores de los bloques de testimonio */
.green-bg-alt {
    background-color: var(--color-light-accent);
    color: var(--color-text-dark);
}

.dark-green-bg {
    background-color: var(--color-secondary-accent);
    color: white;
}

.dark-green-bg .client-quote {
    color: white;
}

.dark-green-bg .client-name {
    color: var(--color-text-light);
}


/*
  SECCIÓN CONTACTO.HTML
*/

/* --- Formulario de Contacto --- */
.contact-form-section {
    padding: 50px 0;
    background-color: white;
}

.contact-title-elegance {
    font-family: var(--font-heading);
    font-size: 2.2em;
    font-weight: 700;
    color: var(--color-accent);
    text-align: left;
    max-width: 600px;
    margin: 0 auto 5px auto;
}

.contact-subtitle {
    font-size: 1em;
    margin-bottom: 30px;
    color: #555;
    text-align: left;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 0;
    text-align: left;
}

.contact-form label {
    display: block;
    font-weight: 400;
    margin-bottom: 2px;
    margin-top: 15px;
    color: var(--color-text-dark);
    font-size: 0.9em;
    font-family: var(--font-body);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 8px 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-family: inherit;
    font-size: 1em;
    box-shadow: none;
    background-color: #fcfcfc;
}

.btn-contact-submit {
    background-color: var(--color-dark);
    color: white;
    padding: 10px 30px;
    text-decoration: none;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.btn-contact-submit:hover {
    background-color: var(--color-secondary-accent);
}

/* --- Bloques de Información --- */

.info-blocks-section {
    background-color: var(--color-background-light);
    color: var(--color-text-dark);
    padding: 40px 0 50px 0;
    text-align: center;
    border-top: 1px solid #eee;
}

.info-grid {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.info-block {
    flex: 1;
    padding: 20px;
}

.icon-lg {
    font-size: 2.8em;
    color: var(--color-secondary-accent);
    margin-bottom: 10px;
}

.info-block p {
    margin: 5px 0;
    font-weight: 700;
    font-size: 1.1em;
}

.info-block .detail {
    font-size: 0.9em;
    color: #777;
    font-weight: 400;
}


/*
  PIE DE PÁGINA
*/
footer {
    background-color: var(--color-dark);
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
}

footer a {
    color: var(--color-accent);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}



@media (max-width: 900px) {
    .products-grid {
        gap: 15px;
    }
}

@media (max-width: 768px) {

    /* Empresa/Nosotros */
    .about-flex {
        flex-direction: column;
        text-align: center;
    }

    .about-image-circle {
        order: -1;
        margin-bottom: 20px;
    }

    /* Contacto */
    .info-grid {
        flex-direction: column;
        gap: 30px;
    }

    .contact-title-elegance,
    .contact-subtitle {
        text-align: center;
    }
}

@media (max-width: 600px) {

    /* Global */
    .main-header {
        flex-direction: column;
        text-align: center;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        padding-top: 10px;
    }

    .main-nav ul li a {
        margin: 5px 10px;
    }

    .hero-content h1 {
        font-size: 2.5em;
    }

    /* Productos */
    .product-card {
        flex-basis: 100%;
        max-width: 100%;
    }
}