/* ============================================
   INICIAL PAGE STYLES
   Estilos específicos para la página de Inicial
   Diseño cálido, lúdico y apropiado para niños pequeños
   ============================================ */

:root {
    /* Colores institucionales principales */
    --primary-blue: #193660;
    --primary-red: #E2161F;
    --primary-yellow: #FFD700;

    /* Colores complementarios suaves */
    --light-blue: #4A6FA5;
    --soft-red: #F5E6E7;
    --soft-yellow: #FFF9E6;
    --accent-gray: #F5F7FA;
    --warm-white: #FFFBF5;
}

/* ===== HERO SECTION ===== */
.inicial-hero {
    min-height: 75vh;
    background: linear-gradient(rgba(25, 54, 96, 0.7), rgba(25, 54, 96, 0.7)),
        url('../img/inicial-hero.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-top: 120px;
    overflow: hidden;
}

/* Formas decorativas en el hero */
.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    opacity: 0.1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--light-blue);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--primary-yellow);
    bottom: 15%;
    right: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--light-blue);
    top: 60%;
    left: 80%;
    animation-delay: 10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.1);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    75% {
        transform: translate(20px, 30px) scale(1.05);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.inicial-hero h1 {
    font-size: 4em;
    color: white;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.inicial-hero p {
    font-size: 1.5em;
    color: white;
    margin-bottom: 15px;
    font-weight: 600;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.1em !important;
    color: white;
    font-weight: 400 !important;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.95;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

/* ===== IDENTIDAD SECTION ===== */
.identidad-section {
    padding: 100px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header.centered {
    text-align: center;
}

.section-label {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.9em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 2.8em;
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.2em;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.identidad-content {
    max-width: 1100px;
    margin: 0 auto;
}

.identidad-text .intro-text {
    font-size: 1.2em;
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.identidad-text p {
    font-size: 1.1em;
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
}

.identidad-text strong {
    color: var(--primary-blue);
    font-weight: 700;
}

/* Carisma Cards */
.carisma-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.carisma-card {
    background: linear-gradient(135deg, #F8F9FA, white);
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-blue);
}

.carisma-card:nth-child(2) {
    border-top-color: var(--primary-red);
}

.carisma-card:nth-child(3) {
    border-top-color: var(--primary-yellow);
}

.carisma-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.carisma-card:nth-child(2) .icon-circle {
    background: linear-gradient(135deg, var(--primary-red), #E85D64);
}

.carisma-card:nth-child(3) .icon-circle {
    background: linear-gradient(135deg, #F5C842, var(--primary-yellow));
}

.icon-circle svg {
    width: 40px;
    height: 40px;
    color: white;
}

.carisma-card:hover .icon-circle {
    transform: rotate(360deg) scale(1.1);
}

.carisma-card h4 {
    color: var(--primary-blue);
    font-size: 1.3em;
    margin-bottom: 10px;
    font-weight: 700;
}

.carisma-card p {
    color: #666;
    font-size: 1em;
    line-height: 1.6;
    margin: 0;
}

/* ===== DIMENSIONES SECTION ===== */
.dimensiones-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
}

.dimensiones-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    margin-top: 60px;
}

.dimension-card {
    background: white;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border-top: 5px solid var(--primary-blue);
}

.dimension-card.card-pastoral {
    border-top-color: var(--primary-red);
}

.dimension-card.card-desarrollo {
    border-top-color: var(--light-blue);
}

.dimension-card.card-academica {
    border-top-color: var(--primary-yellow);
}

.dimension-card.card-socioemocional {
    border-top-color: var(--primary-blue);
}

.dimension-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.dimension-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.card-pastoral .dimension-icon {
    background: linear-gradient(135deg, var(--primary-red), #E85D64);
}

.card-desarrollo .dimension-icon {
    background: linear-gradient(135deg, var(--light-blue), #6B8FB8);
}

.card-academica .dimension-icon {
    background: linear-gradient(135deg, #F5C842, var(--primary-yellow));
}

.card-socioemocional .dimension-icon {
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
}

.dimension-icon svg {
    width: 35px;
    height: 35px;
    color: white;
}

.dimension-card:hover .dimension-icon {
    transform: rotate(360deg) scale(1.15);
}

.dimension-card h3 {
    color: var(--primary-blue);
    font-size: 1.6em;
    margin-bottom: 20px;
    font-weight: 700;
}

.dimension-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dimension-card li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    color: #555;
    line-height: 1.7;
    font-size: 1em;
}

.dimension-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.2em;
}

/* ===== INGLÉS SECTION ===== */
.ingles-section {
    padding: 100px 0;
    background: white;
}

.ingles-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.ingles-image {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    height: 500px;
}

.ingles-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ingles-image:hover img {
    transform: scale(1.1);
}

.image-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    font-size: 1em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.image-badge svg {
    width: 24px;
    height: 24px;
}

.ingles-text .intro-text {
    font-size: 1.15em;
    color: var(--dark-gray);
    line-height: 1.9;
    margin-bottom: 30px;
}

.ingles-text strong {
    color: var(--primary-blue);
    font-weight: 700;
}

.ingles-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 35px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5em;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-item h4 {
    color: var(--primary-blue);
    font-size: 1.2em;
    margin-bottom: 5px;
    font-weight: 700;
}

.feature-item p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* ===== ÁREAS DE DESARROLLO ===== */
.areas-desarrollo {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--soft-yellow) 0%, #FFFFFF 100%);
}

.areas-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 60px;
}

.area-card {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    transition: all 0.4s ease;
}

.area-card:nth-child(even) {
    grid-template-columns: 1.3fr 1fr;
}

.area-card:nth-child(even) .area-image {
    order: 2;
}

.area-card:nth-child(even) .area-content {
    order: 1;
}

.area-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.area-image {
    height: 100%;
    min-height: 400px;
    overflow: hidden;
}

.area-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.area-card:hover .area-image img {
    transform: scale(1.15);
}

.area-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.area-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-red), #E85D64);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.area-card:nth-child(2) .area-icon {
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
}

.area-card:nth-child(3) .area-icon {
    background: linear-gradient(135deg, #F5C842, var(--primary-yellow));
}

.area-icon svg {
    width: 35px;
    height: 35px;
    color: white;
}

.area-content h3 {
    color: var(--primary-blue);
    font-size: 2em;
    margin-bottom: 20px;
    font-weight: 700;
}

.area-content p {
    color: #666;
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 25px;
}

.area-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.area-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #555;
    font-size: 1.05em;
}

.area-list li:before {
    content: "●";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-size: 1.5em;
}

/* ===== PERFILES SECTION ===== */
.perfiles-section {
    padding: 100px 0;
    background: white;
}

.perfiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.perfil-card {
    background: linear-gradient(135deg, #F8F9FA, white);
    border-radius: 30px;
    padding: 45px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border-top: 6px solid var(--primary-blue);
}

.perfil-card:nth-child(2) {
    border-top-color: var(--primary-red);
}

.perfil-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.perfil-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid #E8EAF6;
}

.perfil-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.student-icon {
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
}

.teacher-icon {
    background: linear-gradient(135deg, var(--primary-red), #E85D64);
}

.perfil-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.perfil-card:hover .perfil-icon {
    transform: rotate(360deg) scale(1.15);
}

.perfil-header h3 {
    color: var(--primary-blue);
    font-size: 1.8em;
    font-weight: 700;
    margin: 0;
}

.perfil-intro {
    color: #666;
    font-size: 1.1em;
    margin-bottom: 25px;
    font-style: italic;
}

.perfil-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.perfil-list li {
    padding: 15px 0;
    display: flex;
    align-items: start;
    gap: 15px;
}

.check-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    flex-shrink: 0;
    font-size: 1em;
}

.perfil-list li span:last-child {
    color: #555;
    font-size: 1.05em;
    line-height: 1.7;
}

/* ===== FAMILIA SECTION ===== */
.familia-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--soft-red) 0%, #FFFFFF 100%);
}

.familia-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.familia-text .intro-text {
    font-size: 1.15em;
    color: var(--dark-gray);
    line-height: 1.9;
    margin-bottom: 30px;
}

.familia-text strong {
    color: var(--primary-blue);
    font-weight: 700;
}

.familia-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 35px;
}

.familia-item {
    display: flex;
    gap: 20px;
    align-items: start;
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.familia-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.item-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-red), #E85D64);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.item-icon svg {
    width: 25px;
    height: 25px;
    color: white;
}

.familia-item h4 {
    color: var(--primary-blue);
    font-size: 1.2em;
    margin-bottom: 5px;
    font-weight: 700;
}

.familia-item p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.familia-image {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    height: 550px;
}

.familia-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.familia-section:hover .familia-image img {
    transform: scale(1.1);
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.3em;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 18px 40px;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: white;
    color: var(--primary-blue);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-blue);
    transform: translateY(-5px);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {

    .ingles-content,
    .familia-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .familia-content {
        grid-template-columns: 1fr;
    }

    .familia-image {
        order: -1;
        height: 400px;
    }

    .area-card {
        grid-template-columns: 1fr !important;
    }

    .area-card:nth-child(even) .area-image,
    .area-card:nth-child(even) .area-content {
        order: 0;
    }

    .area-image {
        min-height: 350px;
    }

    .perfiles-grid {
        grid-template-columns: 1fr;
    }

    /* Dimensiones siguen en 2 columnas en tablet */
    .dimensiones-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .inicial-hero {
        margin-top: 90px;
        min-height: 65vh;
        padding: 40px 20px;
    }

    .inicial-hero h1 {
        font-size: 2.5em;
    }

    .inicial-hero p {
        font-size: 1.2em;
    }

    .hero-subtitle {
        font-size: 1em !important;
    }

    .section-header h2 {
        font-size: 2.2em;
    }

    /* Dimensiones en 1 columna en móvil */
    .dimensiones-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .dimension-card {
        padding: 30px;
    }

    .carisma-cards {
        grid-template-columns: 1fr;
    }

    .ingles-image,
    .familia-image {
        height: 350px;
    }

    .area-content {
        padding: 35px;
    }

    .area-image {
        min-height: 300px;
    }

    .cta-content h2 {
        font-size: 2.2em;
    }

    .cta-content p {
        font-size: 1.1em;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .inicial-hero h1 {
        font-size: 2em;
    }

    .inicial-hero p {
        font-size: 1.1em;
    }

    .section-header h2 {
        font-size: 1.8em;
    }

    .dimension-card,
    .perfil-card {
        padding: 25px;
    }

    .area-content {
        padding: 25px;
    }

    .perfil-header {
        flex-direction: column;
        text-align: center;
    }

    .familia-item {
        flex-direction: column;
        text-align: center;
    }

    .cta-content h2 {
        font-size: 1.8em;
    }
}


/* ============================================
   PROYECTOS SECTION (Carrusel de tarjetas)
   ============================================ */
.proyectos-section{
    padding: 100px 0;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--accent-gray) 100%);
}

.proyectos-wrapper{
    margin-top: 50px;
    display: grid;
    grid-template-columns: 56px 1fr 56px;
    gap: 16px;
    align-items: center;
}

.proy-viewport{
    overflow: hidden;
    border-radius: 28px;
    overflow: hidden;
}

.proy-track{
    display: flex;
    gap: 26px;
    transition: transform 380ms ease;
    will-change: transform;
    padding: 6px 2px; /* pequeño aire para sombras */
}

.proy-card{
    min-width: calc(50% - 13px);
    background: white;
    border-radius: 28px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.10);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    border-top: 6px solid var(--primary-red);
    position: relative;
  overflow: hidden;
}

.proy-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 18px 55px rgba(0,0,0,0.18);
}

.proy-card:nth-child(2){ border-top-color: var(--primary-blue); }
.proy-card:nth-child(3){ border-top-color: var(--primary-yellow); }
.proy-card:nth-child(4){ border-top-color: var(--light-blue); }

.proy-image{
  position: relative;   /* ✅ clave: el badge se ancla aquí */
  aspect-ratio: 4 / 3;
  height: auto;
  overflow: hidden;
}

.proy-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  position: relative;
  z-index: 1;
}

.proy-image:hover .proy-badge{
    opacity: 1;
    transform: translateY(0);
}

.proy-card:hover .proy-image img{
    transform: scale(1.10);
}

.proy-badge{
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(25,54,96,0.92);
    color: #fff;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 0.9em;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);

    /* 👇 NUEVO */
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.35s ease;
}

.proy-content{
    padding: 28px 30px 30px 30px;
}

.proy-content h3{
    margin: 0 0 10px 0;
    color: var(--primary-blue);
    font-size: 1.5em;
    font-weight: 800;
}

.proy-content p{
    margin: 0 0 16px 0;
    color: #666;
    line-height: 1.7;
    font-size: 1.05em;
}

.proy-list{
    margin: 0;
    padding: 0;
    list-style: none;
}

.proy-list li{
    padding: 10px 0 10px 30px;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.proy-list li:before{
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: 900;
}

.proy-nav{
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, var(--primary-red), #E85D64);
    color: #fff;
    font-size: 34px;
    line-height: 1;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.proy-nav:hover{
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.22);
}

.proy-dots{
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.proy-dot{
    width: 10px;
    height: 10px;
    border-radius: 99px;
    border: none;
    background: rgba(25,54,96,0.25);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.proy-dot.active{
    width: 28px;
    background: var(--primary-blue);
}

/* Responsive */
@media (max-width: 1024px){
    .proy-card{
        min-width: 100%;
    }
}

@media (max-width: 768px){
    .proyectos-wrapper{
        grid-template-columns: 1fr;
    }
    .proy-nav{
        display: none;
    }
    .proy-image{
        height: 220px;
    }
}

@media (max-width: 768px){
  .proy-image{
    height: 450px;        /* ajusta: 220–280 */
    aspect-ratio: auto;   /* evita conflictos */
  }

  .proy-image img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
  }
}