/* ===================================
   CERTIFICADO OCV ÉQUIDOS - STYLES
   =================================== */

/* Hero Section Équidos */
.equidos-hero {
    padding: 20px;
}

.equidos-hero-container {
    background: linear-gradient(135deg, #DFF9F6 0%, #F2F2F2 50%, #DFF9F6 100%);
    border-radius: 52px;
    padding: 20vh 50px 50px;
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 40px;
    align-items: center;
    grid-template-rows: auto 1fr;
}

.equidos-main-title {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 85px;
    font-weight: 700;
    color: #005F63;
    margin: 0px;
    text-transform: uppercase;
    line-height: 1.2;
}

.equidos-main-title .letter-museo {
    font-family: var(--font-special);
    font-weight: 500;
    font-size: 85px;
}

.equidos-main-title .letter-normal {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 85px;
}

.equidos-hero-image {
    width: 100%;
    height: 100%;
}

.equidos-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
}

.equidos-hero-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.equidos-hero-text {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 400;
    color: #005F63;
    line-height: 1.6;
    margin: 0;
    padding: 20px 0;
}

.equidos-divider {
    border: none;
    border-top: 2px solid #005F63;
    margin: 0;
    opacity: 0.3;
}

/* Metodología y Evaluación Section */
.metodologia-section {
    padding: 20px;
    position: relative;
}

.metodologia-container {
    background: linear-gradient(135deg, #DFF9F6 0%, #F2F2F2 50%, #DFF9F6 100%);
    border-radius: 52px;
    padding: 80px 50px 50px 50px;
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 40px;
    position: relative;
}

.metodologia-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.metodologia-title {
    position: relative;
    margin: -140px auto 50px;
    background: #005F63;
    color: #FFFFFF;
    padding: 25px 50px;
    border-radius: 30px;
    font-size: 42px;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 4px 16px rgba(10, 108, 111, 0.12);
}

.metodologia-title .letter-museo {
    font-family: var(--font-special);
    font-weight: 500;
    font-size: 42px;
}

.metodologia-title .letter-normal {
    font-family: var(--font-primary);
    font-weight: 900;
    font-size: 42px;
}

.metodologia-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.metodologia-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.metodologia-card {
    background: #FFFFFF;
    border-radius: 52px;
    padding: 30px;
    display: flex;
    align-items: center;
    flex: 1;
}

.metodologia-card p {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 700;
    color: #005F63;
    line-height: 1.6;
    margin: 0;
}

.metodologia-image {
    position: absolute;
    right: 0;
    top: -170px;
    bottom: -220px;
    width: calc(33.333% + 100px);
    z-index: 10;
}

.metodologia-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 52px;
}

/* Reconocimiento y Acreditación Section */
.reconocimiento-section {
    padding: 20px;
    margin-top: 80px;
}

.reconocimiento-container {
    background: #F2F2F2;
    border-radius: 52px;
    padding: 80px 50px 50px 50px;
    position: relative;
}

.reconocimiento-title {
    position: relative;
    margin: -140px auto 50px;
    background: #005F63;
    color: #FFFFFF;
    padding: 25px 50px;
    border-radius: 30px;
    font-size: 42px;
    font-weight: 900;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 4px 16px rgba(10, 108, 111, 0.12);
    text-align: center;
    line-height: 1.3;
    width: fit-content;
}

.reconocimiento-title .letter-museo {
    font-family: var(--font-special);
    font-weight: 500;
    font-size: 42px;
}

.reconocimiento-title .letter-normal {
    font-family: var(--font-primary);
    font-weight: 900;
    font-size: 42px;
}

.reconocimiento-text {
    margin-bottom: 40px;
}

.reconocimiento-text p {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 400;
    color: #005F63;
    line-height: 1.8;
    margin-bottom: 20px;
}

.reconocimiento-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.reconocimiento-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.reconocimiento-image-bottom {
    width: 100%;
    height: 400px;
    border-radius: 52px;
    overflow: hidden;
}

.reconocimiento-image-bottom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Beneficios Équidos Section */
.beneficios-equidos-section {
    padding: 80px 20px;
}

.beneficios-equidos-container {
    max-width: 100%;
    margin: 0 auto;
}

.beneficios-equidos-title {
    font-family: var(--font-primary);
    font-size: 30px;
    font-weight: 700;
    color: #005F63;
    text-align: center;
    margin-bottom: 60px;
}

/* Timeline styles (reused from landing) */
.timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 40px 60px;
}

.timeline-item {
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-item:nth-child(1) {
    background: #E6E6E6;
}

.timeline-item:nth-child(3) {
    background: #FFFFFF;
    border: 1px solid #000000;
}

.timeline-item:nth-child(5) {
    background: #DFF9F6;
}

.timeline-item:nth-child(7) {
    background: #F2F2F2;
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(10, 108, 111, 0.12);
}

.timeline-content {
    width: 100%;
}

.timeline-content h3 {
    color: #1A2B2E;
    font-size: 31px;
    font-weight: 600;
    line-height: 1.3;
}

.timeline-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: #0A6C6F;
    font-weight: bold;
}

@media (min-width: 768px) {
    .timeline {
        grid-template-columns: 1fr 40px 1fr 40px 1fr 40px 1fr;
        align-items: stretch;
        gap: 0;
    }

    .timeline-item {
        grid-column: span 1;
        height: 100%;
    }

    .timeline-arrow {
        transform: rotate(0deg);
        grid-column: span 1;
    }
}

@media (max-width: 767px) {
    .timeline {
        padding: 40px 30px;
    }

    .timeline-arrow {
        transform: rotate(90deg);
    }
}

/* Proceso de Inscripción Section */
.inscripcion-section {
    padding: 20px;
    margin-top: 80px;
}

.inscripcion-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 600px;
}

.inscripcion-content {
    background: linear-gradient(135deg, #DFF9F6 0%, #F2F2F2 50%, #DFF9F6 100%);
    border-radius: 52px 0 0 52px;
    padding: 80px 50px 50px 50px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.inscripcion-title {
    position: relative;
    margin: 0 auto 50px;
    width: fit-content;
    background: #005F63;
    color: #FFFFFF;
    padding: 25px 50px;
    border-radius: 30px;
    font-size: 42px;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 4px 16px rgba(10, 108, 111, 0.12);
    text-align: center;
}

.inscripcion-title .letter-museo {
    font-family: var(--font-special);
    font-weight: 500;
    font-size: 42px;
}

.inscripcion-title .letter-normal {
    font-family: var(--font-primary);
    font-weight: 900;
    font-size: 42px;
}

.inscripcion-lista {
    list-style-position: outside;
    padding-left: 25px;
    margin: 0;
    counter-reset: item;
}

.inscripcion-lista li {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 400;
    color: #005F63;
    line-height: 1.8;
    margin-bottom: 25px;
    padding-left: 10px;
}

.inscripcion-lista li::marker {
    font-weight: 700;
    color: #005F63;
    font-size: 1.2rem;
}

.inscripcion-button-wrapper {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.inscripcion-button {
    background: #0A6C6F;
    color: #FFFFFF;
    padding: 15px 50px;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 16px rgba(10, 108, 111, 0.2);
}

.inscripcion-button:hover {
    background: #084F52;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 108, 111, 0.3);
}

.inscripcion-image {
    background: url('/assets/images/landing/caballo-de-cerca.jpg') center center / cover no-repeat;
    border-radius: 0 52px 52px 0;
    min-height: 100%;
}
.pa.inscripcion-image {
    background: url('/assets/images/landing/pequenos_animales_2.jpg') center center / cover no-repeat!important;
}

.inscripcion-image img {
    display: none;
}

/* Módulos Section */
.modulos-section {
    padding: 80px 20px;
}

.modulos-container {
    max-width: 100%;
    margin: 0 auto;
}

.section-title-equidos {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 900;
    color: #005F63;
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
}

/* Accordion Styles */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.accordion-item {
    background: #F2F2F2;
    border-radius: 72px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-header {
    display: grid;
    grid-template-columns: 1fr 5fr 6fr;
    align-items: center;
    padding: 30px 50px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: rgba(34, 167, 150, 0.1);
}

.accordion-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
}

.accordion-arrow img {
    width: 30px;
    height: auto;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-arrow img {
    transform: rotate(90deg);
}

.accordion-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: #005F63;
    margin: 0;
    padding: 0 20px;
}

.accordion-brief {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 400;
    color: #22A796;
    margin: 0;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-item.active .accordion-content {
    max-height: 2000px;
}

.accordion-body {
    padding: 50px;
    font-family: var(--font-primary);
    color: #005F63;
    line-height: 1.8;
}

.accordion-body p {
    margin-bottom: 20px;
    font-size: 1rem;
}

.accordion-body ul {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.accordion-body ul li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 10px;
}

.accordion-body ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #22A796;
    font-weight: bold;
}

/* Responsive Mobile */
@media (max-width: 960px) {
    .equidos-hero {
        padding: 0;
        margin-top: 70px;
    }

    .equidos-hero-container {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        border-radius: 0;
        gap: 30px;
        grid-template-rows: auto auto 1fr;
    }

    .equidos-main-title {
        font-size: 2rem;
        margin: 0 0 20px 0;
    }

    .equidos-main-title .letter-museo,
    .equidos-main-title .letter-normal {
        font-size: 2rem;
    }

    .equidos-hero-image img {
        border-radius: 20px;
    }

    .equidos-hero-text {
        font-size: 1rem;
        padding: 15px 0;
    }

    .metodologia-section {
        padding: 0;
        margin-top: 40px;
    }

    .metodologia-container {
        grid-template-columns: 1fr;
        padding: 40px 20px 30px 20px;
        border-radius: 0;
        gap: 30px;
    }

    .metodologia-title {
        font-size: 1rem;
        padding: 25px 40px;
        margin: -20px auto 20px;
    }

    .metodologia-title .letter-museo,
    .metodologia-title .letter-normal {
        font-size: 1rem;
    }

    .metodologia-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .metodologia-column {
        gap: 20px;
    }

    .metodologia-card {
        border-radius: 30px;
        padding: 20px;
    }

    .metodologia-card p {
        font-size: 0.9rem;
    }

    .metodologia-image {
        position: relative;
        top: 0;
        bottom: 0;
        width: 100%;
        height: 300px;
        margin-top: 20px;
    }
    @media all and (min-width: 960px) and (max-width: 1200px) {
        .metodologia-image {
            position: absolute;
            right: -40px;
            top: -100px;
            bottom: -100px;
            width: calc(35% + 150px);
            z-index: 10;
        }
        .metodologia-image img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            border-radius: 52px;
        }
        .metodologia-title {
            margin: -140px auto 0px!important;
        }
    }

    @media all and (max-width: 959px) {
        .metodologia-image{
            display:none!important;
        }
    }

    .metodologia-image img {
        border-radius: 20px;
    }

    .reconocimiento-section {
        padding: 0;
        margin-top: 40px;
    }

    .reconocimiento-container {
        padding: 40px 20px 30px 20px;
        border-radius: 0;
    }

    .reconocimiento-title {
        font-size: 1rem;
        padding: 25px 40px;
        margin: -20px auto 20px;
    }

    .reconocimiento-title .letter-museo,
    .reconocimiento-title .letter-normal {
        font-size: 1rem;
    }

    .reconocimiento-text p {
        font-size: 1rem;
    }

    .reconocimiento-logos {
        gap: 20px;
    }

    .reconocimiento-logo {
        height: 60px;
    }

    .reconocimiento-image-bottom {
        height: 250px;
        border-radius: 30px;
    }

    .beneficios-equidos-section {
        padding: 40px 20px;
    }

    .beneficios-equidos-title {
        font-size: 1.5rem;
        margin-bottom: 40px;
    }

    .timeline {
        gap: 0px;
        padding: 40px 20px;
    }

    .timeline-content h3 {
        font-size: 1rem;
    }

    .section-title-equidos {
        font-size: 1.5rem;
        margin-bottom: 40px;
    }

    .inscripcion-section {
        padding: 0;
        margin-top: 40px;
    }

    .inscripcion-container {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .inscripcion-content {
        border-radius: 0;
        padding: 40px 20px 30px 20px;
    }

    .inscripcion-title {
        font-size: 1rem;
        padding: 25px 40px;
        margin: -20px auto 20px;
        white-space: normal;
    }

    .inscripcion-title .letter-museo,
    .inscripcion-title .letter-normal {
        font-size: 1rem;
    }

    .inscripcion-lista {
        padding-left: 20px;
    }

    .inscripcion-lista li {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .inscripcion-button-wrapper {
        margin-top: 30px;
    }

    .inscripcion-button {
        padding: 12px 40px;
        font-size: 1rem;
    }

    .inscripcion-image {
        border-radius: 0;
        min-height: 300px;
        display: block;
    }

    .accordion {
        gap: 40px;
    }

    .accordion-item {
        border-radius: 40px;
    }

    .accordion-header {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px 25px;
    }

    .accordion-arrow {
        grid-row: 1;
        justify-content: flex-start;
    }

    .accordion-arrow img {
        width: 20px;
    }

    .accordion-title {
        font-size: 1.1rem;
        padding: 0;
        grid-row: 2;
    }

    .accordion-brief {
        font-size: 0.9rem;
        grid-row: 3;
    }

    .accordion-body {
        padding: 0 25px 30px 25px;
    }

    .accordion-body p,
    .accordion-body ul li {
        font-size: 0.95rem;
    }
}

/* Tablet adjustments */
@media (min-width: 961px) and (max-width: 1200px) {
    .equidos-hero-container {
        padding: 40px;
    }

    .accordion-header {
        padding: 25px 40px;
    }

    .accordion-title {
        font-size: 1.3rem;
    }

    .accordion-body {
        padding: 0 40px 35px 40px;
    }
}

/* Modal de Interés */
.modal-interes {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-interes-content {
    background-color: #FFFFFF;
    margin: 5% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-interes-close {
    color: #999;
    float: right;
    font-size: 32px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-interes-close:hover,
.modal-interes-close:focus {
    color: #005F63;
}

.modal-interes-title {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    color: #005F63;
    margin: 0 0 30px 0;
    padding-right: 40px;
}

.form-interes {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-family: var(--font-primary);
    font-weight: 600;
    color: #005F63;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input {
    padding: 12px 16px;
    border: 2px solid #E6E6E6;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #0A6C6F;
}

.form-group input.input-error {
    border-color: #C41E3A;
    background-color: #FFF5F5;
}

.field-error {
    color: #C41E3A;
    font-size: 0.85rem;
    margin-top: 5px;
    font-weight: 600;
}

.form-group-checkbox {
    margin-bottom: 20px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    position: relative;
    padding-left: 35px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
}

.checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: #fff;
    border: 2px solid #005F63;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #DFF9F6;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #0A6C6F;
    border-color: #0A6C6F;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    display: inline-block;
}

.checkbox-text a {
    color: #0A6C6F;
    text-decoration: underline;
    font-weight: 600;
}

.checkbox-text a:hover {
    color: #005F63;
}

.checkbox-error {
    color: #C41E3A;
    font-size: 0.85rem;
    margin-top: 5px;
    margin-left: 35px;
    font-weight: 600;
}

.checkbox-error-highlight {
    animation: shake 0.3s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.checkbox-error-highlight .checkmark {
    border-color: #C41E3A;
    background-color: #FFE8E8;
}

.btn-submit-interes {
    background: #0A6C6F;
    color: #FFFFFF;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-submit-interes:hover {
    background: #084F52;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 108, 111, 0.3);
}

.error-message {
    background: #FFE8E8;
    color: #C41E3A;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    border-left: 4px solid #C41E3A;
}

.success-message {
    text-align: center;
    padding: 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #22A796;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 20px;
}

.success-message h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    color: #005F63;
    margin: 0 0 15px 0;
}

.success-message p {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    color: #5A6C6F;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .modal-interes-content {
        margin: 10% auto;
        padding: 30px 20px;
        width: 95%;
    }

    .modal-interes-title {
        font-size: 1.4rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .checkbox-container {
        font-size: 0.85rem;
        padding-left: 30px;
    }
    
    .checkmark {
        height: 20px;
        width: 20px;
    }
    
    .checkbox-container .checkmark:after {
        left: 6px;
        top: 2px;
        width: 4px;
        height: 9px;
    }
    
    .checkbox-error {
        font-size: 0.8rem;
        margin-left: 30px;
    }

    .btn-submit-interes {
        font-size: 1rem;
        padding: 12px 30px;
    }

    .success-icon {
        width: 60px;
        height: 60px;
        font-size: 2.5rem;
    }

    .success-message h3 {
        font-size: 1.4rem;
    }

    .success-message p {
        font-size: 1rem;
    }
}
