:root {
    --primary: #646464;
    --secondary: #e2d3d3;
    --accent: #28a745;
    --light: #ffffff;
    --light-gray:#f8f8f8;
    --dark: #333333;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: var(--light);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    letter-spacing: 0.5px;
}

h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 2em;
    position: relative;
}

h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--secondary);
    margin: 10px auto 0;
    border-radius: 2px;
}

.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--primary);
    overflow: hidden;
    padding: 2rem;
}
.bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    top: 0;
    left: 0;
    filter: blur(2px);
    transform: scale(1.05);
}
.hero-content {
    position: relative;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.75));
    backdrop-filter: blur(4px);
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 600px;
    animation: fadeIn 1s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-content img {
    max-width: 380px;
    margin-bottom: 1rem;
}
.hero-content h1 {
    font-size: 1.2em;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.hero-content p { margin: 10px 0 20px; font-size: 1em; }
.hero-content a {
    display: inline-block;
    padding: 12px 32px;
    background: var(--accent);
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s ease;
}
.hero-content a:hover { background: #218838; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Sections */
section {
    padding: 1rem 1rem;
}      

h2 { 
    text-align: center; 
    color: var(--primary); 
    margin-bottom: 2rem; 
    font-size: 2em; 
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

.card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card-content { padding: 1.5rem; text-align: center; }
.card-content h3 { color: var(--primary); margin-bottom: .5rem; }
.card-content p { color: #555; }

.icon-service {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    color: var(--primary);
    background: var(--secondary);
    width: 100px;
    height: 100px;
    margin: 2rem auto 1rem;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
}
.card:hover .icon-service {
    transform: rotate(5deg) scale(1.15);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.professionals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.professional-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.professional-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.professional-card img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--primary);
    margin-bottom: 1rem;
}

.professional-card h3 {
    color: var(--primary);
    font-size: 1.4em;
    margin: 0.5rem 0;
}

.professional-card p {
    color: #555;
    font-size: 0.95em;
    margin-bottom: 1.5rem;
}

.professional-card a {
    display: inline-block;
    padding: 10px 24px;
    background: var(--accent);
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.professional-card a:hover {
    background: #218838;
}

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.contact-info p { margin-bottom: 10px; color: #555; }
.contact-info a {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    background: var(--accent);
    transition: background 0.3s ease;
}
.contact-info a:hover { background: #218838; }

.contact-info .social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.contact-info .btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #25D366;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info .btn-whatsapp:hover {
    background: #1ebe5b;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.contact-info .btn-instagram {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(45deg,#F58529,#DD2A7B,#8134AF,#515BD4);
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-info .btn-instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.contact-map {
    text-align: center;    
}

.contact-map p {
    margin-top: 8px;
    font-size: 0.9em;
}

.contact-map p a{
    text-decoration: none;
}

iframe { width: 100%; height: 300px; border: none; border-radius: 8px; }

footer {
    text-align: center;
    padding: 10px;
    background: #f8f8f8;
    color: var(--dark);
    font-size: 0.9em;
}
footer a { color: var(--dark); text-decoration: none; font-weight: bold; }
footer a:hover { text-decoration: underline; }


#professionals-sec {
    padding: 1.5rem 2rem;
    background: var(--secondary);
}
#services-sec { background: #f8f8f8; }
#reviews-sec { background: #fff; }
#contact-sec { background: #f8f8f8; }

@media (max-width: 768px) {
    .contact { grid-template-columns: 1fr; }
    .hero-content { max-width: 300px; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

a, button {
    transition: all 0.3s ease;
}
a:hover, button:hover {
    transform: translateY(-2px);
}