/**
 * Estilos para páginas de Profesionales y Tecnología
 * Microdental QH Theme
 */

/* ========================================
   HERO SECTIONS
   ======================================== */
.professionals-hero,
.technology-hero {
    position: relative;
    min-height: 500px;
    background: linear-gradient(135deg, #B85170 0%, #9A3E5C 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
}

.technology-hero {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3f73 100%);
}

.professionals-hero .hero-overlay,
.technology-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.professionals-hero .hero-content,
.technology-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.hero-icon {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.hero-quote {
    max-width: 600px;
    margin: 2rem auto 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.hero-quote p {
    font-size: 1.2rem;
    font-style: italic;
    margin: 0;
}

/* ========================================
   AI ANNOUNCEMENT SECTION
   ======================================== */
.ai-announcement {
    padding: 4rem 0;
    background: linear-gradient(135deg, #e3f2fd 0%, #f0f8ff 100%);
    border-bottom: 3px solid #2c5aa0;
    position: relative;
    overflow: hidden;
}

.ai-announcement::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="1" fill="%232c5aa0" opacity="0.1"/><circle cx="30" cy="25" r="1.5" fill="%232c5aa0" opacity="0.05"/><circle cx="70" cy="15" r="1" fill="%232c5aa0" opacity="0.1"/><circle cx="90" cy="35" r="1.5" fill="%232c5aa0" opacity="0.05"/><circle cx="50" cy="80" r="1" fill="%232c5aa0" opacity="0.1"/></svg>') repeat;
    z-index: 0;
}

.ai-announcement .container {
    position: relative;
    z-index: 1;
}

.announcement-badge {
    text-align: center;
    margin-bottom: 2rem;
}

.badge-text {
    display: inline-block;
    background: linear-gradient(45deg, #2c5aa0, #1e3f73);
    color: white;
    padding: 0.5rem 2rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
    position: relative;
}

.badge-text::before {
    content: '⚡';
    margin-right: 0.5rem;
}

.announcement-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.announcement-content h2 {
    font-size: 2.2rem;
    color: #1e3f73;
    margin-bottom: 2rem;
    font-weight: 700;
    line-height: 1.3;
}

.ai-description {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(44, 90, 160, 0.15);
    border: 2px solid rgba(44, 90, 160, 0.1);
    text-align: left;
}

.ai-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 2rem;
}

.ai-features h3 {
    color: #2c5aa0;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
}

/* ========================================
   INTRODUCTION SECTIONS
   ======================================== */
.professionals-intro,
.technology-intro {
    padding: 4rem 0;
    background: #f8f9fa;
}

.intro-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.technology-intro .intro-content {
    grid-template-columns: 1fr;
    text-align: center;
}

.technology-intro .section-title {
    font-size: 2.5rem;
    color: #54595f;
    margin-bottom: 30px;
    font-family: 'Coolvetica', sans-serif;
    text-align: center;
}

.technology-intro .section-subtitle {
    font-size: 1.6rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

.technology-intro .section-description {
    font-size: 1.4rem;
    color: #666;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

.intro-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.intro-text .highlight {
    color: #B85170;
    font-size: 1.2rem;
    font-weight: 600;
}

.intro-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* ========================================
   PROFESSIONAL SERVICES
   ======================================== */
.professional-services {
    padding: 4rem 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 3rem;
    font-weight: 600;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 40px rgba(183, 73, 110, 0.15);
    border-color: #B85170;
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-icon img {
    filter: brightness(0) invert(1);
    width: 60px;
    height: 60px;
}

.service-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* ========================================
   SPECIALTIES SECTION
   ======================================== */
.specialties {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.specialty-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.specialty-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.12);
}

.specialty-icon {
    margin-bottom: 1.5rem;
}

.specialty-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(34%) sepia(84%) saturate(568%) hue-rotate(310deg) brightness(87%) contrast(94%);
}

.specialty-item h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.specialty-item p {
    color: #666;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* ========================================
   TECHNOLOGIES SECTION
   ======================================== */
.technologies {
    padding: 4rem 0;
}

.technology-item {
    margin-bottom: 5rem;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.technology-item:nth-child(even) {
    background: #f8f9fa;
}

.tech-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 500px;
}

.technology-item.reverse .tech-content {
    grid-template-columns: 1fr 1fr;
}

.technology-item.reverse .tech-text {
    order: 2;
}

.technology-item.reverse .tech-image,
.technology-item.reverse .tech-images {
    order: 1;
}

.tech-text {
    padding: 3rem;
}

.tech-text h2 {
    color: #333;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.tech-text p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.tech-benefits {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.tech-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #333;
    font-weight: 500;
}

.tech-note {
    background: rgba(183, 73, 110, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #B85170;
    font-style: italic;
    margin-top: 2rem;
}

.tech-image {
    position: relative;
    height: 500px;
}

.tech-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tech-images {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 500px;
    justify-content: center;
}

.tech-images img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* ========================================
   REFERRAL PROCESS
   ======================================== */
.referral-process {
    padding: 4rem 0;
    background: #f8f9fa;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #B85170;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(183, 73, 110, 0.3);
}

.step-content h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

/* ========================================
   TECHNOLOGY BENEFITS
   ======================================== */
.technology-benefits {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 3px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 35px rgba(44, 90, 160, 0.15);
    border-color: #2c5aa0;
}

.benefit-icon {
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

/* ========================================
   CTA SECTIONS
   ======================================== */
.professionals-cta,
.technology-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #B85170 0%, #9A3E5C 100%);
    color: white;
    text-align: center;
}

.technology-cta {
    background: #2c5aa0;
}

.technology-cta .cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: white;
}

.technology-cta .cta-content p {
    color: white;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: white;
    color: #B85170;
}

.btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}

.technology-cta .btn-primary {
    background: white !important;
    color: #B85170 !important;
    border: 2px solid white;
}

.technology-cta .btn-primary:hover {
    background: rgba(255,255,255,0.9) !important;
    color: #B85170 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    border: 2px solid white;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #B85170;
    transform: translateY(-2px);
}

.technology-cta .btn-secondary:hover {
    color: #2c5aa0;
}

/* ========================================
   SPECIALTIES CAPSULES
   ======================================== */
.specialties-capsules {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.specialty-capsule {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: white;
    border: 2px solid #B85170;
    border-radius: 50px;
    color: #B85170;
    font-weight: 500;
    font-size: 0.95rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: default;
}

.specialty-capsule:hover {
    background: #B85170;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(184, 81, 112, 0.3);
}

/* ========================================
   TIMELINE HORIZONTAL
   ======================================== */
.timeline-horizontal {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    padding: 3rem 0;
    margin-bottom: 4rem;
}

.timeline-item {
    flex: 1;
    text-align: center;
    position: relative;
}

.timeline-marker {
    width: 60px;
    height: 60px;
    background: #B85170;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(184, 81, 112, 0.3);
}

.timeline-connector {
    flex: 0 0 auto;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #B85170 0%, #9A3E5C 100%);
    margin-top: 30px;
    position: relative;
}

.timeline-content h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 200px;
    margin: 0 auto;
}

/* ========================================
   REFERRAL FORM
   ======================================== */
.referral-form-section {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 2rem;
    margin-top: 2rem;
}

.form-title {
    color: #333;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.referral-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h4 {
    color: #B85170;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    color: #333;
    font-weight: 500;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    padding: 0.6rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #B85170;
    box-shadow: 0 0 0 2px rgba(184, 81, 112, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-actions {
    text-align: center;
    margin-top: 1.5rem;
}

.form-actions .btn-primary {
    padding: 0.8rem 2.5rem;
    font-size: 1rem;
    background: #B85170;
    color: white;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-actions .btn-primary:hover {
    background: #9A3E5C;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 81, 112, 0.3);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 968px) {
    .specialties-capsules {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline-horizontal {
        flex-direction: column;
        align-items: center;
    }
    
    .timeline-item {
        margin-bottom: 2rem;
    }
    
    .timeline-connector {
        width: 3px;
        height: 60px;
        margin: -2rem auto 0;
    }
    
    .referral-form-section {
        padding: 2rem 1rem;
    }
    
    .tech-content {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .technology-item.reverse .tech-text,
    .technology-item.reverse .tech-image,
    .technology-item.reverse .tech-images {
        order: initial;
    }
    
    .tech-image,
    .tech-images {
        height: 300px;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .announcement-content h2 {
        font-size: 1.8rem;
    }
    
    .ai-description {
        padding: 2rem;
    }
    
    .services-grid,
    .specialties-grid,
    .benefits-grid,
    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tech-text {
        padding: 2rem;
    }
    
    .tech-text h2 {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons a {
        width: 100%;
        justify-content: center;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .professionals-hero,
    .technology-hero {
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .announcement-content h2 {
        font-size: 1.5rem;
    }
    
    .ai-description {
        padding: 1.5rem;
    }
    
    .badge-text {
        font-size: 0.8rem;
        padding: 0.4rem 1.5rem;
    }
    
    .service-card,
    .specialty-item,
    .benefit-card,
    .step {
        padding: 1.5rem;
    }
    
    .tech-text {
        padding: 1.5rem;
    }
    
    .hero-quote {
        padding: 1rem;
    }
    
    .hero-quote p {
        font-size: 1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 2rem;
        font-size: 0.95rem;
    }
}