/* :root {
    --bg-color: #f6eaec;
    --shadow-light: #ffffff;
    --shadow-dark: #d5c3c6;
    --text-main: #3a2e30;
    --text-light: #7a6a6c;
    --accent: #d47a8c;
} */

/* SECCIÓN GENERAL */

.historia {
    padding: 80px 10%;
    background: var(--bg-color);
}

/* FLEX PRINCIPAL */

/* .historia-container {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: wrap;
} */
.historia-container {
  display: flex;
  flex-direction: row; 
  align-items: flex-start; /* importante: evita que los imgs se estiren */
  gap: 35px; /* espacio entre el bloque de imgs y el bloque de texto */
  width: 100%;
}

/* IMAGEN TALLER */

/* .historia-img {
    flex: 1;
    min-width: 320px;
} */
/* Envuelve los dos .historia-img en una columna */
.historia-imgs {
  display: flex;
  flex-direction: column;
  gap: 80px; /* espacio entre las dos imágenes */
  flex-shrink: 0; /* evita que se compriman */
  min-width: 320px;
}

.historia-img img {
    display:block;
    width: 100%;
    height:auto;
    border-radius: 25px;
    object-fit: cover;
    /* Efecto Neomórfico Extruido (Hacia afuera) */
    box-shadow:
        12px 12px 24px var(--shadow-dark),
        -12px -12px 24px var(--shadow-light);
}

/* TEXTO */

.historia-texto {
    flex: 2;
    min-width: 300px;
}

.historia-texto h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-main);
    font-style: italic;
}

.historia-texto p {
    margin-bottom: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

/* =========================
   ESTILO NEOMÓRFICO CARD
========================= */
.fundadora-card {
    display: flex;
    flex-direction: row-reverse;
    gap: 60px;
    align-items: stretch;
    background: var(--bg-color);
    /* Cambiado a var(--bg-color) para el efecto */
    padding: 40px;
    /* Añadido padding para que respire la tarjeta neomórfica */
    border-radius: 30px;
    /* Bordes suaves característicos */
    margin-top: 40px;

    /* Gran sombra neomórfica para toda la tarjeta */
    box-shadow:
        15px 15px 30px var(--shadow-dark),
        -15px -15px 30px var(--shadow-light);
}

/* IMAGEN DE LA FUNDADORA */
.fundadora-media {
    flex: 1;
    display: flex;
}

.fundadora-media img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    border-radius: 20px;

    /* Sombra suave para hundir ligeramente o integrar la foto */
    box-shadow:
        6px 6px 12px var(--shadow-dark),
        -6px -6px 12px var(--shadow-light);
}

/* TEXTO */
.fundadora-info {
    flex: 1.4;
    padding: 10px 25px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* TÍTULO BASE DE ALINEACIÓN */
.fundadora-info h3 {
    font-size: 2.4rem;
    color: var(--text-main);
    margin-bottom: 20px;
}

/* LÍNEA SUTIL (Estilo bajorrelieve) */
.fundadora-info h3::after {
    content: "";
    display: block;
    width: 70px;
    height: 2px;
    /* Un pelo más gruesa para notar el relieve */
    background: var(--accent);
    margin-top: 10px;
    opacity: 0.4;
    border-radius: 10px;
}

/* TEXTO MÁS RESPIRADO */
.fundadora-info p {
    line-height: 2;
    margin-bottom: 18px;
    color: var(--text-light);
}

/* SUBTÍTULO */
.fundadora-info h4 {
    margin-top: 30px;
    margin-bottom: 12px;
    color: var(--accent);
}

/* ESTILOS NUEVOS PARA TEXTOS DESTACADOS Y LISTAS */
.subtitle-destacado {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--accent) !important;
    font-weight: 500;
}

.lista-valores {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.lista-valores li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: var(--text-light);
    line-height: 1.6;
}

.lista-valores li::before {
    content: "✿";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-size: 1.1rem;
}

.lista-valores strong {
    color: var(--text-main);
}

/* LOGO EN BAJORRELIEVE (Hacia adentro) */
.logo-container {
    margin-top: 50px;
    display: flex;
    justify-content: flex-start;
}

.logo-img {
    max-width: 140px;
    opacity: 0.85;
    padding: 15px;
    border-radius: 15px;
    background: var(--bg-color);

    /* Efecto "hundido" (inset) ideal para logos secundarios */
    box-shadow:
        inset 4px 4px 8px var(--shadow-dark),
        inset -4px -4px 8px var(--shadow-light);
}

/* RESPONSIVE */

@media(max-width: 900px) {
    .historia-container {
        flex-direction: column;
        text-align: center;
    }

    .fundadora-card {
        flex-direction: column;
        /* Voltea correctamente en móvil */
        padding: 30px 20px;
    }

    .fundadora-info {
        text-align: center;
        padding: 0;
    }

    .fundadora-info h3::after {
        margin: 10px auto 0 auto;
        /* Centra la línea sutil en móvil */
    }

    .logo-container {
        justify-content: center;
        /* Centra el logo en móvil */
    }
}

/* La galería "Así es nuestra tienda" reutiliza el componente .galeria-bodas
   (definido en estilosBodas.css), pero como aquí no está anidada dentro de
   un .plan-boda (eso es exclusivo de la página Bodas), le damos el mismo
   ancho/margen lateral directamente, solo a esta sección. */
#nuestra-tienda {
    width: min(1920px, calc(100% - clamp(38px, 6vw, 122px)));
    padding: 0 clamp(3rem, 4vw, 5rem);
}