:root {
    --primary: #721c46; /* Color Vinotinto/Morado del flyer */
    --primary-dark: #4a0f2d;
    --dark-text: #333;
    --light-text: #fff;
    --accent-gray: #f4f4f4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--accent-gray);
    color: var(--dark-text);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

/* --- HEADER / HERO SECTION --- */
header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
    padding: 3rem 1rem;
    position: relative;
    overflow: hidden;
    /* Forma diagonal en la parte inferior */
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.header-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.profile-img-container {
    flex: 1 1 300px;
    text-align: center;
}

.profile-img {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 5px solid rgba(255,255,255,0.3);
    object-fit: cover;
    background-color: #ddd; /* Color de fondo si no hay imagen */
}

.header-text {
    flex: 2 1 400px;
}

.header-text h2 {
    font-size: 1.5rem;
    font-weight: 400;
}

.header-text h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.header-text span {
    font-size: 1.2rem;
    letter-spacing: 2px;
}

/* --- ABOUT SECTION (Barra oscura) --- */
.about-section {
    background-color: #222;
    color: white;
    padding: 3rem 1rem;
    margin-top: -3rem; /* Para subirlo un poco hacia el header */
    position: relative;
    z-index: 1;
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.about-title {
    flex: 1 1 200px;
    text-align: right;
    border-right: 4px solid var(--primary);
    padding-right: 1.5rem;
}

.about-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    line-height: 1;
}

.about-title span {
    color: white;
    font-size: 2.5rem;
}

.about-text {
    flex: 3 1 500px;
    font-size: 0.95rem;
}

/* --- MAIN CONTENT (Grid) --- */
.main-grid {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

/* Experiencia (Columna Izquierda) */
.experience-col h3 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #ddd;
    padding-bottom: 0.5rem;
}

.experience-list {
    list-style: none;
}

.experience-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    font-weight: 600;
    color: #444;
}

.experience-list li::before {
    content: "•";
    color: var(--primary);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

/* Objetivos (Columna Derecha) */
.objectives-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.objective-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.obj-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #ccc;
    object-fit: cover;
    flex-shrink: 0;
}

.obj-text h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

/* --- QUOTE BANNER --- */
.quote-banner {
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    margin: 2rem 0;
    font-style: italic;
    clip-path: polygon(0 0, 100% 15%, 100% 100%, 0 85%);
}

.quote-banner h3 {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

/* --- CONTACT / FOOTER --- */
.contact-section {
    background-color: #1a1a1a;
    color: white;
    padding: 3rem 1rem;
    text-align: center;
    border-top: 5px solid var(--primary);
}

.contact-title {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.contact-item i {
    color: var(--primary);
    font-size: 1.5rem;
}

.social-links a {
    color: white;
    font-size: 2rem;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary);
        }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .header-text h1 { font-size: 2.5rem; }
    .about-container { flex-direction: column; text-align: center; }
    .about-title { border-right: none; border-bottom: 2px solid var(--primary); padding-right: 0; padding-bottom: 1rem; width: 100%; text-align: center; }
    .main-grid { grid-template-columns: 1fr; }
    .quote-banner { clip-path: none; }
    header { clip-path: none; padding-bottom: 2rem; }
    .about-section { margin-top: 0; }
}