@charset "utf-8";
/* styles.css - MACMA - Versión Unificada */

:root {
    --color-primary: #8B4C7E;
    --color-secondary: #F2A7A0;
    --color-accent-soft: #F7E1D7;
    --color-background: #FFFFFF;
    --color-text-dark: #2D2D2D;
    --color-text-light: #FFFFFF;
    --color-text-muted: #5A5A5A;
    --color-border-light: #E0E0E0;
    --color-hero-bg: #fe669a;
    --color-overlay: rgba(0, 0, 0, 0.2);
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px rgba(0,0,0,0.15);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text-dark);
    line-height: 1.6;
    background-color: var(--color-background);
}

h1, h2, h3, h4 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; color: var(--color-primary); margin-bottom: 2rem; }
h3 { font-size: 1.75rem; }
p { margin-bottom: 1rem; }

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.margenleft {
 margin-left: 35px!important;
}


/* ===== HEADER & NAVIGATION ===== */
.main-header {
    background-color: transparent;
    position: absolute;
    width: 100%;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    color: white;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    font-family: var(--font-secondary);
    letter-spacing: -0.02em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    margin-left: 85px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.nav-links a {
    transition: all 0.2s;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    font-weight: 600;
    letter-spacing: 0.3px;
}

.nav-links a:hover {
    color: #ffcae2!important;
   text-shadow: 0 2px 4px rgba(255,255,255,0.3);

    transform: translateY(-1px);
}

/* Menu toggle button - oculto en desktop */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background-color: #6d3b62;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: white;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-secondary);
    color: var(--color-text-dark);
    transform: translateY(-2px);
    border-color: var(--color-secondary);
}

.btn-otro {
    background-color: var(--color-hero-bg);
    color: white;
}

.btn-otro:hover {
    background-color: #6d3b62;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--color-hero-bg);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 700px;
    background-image: url('images/gente.jpg');
    background-size: cover;
    background-position: center 20%;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    padding: 100px 0 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-hero-bg);
    opacity: 0.85;
    z-index: 1;
}

.hero-content {
    width: 100%;
    padding-top: 40px;
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    color: white;
    font-size: 4rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* INFO CARD */
.info-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    color: var(--color-text-dark);
    box-shadow: var(--shadow-lg);
    max-width: 450px;
    margin-left: auto;
    border: 1px solid rgba(255,255,255,0.3);
}

.info-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.info-card-header h3 {
    color: var(--color-hero-bg);
    font-size: 2rem;
    margin-bottom: 0;
}

.info-card-header i {
    font-size: 2.5rem;
    color: #fe669a;
}

.campaign-tag {
    font-weight: 600;
    color: var(--color-primary);
    margin: 1rem 0 1.5rem 0;
}

.campaign-tag span {
    background-color: var(--color-accent-soft);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.info-card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bolder;
    color: var(--color-hero-bg);
    line-height: 1;
    font-family: 'Varela Round', sans-serif;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.info-card-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-card-buttons .btn {
    width: 100%;
    text-align: center;
}

.info-card-buttons .btn-primary {
    background-color: var(--color-hero-bg);
}

.info-card-buttons .btn-primary:hover {
    background-color: #e0558a;
}

/* ===== QUICK ACTIONS CARDS ===== */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: -40px;
    margin-bottom: 4rem;
    position: relative;
    z-index: 20;
}

.action-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: transform 0.3s;
    border: 1px solid var(--color-border-light);
    display: flex;
    flex-direction: column;
}

.action-card:hover {
    transform: translateY(-10px);
}

.action-card-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    background-color: #ddd;
}

.action-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.action-card-content h3 {
    color: var(--color-primary);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.action-card-content p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.action-card-content .btn-secondary {
    border: 1px solid var(--color-primary);
    align-self: center;
    width: 100%;
}

/* ===== SECTIONS ===== */
.section-padding {
    padding: 6rem 0;
}

.bg-soft {
    background-color: var(--color-accent-soft);
}

.highlight {
    color: var(--color-hero-bg);
    font-weight: 700;
}

/* Mission/Vision Grid */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.mission-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.mission-card h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--color-secondary);
    padding-bottom: 0.5rem;
    display: inline-block;
}

/* Video container */
.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== SERVICES GRID ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.service-item {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    border: 1px solid var(--color-border-light);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.service-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #f0f0f0;
    transition: all 0.3s;
}

.service-item:hover .service-img {
    transform: scale(1.02);
}

.service-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 1.4rem;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-secondary);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.service-content .short-text {
    color: var(--color-text-dark);
    font-weight: 500;
    margin-bottom: 1rem;
}

.service-content .full-text {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-item:hover .full-text {
    max-height: 500px;
    opacity: 1;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--color-border-light);
}

.service-content .full-text p {
    margin-bottom: 0.5rem;
}

.service-content .full-text ul {
    margin-left: 1.2rem;
    margin-bottom: 0.5rem;
}

.service-content .full-text li {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.service-content .full-text .contact-email {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.service-content .full-text .contact-email:hover {
    color: var(--color-hero-bg);
}

.service-content .btn-secondary {
    margin-top: 1rem;
    align-self: flex-start;
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
}

.service-item:last-child {
    grid-column: 2 / 3;
}

/* ===== TEAM SECTION ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.team-category {
    break-inside: avoid;
}

.team-category h4 {
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-secondary);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.team-category p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.team-category .subcategory {
    font-weight: 600;
    color: var(--color-text-muted);
    margin-top: 0.8rem;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

.team-category .name-list {
    margin-left: 0.5rem;
}

.asesores-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem;
}

/* ===== CÁNCER DE MAMA SECTION ===== */
.cancer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    margin: 3rem 0 5rem;
}

.cancer-item {
    flex: 0 0 180px;
    text-align: center;
    text-decoration: none;
    color: var(--color-text-dark);
    transition: all 0.3s;
    cursor: pointer;
}

.cancer-item:hover {
    transform: translateY(-10px);
}

.cancer-circle {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: var(--color-accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid var(--color-secondary);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.cancer-item:hover .cancer-circle {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
}

.cancer-circle span,
.cancer-circle i {
    font-size: 4rem;
    color: var(--color-primary);
}

.cancer-item h3 {
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.cancer-item p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.cancer-content-section {
    margin: 3rem 0;
}

.cancer-content-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border-light);
}

.cancer-content-card h3 {
    color: var(--color-primary);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--color-secondary);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.stat-highlight {
    background-color: var(--color-accent-soft);
    border-left: 5px solid var(--color-hero-bg);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.stat-highlight .stat-number {
    font-size: 1.5rem;
    color: var(--color-hero-bg);
    font-weight: 700;
}

.source {
    font-size: 0.7rem;
    color: var(--color-text-muted); text-align: right;
    margin-top: 1.5rem;
}

.tip {
    background-color: var(--color-accent-soft);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border: 1px dashed var(--color-hero-bg);
}

.tip strong {
    color: var(--color-hero-bg);
}

/* ===== FAQ SECTION ===== */
.faq-intro {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.medical-advisor {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem 2rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow-sm);
    border-left: 5px solid var(--color-hero-bg);
}

.advisor-icon {
    background-color: var(--color-accent-soft);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-hero-bg);
    flex-shrink: 0;
}

.advisor-registration {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--color-border-light);
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-secondary);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.2rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-dark);
    transition: all 0.3s;
}

.faq-question:hover {
    background-color: var(--color-accent-soft);
}

.faq-question.active {
    background-color: var(--color-accent-soft);
    color: var(--color-primary);
}

.faq-number {
    background-color: var(--color-hero-bg);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    flex-shrink: 0;
}

.faq-question.active .faq-number {
    background-color: var(--color-primary);
}


.faq-question-text {
    flex: 1;
}

.faq-icon {
    font-size: 1rem;
    color: var(--color-hero-bg);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.faq-answer {
    max-height: 0;
    padding: 0 1.5rem;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.3s ease;
    background-color: white;
    border-top: 0 solid var(--color-border-light);
}

.faq-answer.show {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem 1.5rem;
    border-top-width: 1px;
}

.faq-answer p {
    margin: 1rem 0 0 0;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ===== CONTACT SECTION ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.contact-info {
    text-align: center;
}

.contact-logo {
    margin-bottom: 2rem;
}

.contact-logo img {
    max-width: 200px;
    height: auto;
}

.contact-info h3 {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-details {
    margin-bottom: 2rem;
    text-align: left;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-item i {
    width: 24px;
    color: var(--color-hero-bg);
    font-size: 1.2rem;
}

.contact-item p {
    margin: 0;
}

.social-media {
    margin-top: 5rem;
    text-align: left;
}

.social-media h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--color-text-dark);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--color-accent-soft);
    border-radius: 50%;
    color: var(--color-primary);
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--color-primary);
    color: white;
    transform: translateY(-3px);
}

/* Formulario */
.contact-form h3 {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
    font-family: var(--font-primary);
    transition: border 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-hero-bg);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    background-color: var(--color-hero-bg);
    color: white;
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

.btn-submit:hover {
    background-color: #e0558a;
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===== ALLIES SECTION (Aliados Estratégicos) ===== */
.allies-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;

    gap: 3rem;
    margin: 3rem 0;
}

.allies-grid .ally-item {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    min-width: 280px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    overflow: hidden;
}

.allies-grid .ally-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.allies-grid .ally-item img {
    max-width: 100%;
    max-height: 140px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s;
}

.allies-grid .ally-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ===== SLIDER PARA COLABORADORES ===== */
.slider-container {
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
}

.slider-container .ally-item {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    min-width: 300px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    overflow: hidden;
    margin: 0 1rem;
}

.slider-container .ally-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.slider-container .ally-item img {
    max-width: 100%;
    max-height: 140px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s;
}

.slider-track {
    display: flex;
    animation: scroll 35s linear infinite;
    width: fit-content;
}

.slider-track:hover {
    animation-play-state: paused;
}

.slider-item {
    flex: 0 0 auto;
    margin: 0 1rem;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-300px * 7 - 2rem * 7));
    }
}

/* ===== HEADER PARA PÁGINAS INTERNAS (ej: cáncer de mama) ===== */
.main-header.internal-header {
    background-color: var(--color-hero-bg);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    box-shadow: var(--shadow-md);
}

.main-header.internal-header .navbar {
    color: white;
    padding: 0.8rem 2rem;
}

.main-header.internal-header .logo {
    text-shadow: none;
    margin-left: 2rem;
}

.main-header.internal-header .nav-links a {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 600;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
}

.main-header.internal-header .nav-links a:hover {
    color: #FFD966;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    transform: translateY(-1px);
}

/* ===== WHATSAPP FLOTANTE ===== */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #25D366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

@media (max-width: 768px) {
    .whatsapp-float {
        right: 18px;
        bottom: 18px;
        width: 58px;
        height: 58px;
        font-size: 1.85rem;
    }
}

/* ===== AUTOEXAMEN MAMARIO ANIMADO ===== */
.autoexamen-section {
    width: 100%;
    background: linear-gradient(180deg, #f8d7df 0%, #f7e1d7 100%);
    overflow: hidden;
}

.autoexamen-shell {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5.5rem 2rem;
}

.autoexamen-heading {
    max-width: 820px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.autoexamen-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.autoexamen-heading h2 {
    margin-bottom: 1rem;
}

.autoexamen-heading p {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.08rem;
    color: var(--color-text-muted);
}

.autoexamen-slider {
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
}

.autoexamen-track {
    display: flex;
    width: 500%;
    transition: transform 0.75s ease-in-out;
    will-change: transform;
}

.autoexamen-slide {
    flex: 0 0 20%;
    width: 20%;
    min-height: 460px;
    display: grid;
    grid-template-columns: minmax(250px, 380px) 1fr;
    align-items: center;
    gap: 2.25rem;
    padding: 1.8rem 2.25rem;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(8px);
}

.autoexamen-slide:nth-child(odd) {
    background: rgba(255, 255, 255, 0.9);
}

.autoexamen-slide-media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.autoexamen-slide-media img {
    width: 100%;
    max-width: 340px;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(139, 76, 126, 0.18);
}

.autoexamen-slide-copy h3 {
    color: var(--color-primary);
    font-size: 1.8rem;
    margin-bottom: 0.9rem;
}

.autoexamen-slide-copy p {
    font-size: 1.02rem;
    color: var(--color-text-dark);
    line-height: 1.68;
    margin-bottom: 0.9rem;
    max-width: 640px;
}

.autoexamen-slide-copy strong {
    color: var(--color-primary);
}

.autoexamen-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.9rem;
    margin-bottom: 0.9rem;
    border-radius: 999px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
    box-shadow: var(--shadow-sm);
}

.autoexamen-mini-note {
    margin-top: 1.25rem;
    padding: 1rem 1.15rem;
    background: #ffffff;
    border: 2px solid rgba(139, 76, 126, 0.15);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    font-weight: 600;
    line-height: 1.55;
    font-size: 0.96rem;
}

.autoexamen-progress {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.35rem;
    flex-wrap: wrap;
}

.autoexamen-progress-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.78);
    color: var(--color-primary);
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(139, 76, 126, 0.2);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.autoexamen-progress-btn:hover {
    transform: translateY(-2px);
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

.autoexamen-progress-btn.is-active {
    background: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
}

.autoexamen-note-final {
    margin: 1.5rem auto 0;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Ajustes responsivos para el autoexamen */
@media (max-width: 1100px) {
    .autoexamen-slider {
        max-width: 980px;
    }

    .autoexamen-slide {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 2rem;
        gap: 1.5rem;
    }

    .autoexamen-slide-copy {
        text-align: center;
    }

    .autoexamen-slide-copy p {
        max-width: none;
    }

    .autoexamen-slide-media img {
        max-width: 320px;
    }
}

@media (max-width: 768px) {
    .autoexamen-shell {
        padding: 4rem 1rem;
    }

    .autoexamen-slider {
        max-width: none;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        border-radius: 26px;
        -webkit-overflow-scrolling: touch;
    }

    .autoexamen-track {
        width: max-content;
        transition: none;
        padding: 0 0.25rem;
        will-change: auto;
    }

    .autoexamen-slide {
        width: 84vw;
        flex: 0 0 84vw;
        scroll-snap-align: center;
        border-radius: 24px;
        margin-right: 0.75rem;
        padding: 1.35rem 1.15rem;
        min-height: auto;
    }

    .autoexamen-slide-copy h3 {
        font-size: 1.55rem;
    }

    .autoexamen-slide-copy p {
        font-size: 1rem;
        line-height: 1.65;
    }

    .autoexamen-progress {
        margin-top: 1rem;
        gap: 0.55rem;
    }

    .autoexamen-progress-btn {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }

    .autoexamen-slider::-webkit-scrollbar {
        height: 8px;
    }

    .autoexamen-slider::-webkit-scrollbar-thumb {
        background: rgba(139, 76, 126, 0.45);
        border-radius: 999px;
    }

    .autoexamen-slider::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.5);
    }
}

@media (prefers-reduced-motion: reduce) {
    .autoexamen-track {
        transition: none;
    }
}

/* ===== CTA SECTION ===== */
.cta-section {
    position: relative;
    background: linear-gradient(135deg, var(--color-primary), #6d3b62);
    color: white;
    text-align: center;
    padding: 5rem 0;
    overflow: hidden;
}

.cta-section::before {
    content: "🎗️";
    font-size: 8rem;
    position: absolute;
    top: -20px;
    left: -20px;
    opacity: 0.1;
    transform: rotate(-15deg);
    animation: float 6s ease-in-out infinite;
}

.cta-section::after {
    content: "🎗️";
    font-size: 12rem;
    position: absolute;
    bottom: -40px;
    right: -30px;
    opacity: 0.1;
    transform: rotate(25deg);
    animation: float 8s ease-in-out infinite reverse;
}

.cta-section .pattern-lazo {
    position: absolute;
    top: 20%;
    left: 10%;
    font-size: 4rem;
    opacity: 0.1;
    animation: float 7s ease-in-out infinite;
}

.cta-section .pattern-lazo2 {
    position: absolute;
    bottom: 20%;
    right: 15%;
    font-size: 5rem;
    opacity: 0.1;
    animation: float 9s ease-in-out infinite reverse;
}

.cta-section .texture-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            45deg,
            rgba(255,255,255,0.02) 0px,
            rgba(255,255,255,0.02) 2px,
            transparent 2px,
            transparent 8px
        ),
        radial-gradient(
            circle at 30% 50%,
            rgba(255,255,255,0.05) 0%,
            transparent 50%
        );
    pointer-events: none;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(var(--rotation, 0deg));
    }
    50% {
        transform: translateY(-20px) rotate(var(--rotation, 0deg));
    }
}

.cta-section h2 {
    color: white;
    font-size: 3rem;
    position: relative;
    z-index: 2;
}

.cta-section p {
    position: relative;
    z-index: 2;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

.cta-buttons .btn-outline {
    border-color: white;
    color: white;
}

.cta-buttons .btn-outline:hover {
    background: white;
    color: var(--color-primary);
}

/* ===== FOOTER ===== */
.main-footer {
    background: var(--color-text-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--color-hero-bg);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: #ddd;
    transition: color 0.2s;
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--color-hero-bg);
}

.footer-brand .footer-logo {
    margin-bottom: 1rem;
}

.footer-brand .footer-description {
    color: #ddd;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.footer-brand .footer-social h4 {
    color: var(--color-hero-bg);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-brand .social-icons {
    display: flex;
    gap: 1rem;
}

.footer-brand .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s;
}

.footer-brand .social-icons a:hover {
    background-color: var(--color-hero-bg);
    color: white;
    transform: translateY(-3px);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: #ddd;
}

.footer-contact li i {
    color: var(--color-hero-bg);
    width: 20px;
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-contact li a,
.footer-contact li span {
    color: #ddd;
    text-decoration: none;
    line-height: 1.5;
}

.footer-contact li a:hover {
    color: var(--color-hero-bg);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #aaa;
    font-size: 0.9rem;
}

/* ===== EVENTOS Y PROYECTOS - ESTILOS ESPECÍFICOS ===== */
.eventos-header {
    position: relative;
    background: linear-gradient(135deg, rgba(254, 102, 154, 0.75), rgba(139, 76, 126, 0.7));
    background-image: url('images/eventos-header-bg.jpg');
    background-size: cover;
    background-position: center 40%;
    color: white;
    text-align: center;
    padding: 5rem 0 4rem;
    margin-top: 0;
    overflow: hidden;
}

.eventos-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(254, 102, 154, 0.75), rgba(139, 76, 126, 0.7));
    z-index: 1;
}

.eventos-header .container {
    position: relative;
    z-index: 2;
}

.eventos-header h1 {
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    font-size: 3.5rem;
}

.eventos-header h1 i {
    margin-right: 0.75rem;
    background: rgba(255,255,255,0.2);
    padding: 0.5rem;
    border-radius: 50%;
    font-size: 2rem;
}

.eventos-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.header-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #FFD966, #FFD966, transparent);
    z-index: 2;
}

/* Sección del desfile */
.desfile-section {
    background: white;
}

.desfile-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.desfile-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text-dark);
}

.desfile-text .highlight {
    color: var(--color-primary);
    font-weight: 700;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Galería de fotos - Carrusel */
.galeria-section {
    background: var(--color-accent-soft);
}

.galeria-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    background-color: #f5f5f5;
}

.galeria-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.galeria-slide {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
    min-height: 500px;
}

.galeria-slide img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.galeria-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(139, 76, 126, 0.8);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.galeria-btn:hover {
    background: var(--color-primary);
    transform: translateY(-50%) scale(1.05);
}

.galeria-btn-prev {
    left: 20px;
}

.galeria-btn-next {
    right: 20px;
}

.galeria-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.galeria-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.galeria-dot.active {
    background: var(--color-primary);
    transform: scale(1.2);
}

/* Responsive para galería */
@media (max-width: 968px) {
    .galeria-slide {
        min-height: 400px;
    }
    
    .galeria-slide img {
        max-height: 400px;
    }

    .galeria-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .galeria-slide {
        min-height: 350px;
    }
    
    .galeria-slide img {
        max-height: 350px;
    }
}

@media (max-width: 480px) {
    .galeria-slide {
        min-height: 280px;
    }
    
    .galeria-slide img {
        max-height: 280px;
    }
}
/* Proyectos grid */
.proyectos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 2rem;
}

.proyecto-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--color-border-light);
}

.proyecto-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.proyecto-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background-color: #f0f0f0;
}

.proyecto-content {
    padding: 1.8rem;
}

.proyecto-content h3 {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.proyecto-content .proyecto-subtitle {
    font-weight: 600;
    color: var(--color-hero-bg);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.proyecto-content p {
    color: var(--color-text-muted);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.proyecto-content .btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-primary);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    margin-top: 0.5rem;
}

.proyecto-content .btn-link:hover {
    background-color: var(--color-hero-bg);
    transform: translateX(5px);
}

/* Responsive para eventos y proyectos */
@media (max-width: 968px) {
    .desfile-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .proyectos-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .galeria-slide img {
        height: 300px;
    }

    .galeria-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .eventos-header {
        padding: 3.5rem 0 2.5rem;
    }

    .eventos-header h1 {
        font-size: 2rem;
    }
    
    .eventos-header h1 i {
        font-size: 1.5rem;
        padding: 0.4rem;
    }

    .eventos-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .proyecto-img {
        height: 180px;
    }

    .proyecto-content {
        padding: 1.2rem;
    }

    .proyecto-content h3 {
        font-size: 1.3rem;
    }

    .galeria-slide img {
        height: 250px;
    }
    
    .eventos-header {
        padding: 2.5rem 0 2rem;
    }
}

/* ===== RESPONSIVE GENERAL ===== */
@media (max-width: 968px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .info-card {
        margin: 0 auto;
        max-width: 100%;
    }

    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 2rem;
    }

    .mission-vision-grid,
    .services-grid,
    .team-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-item:last-child {
        grid-column: auto;
    }

    /* HEADER RESPONSIVE */
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        padding: 1rem;
    }
    
    .main-header .navbar,
    .main-header.internal-header .navbar {
        background: rgba(254, 102, 154, 0.95);
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 1rem 0;
        margin-top: 1rem;
        background: rgba(254, 102, 154, 0.95);
        border-radius: 20px;
        backdrop-filter: blur(10px);
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        z-index: 1000;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 0.5rem;
        font-size: 1.1rem;
    }
    
    .logo {
        margin-left: 0;
        flex-shrink: 0;
    }
    
    .logo img {
        max-width: 100px;
        height: auto;
    }
    
    .menu-toggle {
        display: block;
        flex-shrink: 0;
    }
    
    .cancer-grid {
        gap: 1.5rem;
    }
    
    .cancer-item {
        flex: 0 0 150px;
    }
    
    .cancer-circle {
        width: 120px;
        height: 120px;
    }
    
    .cancer-circle span,
    .cancer-circle i {
        font-size: 3rem;
    }
    
    .medical-advisor {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .faq-question {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .faq-number {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .cancer-item {
        flex: 0 0 130px;
    }
    
    /* Somos MACMA - video debajo del texto */
    #somos-macma > .container > div:first-of-type {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
    }
    
    #somos-macma > .container > div:first-of-type > div:first-child {
        width: 100%;
        order: 1;
    }
    
    #somos-macma > .container > div:first-of-type > .video-container {
        width: 100%;
        order: 2;
    }
    
    /* Texto al ancho completo */
    #somos-macma p {
        width: 100%;
        text-align: left;
    }
    
    /* Hero ajustes */
    .hero {
        min-height: auto;
        padding: 120px 0 40px;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-text p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Info card responsive - centrada y más chica */
    .info-card {
        padding: 1.5rem;
        margin: 1rem auto 0;
        max-width: 95%;
    }
    
    .info-card-header h3 {
        font-size: 1.4rem;
    }
    
    .info-card-header i {
        font-size: 1.8rem;
    }
    
    .info-card p {
        font-size: 0.9rem;
    }
    
    .info-card-stats {
        gap: 1rem;
        margin: 1.5rem 0;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .info-card-buttons .btn {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 3rem 1rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-section p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .cta-buttons .btn {
        display: inline-block;
        width: auto;
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    .quick-actions,
    .services-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }
    
    .cancer-item {
        flex: 0 0 130px;
    }
    
    /* Ajuste responsive para logos de colaboradores - versión grande */
    .allies-grid .ally-item {
        min-width: 260px;
        height: 170px;
        padding: 1.5rem;
    }
    
    .allies-grid .ally-item img {
        max-height: 130px;
    }
    
    .slider-container .ally-item {
        min-width: 260px;
        height: 170px;
        padding: 1.5rem;
    }
    
    .slider-container .ally-item img {
        max-height: 130px;
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-260px * 7 - 2rem * 7));
        }
    }
}

/* Evitar que el slider cause scroll automático al cargar la página */
.autoexamen-slider {
    scroll-behavior: auto;
}

.autoexamen-slide {
    scroll-margin-top: 100px;
}