/* ========================================
   RESET Y BASE
   ======================================== */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', sans-serif;
    color: #555;
    line-height: 1.6;
    background-color: #FFFBF0;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Colores de la marca */
:root {
    --primary: #FF9AA2;
    --secondary: #B5EAD7;
    --accent: #C7CEEA;
    --text-dark: #4A4A4A;
}

/* ========================================
   HEADER
   ======================================== */
header {
    background-color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

header h1 {
    color: var(--primary);
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 10px;
}

header p {
    text-align: center;
    font-size: 0.9rem;
    color: #888;
}

nav {
    text-align: center;
    margin-top: 15px;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    margin: 0 15px;
    font-weight: 600;
    font-size: 0.95rem;
}

.btn-nav {
    background-color: var(--primary);
    color: white !important;
    padding: 8px 15px;
    border-radius: 20px;
    transition: transform 0.2s;
}

.btn-nav:hover {
    transform: scale(1.05);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    background: linear-gradient(135deg, #fff5f5 0%, #e0f7fa 100%);
    padding: 80px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.hero-img img {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.hero-img img:hover {
    transform: translateY(-5px);
}

/* ========================================
   SECCIÓN SOBRE MÍ
   ======================================== */
#sobre-mi .about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
    margin-top: 30px;
}

#sobre-mi .about-text h3 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary);
}

#sobre-mi .about-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    object-fit: cover;
}

/* ========================================
   SECCIONES GENERALES
   ======================================== */
.section {
    padding: 50px 0;
}

.bg-light {
    background-color: white;
}

h3 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 30px;
    font-size: 1.8rem;
}

/* Cards de servicios */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    border: 2px solid var(--secondary);
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.card h4 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

/* ========================================
   AGENDA Y PAGOS
   ======================================== */
.payment-section {
    text-align: center;
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    border: 1px dashed var(--primary);
    margin-top: 30px;
}

.btn-pay {
    display: inline-block;
    background-color: #009ee3;
    color: white;
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.btn-pay:hover {
    background-color: #007bb5;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background-color: var(--text-dark);
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
}

footer a {
    color: var(--secondary);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* ========================================
   RESPONSIVE - MÓVILES (< 600px)
   ======================================== */
@media (max-width: 600px) {
    header h1 { font-size: 1.5rem; }
    
    nav a { 
        display: block; 
        margin: 10px 0; 
    }
    
    .hero h2, 
    .hero-text h2 { 
        font-size: 1.5rem; 
    }
    
    .hero { 
        padding: 50px 0; 
    }
    
    .calendly-inline-widget { 
        height: 600px !important; 
    }
    
    #sobre-mi .about-text h3 {
        text-align: center;
    }
}

/* ========================================
   RESPONSIVE - TABLET/DESKTOP PEQUEÑO (< 768px)
   ======================================== */
@media (max-width: 768px) {
    .hero-grid,
    #sobre-mi .about-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
    
    .hero-text {
        padding-right: 0 !important;
        text-align: center;
    }
}

/* ========================================
   RESPONSIVE - DESKTOP (≥ 768px)
   ======================================== */
@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-text {
        padding-right: 40px;
        text-align: left;
    }
    
    .hero-text h2 {
        font-size: 2.2rem;
    }
    
    #sobre-mi .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
    
    #sobre-mi .about-text h3 {
        text-align: left;
    }
    
    #sobre-mi .about-image {
        text-align: center;
    }
    
    #sobre-mi .about-image img {
        max-width: 400px;
    }
}