.about-page {
    background: #faf7f2;
}

/* ---------- */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.narrow {
    max-width: 850px;
}

/* Header */
.header {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 70px;

    background: #f5f1eb;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

/* Logo */

.header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.leaf {
    color: #8ea183;
    font-size: 18px;
}

.name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: #2f2b28;
}

.surname {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-style: italic;
    color: #8ea183;
}

/* Centro */

.header__center {
    display: flex;
    align-items: center;
    gap: 16px;
}

.line {
    width: 30px;
    height: 1px;
    background: #d3cabd;
}

.tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.9rem;
    color: #b0a496;
    font-style: italic;
}

/* Navegación */

.header__nav {
    display: flex;
    gap: 35px;
}

.header__nav a {
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: #8d877f;
    transition: all .3s ease;
}

.header__nav a:hover {
    color: #8ea183;
}

/* ---------- HERO ---------- */

.about-hero {
    padding: 180px 20px 120px;
    display: flex;
    align-items: center;
    
}

.container-hero {
    margin: 0 auto;
    display: flex;
    gap: 80px;
}

.container-hero .container{
    margin: 0 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    width: 525px;
}

.about-hero .about-image {
    width: 475px;
}

.eyebrow {
    display: inline-block;
    color: #87a07d;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: .9rem;
}

.about-hero h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: 3.9rem;
    font-weight: 400;
    line-height: .95;

    color: #745f4f;

    max-width: 900px;
    margin: 30px auto;
}

.hero-text {
    max-width: 650px;

    color: #6f6863;
    font-size: 1.15rem;
    line-height: 1.9;
}

/* ---------- SECCIONES ---------- */

.about-section {
    padding: 120px 20px;


}

.pink{
    background: #f7e6e6;
}

.about-section h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: 3.5rem;
    font-weight: 400;

    color: #745f4f;

    margin-bottom: 35px;
}

.about-section p {
    color: #6f6863;
    line-height: 2;
    font-size: 1.08rem;

    margin-bottom: 20px;
}

.intro-text {
    font-size: 1.4rem !important;
    color: #745f4f !important;
}

/* ---------- GRID ---------- */

.about-grid {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 80px;
    align-items: center;
}

.about-image img {
    width: 100%;
    display: block;

    border-radius: 24px;
}

/* ---------- FONDO ---------- */

.alt-bg {
    background: #f5f1e9;
}

/* ---------- CITA ---------- */

.quote-section {
    padding: 150px 20px;
}

.quote-section blockquote {
    max-width: 900px;
    margin: 0 auto;

    text-align: center;

    font-family: "Cormorant Garamond", serif;
    font-size: 3rem;
    line-height: 1.4;

    color: #87a07d;
}

/* ---------- FINAL ---------- */

.about-ending {
    padding: 80px 20px 140px;
}

.ending-text {
    text-align: center;

    font-family: "Cormorant Garamond", serif;
    font-size: 2.5rem;

    color: #745f4f;
}

/* ---------- CTA ---------- */

.about-cta {
    background: #b87a7a;
    text-align: center;

    padding: 120px 20px;
}

.about-cta span {
    color: rgba(255,255,255,.8);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: .8rem;
}

.about-cta h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: 5rem;
    font-weight: 400;

    color: white;

    margin: 20px 0;
}

.about-cta p {
    color: rgba(255,255,255,.9);
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;

    padding: 18px 38px;

    border-radius: 999px;

    background: white;
    color: #87a07d;

    text-decoration: none;
    font-weight: 600;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 992px) {

    .about-hero h1 {
        font-size: 4rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-section h2 {
        font-size: 2.6rem;
    }

    .quote-section blockquote {
        font-size: 2rem;
    }

    .about-cta h2 {
        font-size: 3.5rem;
    }
}

/* Contenedor principal para colocar al lado del texto */
.contenedor-baraja {
position: relative;
width: 300px;      /* Ancho del área de las cartas */
height: 400px;     /* Alto de las cartas */
margin: 0 auto;
display: flex;
justify-content: center;
align-items: center;
}

/* Estilos base para las tres cartas */
.carta {
position: absolute;
width: 220px;
height: 320px;
background-size: cover;
background-position: center;
border-radius: 12px;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
cursor: pointer;

/* El truco: el punto de pivote es abajo en el centro, como al sujetar cartas */
transform-origin: bottom center; 
transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}

/* --- ESTADO INICIAL (Recogidas) --- */
/* La de la izquierda está un poco girada a la izquierda */
.carta-izq {
transform: rotate(-4deg) translateX(-15px);
z-index: 1;
}
/* La del centro queda arriba de las otras dos */
.carta-centro {
transform: rotate(0deg) translateY(-5px);
z-index: 3;
}
/* La de la derecha está un poco girada a la derecha */
.carta-der {
transform: rotate(4deg) translateX(15px);
z-index: 2;
}

/* --- ESTADO AL PASAR EL CURSOR (Efecto Abanico) --- */
/* Cuando tocas el contenedor, las cartas se despliegan */
.contenedor-baraja:hover .carta-izq {
transform: rotate(-18deg) translateX(-80px) translateY(-10px);
box-shadow: -8px 12px 25px rgba(0, 0, 0, 0.3);
}

.contenedor-baraja:hover .carta-centro {
transform: rotate(0deg) translateY(-25px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
z-index: 4; /* Se mantiene al frente */
}

.contenedor-baraja:hover .carta-der {
transform: rotate(18deg) translateX(80px) translateY(-10px);
box-shadow: 8px 12px 25px rgba(0, 0, 0, 0.3);
}

/* Efecto extra: si pasas el cursor exactamente sobre una carta individual, sobresale un poco más */
.carta:hover {
z-index: 5 !important;
scale: 1.05;
}
