
:root {
    --primary-color: #f4e4ca;
    --secondary-color: #c0923b;
    --background-color: #f8f9fa;
    --text-color: #2a304c;
}/* Nosotros Page Styles */
.hero { 
    position: relative;
    height: 99vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    bottom: 0%;
}

.hero .overlay { 
    background: transparent;
    border-radius: 8px;
    text-align: center;
    max-width: 1100px;
    font-size: 3rem;
    bottom: 0%;
    position: absolute;
}

/* Hero Carousel Styles */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
}

.hero-carousel .carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-carousel .carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-carousel .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

.hero-carousel .carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-carousel .carousel-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: #fff;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.9), 
                 -1px -1px 3px rgba(0,0,0,0.8),
                 0 0 15px rgba(0,0,0,0.7);
    max-width: 1100px;
    width: 90%;
}

.hero-carousel .carousel-overlay h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 4px 4px 10px rgba(0,0,0,0.9), 
                 -2px -2px 5px rgba(0,0,0,0.8),
                 0 0 20px rgba(0,0,0,0.7);
    font-weight: 900;
}

.hero-carousel .carousel-overlay p {
    font-size: 28px !important;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.9), 
                 -1px -1px 4px rgba(0,0,0,0.8),
                 0 0 15px rgba(0,0,0,0.7);
    font-weight: 700;
}

.hero-carousel .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.45);
    color: #fff;
    border: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 3;
}

.hero-carousel .carousel-btn.prev { left: 12px; }
.hero-carousel .carousel-btn.next { right: 12px; }

.hero-carousel .carousel-indicators {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 30px;
    display: flex;
    gap: 8px;
    z-index: 3;
}

.hero-carousel .carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s;
}

.hero-carousel .carousel-indicators .indicator.active {
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.15);
}

/* Section Rows */
.section-row {
    display: flex;
    gap: 20px;
    align-items: stretch;
    padding: 40px 20px;
    max-width: 1300px;
    margin: 0 auto;
}

.section-row .img {
    flex: 1;
    display: flex;
    align-items: stretch;
}

.section-row .img img {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    display: block;
    object-fit: fill;
}

.section-row .txt {
    flex: 1;
	color: var(--text-color) !important;
    display: flex;
    flex-direction: column;
}

.section-row .txt > h2 {
    font-size: 4rem;
	color: var(--text-color) !important;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.section-row .txt > p {
    font-size: 1.3rem;
	color: var(--text-color) !important;
	text-align: justify;
    line-height: 1.8;
}

/* Enhanced Paragraph Section - Featured Section */
.paragraph-section {
    padding: 40px 20px;
    overflow: visible;
}

.paragraph-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    align-items: stretch;
    position: relative;
}

.paragraph-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    min-height: 340px;
    display: flex;
    align-items: stretch;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: perspective(1000px) rotateY(-2deg);
    transition: all 0.5s ease;
}

.paragraph-image:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.paragraph-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.paragraph-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(192, 146, 59, 0.15), 
        rgba(244, 228, 202, 0.1));
    opacity: 0;
    transition: opacity 0.5s ease;
}

.paragraph-image:hover .image-overlay {
    opacity: 1;
}

.paragraph-content {
    flex: 1;
    position: relative;
    display: flex;
    align-items: stretch;
}

.content-inner {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.95), 
        rgba(244, 228, 202, 0.9));
    padding: 0 32px 38px 32px;
    border-radius: 20px;
    position: relative;

    transition: all 0.4s ease;
    height: 95%;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.content-inner:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.25),
        inset 0 2px 0 rgba(255, 255, 255, 1),
        inset 0 -2px 0 rgba(0, 0, 0, 0.15);
}

.decorative-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    margin-bottom: 25px;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(192, 146, 59, 0.4);
}

.paragraph-content h3 {
    font-size: 3.8rem;
    color: var(--text-color);
    margin: 20px 0 25px 0;
    line-height: 1.2;
    font-weight: 800;
    
    position: relative;
}

.paragraph-content p {
    font-size: 1.3rem;
    line-height: 1.7;
    color: var(--text-color);
    text-align: justify;
    opacity: 0.9;
}

.decorative-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid var(--secondary-color);
    opacity: 0.5;
    transition: all 0.4s ease;
}

.decorative-corner.top-left {
    top: 15px;
    left: 15px;
    border-right: none;
    border-bottom: none;
    border-radius: 5px 0 0 0;
}

.decorative-corner.top-right {
    top: 15px;
    right: 15px;
    border-left: none;
    border-bottom: none;
    border-radius: 0 5px 0 0;
}

.decorative-corner.bottom-left {
    bottom: 15px;
    left: 15px;
    border-right: none;
    border-top: none;
    border-radius: 0 0 0 5px;
}

.decorative-corner.bottom-right {
    bottom: 15px;
    right: 15px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 5px 0;
}

.content-inner:hover .decorative-corner {
    opacity: 1;
    width: 40px;
    height: 40px;
}

/* Paragraph Overlay Section - texto encima de la imagen */
.paragraph-section-overlay {
    padding: 80px 20px 100px;
    background: radial-gradient(circle at top, rgba(192,146,59,0.12), transparent 60%);
}

.paragraph-overlay-card {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 28px 80px rgba(0,0,0,0.45);
}

.paragraph-overlay-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(4, 9, 22, 0.15),
        rgba(0, 0, 0, 0.75));
}

.paragraph-overlay-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left,
        rgba(244, 228, 202, 0.45), transparent 60%),
        radial-gradient(circle at bottom right,
        rgba(192, 146, 59, 0.55), transparent 60%);
    mix-blend-mode: soft-light;
}

.paragraph-overlay-content {
    position: relative;
    z-index: 1;
    padding: 60px 70px 70px;
    max-width: 650px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.overlay-kicker {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: rgba(244, 228, 202, 0.9);
}

.overlay-title {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 2.6rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-shadow: 0 10px 25px rgba(0,0,0,0.9);
}

.overlay-text {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.05rem;
    line-height: 1.9;
    color: rgba(255,255,255,0.92);
    text-align: justify;
}

.paragraph-overlay-content::after {
    content: '';
    position: absolute;
    left: 70px;
    bottom: 50px;
    width: 110px;
    height: 2px;
    background: linear-gradient(90deg,
        rgba(244,228,202,0.1),
        rgba(244,228,202,0.8),
        rgba(192,146,59,0.8));
    box-shadow: 0 6px 18px rgba(0,0,0,0.6);
}

/* Paragraph Compact Section - tarjeta limpia y moderna */
.paragraph-section-compact {
    padding: 70px 20px 90px;
    background: linear-gradient(180deg,
        rgba(248,249,250,1) 0%,
        rgba(244,228,202,0.18) 40%,
        rgba(248,249,250,1) 100%);
}

.paragraph-compact-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
    gap: 40px;
    align-items: center;
    background: #ffffff;
    border-radius: 26px;
    box-shadow: 0 18px 60px rgba(0,0,0,0.10);
    overflow: hidden;
    border: 1px solid rgba(192,146,59,0.12);
}

.paragraph-compact-media {
    background: radial-gradient(circle at top left,
        rgba(192,146,59,0.18), transparent 60%);
    height: 100%;
    display: flex;
    align-items: stretch;
}

.paragraph-compact-image {
    width: 100%;
    min-height: 260px;
    background-size: cover;
    background-position: center;
}

.paragraph-compact-content {
    padding: 40px 45px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.compact-tag {
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--secondary-color);
    font-weight: 600;
}

.compact-title {
    font-size: 2.1rem;
    color: var(--text-color);
    margin: 0;
    line-height: 1.2;
    font-weight: 800;
}

.compact-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
    text-align: justify;
}



/* Responsive */
@media (max-width: 900px) {
    .section-row {
        flex-direction: column;
        padding: 30px;
        gap: 40px;
    }
    
    .hero, .hero-carousel {
        height: 50vh;
    }
    
    .hero-carousel .carousel-overlay h1 {
        font-size: 2rem;
    }
    
    .hero-carousel .carousel-overlay p {
        font-size: 1.2rem !important;
    }
    
    /* Paragraph section responsive */
    .paragraph-section {
        padding: 50px 20px;
    }
    
    .paragraph-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .paragraph-image {
        transform: none;
    }
    
    .paragraph-image img {
        height: 280px;
    }
    
    .content-inner {
        padding: 28px 20px;
    }
    
    .paragraph-content h3 {
        font-size: 1.8rem;
    }
    
    .paragraph-content p {
        font-size: 1rem;
    }
    
    .decorative-corner {
        width: 20px;
        height: 20px;
    }
    
    /* hacer que en móvil la imagen de la sección marcada aparezca sobre el texto */
    .section-row.img-top-mobile .img {
        order: -1;
        width: 100%;
    }
    
    .section-row.img-top-mobile .txt {
        order: 2;
    }

    /* Paragraph overlay responsive */
    .paragraph-section-overlay {
        padding: 50px 15px 70px;
    }

    .paragraph-overlay-card {
        border-radius: 22px;
    }

    .paragraph-overlay-content {
        padding: 40px 28px 45px;
        max-width: 100%;
    }

    .overlay-title {
        font-size: 1.9rem;
    }

    .overlay-text {
        font-size: 0.98rem;
    }

    /* Paragraph compact responsive */
    .paragraph-section-compact {
        padding: 50px 15px 70px;
    }

    .paragraph-compact-inner {
        grid-template-columns: 1fr;
        border-radius: 22px;
    }

    .paragraph-compact-content {
        padding: 30px 22px 35px;
    }

    .compact-title {
        font-size: 1.7rem;
    }

    .compact-text {
        font-size: 0.98rem;
    }
}
