/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Icon Styles */
.icon, .stat-icon, .decoration-icon, .footer-graduation, 
.icon-graduation {
    font-size: 1.5rem;
    display: inline-block;
}

.icon-graduation, .footer-graduation {
    font-size: 3rem;
}

.stat-icon, .decoration-icon {
    font-size: 3rem;
}

/* SVG Icon Styles */
.input-icon, .modal-user-icon, .payment-icon, .submit-icon, 
.button-icon, .close-icon, .success-check {
    flex-shrink: 0;
    color: #9ca3af;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.modal-user-icon, .payment-icon, .submit-icon, .button-icon {
    margin-right: 8px;
}

.close-icon {
    color: white;
}

.success-check {
    color: #16a34a;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: white;
}

.banner-container {
    width: 100%;
}

.banner-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.hero-content {
    background: linear-gradient(135deg, #06b6d4 0%, #2563eb 50%, #4338ca 100%);
    padding: 5rem 0;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: white;
    padding: 0 1rem;
}

.hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 6rem;
    height: 6rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    display: block;
    color: #fbbf24;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #a5f3fc;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.info-item {
    display: flex;
    align-items: center;
    font-size: 1.125rem;
}

.info-item .icon {
    margin-right: 0.5rem;
    color: #fbbf24;
}

@media (min-width: 640px) {
    .hero-info {
        flex-direction: row;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-description {
        font-size: 1.5rem;
    }
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: #f9fafb;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.section-divider {
    width: 6rem;
    height: 0.25rem;
    background: linear-gradient(to right, #06b6d4, #2563eb);
    margin: 0 auto 2rem;
}

.section-description {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 48rem;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.about-text {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #06b6d4;
}

.stat-icon {
    color: #06b6d4;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1f2937;
}

.stat-label {
    color: #6b7280;
}

.about-image-container {
    position: relative;
}

.about-image {
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
    height: auto; /* ✅ altura automática */
    object-fit: contain; /* opcional: ajusta la imagen sin recorte */
    display: block;
}




.image-decoration {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 8rem;
    height: 8rem;
    background: linear-gradient(to right, #06b6d4, #2563eb);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.decoration-icon {
    color: white;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* Speakers Section */
.speakers-section {
  padding: 5rem 0;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  color: #1f2937;
}

.section-divider {
  width: 60px;
  height: 4px;
  background-color: #06b6d4;
  margin: 1rem auto;
  border-radius: 2px;
}

.section-description {
  font-size: 1rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

.speaker-img {
  width: 100%;
  height: auto;
  border: 3px solid #06b6d4;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.speaker-img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

/* Responsive */
@media (max-width: 1024px) {
  .speakers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .speakers-grid {
    grid-template-columns: 1fr;
  }
}




/* Pricing Section */
.pricing-section {
    padding: 5rem 0;
    background: #f9fafb;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.pricing-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.pricing-card.student {
    border-top: 4px solid #10b981;
}

.pricing-card.professional {
    border-top: 4px solid #06b6d4;
}

.pricing-header {
    padding: 2rem;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.pricing-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    border-radius: 50%;
    margin-bottom: 1rem;
    color: white;
}

.pricing-card.student .pricing-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.pricing-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 1rem;
}

.pricing-amount {
    font-size: 2rem;
    font-weight: bold;
    color: #06b6d4;
    margin-bottom: 0.5rem;
}

.pricing-card.student .pricing-amount {
    color: #10b981;
}

.pricing-amounts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pricing-amount.early {
    color: #10b981;
}

.pricing-amount.late {
    color: #f59e0b;
}

.pricing-period {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.pricing-subtitle {
    color: #6b7280;
    font-size: 0.875rem;
}

.pricing-features {
    padding: 2rem;
}

.pricing-feature {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.pricing-requirement {
    display: flex;
    align-items: flex-start;
    margin-top: 1.5rem;
    padding: 1rem;
    background: #fef3c7;
    border-radius: 0.5rem;
    border-left: 4px solid #f59e0b;
}

.feature-check {
    color: #10b981;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.requirement-icon {
    color: #f59e0b;
    margin-right: 0.75rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.pricing-feature span,
.pricing-requirement span {
    color: #374151;
    font-size: 0.875rem;
}

/* Contact Info */
.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-top: 4px solid #8b5cf6;
}

.contact-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.contact-description {
    color: #6b7280;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.contact-icon {
    color: #8b5cf6;
}

.contact-footer {
    color: #8b5cf6;
    font-weight: 600;
    margin: 0;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-methods {
        flex-direction: row;
        justify-content: center;
    }
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(to right, #06b6d4, #2563eb, #4338ca);
}

.cta-content {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
    padding: 0 1rem;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.25rem;
    color: #a5f3fc;
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: white;
    color: #2563eb;
    font-weight: bold;
    font-size: 1.125rem;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cta-button:hover {
    background: #f9fafb;
    transform: scale(1.05);
}

.cta-button:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 3rem;
    }
}

/* Footer */
.footer {
    background: #111827;
    color: white;
    padding: 3rem 0;
}

.footer-main {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: linear-gradient(to right, #06b6d4, #2563eb);
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-subtitle {
    color: #9ca3af;
    margin-bottom: 1.5rem;
}

.footer-logos {
    border-top: 1px solid #374151;
    padding-top: 2rem;
}

.logos-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.logos-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #d1d5db;
    margin-bottom: 1rem;
}

.logos-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.logo-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

/* Agrandar solo el logo DeCOL */
.logo-img[src*="DeCOL.png"] {
  width: 180px;
  height: 180px;
  background-color: white;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}



.logo-placeholder {
    background: white;
    border-radius: 0.5rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 4rem;
    width: 6rem;
    color: #1f2937;
    font-size: 0.75rem;
    font-weight: bold;
    text-align: center;
}

.logo-placeholder.municipality {
    width: 8rem;
}

.footer-copyright {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-copyright p {
    color: #9ca3af;
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    overflow-y: auto;
    display: none;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1rem;
    text-align: center;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    transition: opacity 0.3s ease;
}

.modal-content {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 64rem;
    margin: 2rem auto;
    overflow: hidden;
    text-align: left;
    vertical-align: middle;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-radius: 1rem;
}

.modal-header {
    background: linear-gradient(to right, #06b6d4, #2563eb);
    padding: 1.5rem;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: white;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 0.5rem;
    border-radius: 0.25rem;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
}

.modal-subtitle {
    color: #a5f3fc;
    margin-top: 0.5rem;
}

/* Modal Pricing Info */
.modal-pricing-info {
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    padding: 1.5rem;
    border-bottom: 1px solid #f3f4f6;
}

.modal-pricing-header h3 {
    color: #92400e;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.modal-pricing-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.modal-price-item {
    color: #451a03;
    font-size: 0.875rem;
    line-height: 1.5;
}

.price-note {
    color: #92400e;
    font-size: 0.75rem;
    font-style: italic;
}

@media (min-width: 768px) {
    .modal-pricing-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.modal-body {
    padding: 2rem;
    max-height: 24rem;
    overflow-y: auto;
}

/* Success Message */
.success-message {
    padding: 2rem;
    text-align: center;
}

.success-icon {
    width: 4rem;
    height: 4rem;
    background: #dcfce7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.success-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.success-text {
    color: #6b7280;
    margin-bottom: 1rem;
}

.success-note {
    font-size: 0.875rem;
    color: #9ca3af;
}

/* Form Styles */
.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    font-size: 1rem;
    background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: transparent;
    box-shadow: 0 0 0 2px #06b6d4;
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
    border-color: #9ca3af;
}

.input-container .form-input,
.input-container .form-select {
    padding-left: 2.75rem;
}

.form-select {
    appearance: none;
    background: white url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") no-repeat right 0.5rem center/1.5em 1.5em;
}

.input-container .form-select {
    background-position: right 0.5rem center, left 2.75rem center;
}

.form-textarea {
    resize: none;
}

.form-file {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    font-size: 1rem;
    background: white;
}

.input-container .form-file {
    padding-left: 2.75rem;
}

.form-file:focus {
    outline: none;
    border-color: transparent;
    box-shadow: 0 0 0 2px #06b6d4;
}

.file-note {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Payment Section */
.payment-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(to right, #ecfeff, #dbeafe);
    border-radius: 0.75rem;
    border: 1px solid #a5f3fc;
}

.payment-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.payment-info {
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 2px solid #a5f3fc;
    margin-bottom: 1rem;
}

.payment-subtitle {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.payment-details {
    font-size: 0.875rem;
    color: #6b7280;
}

.payment-details p {
    margin-bottom: 0.25rem;
}

.payment-amount {
    font-size: 1.125rem;
    font-weight: bold;
    color: #06b6d4;
    margin-top: 0.5rem;
}

/* Submit Button */
.form-submit {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: linear-gradient(to right, #06b6d4, #2563eb);
    color: white;
    font-weight: 600;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.submit-button:hover {
    background: linear-gradient(to right, #0891b2, #1d4ed8);
    transform: scale(1.05);
}

.submit-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px #06b6d4, 0 0 0 4px rgba(6, 182, 212, 0.5);
}

.submit-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.required-note {
    font-size: 0.875rem;
    color: #9ca3af;
    text-align: center;
    margin-top: 1rem;
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 0.75rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .modal-content {
        margin: 1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
}

.export-btn-excel {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 2rem;
    background: #fff;
    color: #10b981;
    font-weight: 600;
    font-size: 1.05rem;
    border: 1.5px solid #10b98144;
    border-radius: 0.5rem;
    box-shadow: 0 6px 20px -4px #10b9811a;
    cursor: pointer;
    transition: 
        background 0.2s cubic-bezier(.4,0,.2,1),
        color 0.18s cubic-bezier(.4,0,.2,1),
        box-shadow 0.2s cubic-bezier(.4,0,.2,1),
        border-color 0.16s cubic-bezier(.4,0,.2,1);
    margin-bottom: 35px;
    margin-right: 8px;
}

.export-btn-excel:hover, .export-btn-excel:focus {
    background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
    color: #fff;
    border-color: #10b981;
    box-shadow: 0 8px 32px 0 #10b9812a;
}

.export-btn-excel:hover svg, .export-btn-excel:focus svg {
    stroke: #fff;
}

