:root {
    --primary: #0b3d59;
    --secondary: #1e88e5;
    --accent: #26a69a;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --whatsapp: #25d366;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.grid {
    display: grid;
    gap: 3rem;
}

/* Header */
header {
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo .name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.logo .specialty {
    font-size: 0.8rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

nav a:hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    background: radial-gradient(circle at top right, #e3f2fd, #ffffff);
    overflow: hidden;
}

.hero .grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #e0f2f1;
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.hero-subline {
    font-size: 1.25rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-authority {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    border-left: 4px solid var(--accent);
    padding-left: 1.5rem;
}

.btn-cta-large {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2.5rem;
    background: var(--whatsapp);
    color: var(--white);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.btn-cta-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: visible;
}

.image-wrapper img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.experience-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: float 4s ease-in-out infinite;
}

.experience-card .number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.experience-card .text {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 600;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Transformation Section */
.transformation {
    padding: 6rem 0;
    text-align: center;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.subtitle {
    color: var(--accent);
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.transformation-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: var(--text-light);
}

.transformation-text p {
    margin-bottom: 1.5rem;
}

/* Authority Section */
.authority {
    padding: 6rem 0;
    background: var(--bg-light);
}

.authority-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.auth-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.auth-card:hover {
    transform: translateY(-10px);
}

.auth-card .icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.auth-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Pillars Section */
.specialties {
    padding: 6rem 0;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.pillar-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pillar-img {
    height: 250px;
    overflow: hidden;
}

.pillar-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.pillar-card:hover .pillar-img img {
    transform: scale(1.1);
}

.pillar-info {
    padding: 2rem;
}

.pillar-info h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.pillar-info p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.pillar-features {
    list-style: none;
}

.pillar-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.pillar-features li i {
    color: var(--accent);
}

/* Testimonials */
.testimonials {
    padding: 6rem 0;
    background: var(--primary);
    color: var(--white);
}

.testimonials .section-header h2, 
.testimonials .section-header .subtitle {
    color: var(--white);
}

.testimonials .section-header .subtitle {
    opacity: 0.8;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-card .stars {
    color: #ffd700;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.patient-info {
    display: flex;
    flex-direction: column;
}

.patient-info strong {
    font-size: 1.1rem;
}

.patient-info span {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Final CTA */
.final-cta {
    padding: 8rem 0;
    background: var(--bg-light);
    text-align: center;
}

.cta-box {
    background: var(--white);
    padding: 4rem;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.cta-box p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.btn-cta-pulse {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background: var(--whatsapp);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.2rem;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Footer */
footer {
    padding: 4rem 0 2rem;
    background: #051c29;
    color: var(--white);
}

footer .grid {
    grid-template-columns: 2fr 1fr;
    margin-bottom: 3rem;
}

footer h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

footer .social-links a {
    color: var(--white);
    text-decoration: none;
    margin-top: 1rem;
    display: inline-block;
}

footer .footer-contact p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Floating WhatsApp */
.whatsapp-btn-fixed {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--whatsapp);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: var(--transition);
}

.whatsapp-btn-fixed:hover {
    transform: scale(1.1);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    .hero .grid { grid-template-columns: 1fr; text-align: center; }
    .hero-authority { border-left: none; border-top: 4px solid var(--accent); padding: 1.5rem 0 0; }
    .hero-image { order: -1; max-width: 500px; margin: 0 auto; }
    nav { display: none; }
    .cta-box { padding: 2.5rem 1.5rem; }
    footer .grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    footer .footer-contact p { justify-content: center; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    .section-header h2 { font-size: 2rem; }
    .btn-cta-large, .btn-cta-pulse { width: 100%; justify-content: center; padding: 1.25rem 1.5rem; font-size: 1rem; }
    .whatsapp-btn-fixed span { display: none; }
    .whatsapp-btn-fixed { padding: 1rem; border-radius: 50%; }
}
