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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #ffffff;
    color: #222222;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */

.main-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #f1f1f1;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    gap: 1.5rem;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.main-nav {
    display: flex;
    gap: 1rem;
    font-size: 0.95rem;
}

.main-nav a {
    padding: 0.4rem 0.6rem;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
    background: #fce4ec;
    color: #c2185b;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.22rem;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: #333333;
}

/* Hero */

.hero-section {
    padding: 3.5rem 0 2.5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.2fr);
    gap: 2.5rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: #555555;
}

.hero-description {
    margin-bottom: 1rem;
    color: #555555;
}

.hero-services {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 1.25rem;
}

.hero-services li {
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: #f5f5f5;
    font-size: 0.9rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease, color 0.2s ease;
}

.primary-btn {
    background: #e91e63;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(233, 30, 99, 0.25);
}

.primary-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(233, 30, 99, 0.28);
    background: #d81b60;
}

.secondary-btn {
    background: #f5f5f5;
    color: #222222;
}

.secondary-btn:hover {
    background: #eeeeee;
}

.outline-btn {
    border: 1px solid #e91e63;
    color: #e91e63;
    background: #ffffff;
}

.outline-btn:hover {
    background: #fce4ec;
}

.hero-contact {
    font-size: 0.95rem;
    color: #555555;
}

.hero-contact p + p {
    margin-top: 0.15rem;
}

.hero-highlight {
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.promo-card {
    border-radius: 1.25rem;
    padding: 1.75rem 1.5rem;
    background: radial-gradient(circle at top left, #f8bbd0, #ffffff);
    border: 1px solid #f8bbd0;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    max-width: 360px;
}

.promo-card h2 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.promo-main {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.promo-footnote {
    font-size: 0.9rem;
    color: #555555;
    margin-bottom: 0.9rem;
}

/* Sections */

.section {
    padding: 3rem 0;
}

.section h2 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.section-intro {
    margin-bottom: 2rem;
    max-width: 640px;
    color: #555555;
}

.two-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
    gap: 2rem;
    align-items: flex-start;
}

.gray-bg {
    background: #fafafa;
}

.checklist {
    list-style: none;
    margin-top: 1rem;
    display: grid;
    gap: 0.4rem;
}

.checklist li::before {
    content: "•";
    color: #e91e63;
    font-weight: bold;
    margin-right: 0.4rem;
}

.card {
    border-radius: 1rem;
    background: #ffffff;
    padding: 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.highlight-card {
    border-top: 4px solid #e91e63;
}

.info-list {
    list-style: none;
    display: grid;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.info-list span {
    font-weight: 600;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.treatment-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
}

.treatment-card p {
    font-size: 0.95rem;
    color: #555555;
}

.mini-link {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #e91e63;
}

/* Promo section */

.promo-section {
    background: linear-gradient(135deg, #fce4ec, #ffffff);
}

.promo-container {
    display: flex;
    justify-content: center;
}

.promo-text {
    max-width: 640px;
    text-align: center;
}

.promo-highlight {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0.75rem 0 0.2rem;
}

.promo-note {
    color: #555555;
    margin-bottom: 0.75rem;
}

/* Video */

.video-section {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr);
    gap: 2rem;
    align-items: center;
}

.video-wrapper {
    width: 100%;
}

.video-frame {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
    background: #000000;
}

.video-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.3), transparent);
    pointer-events: none;
    mix-blend-mode: screen;
}

.video-frame video {
    width: 100%;
    height: 100%;
    display: block;
}

/* Ubicación */

.address {
    margin-top: 1rem;
    font-size: 0.98rem;
}

.map-placeholder {
    text-align: center;
    font-size: 0.95rem;
    color: #555555;
    border-style: dashed;
    border-color: #e0e0e0;
}

/* Contacto */

.contact-section {
    text-align: center;
    max-width: 640px;
}

.contact-section p {
    margin-bottom: 1rem;
}

.phone-display a {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e91e63;
}

/* Redes */

.redes-section {
    text-align: center;
}

.social-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.75rem;
}

.social-card h3 {
    margin-bottom: 0.35rem;
}

/* Footer */

.main-footer {
    border-top: 1px solid #eeeeee;
    padding: 1.5rem 0;
    background: #ffffff;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-title {
    font-weight: 600;
}

/* Responsivo */

@media (max-width: 960px) {
    .hero-grid,
    .two-columns,
    .video-section {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-section {
        padding-top: 2.75rem;
    }

    .hero-grid {
        gap: 2rem;
    }

    .hero-highlight {
        justify-content: flex-start;
    }

    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 0.5rem 0;
    }

    .main-nav {
        position: absolute;
        inset: calc(100% + 0.25rem) 1rem auto 1rem;
        background: #ffffff;
        border-radius: 0.9rem;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
        padding: 0.75rem;
        flex-direction: column;
        gap: 0.25rem;
        transform-origin: top;
        transform: scaleY(0.8);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.18s ease, transform 0.18s ease;
    }

    .main-nav a {
        padding: 0.45rem 0.6rem;
    }

    .main-header.nav-open .main-nav {
        opacity: 1;
        pointer-events: auto;
        transform: scaleY(1);
    }

    .nav-toggle {
        display: flex;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .cards-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .video-section {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .promo-card {
        max-width: 100%;
    }

    .hero-section {
        padding-bottom: 2rem;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Colorful refresh & mapa de ubicación */

:root {
    --primary-clinic: #e91e63;
    --secondary-clinic: #3f51b5;
    --soft-blue: #e1f5fe;
    --soft-pink: #fce4ec;
}

/* Encabezado con más color */
.main-header {
    background: linear-gradient(90deg, rgba(233, 30, 99, 0.96), rgba(63, 81, 181, 0.96));
    border-bottom-color: rgba(255, 255, 255, 0.18);
}

.main-header .logo-text,
.main-header .logo-subtitle {
    color: #ffffff;
}

.main-nav a {
    color: #ffffff;
}

.main-nav a:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.nav-toggle span {
    background: #ffffff;
}

/* Hero más vistoso */
.hero-section {
    background: radial-gradient(circle at top left, #e1f5fe 0%, #ffffff 45%, #fce4ec 100%);
}

/* Secciones alternadas con color suave */
.section.gray-bg {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1f5fe 100%);
}

#video.section {
    background: linear-gradient(135deg, #e0f7fa 0%, #fffde7 100%);
}

/* Tarjetas con detalles de color */
.card {
    border-top: 3px solid var(--primary-clinic, #e91e63);
}

.highlight-card {
    border-top-width: 4px;
}

/* Redes sociales con fondos más llamativos */
.social-card {
    background: linear-gradient(135deg, #fce4ec 0%, #ffffff 100%);
}

/* Estilo para el mapa de Google */
.map-card {
    border-top-color: var(--secondary-clinic, #3f51b5);
}

.map-wrapper {
    margin-top: 0.75rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.map-wrapper iframe {
    width: 100%;
    height: 260px;
    border: 0;
}

.map-note {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: #555555;
}