
:root {
    --nm-green: #275e49;
    --nm-green-dark: #173f31;
    --nm-cream: #f6f4ee;
    --nm-text: #233029;
    --nm-muted: #647069;
    --nm-border: #e4e8e5;
}

body.nm-simple-enabled #main,
body.nm-simple-enabled #primary,
body.nm-simple-enabled .site-content,
body.nm-simple-enabled .tg-one-half,
body.nm-simple-enabled .widget_service_block,
body.nm-simple-enabled .slider-wrapper,
body.nm-simple-enabled #featured-slider {
    /* La portada antigua queda oculta solo en la home. */
}

body.nm-simple-enabled #main,
body.nm-simple-enabled #primary,
body.nm-simple-enabled .site-content {
    display: none !important;
}

.nm-home {
    font-family: inherit;
    color: var(--nm-text);
    background: #fff;
}

.nm-container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.nm-hero {
    position: relative;
    min-height: 620px;
    display: grid;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(19,54,42,.86), rgba(19,54,42,.35)),
        var(--nm-hero, linear-gradient(135deg, #315f4e, #8ca99a));
    background-size: cover;
    background-position: center;
    color: #fff;
}

.nm-hero__overlay {
    position: absolute;
    inset: 0;
}

.nm-hero__content {
    position: relative;
    z-index: 1;
    max-width: 1120px;
}

.nm-hero h1 {
    max-width: 760px;
    margin: 10px 0 18px;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.02;
    letter-spacing: -0.035em;
    color: #fff;
}

.nm-lead {
    max-width: 680px;
    font-size: clamp(18px, 2.2vw, 24px);
    line-height: 1.55;
    opacity: .94;
}

.nm-eyebrow {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.nm-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.nm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 22px;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 800;
    transition: transform .15s ease, opacity .15s ease;
}

.nm-btn:hover {
    transform: translateY(-1px);
    opacity: .94;
}

.nm-btn--primary {
    background: var(--nm-green);
    color: #fff !important;
}

.nm-btn--secondary {
    border: 1px solid rgba(255,255,255,.55);
    color: #fff !important;
    background: rgba(255,255,255,.08);
}

.nm-btn--light {
    background: #fff;
    color: var(--nm-green-dark) !important;
}

.nm-section {
    padding: 88px 0;
}

.nm-section--soft {
    background: var(--nm-cream);
}

.nm-section-heading {
    max-width: 680px;
    margin-bottom: 34px;
}

.nm-section h2 {
    margin: 6px 0 10px;
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.08;
    letter-spacing: -.025em;
}

.nm-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.nm-card {
    border: 1px solid var(--nm-border);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 28px rgba(25,51,40,.06);
}

.nm-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

.nm-card__body {
    padding: 24px;
}

.nm-card h3 {
    margin: 0 0 10px;
    font-size: 24px;
}

.nm-card p {
    color: var(--nm-muted);
    line-height: 1.65;
}

.nm-card a {
    color: var(--nm-green);
    font-weight: 800;
    text-decoration: none;
}

.nm-video-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 48px;
    align-items: center;
}

.nm-video {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 14px;
    background: #111;
    box-shadow: 0 16px 40px rgba(0,0,0,.12);
}

.nm-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.nm-booking {
    padding: 70px 0;
    background: var(--nm-green-dark);
    color: #fff;
}

.nm-booking h2 {
    color: #fff;
}

.nm-booking__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

@media (max-width: 800px) {
    .nm-hero {
        min-height: 540px;
    }

    .nm-services,
    .nm-video-grid {
        grid-template-columns: 1fr;
    }

    .nm-booking__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .nm-section {
        padding: 64px 0;
    }
}


/* ---------------------------------------------------------
   Encabezado Naturmed
   --------------------------------------------------------- */

/* Oculta únicamente el logo grande de la cabecera.
   Conservamos la barra superior, navegación y resto del encabezado. */
#header-logo-image,
.header-logo-image,
.site-branding .custom-logo-link,
.site-branding .site-logo,
.logo .custom-logo-link {
    display: none !important;
}

/* Reduce el espacio que quedaba reservado para el logo antiguo. */
#header-text-nav-container .inner-wrap,
#header-text-nav-wrap {
    min-height: 0 !important;
}

#header-left-section {
    padding: 0 !important;
    margin: 0 !important;
}

/* Menú más limpio */
#site-navigation ul.menu > li > a,
.main-navigation ul.menu > li > a {
    font-size: 14px;
    font-weight: 700;
}

.nm-menu-booking > a {
    background: var(--nm-green) !important;
    color: #fff !important;
    border-radius: 7px;
    padding-left: 16px !important;
    padding-right: 16px !important;
}

.nm-menu-booking > a:hover,
.nm-menu-booking > a:focus {
    background: var(--nm-green-dark) !important;
    color: #fff !important;
}
