:root {
    /* Paleta de Branding Adaptada al estilo de la referencia */
    /* Acentos sutiles basados en el diseño de referencia (naranja/amarillo cálido) */
    --accent-warm: #f6b352;
    --accent-warm-light: #fef5e8;
    --bg-light: #ffffff;
    --bg-off: #fdfdfd;
    --brand-mint: #4A7A6A;
    --brand-mint-hover: #385E51;
    --brand-mint-light: #e5f0ed;
    --brand-mint-pale: #f4f8f7;
    --brand-rose: #9A5C65;
    --brand-rose-hover: #7C4A51;
    --brand-rose-light: #f3e9ea;
    --font-display: 'Fredoka', sans-serif;
    --font-main: 'Nunito', sans-serif;
    --ink: #555555;
    --ink-dark: #2b2b2b;
    --ink-light: #777777;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    --radius-xl: 40px;
    --shadow-hover: 0 15px 40px rgba(155,193,182,0.15);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-sm: 0 4px 15px rgba(0,0,0,0.03);
    --white: #ffffff;
}
  
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; background-color: var(--bg-light); color: var(--ink); font-family: var(--font-main); line-height: 1.7; overflow-x: hidden; }
img { display: block; height: auto; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: all 0.3s ease; }
ul { list-style: none; }

/* Tipografía */
h1, h2, h3, h4, h5, h6 { color: var(--ink-dark); font-family: var(--font-display); font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(3rem, 6vw, 4.5rem); letter-spacing: -0.02em; margin-bottom: 1.5rem; }
h2 { font-size: clamp(2.2rem, 4vw, 3rem); letter-spacing: -0.01em; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
p { color: var(--ink); font-size: 1.05rem; margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* Layout general */
.section { padding: 7rem 0; }
.container { margin: 0 auto; max-width: 1240px; padding: 0 1.5rem; width: 100%; }
.text-center { text-align: center; }

.section-header { margin: 0 auto 4rem; max-width: 650px; position: relative; text-align: center; }

/* Utilidades de texto/color */
.text-mint { color: var(--brand-mint); }
.text-rose { color: var(--brand-rose); }

/* Botones - Estilo píldora gruesa de la referencia */
.btn { align-items: center; border: none; border-radius: 50px; cursor: pointer; display: inline-flex; font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; gap: 0.5rem; justify-content: center; letter-spacing: 0.02em; padding: 1rem 2.5rem; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); }
.btn-mint { background-color: var(--brand-mint); box-shadow: 0 8px 25px rgba(155,193,182,0.4); color: var(--white); }
.btn-mint:hover { background-color: var(--brand-mint-hover); box-shadow: 0 12px 30px rgba(155,193,182,0.5); transform: translateY(-3px); }
.btn-rose { background-color: var(--brand-rose); box-shadow: 0 8px 25px rgba(199,156,162,0.4); color: var(--white); }
.btn-rose:hover { background-color: var(--brand-rose-hover); box-shadow: 0 12px 30px rgba(199,156,162,0.5); transform: translateY(-3px); }
.btn-whatsapp { background-color: #25D366; box-shadow: 0 8px 25px rgba(37,211,102,0.3); color: var(--white); }
.btn-whatsapp:hover { background-color: #128C7E; box-shadow: 0 12px 30px rgba(37,211,102,0.4); color: var(--white); transform: translateY(-3px); }
.btn-outline { background: transparent; border: 2px solid var(--brand-mint); color: var(--brand-mint); }
.btn-outline:hover { background: var(--brand-mint); color: var(--white); }

/* Badges/Subtítulos de sección (estilo de la plantilla) */
.section-subtitle { color: var(--brand-mint); display: inline-block; font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; margin-bottom: 1rem; padding-left: 2.5rem; position: relative; }
.section-subtitle::before { content: ''; background-color: var(--brand-mint); border-radius: 2px; height: 2px; left: 0; position: absolute; top: 50%; transform: translateY(-50%); width: 1.8rem; }
.section-subtitle.rose { color: var(--brand-rose); }
.section-subtitle.rose::before { background-color: var(--brand-rose); }
.section-subtitle.center { padding-bottom: 0.5rem; padding-left: 0; }
.section-subtitle.center::before { display: none; }

/* Formas decorativas (Blob/Waves suaves de la referencia) */
.shape-blob { opacity: 0.5; position: absolute; z-index: -1; }

/* 1. Topbar & Navbar */
.topbar { background-color: var(--brand-mint); color: var(--white); font-size: 0.9rem; font-weight: 600; padding: 0.6rem 0; }
.topbar-inner { align-items: center; display: flex; justify-content: space-between; }
.topbar-info { display: flex; gap: 2rem; }
.topbar-info span { align-items: center; display: flex; gap: 0.5rem; }

.navbar { background: var(--white); padding: 1.25rem 0; position: relative; transition: all 0.3s ease; z-index: 1000; }
.navbar.sticky { animation: slideDown 0.5s ease; box-shadow: 0 4px 20px rgba(0,0,0,0.05); left: 0; padding: 1rem 0; position: fixed; right: 0; top: 0; }

.nav-inner { align-items: center; display: flex; justify-content: space-between; }
.logo img { height: 50px; object-fit: contain; }
.nav-links { align-items: center; display: flex; gap: 2.5rem; }
.nav-links a { color: var(--ink-dark); font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; position: relative; }
.nav-links a:hover { color: var(--brand-mint); }
.nav-links a::after { content: ''; background-color: var(--brand-mint); bottom: -5px; height: 2px; left: 0; position: absolute; transition: width 0.3s ease; width: 0; }
.nav-links a:hover::after { width: 100%; }

.nav-actions { align-items: center; display: flex; gap: 1.5rem; }

.nav-toggle { background: none; border: none; cursor: pointer; display: none; padding: 0.5rem; }
.nav-toggle span { background: var(--ink-dark); border-radius: 3px; display: block; height: 3px; margin: 6px 0; transition: 0.3s; width: 28px; }

/* 2. Hero Section (Estilo Split con imagen en forma de arco/blob) */
.hero { background-color: var(--brand-mint-pale); overflow: hidden; padding: 5rem 0 8rem; position: relative; }
.hero::after { content: ''; background: var(--bg-light); border-radius: 50% 50% 0 0 / 100% 100% 0 0; bottom: -50px; height: 100px; left: 0; position: absolute; right: 0; }
.hero-inner { align-items: center; display: grid; gap: 3rem; grid-template-columns: 1fr 1.1fr; position: relative; z-index: 10; }

.hero-content { padding-right: 2rem; }
.hero-content h1 { color: var(--ink-dark); margin-bottom: 1.25rem; }
.hero-content h1 span { color: var(--brand-mint); }
.hero-content p { color: var(--ink); font-size: 1.2rem; line-height: 1.6; margin-bottom: 2.5rem; }
.hero-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 1.5rem; }

.hero-image-wrapper { position: relative; }
.hero-image-mask { aspect-ratio: 4/5; background: var(--brand-mint-light); border: 15px solid var(--white); border-radius: 200px 200px 40px 40px; box-shadow: var(--shadow-md); overflow: hidden; position: relative; z-index: 2; }
.hero-image-mask img { height: 100%; object-fit: cover; width: 100%; }

.floating-badge { align-items: center; animation: float 6s ease-in-out infinite; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); display: flex; gap: 1rem; padding: 1.25rem 1.5rem; position: absolute; z-index: 3; }
.badge-1 { bottom: 3rem; left: -3rem; }
.badge-2 { animation-delay: -3s; right: -2rem; top: 4rem; }

.fb-icon { align-items: center; border-radius: 50%; display: flex; font-size: 1.5rem; height: 50px; justify-content: center; width: 50px; }
.fb-icon.mint { background: var(--brand-mint-light); color: var(--brand-mint); }
.fb-icon.rose { background: var(--brand-rose-light); color: var(--brand-rose); }
.fb-content h5 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.fb-content span { color: var(--ink-light); font-size: 0.9rem; }

/* 3. Features / Cajas de Información (Estilo tarjetas superpuestas) */
.features { margin-top: -6rem; padding-bottom: 4rem; position: relative; z-index: 20; }
.features-grid { display: grid; gap: 2rem; grid-template-columns: repeat(3, 1fr); }
.feature-card { background: var(--white); border-bottom: 4px solid transparent; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 2.5rem; transition: all 0.3s ease; }
.feature-card:nth-child(1) { border-bottom-color: var(--brand-mint); }
.feature-card:nth-child(2) { border-bottom-color: var(--brand-rose); }
.feature-card:nth-child(3) { border-bottom-color: var(--accent-warm); }

.feature-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-10px); }
.fc-icon { align-items: center; border-radius: 50%; display: flex; font-size: 2rem; height: 70px; justify-content: center; margin-bottom: 1.5rem; width: 70px; }
.feature-card:nth-child(1) .fc-icon { background: var(--brand-mint-light); color: var(--brand-mint); }
.feature-card:nth-child(2) .fc-icon { background: var(--brand-rose-light); color: var(--brand-rose); }
.feature-card:nth-child(3) .fc-icon { background: var(--accent-warm-light); color: var(--accent-warm); }

.feature-card h3 { font-size: 1.4rem; margin-bottom: 1rem; }

/* 4. About / El Centro */
.about { overflow: hidden; padding: 5rem 0; }
.about-inner { align-items: center; display: grid; gap: 4rem; grid-template-columns: 1fr 1fr; }
.about-images { display: grid; gap: 1.5rem; grid-template-columns: 1fr 1fr; position: relative; }
.img-box { border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.img-box img { height: 100%; object-fit: cover; width: 100%; }
.img-box-1 { aspect-ratio: 3/4; border-radius: 200px 200px 30px 30px; grid-column: 1 / 2; grid-row: 1 / 3; }
.img-box-2 { aspect-ratio: 1/1; border-radius: 30px 200px 30px 30px; grid-column: 2 / 3; grid-row: 1 / 2; margin-top: 2rem; }
.img-box-3 { aspect-ratio: 1/1; border-radius: 30px 30px 200px 30px; grid-column: 2 / 3; grid-row: 2 / 3; }

.list-features { margin: 2rem 0; }
.list-features li { align-items: center; color: var(--ink-dark); display: flex; font-size: 1.1rem; font-weight: 600; gap: 1rem; margin-bottom: 1rem; }
.list-icon { align-items: center; background: var(--brand-mint); border-radius: 50%; color: var(--white); display: flex; flex-shrink: 0; font-size: 0.9rem; height: 32px; justify-content: center; width: 32px; }

/* 5. Servicios (Estilo grid limpio con iconos grandes) */
.services { background-color: var(--brand-mint-pale); padding: 7rem 0; position: relative; }
.services::before { content: ''; background: radial-gradient(circle, var(--brand-mint-light) 0%, transparent 70%); height: 200px; left: 0; position: absolute; top: 0; width: 200px; }
.services-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.service-box { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; padding: 3rem 2.5rem; position: relative; text-align: center; transition: all 0.3s ease; z-index: 1; }
.service-box::before { content: ''; background: var(--brand-mint); height: 0; left: 0; position: absolute; top: 0; transition: height 0.4s ease; width: 100%; z-index: -1; }
.service-box:nth-child(even)::before { background: var(--brand-rose); }

.service-box:hover { box-shadow: var(--shadow-hover); transform: translateY(-10px); }
.service-box:hover::before { height: 100%; }
.service-box:hover h3, .service-box:hover p { color: var(--white); }

.srv-icon { align-items: center; background: var(--brand-mint-light); border-radius: 50%; color: var(--brand-mint); display: flex; font-size: 2.5rem; height: 90px; justify-content: center; margin: 0 auto 1.5rem; transition: all 0.3s ease; width: 90px; }
.service-box:nth-child(even) .srv-icon { background: var(--brand-rose-light); color: var(--brand-rose); }
.service-box:hover .srv-icon { background: rgba(255,255,255,0.2); color: var(--white); transform: scale(1.1); }

.service-box h3 { font-size: 1.4rem; transition: color 0.3s ease; }
.service-box p { margin-bottom: 0; transition: color 0.3s ease; }

/* 6. Urgencias (Llamado a la acción impactante) */
.urgencias { background: var(--brand-rose); color: var(--white); overflow: hidden; padding: 6rem 0; position: relative; }
.urgencias::after { content: ''; border: 50px solid rgba(255,255,255,0.1); border-radius: 50%; height: 400px; position: absolute; right: -5%; top: -20%; width: 400px; }
.urgencias-inner { align-items: center; display: grid; gap: 4rem; grid-template-columns: 1fr 1fr; position: relative; z-index: 2; }
.urgencias-content h2 { color: var(--white); font-size: 3rem; margin-bottom: 1.5rem; }
.urgencias-content p { color: rgba(255,255,255,0.9); font-size: 1.15rem; margin-bottom: 2rem; }

.urg-box { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); color: var(--ink-dark); padding: 3rem; text-align: center; }
.urg-box .time { color: var(--brand-rose); font-family: var(--font-display); font-size: 3.5rem; line-height: 1; margin: 1.5rem 0; }
.urg-box h4 { font-size: 1.5rem; margin-bottom: 0.5rem; }

/* 7. Testimonios */
.testimonials { background: var(--bg-off); padding: 7rem 0; }
.testi-grid { display: grid; gap: 2rem; grid-template-columns: repeat(3, 1fr); }
.testi-card { background: var(--white); border: 1px solid rgba(0,0,0,0.03); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 3rem 2.5rem; position: relative; }
.quote-icon { color: var(--brand-mint-light); font-family: serif; font-size: 3rem; line-height: 1; position: absolute; right: 2.5rem; top: 2.5rem; }
.stars { color: var(--accent-warm); font-size: 1.2rem; margin-bottom: 1.5rem; }
.testi-text { color: var(--ink-dark); font-size: 1.1rem; font-style: italic; margin-bottom: 2rem; }

.client { align-items: center; border-top: 1px solid rgba(0,0,0,0.05); display: flex; gap: 1rem; padding-top: 1.5rem; }
.client img { border-radius: 50%; height: 55px; object-fit: cover; width: 55px; }
.client-info h5 { font-size: 1.1rem; margin: 0; }
.client-info span { color: var(--ink-light); font-size: 0.9rem; }

/* 8. FAQ Accordion (Estilo limpio) */
.faq { background: var(--brand-mint-pale); padding: 7rem 0; }
.faq-container { margin: 0 auto; max-width: 850px; }
.faq-item { background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); margin-bottom: 1rem; overflow: hidden; }
.faq-question { align-items: center; color: var(--ink-dark); cursor: pointer; display: flex; font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; justify-content: space-between; padding: 1.5rem 2rem; transition: all 0.3s ease; }
.faq-item.active .faq-question { color: var(--brand-mint); }
.faq-icon { align-items: center; background: var(--brand-mint-light); border-radius: 50%; color: var(--brand-mint); display: flex; font-size: 1.2rem; font-weight: bold; height: 30px; justify-content: center; transition: all 0.3s ease; width: 30px; }
.faq-item.active .faq-icon { background: var(--brand-mint); color: var(--white); transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: all 0.4s cubic-bezier(0, 1, 0, 1); }
.faq-answer-inner { color: var(--ink); padding: 0 2rem 1.5rem; }
.faq-item.active .faq-answer { max-height: 1000px; transition: all 0.4s ease-in-out; }

/* 9. Footer */
.footer { background-color: var(--brand-mint); color: var(--white); padding: 5rem 0 2rem; position: relative; }
/* Forma de ola en el top del footer */
.footer::before { content: ""; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V120H0V0C50.69,32.22,110.87,48.24,171.9,56.55C223.16,63.45,274.6,63.6,321.39,56.44Z' fill='%234A7A6A'/%3E%3C/svg%3E"); background-size: cover; height: 40px; left: 0; position: absolute; top: -40px; width: 100%; }

.footer-grid { display: grid; gap: 3rem; grid-template-columns: 2fr 1fr 1fr 1.5fr; margin-bottom: 4rem; }
.footer-logo { display: inline-block; margin-bottom: 1.5rem; }
.footer-logo img { filter: brightness(0) invert(1); height: 50px; }
.footer p { color: rgba(255,255,255,0.85); font-size: 1rem; margin-bottom: 1.5rem; }

.social-links { display: flex; gap: 1rem; }
.social-link { align-items: center; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; height: 40px; justify-content: center; transition: all 0.3s ease; width: 40px; }
.social-link:hover { background: var(--white); color: var(--brand-mint); transform: translateY(-3px); }

.footer h4 { color: var(--white); font-size: 1.3rem; margin-bottom: 1.5rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-links a { color: rgba(255,255,255,0.85); display: inline-block; transition: all 0.3s ease; }
.footer-links a:hover { color: var(--white); transform: translateX(5px); }

.contact-item { align-items: flex-start; display: flex; gap: 1rem; margin-bottom: 1.25rem; }
.contact-icon { font-size: 1.2rem; }
.contact-text { color: rgba(255,255,255,0.85); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.8); font-size: 0.95rem; padding-top: 2rem; text-align: center; }
  
/* Responsive */
@media (max-width: 1100px) {
    .hero-inner { gap: 2rem; }
    .hero-content h1 { font-size: 3rem; }
    .features-grid, .testi-grid, .about-inner, .urgencias-inner { grid-template-columns: repeat(2, 1fr); }
    .testi-card:last-child { grid-column: span 2; }
    .footer-grid { gap: 4rem; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .topbar { display: none; }
    .nav-links, .nav-actions .btn { display: none; }
    .nav-toggle { display: block; }
    /* Mobile Menu */
    .nav-links.active { align-items: flex-start; background: var(--white); box-shadow: 0 10px 20px rgba(0,0,0,0.05); display: flex; flex-direction: column; gap: 1.5rem; left: 0; padding: 2rem; position: absolute; right: 0; top: 100%; }
    .hero { padding: 4rem 0 5rem; }
    .hero-inner { gap: 3rem; grid-template-columns: 1fr; text-align: center; }
    .hero-content { padding-right: 0; }
    .hero-actions { justify-content: center; }
    .features { margin-top: 0; padding-top: 3rem; }
    .features-grid, .testi-grid, .about-inner, .urgencias-inner { grid-template-columns: 1fr; }
    .testi-card:last-child { grid-column: span 1; }
    .about-images { margin-bottom: 3rem; }
    .footer-grid { gap: 2.5rem; grid-template-columns: 1fr; }
}


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

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}