/* --- 1. VARIABLES Y BASE --- */




:root {
    --fucsia: #EE5B9B;
    --fucsia-dark: #d44182;
    --fucsia-soft: #FFF5F9;
    --border-soft: #fce2ee;
    --shadow: rgba(238, 91, 155, 0.2);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --max-width: 1200px;
}

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

body {
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    background-color: #fdfdfd;
    color: #444;
    line-height: 1.6;
}

/* --- 2. HEADER --- */
#main-header {
    width: 100%;
    background: #fff;
    border-bottom: 2px solid var(--fucsia);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 10px 20px;
}

.brand-logo { height: 65px; width: auto; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover { color: var(--fucsia); }

/* --- 3. CONTENEDOR DE LA AGENDA --- */
.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    min-height: 80vh;
}

.agenda-container {
    width: 100%;
    max-width: 800px;
    background: #ffffff;
    padding: 40px;
    border-radius: 30px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.agenda-container h1 {
    color: var(--fucsia);
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 10px;
}

.agenda-container p {
    text-align: center;
    color: #777;
    margin-bottom: 30px;
}

/* --- 4. FORMULARIO GRID --- */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

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

.full-width { grid-column: span 2; }

label {
    font-weight: 600;
    color: #444;
    font-size: 0.9rem;
    margin-left: 5px;
}

input, select, textarea {
    padding: 14px;
    border: 1.5px solid var(--border-soft);
    border-radius: 15px;
    background-color: var(--fucsia-soft);
    font-family: inherit;
    transition: var(--transition);
    outline: none;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--fucsia);
    background-color: #fff;
    box-shadow: 0 0 10px var(--shadow);
}

/* --- 5. BOTONES --- */
button, #btn-agendar {
    background: var(--fucsia) !important;
    color: white !important;
    border: none;
    padding: 16px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    grid-column: span 2;
    box-shadow: 0 8px 20px var(--shadow);
}

button:hover, #btn-agendar:hover {
    background: var(--fucsia-dark) !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px var(--shadow);
}

/* --- 6. FOOTER REUTILIZABLE --- */
.footer-reusable {
    background: #fff;
    border-top: 1px solid var(--border-soft);
    padding-top: 50px;
    width: 100%;
    margin-top: 50px;
}

.footer-map {
    max-width: var(--max-width);
    margin: 0 auto 40px;
    padding: 0 20px;
    text-align: center;
}

.footer-map iframe { 
    border-radius: 25px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.footer-content {
    background: var(--fucsia-soft);
    padding: 40px 20px;
    text-align: center;
}

.social-links { 
    display: flex; 
    justify-content: center; 
    gap: 20px; 
    margin: 20px 0;
}

.icono {
    width: 32px;
    height: 32px;
    transition: var(--transition);
}

.social-links a:hover .icono { transform: translateY(-5px); }

.links-legales {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.links-legales a {
    text-decoration: none;
    color: #888;
    font-size: 0.8rem;
    transition: var(--transition);
}

.links-legales a:hover { color: var(--fucsia); }

/* --- 7. COOKIE REUTILIZABLE --- */
.cookie-reusable {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    background: #fff;
    padding: 15px 25px;
    border-radius: 50px;
    border: 1px solid var(--fucsia);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 999;
}

.cookie-reusable button {
    padding: 8px 20px;
    grid-column: auto;
    font-size: 0.8rem;
}

/* --- 8. RESPONSIVE --- */
@media (max-width: 768px) {
    .form-grid { grid-template-columns: 1fr; }
    .full-width, button { grid-column: span 1; }
    .agenda-container { padding: 25px; }
    .cookie-reusable { flex-direction: column; gap: 10px; border-radius: 20px; }
}