:root {
    --primary-color: #7c3aed;
    --secondary-color: #ddd6fe;
    --text-color: #333;
    --white: #ffffff;
    --gray-dark: #666;
    --max-width: 1200px;
    --font-family: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.contact-email {
  color: white;
  text-decoration: none;
  cursor: pointer;
}

.section {
    padding: 60px 0;
}

.bg-light {
    background-color: var(--secondary-color);
}

h1, h2, h3 {
    margin-bottom: 20px;
    font-weight: 600;
}

h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), 
                url('assets/hero-bg.png') no-repeat center center/cover;
    padding: 20px;
}

.hero-content {
    max-width: 600px;
}

.profile-img-container {
    margin-bottom: 30px;
}

.profile-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.license {
    font-weight: 300;
    color: var(--gray-dark);
    margin-bottom: 5px;
}

.specialty {
    font-weight: 400;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #6d28d9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
}

/* Contact Section Redesign */
#contacto {
    text-align: center;
    background-color: var(--white);
}

.section-subtitle {
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.contact-title {
    max-width: 700px;
    margin: 0 auto 20px;
    font-size: 2.2rem;
    line-height: 1.2;
    font-weight: 600;
}

.contact-description {
    max-width: 500px;
    margin: 0 auto 40px;
    color: var(--gray-dark);
}

.cta-card {
    background-color: #f1f1f1; /* Gris muy claro como en la imagen */
    padding: 30px;
    border-radius: 40px; /* Bordes muy redondeados */
    max-width: 550px;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.input-group {
    text-align: left;
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    margin-left: 15px;
    font-size: 0.9rem;
    color: #555;
}

#motivo-consulta {
    width: 100%;
    background-color: var(--white);
    border: none;
    border-radius: 30px;
    padding: 20px;
    font-family: var(--font-family);
    font-size: 1rem;
    resize: none;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.btn-full {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.arrow {
    font-size: 1.4rem;
}

.privacy-note {
    font-size: 0.85rem;
    color: #888;
    font-style: italic;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.lock-icon {
    font-size: 1rem;
}

/* Footer */
footer {
    background-color: #4c1d95; /* Violeta profundo */
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

footer p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    .profile-img {
        width: 150px;
        height: 150px;
    }
}
