/* --- VARIABLES DE COLOR --- */
:root {
    --fondo-claro: #f4f0ea; 
    --texto-oscuro: #1a1a1a; 
    --dorado-acento: #b89558; 
}

/* --- RESET Y FUENTES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--texto-oscuro);
    background-color: var(--fondo-claro);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden; 
}

/* --- IMAGEN DE FONDO (FIJA Y DIFUMINADA AL 80%) --- */
body::before {
    content: "";
    position: fixed; 
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-image: url('logos/PG.jpeg');
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    filter: blur(25px); 
    z-index: 0;
}

body::after {
    content: "";
    position: fixed; 
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 0;
}

h1, h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

/* --- LA TARJETA PRINCIPAL --- */
.floating-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-radius: 24px;
    
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.7), 
                0 15px 25px rgba(0, 0, 0, 0.5), 
                inset 0 0 15px rgba(184, 149, 88, 0.15);
    
    width: 100%;
    max-width: 1100px;
    padding: 45px 30px;
    
    display: flex;
    flex-direction: column;
    gap: 40px;
    text-align: center;
    position: relative;
    z-index: 2; 
    margin: 20px 0; 
}

/* --- EL MARCO METÁLICO DORADO --- */
.floating-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 3px; 
    
    background: linear-gradient(135deg, #a67c00 0%, #d4af37 25%, #fcf6ba 50%, #b89558 75%, #8a6b32 100%);
    
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    
    pointer-events: none;
    z-index: 10;
}

/* --- ESTILOS COMPARTIDOS (Inicio) --- */
.brand-section, .contact-section {
    flex: 1;
    position: relative;
    z-index: 2;
}

.logo-container { margin-bottom: 20px; }

.logo-img {
    width: 180px;
    height: 180px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    object-fit: contain;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3); 
}

.business-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #111; 
    font-weight: 500; 
}

/* Efecto de Letra Destacada (Solo en la primera línea) */
.business-description::first-letter {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem; /* Grande pero proporcionado */
    font-weight: 700;
    color: var(--texto-oscuro);
    /* Sin float para que no invada las siguientes líneas */
}

.contact-info h2 {
    font-size: 1.4rem;
    color: var(--texto-oscuro);
}

.contact-info p {
    margin-bottom: 12px;
    font-size: 0.95rem;
    font-weight: 500;
}

/* --- ESTILOS EXCLUSIVOS: SOBRE-NOSOTROS.HTML --- */
.about-card {
    max-width: 900px;
    gap: 20px;
}

.about-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 2;
}

.about-content {
    position: relative;
    z-index: 2;
    text-align: left;
    background: rgba(255, 255, 255, 0.35);
    padding: 35px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: inset 0 0 15px rgba(255,255,255,0.2);
}

.about-content h3 {
    font-family: 'Playfair Display', serif;
    color: var(--dorado-acento);
    margin: 30px 0 15px 0;
    font-size: 1.4rem;
    
    /* Borde negro translúcido para bajar drásticamente el contraste */
    -webkit-text-stroke: 0.4px rgba(0, 0, 0, 0.3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.about-content p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #111;
    font-weight: 500;
    margin-bottom: 15px;
}

.about-content ol, .about-content ul {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #111;
    font-weight: 500;
    margin-bottom: 20px;
    padding-left: 20px;
}

.about-content li {
    margin-bottom: 10px;
}

/* Efecto de desvanecimiento rectangular para las imágenes tipo banner */
.fade-img {
    width: 100%;
    max-width: 350px; 
    margin: 25px auto;
    display: block;
    
    -webkit-mask-image: 
        linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
    
    filter: saturate(110%);
}

.slogan-box {
    text-align: center;
    margin: 40px 0;
    padding: 20px;
    border-top: 1px solid rgba(184, 149, 88, 0.4);
    border-bottom: 1px solid rgba(184, 149, 88, 0.4);
}

.slogan { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.1rem; }
.slogan-sub { color: var(--dorado-acento); font-weight: 700; font-size: 1rem; margin: 5px 0; }
.slogan-tag { font-style: italic; font-size: 0.9rem; opacity: 0.8; }


/* --- BOTONES --- */
.action-buttons {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px; 
    align-items: center; 
    position: relative;
    z-index: 2;
}

.btn {
    display: inline-block;
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
    text-align: center;
}

.primary-btn {
    background-color: var(--texto-oscuro);
    color: var(--dorado-acento);
    border: 1px solid transparent;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.primary-btn:hover {
    background-color: transparent;
    color: var(--texto-oscuro);
    border: 1px solid var(--texto-oscuro);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.secondary-btn {
    background-color: transparent;
    color: var(--texto-oscuro);
    border: 1px solid var(--texto-oscuro);
}

.secondary-btn:hover {
    background-color: var(--texto-oscuro);
    color: var(--fondo-claro);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* --- ADAPTACIÓN A ESCRITORIO --- */
@media (min-width: 768px) {
    .floating-card {
        flex-direction: row;
        align-items: center;
        padding: 80px 70px;
        gap: 60px;
        margin: 0; 
    }
    
    .about-card {
        flex-direction: column;
        padding: 60px 70px;
        gap: 30px;
        margin: 40px 0;
    }

    .brand-section {
        text-align: left;
        padding-right: 45px;
    }

    .brand-section::after {
        content: "";
        position: absolute;
        right: 0;
        top: 10%;
        height: 80%;
        width: 2px; 
        background: linear-gradient(to bottom, transparent 0%, #a67c00 20%, #fcf6ba 50%, #b89558 80%, transparent 100%);
    }

    .contact-section {
        text-align: center;
        padding-left: 10px;
    }
    
    .action-buttons {
        align-items: center;
    }
    
    .fade-img {
        max-width: 450px;
    }
}