/*
Theme Name: La Ruta Natural
Theme URI: https://www.instagram.com/clinica_larutanatural
Author: La Ruta Natural
Description: Masajes terapéuticos · Guatemala. Sitio basado en @clinica_larutanatural.
Version: 1.3.1
Text Domain: la-ruta-natural
*/

:root {
    --ink: #1a2e2b;
    --teal: #005a52;
    --teal-dark: #004540;
    --lime: #86b83e;
    --lime-bright: #9bcc52;
    --cream: #f7f6f2;
    --paper: #ffffff;
    --line: rgba(0, 90, 82, .14);
    --sans: "Outfit", "Segoe UI", sans-serif;
    --script: "Caveat", cursive;
    --page: min(1140px, calc(100% - 40px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.6;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

p, h1, h2, h3, figure, ul, dl { margin-top: 0; }

.sr-only, .skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.skip-link:focus {
    position: fixed;
    top: 12px;
    left: 12px;
    width: auto;
    height: auto;
    clip: auto;
    z-index: 40;
    background: #fff;
    padding: 8px 12px;
}

.brand-script,
.hero-script,
.eyebrow-script {
    font-family: var(--script);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
}

.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner,
.footer-main,
.hero,
.benefits,
.gallery,
.products-preview,
.cta,
.page-wrap,
.services-preview,
.service-catalog {
    width: var(--page);
    margin: 0 auto;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 88px;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand img,
.brand-logo {
    height: 72px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    background: transparent;
}

.brand-logo-footer {
    height: 64px;
    max-width: 160px;
}

.brand-copy { display: flex; flex-direction: column; }

.brand-copy strong {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--lime);
    letter-spacing: .04em;
    text-transform: uppercase;
}

.brand-copy .brand-script {
    font-size: 1.15rem;
    color: var(--teal);
    line-height: 1.1;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.main-nav a {
    font-size: .92rem;
    font-weight: 500;
    color: var(--teal);
}

.main-nav a.current { font-weight: 700; color: var(--teal-dark); }

.nav-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--teal);
    color: #fff !important;
    padding: 11px 20px;
    border-radius: 999px;
    border: 1px solid var(--teal);
    font-weight: 600;
    font-size: .95rem;
}

.btn-sm { padding: 8px 16px; font-size: .88rem; }

.btn-ghost {
    background: transparent;
    color: var(--teal) !important;
    border-color: var(--teal);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 6px 8px;
    background: var(--teal);
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 48px 0 56px;
}

.hero-massage { padding-top: 32px; }

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .75rem;
    color: var(--lime);
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-script {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    color: var(--teal);
    line-height: 1;
    margin-bottom: 8px;
    font-weight: 600;
}

.hero h1:not(.hero-script) {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--teal-dark);
    line-height: 1.15;
    font-weight: 700;
}

.hero-quote {
    font-family: var(--script);
    font-size: 1.55rem;
    color: var(--teal);
    margin: 0 0 16px;
    line-height: 1.25;
    border: 0;
    padding: 0;
}

.service-pills {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.service-pills li {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px 18px;
    font-weight: 600;
    color: var(--teal-dark);
}

.services-preview {
    width: var(--page);
    margin: 0 auto;
    padding: 56px 0;
}

.page-wrap .about-approach {
    margin-bottom: clamp(40px, 6vw, 64px);
}

.card-preview {
    margin: 0 0 40px;
    border-radius: 20px;
    overflow: hidden;
    max-width: 720px;
    box-shadow: 0 16px 40px rgba(0, 90, 82, .12);
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

.hero-photo,
.hero-mark {
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 90, 82, .12);
}

.price-tag {
    display: inline-flex;
    flex-direction: column;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px 20px;
    margin-top: 20px;
}

.price-tag span {
    font-size: 2rem;
    font-weight: 700;
    color: var(--teal);
    line-height: 1;
}

.price-tag small {
    color: var(--ink);
    opacity: .7;
    margin-top: 4px;
}

/* Benefits */
.benefits {
    background: var(--teal);
    color: #fff;
    padding: 56px 0;
    width: 100%;
    max-width: none;
}

.benefits .section-head,
.benefits-inline .section-head {
    width: var(--page);
    margin: 0 auto 28px;
}

.section-head-light h2,
.benefits h2 { color: #fff; }

.benefits-list {
    width: var(--page);
    margin: 0 auto;
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 32px;
}

.benefits-list li {
    padding-left: 28px;
    position: relative;
    font-size: 1rem;
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--lime-bright);
    font-weight: 700;
}

.benefits-inline {
    background: transparent;
    color: var(--ink);
    padding: 0 0 48px;
    width: var(--page);
}

.benefits-list-light li::before { color: var(--lime); }

.benefits-inline h2 { color: var(--teal-dark); }

/* Gallery */
.gallery { padding: 64px 0; }

.section-head { margin-bottom: 28px; }

.section-head h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--teal-dark);
    font-weight: 700;
    line-height: 1.15;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.gallery-grid figure {
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Products */
.products-preview { padding-bottom: 64px; }

.product-cards,
.product-cards-page {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 28px;
}

.product-card {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
}

.product-card img {
    max-height: 280px;
    margin: 0 auto 20px;
    object-fit: contain;
}

.product-card h2,
.product-card h3 {
    color: var(--teal);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* CTA */
.cta {
    text-align: center;
    padding: 56px 24px 96px;
    background: var(--cream);
    width: 100%;
    max-width: none;
}

.cta .section-head,
.cta h2,
.cta p,
.cta .hero-actions {
    width: var(--page);
    margin-left: auto;
    margin-right: auto;
}

.cta h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--teal-dark);
}

.cta a:not(.btn) {
    color: var(--teal);
    font-weight: 600;
    text-decoration: underline;
}

/* Pages */
.page-wrap { padding: 40px 0 96px; }

.page-hero { max-width: 720px; margin-bottom: 48px; }

.page-hero h1 { color: var(--teal-dark); }

.page-hero .hero-script {
    color: var(--teal);
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    margin-bottom: 16px;
}

.prose { max-width: 680px; }

.prose p { font-size: 1.05rem; }

.about-split {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: clamp(28px, 4vw, 48px);
    align-items: center;
    margin-bottom: clamp(48px, 8vw, 72px);
}

.about-split-reverse {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
}

.about-media {
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 90, 82, .12);
}

.about-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-media-portrait img {
    aspect-ratio: 3 / 4;
    object-position: center top;
}

.about-media-space img {
    aspect-ratio: 4 / 5;
    object-position: center;
}

.about-copy h2 {
    color: var(--teal-dark);
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    line-height: 1.15;
    margin-bottom: 8px;
}

.about-role {
    color: var(--teal);
    font-weight: 600;
    margin-bottom: 16px;
}

.about-copy p {
    font-size: 1.05rem;
    max-width: 36rem;
}

.about-copy .text-link {
    display: inline-block;
    margin-top: 8px;
}

.about-approach {
    padding-top: 8px;
    border-top: 1px solid var(--line);
}

.about-approach .section-head p:last-child {
    max-width: 40rem;
    margin: 12px 0 0;
    color: var(--ink);
    opacity: .9;
}

.about-social {
    margin: 0;
    color: var(--ink);
    opacity: .85;
}

.session-facts {
    margin: 20px 0 8px;
    max-width: 28rem;
}

.session-facts div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.session-facts dt {
    font-weight: 600;
    color: var(--teal);
}

.session-facts dd { margin: 0; text-align: right; }

.about-contact-row {
    margin-top: 8px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.about-contact-row p { margin: 0; }

.about-photo,
.about-banner,
.promo-full {
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.contact-card {
    grid-column: span 2;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 28px 32px;
    min-width: 0;
}

.contact-card-wide {
    grid-column: span 3;
}

.contact-card h2 {
    margin-bottom: 10px;
}

.contact-card p:last-child { margin-bottom: 0; }

.contact-card-featured {
    background: var(--teal);
    color: #fff;
    border-color: var(--teal);
}

.contact-card-featured .text-link,
.contact-card-featured a:not(.btn) { color: #fff; }

.contact-highlight {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 12px 0 20px;
    overflow-wrap: anywhere;
}

.contact-highlight-email {
    font-size: 1.15rem;
    margin: 16px 0 0;
    line-height: 1.4;
}

.contact-highlight-email a {
    color: var(--teal);
    text-decoration: underline;
}

.contact-pricing {
    background: var(--cream);
    border-radius: 20px;
    padding: 28px;
    border: 1px solid var(--line);
}

.contact-pricing ul {
    margin: 16px 0 0;
    padding-left: 20px;
}

.contact-hours {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 40px;
}

.contact-hours h2 {
    color: var(--teal-dark);
    margin-bottom: 8px;
}

.contact-hours > p {
    margin-bottom: 20px;
    color: var(--ink);
    opacity: .85;
}

.hours-list {
    margin: 0;
    display: grid;
    gap: 0;
    max-width: 420px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.hours-row:last-child { border-bottom: 0; }

.hours-row dt {
    font-weight: 600;
    color: var(--teal);
}

.hours-row dd {
    margin: 0;
    text-align: right;
}

.hours-row.is-closed dd {
    color: #888;
    font-style: italic;
}

.hours-list-compact .hours-row {
    padding: 4px 0;
    border-bottom-color: rgba(255,255,255,.1);
    font-size: .88rem;
}

.hours-list-compact .hours-row dt,
.hours-list-compact .hours-row dd {
    color: #dceee9;
}

.hours-list-compact .hours-row.is-closed dd {
    color: #a8c4bc;
}

.text-link {
    color: var(--teal);
    font-weight: 700;
    text-decoration: underline;
}

/* Footer */
.site-footer {
    background: var(--teal-dark);
    color: #dceee9;
    padding: 48px 0 28px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
    gap: 20px;
    padding-bottom: 32px;
}

.footer-brand .brand-copy strong { color: var(--lime-bright); }

.footer-brand .brand-script { color: #fff; }

.footer-main small {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .72rem;
    color: var(--lime-bright);
}

.footer-bottom {
    width: var(--page);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.12);
    font-size: .88rem;
    color: #a8c4bc;
}

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #25d366;
    color: #fff !important;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
    z-index: 30;
}

@media (max-width: 900px) {
    .hero, .about-split, .about-split-reverse, .gallery-grid,
    .product-cards, .contact-grid, .benefits-list, .footer-main, .service-pills {
        grid-template-columns: 1fr;
    }

    .contact-card,
    .contact-card-wide {
        grid-column: auto;
    }

    .about-split-reverse .about-media { order: 2; }

    .about-media-portrait img,
    .about-media-space img {
        aspect-ratio: 4 / 5;
        max-height: 520px;
    }

    .menu-toggle { display: block; }

    .main-nav {
        display: none;
        position: absolute;
        inset: 88px 16px auto;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        border-radius: 20px;
        border: 1px solid var(--line);
        box-shadow: 0 16px 40px rgba(0,0,0,.08);
    }

    .main-nav.is-open { display: flex; }

    .footer-bottom { flex-direction: column; }
}
