:root {
    --rose: #c48784;
    --rose-deep: #9d5f65;
    --rose-soft: #f3e4e2;
    --blush: #faf4f2;
    --peach: #f7ebe6;
    --sage: #7a8b70;
    --sage-deep: #5f6d57;
    --mauve: #4f303a;
    --ink: #2a2226;
    --muted: #6e6166;
    --line: rgba(79, 48, 58, 0.12);
    --glow: rgba(157, 95, 101, 0.32);
    --shadow: 0 28px 64px rgba(79, 48, 58, 0.12);
    --radius: 1.25rem;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --header-h: 4.4rem;
}

* { box-sizing: border-box; }

html { font-size: 18px; scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    font-family: "Plus Jakarta Sans", sans-serif;
    line-height: 1.65;
    background:
        radial-gradient(1100px 640px at 92% -8%, rgba(196, 135, 132, 0.22), transparent 58%),
        radial-gradient(820px 520px at -8% 40%, rgba(122, 139, 112, 0.12), transparent 55%),
        linear-gradient(168deg, #fff9f7 0%, var(--blush) 48%, #f4e6e0 100%);
    background-attachment: fixed;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.35;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
    z-index: 0;
}

a {
    color: var(--rose-deep);
    text-underline-offset: 0.18em;
    transition: color 0.2s var(--ease);
}

a:hover { color: var(--mauve); }

:focus-visible {
    outline: 2px solid var(--rose-deep);
    outline-offset: 3px;
}

::selection {
    background: rgba(196, 135, 132, 0.35);
    color: var(--mauve);
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 100;
    padding: 0.65rem 1rem;
    border-radius: 0.7rem;
    background: var(--mauve);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.skip-link:focus {
    top: 1rem;
}

.progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 60;
    height: 3px;
    width: var(--p, 0%);
    background: linear-gradient(90deg, var(--rose), var(--sage));
    pointer-events: none;
    transition: width 0.1s linear;
}

.wrap {
    width: min(70rem, calc(100% - 2rem));
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* —— Header —— */
.site-bar {
    position: sticky;
    top: 0;
    z-index: 40;
    margin: 0 calc(50% - 50vw);
    width: 100vw;
    backdrop-filter: blur(14px) saturate(1.15);
    background: rgba(250, 244, 242, 0.78);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-bar.is-scrolled {
    border-bottom-color: var(--line);
    background: rgba(250, 244, 242, 0.92);
}

header.site {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    min-height: var(--header-h);
    padding: 0.7rem 0;
    width: min(70rem, calc(100% - 2rem));
    margin: 0 auto;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.25s var(--ease);
}

.brand-lockup:hover { opacity: 0.86; }

.brand-lockup img {
    display: block;
}

.brand-full {
    height: 2.45rem;
    width: auto;
}

.brand-mark {
    display: none;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.65rem;
    object-fit: cover;
}

.nav-toggle {
    display: none;
    width: 2.6rem;
    height: 2.6rem;
    border: 1px solid var(--line);
    border-radius: 0.8rem;
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 1.05rem;
    height: 1.5px;
    border-radius: 999px;
    background: var(--mauve);
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

body.nav-open .nav-toggle span:first-child {
    transform: translateY(2.5px) rotate(40deg);
}

body.nav-open .nav-toggle span:last-child {
    transform: translateY(-2.5px) rotate(-40deg);
}

nav.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0.2rem 0.15rem;
}

nav.site-nav a {
    color: var(--mauve);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    padding: 0.45rem 0.7rem;
    border-radius: 0.7rem;
    transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

nav.site-nav a:hover,
nav.site-nav a:focus-visible {
    background: rgba(196, 135, 132, 0.14);
    color: var(--rose-deep);
}

nav.site-nav a.is-active {
    background: rgba(196, 135, 132, 0.16);
    color: var(--rose-deep);
}

nav.site-nav a.nav-cta {
    margin-left: 0.35rem;
    color: #fff;
    background: linear-gradient(135deg, #b76e79, #8f4f5a);
    box-shadow: 0 8px 20px rgba(143, 79, 90, 0.28);
}

nav.site-nav a.nav-cta:hover,
nav.site-nav a.nav-cta.is-active {
    color: #fff;
    background: linear-gradient(135deg, #c48784, #9d5f65);
}

main {
    padding: 0 0 4.5rem;
    animation: pageIn 0.55s var(--ease) both;
}

main#contenido:focus {
    outline: none;
}

main#contenido:focus-visible {
    outline: 2px solid var(--rose-deep);
    outline-offset: 4px;
}

@keyframes pageIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* —— Hero —— */
.hero {
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: center;
    min-height: calc(100svh - var(--header-h));
    margin: 0 calc(50% - 50vw) 0;
    width: 100vw;
    padding: clamp(2.4rem, 7vw, 5rem) max(1rem, calc((100vw - 70rem) / 2 + 1rem));
    overflow: hidden;
    border-radius: 0 0 2.8rem 2.8rem;
    background:
        linear-gradient(108deg, #faf4f2 0%, #faf4f2 34%, rgba(250, 244, 242, 0.55) 52%, transparent 72%),
        radial-gradient(ellipse 70% 90% at 82% 48%, rgba(255, 220, 210, 0.35), transparent 60%),
        linear-gradient(155deg, #4a2c36 0%, #a86b6a 42%, #e8b8b0 78%, #f6ddd4 100%);
}

.hero-visual {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-visual img {
    position: absolute;
    right: max(-10vw, -5rem);
    top: 50%;
    width: min(78vw, 46rem);
    height: auto;
    max-width: none;
    display: block;
    object-fit: cover;
    animation: floatyHero 7s ease-in-out infinite;
    filter: saturate(1.06) contrast(1.03);
    mask-image: radial-gradient(ellipse 70% 75% at 62% 48%, #000 35%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 70% 75% at 62% 48%, #000 35%, transparent 78%);
}

.hero-visual::before {
    content: "";
    position: absolute;
    width: 38rem;
    height: 38rem;
    right: -4rem;
    top: 42%;
    transform: translateY(-50%);
    border-radius: 58% 42% 48% 52% / 48% 55% 45% 52%;
    background: radial-gradient(circle at 40% 35%, rgba(255, 255, 255, 0.28), transparent 55%);
    animation: bloom 10s ease-in-out infinite alternate;
}

.hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 76% 28%, rgba(255, 255, 255, 0.18), transparent 35%),
        radial-gradient(circle at 68% 78%, rgba(122, 139, 112, 0.18), transparent 40%);
}

.hero-copy {
    position: relative;
    z-index: 1;
    max-width: 34rem;
    animation: rise 0.95s var(--ease) both;
}

.wordmark {
    display: block;
    margin: 0 0 1.15rem;
    font-family: "Fraunces", serif;
    font-size: clamp(1.85rem, 3.6vw, 2.45rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.03em;
}

.wordmark .femy { color: var(--rose-deep); }
.wordmark .health { color: var(--sage-deep); }

.wordmark-tag {
    display: block;
    margin-top: 0.55rem;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    position: relative;
    padding-bottom: 0.55rem;
}

.wordmark-tag::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 3.2rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--rose), var(--sage));
}

.hero h1 {
    font-size: clamp(2.45rem, 5.8vw, 3.75rem);
    margin: 0 0 0.9rem;
    color: var(--mauve);
    font-optical-sizing: auto;
}

.hero h1 em {
    font-style: italic;
    font-weight: 600;
    color: #9d5f65;
    background: linear-gradient(120deg, rgba(196, 135, 132, 0.18), rgba(196, 135, 132, 0));
    padding: 0 0.12em;
    border-radius: 0.2em;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.hero .lede {
    color: rgba(42, 34, 38, 0.78);
    max-width: 28rem;
    font-size: 1.08rem;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.2rem;
}

/* —— Page intro (inner pages) —— */
.page-intro {
    padding: 1.6rem 0 0.4rem;
    max-width: 40rem;
    animation: rise 0.7s var(--ease) both;
}

.page-intro h1 { margin-bottom: 0.7rem; }

/* —— App / split —— */
.split-page {
    display: grid;
    gap: 2rem;
    align-items: center;
    padding: 1.4rem 0 0.6rem;
}

@media (min-width: 860px) {
    .split-page {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 2.5rem;
        min-height: 28rem;
    }
}

.split-copy { max-width: 34rem; }

.split-visual {
    position: relative;
    justify-self: center;
}

.split-visual::before {
    content: "";
    position: absolute;
    inset: 8% 6%;
    border-radius: 42% 58% 48% 52% / 48% 42% 58% 52%;
    background: linear-gradient(145deg, rgba(196, 135, 132, 0.45), rgba(122, 139, 112, 0.25));
    filter: blur(2px);
    animation: bloom 9s ease-in-out infinite alternate;
}

.split-visual img {
    position: relative;
    z-index: 1;
    width: min(100%, 22rem);
    display: block;
    border-radius: 1.6rem;
    box-shadow: var(--shadow);
}

.store-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0.4rem 0 1.4rem;
}

.store-btn {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    min-width: 10.5rem;
    padding: 0.7rem 1.15rem;
    border-radius: 0.95rem;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(145deg, #3a2a30, #5c3a45);
    box-shadow: 0 12px 28px rgba(58, 42, 48, 0.28);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.store-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(58, 42, 48, 0.34);
}

.store-btn-label {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    opacity: 0.78;
}

.store-btn-name {
    font-family: "Fraunces", serif;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.15;
}

.feature-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.55rem;
}

.feature-list li {
    position: relative;
    padding-left: 1.15rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rose), var(--sage));
}

/* —— Plans —— */
.plan-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (min-width: 800px) {
    .plan-grid { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
}

.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.45rem 1.4rem 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(10px);
}

.plan-card > p:not(.meta):not(.plan-price):not(.plan-badge) {
    color: var(--muted);
    font-size: 0.95rem;
    flex: 1;
    margin: 0.35rem 0 1rem;
}

.plan-card .btn { align-self: start; }

.plan-card.is-featured {
    border-color: rgba(196, 135, 132, 0.45);
    background:
        radial-gradient(420px 180px at 100% 0%, rgba(196, 135, 132, 0.18), transparent 60%),
        rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 40px rgba(79, 48, 58, 0.1);
}

.plan-badge {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    margin: 0;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    background: rgba(157, 95, 101, 0.12);
    color: var(--rose-deep);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.plan-price {
    margin: 0.35rem 0 0.2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem;
}

.plan-amount {
    font-family: "Fraunces", serif;
    font-size: 1.85rem;
    font-weight: 600;
    color: var(--mauve);
    letter-spacing: -0.02em;
}

.plan-period {
    color: var(--muted);
    font-size: 0.88rem;
}

.detail-panel {
    margin-top: 1.2rem;
    padding: 1.4rem 1.45rem;
    border-radius: 1.35rem;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.62);
    display: grid;
    gap: 1.1rem;
    max-width: 40rem;
}

.empty-state {
    margin-top: 1.4rem;
    padding: 1.6rem 1.5rem;
    border-radius: 1.35rem;
    border: 1px dashed rgba(196, 135, 132, 0.45);
    background: rgba(255, 255, 255, 0.45);
    max-width: 36rem;
}

.empty-state p {
    margin: 0 0 1rem;
    color: var(--muted);
}

/* —— Error —— */
.error-page {
    padding: 2.4rem 0 1rem;
    max-width: 34rem;
    text-align: left;
}

.error-mark {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 1.25rem;
    margin-bottom: 1.2rem;
    box-shadow: var(--shadow);
    object-fit: cover;
}

.error-page .cta-row { margin-top: 0.4rem; }

/* —— Buttons —— */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.9rem 1.4rem;
    border-radius: 0.95rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #b76e79 0%, #8f4f5a 100%);
    box-shadow: 0 14px 32px rgba(143, 79, 90, 0.34);
}

.btn-primary:hover { color: #fff; box-shadow: 0 18px 36px rgba(143, 79, 90, 0.42); }

.btn-ghost {
    color: var(--mauve);
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(79, 48, 58, 0.14);
}

.btn-ghost:hover { color: var(--mauve); background: #fff; }

/* —— Typography —— */
.kicker {
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.7rem;
    color: var(--sage-deep);
    font-weight: 600;
}

h1, h2, h3 {
    font-family: "Fraunces", serif;
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--mauve);
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.3rem);
    margin: 0 0 0.85rem;
    font-optical-sizing: auto;
}

h2 { font-size: clamp(1.45rem, 2.5vw, 1.85rem); margin: 0 0 0.45rem; }

.lede {
    font-size: 1.08rem;
    color: var(--muted);
    max-width: 34rem;
    margin: 0 0 1.5rem;
}

/* —— Promise band —— */
.promise {
    position: relative;
    margin: 1.6rem 0 0;
    padding: 2.4rem 0 0.4rem;
}

.promise::before {
    content: "";
    position: absolute;
    right: -4rem;
    top: -1rem;
    width: 12rem;
    height: 12rem;
    border-radius: 58% 42% 48% 52% / 48% 55% 45% 52%;
    background: radial-gradient(circle at 40% 40%, rgba(196, 135, 132, 0.16), transparent 68%);
    pointer-events: none;
    z-index: 0;
}

.promise > * { position: relative; z-index: 1; }

.mood-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem 0.15rem;
    margin: 1.5rem 0 0;
    padding: 1.25rem 0 0.15rem;
    border-top: 1px solid transparent;
}

.mood-strip p {
    margin: 0;
    padding: 0.35rem 0.95rem;
    color: var(--muted);
    font-size: 0.92rem;
    position: relative;
}

.mood-strip p + p::before {
    content: "·";
    position: absolute;
    left: -0.1rem;
    color: var(--rose);
    opacity: 0.7;
}

.mood-strip strong {
    font-family: "Fraunces", serif;
    font-weight: 600;
    color: var(--mauve);
    margin-right: 0.25rem;
}

@media (max-width: 720px) {
    .mood-strip {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.65rem 0.75rem;
        text-align: center;
    }

    .mood-strip p {
        padding: 0.7rem 0.6rem;
        border-radius: 0.9rem;
        background: rgba(255, 255, 255, 0.45);
        border: 1px solid var(--line);
    }

    .mood-strip p + p::before { display: none; }

    .mood-strip strong {
        display: block;
        margin: 0 0 0.1rem;
    }
}

.promise h2 em {
    font-style: italic;
    font-weight: 500;
    color: var(--rose-deep);
}

.promise-grid {
    display: grid;
    gap: 1.6rem 2.2rem;
    margin-top: 1.5rem;
}

@media (min-width: 820px) {
    .promise-grid { grid-template-columns: repeat(3, 1fr); }
}

.promise-item {
    position: relative;
    padding-top: 0.9rem;
}

.promise-item::before {
    content: "";
    display: block;
    width: 2.4rem;
    height: 3px;
    margin-bottom: 0.95rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--rose), var(--sage));
}

.promise-item h3 {
    font-size: 1.2rem;
    margin: 0 0 0.4rem;
}

.promise-item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

/* —— Pull quote —— */
.pullquote {
    position: relative;
    margin: 3rem calc(50% - 50vw) 0;
    width: 100vw;
    padding: 3.2rem max(1rem, calc((100vw - 40rem) / 2 + 1rem)) 2.8rem;
    border: 0;
    background:
        radial-gradient(700px 240px at 15% 40%, rgba(196, 135, 132, 0.18), transparent 60%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(243, 228, 226, 0.55));
    text-align: center;
    overflow: hidden;
}

.pullquote::before {
    content: "“";
    position: absolute;
    top: 0.4rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: "Fraunces", serif;
    font-size: clamp(5rem, 12vw, 8rem);
    line-height: 1;
    color: rgba(196, 135, 132, 0.28);
    pointer-events: none;
}

.pullquote blockquote {
    margin: 0;
    position: relative;
    z-index: 1;
}

.pullquote p {
    margin: 0;
    font-family: "Fraunces", serif;
    font-size: clamp(1.4rem, 3.2vw, 2.05rem);
    font-style: italic;
    font-weight: 500;
    line-height: 1.35;
    color: var(--mauve);
    letter-spacing: -0.015em;
}

.pullquote figcaption {
    margin-top: 1.15rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sage-deep);
    position: relative;
    z-index: 1;
}

/* —— Readings —— */
.section-head {
    margin: 3rem 0 1.35rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: end;
    gap: 1rem 1.5rem;
}

.section-head > div { max-width: 38rem; }

.section-head h2 { margin-bottom: 0.4rem; }

.section-head p {
    margin: 0;
    color: var(--muted);
}

.text-link {
    color: var(--rose-deep);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    padding-bottom: 0.15rem;
    border-bottom: 1.5px solid rgba(157, 95, 101, 0.35);
    transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.text-link:hover {
    color: var(--mauve);
    border-bottom-color: var(--mauve);
}

.cards {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.25rem;
}

@media (min-width: 800px) {
    .cards { grid-template-columns: 1fr 1fr; gap: 1rem; }
}

article.card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.3rem 1.35rem 1.25rem 1.45rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 28px rgba(79, 48, 58, 0.04);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
    overflow: hidden;
}

article.card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--rose), var(--sage));
    opacity: 0.55;
    transition: opacity 0.3s var(--ease), width 0.3s var(--ease);
}

article.card:hover {
    transform: translateY(-3px);
    border-color: rgba(196, 135, 132, 0.38);
    box-shadow: 0 20px 44px rgba(79, 48, 58, 0.1);
}

article.card:hover::before {
    opacity: 1;
    width: 4px;
}

article.card h2 { font-size: 1.28rem; }
article.card h2 a { color: inherit; text-decoration: none; }
article.card h2 a:hover { color: var(--rose-deep); }

article.card > p:not(.meta) {
    margin: 0.55rem 0 0;
    color: var(--muted);
    font-size: 0.95rem;
    flex: 1;
}

.card-go {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1rem;
    color: var(--rose-deep);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

.card-go span {
    transition: transform 0.25s var(--ease);
}

article.card:hover .card-go span {
    transform: translateX(4px);
}

.meta {
    color: var(--sage-deep);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 0 0.5rem;
}

.body {
    max-width: 40rem;
    font-size: 1.05rem;
}

.body p { white-space: pre-wrap; }

.crumb {
    margin: 1.2rem 0 0;
    font-size: 0.9rem;
}

.crumb a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
}

.crumb a:hover { color: var(--rose-deep); }

.reading-head {
    padding-top: 0.6rem;
}

.reading-body {
    margin-top: 0.4rem;
    font-size: 1.08rem;
    line-height: 1.75;
}

.reading-body > p:first-of-type::first-letter {
    float: left;
    font-family: "Fraunces", serif;
    font-size: 3.4rem;
    font-weight: 600;
    line-height: 0.85;
    padding: 0.18rem 0.45rem 0 0;
    color: var(--rose-deep);
}

.reading-body p + p { margin-top: 1.1rem; }

.locked-note {
    margin-top: 1.4rem;
    padding: 1.2rem 1.25rem;
    border-radius: 1.1rem;
    background: rgba(196, 135, 132, 0.12);
    border: 1px solid rgba(196, 135, 132, 0.22);
}

.locked-note p { margin: 0 0 1rem; }

.reading-back {
    margin-top: 2rem;
}

.reading-next {
    margin-top: 2.6rem;
    padding: 1.5rem 1.4rem;
    border-radius: 1.35rem;
    background:
        radial-gradient(420px 160px at 100% 0%, rgba(196, 135, 132, 0.16), transparent 60%),
        rgba(255, 255, 255, 0.58);
    border: 1px solid var(--line);
    max-width: 40rem;
}

.reading-next h2 {
    margin: 0 0 0.4rem;
    font-size: 1.45rem;
}

.reading-next p {
    margin: 0 0 1.1rem;
    color: var(--muted);
}

.disclaimer {
    margin-top: 2.4rem;
    padding: 1.05rem 1.2rem;
    border-radius: 1rem;
    background: rgba(122, 139, 112, 0.11);
    color: var(--muted);
    font-size: 0.9rem;
}

/* —— Soft CTA band —— */
.soft-cta {
    margin: 3.2rem 0 0;
    padding: 1.8rem 1.5rem;
    border-radius: 1.6rem;
    background:
        radial-gradient(600px 220px at 90% 20%, rgba(255, 255, 255, 0.35), transparent 55%),
        linear-gradient(125deg, #8f4f5a 0%, #c48784 55%, #a8b39a 120%);
    color: #fff;
    display: grid;
    gap: 1rem 1.25rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.soft-cta::after {
    content: "";
    position: absolute;
    width: 14rem;
    height: 14rem;
    right: -3rem;
    bottom: -5rem;
    border-radius: 60% 40% 55% 45%;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

@media (min-width: 720px) {
    .soft-cta {
        grid-template-columns: auto 1fr auto;
        padding: 1.8rem 2rem;
    }
}

.soft-cta-mark {
    width: 4.2rem;
    height: 4.2rem;
    border-radius: 1.1rem;
    object-fit: cover;
    box-shadow: 0 12px 28px rgba(49, 24, 32, 0.28);
    justify-self: start;
    position: relative;
    z-index: 1;
}

.soft-cta > div,
.soft-cta .btn-ghost {
    position: relative;
    z-index: 1;
}

.soft-cta h2 {
    color: #fff;
    margin: 0 0 0.35rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.soft-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    max-width: 34rem;
}

.soft-cta .btn-ghost {
    color: var(--mauve);
    background: rgba(255, 255, 255, 0.92);
    border-color: transparent;
    white-space: nowrap;
    justify-self: start;
}

@media (min-width: 720px) {
    .soft-cta .btn-ghost { justify-self: end; }
}

/* —— Reveal (activado solo con JS) —— */
.reveal-on [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal-on [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* —— Footer —— */
footer.site {
    display: grid;
    gap: 1.1rem;
    padding: 2rem 0 2.8rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.85rem;
}

@media (min-width: 720px) {
    footer.site {
        grid-template-columns: auto 1fr auto;
        align-items: center;
    }
}

footer.site .foot-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: var(--mauve);
}

footer.site .foot-brand img {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
}

footer.site .foot-brand span {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    line-height: 1.15;
}

footer.site .foot-brand strong {
    font-weight: 700;
}

footer.site .foot-brand small {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

footer.site .foot-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.2rem;
}

footer.site .foot-links a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
}

footer.site .foot-links a:hover { color: var(--rose-deep); }

footer.site .foot-note {
    margin: 0;
    max-width: 28rem;
}

footer.site .foot-copy {
    display: inline-block;
    margin-top: 0.35rem;
    color: rgba(110, 97, 102, 0.85);
    font-size: 0.8rem;
}

.to-top {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 50;
    width: 2.7rem;
    height: 2.7rem;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    background: linear-gradient(145deg, #b76e79, #8f4f5a);
    box-shadow: 0 12px 28px rgba(143, 79, 90, 0.35);
    color: #fff;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.to-top:not([hidden]) {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.to-top::before {
    content: "↑";
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1;
}

code {
    font-size: 0.9em;
    padding: 0.1em 0.35em;
    border-radius: 0.35em;
    background: rgba(196, 135, 132, 0.12);
}

@keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes floatyHero {
    0%, 100% { transform: translateY(-48%); }
    50% { transform: translateY(calc(-48% - 14px)); }
}

@keyframes bloom {
    from { transform: translateY(-50%) rotate(-5deg) scale(0.96); }
    to { transform: translateY(-50%) rotate(6deg) scale(1.05); }
}

@media (max-width: 720px) {
    header.site {
        flex-wrap: wrap;
        align-items: center;
        padding: 0.75rem 0;
        gap: 0.5rem;
    }

    .brand-lockup { min-width: 0; }

    .brand-full { display: none; }

    .brand-mark { display: block; }

    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    body.nav-open {
        overflow: hidden;
    }

    nav.site-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
        padding: 0.35rem 0 0.6rem;
    }

    body.nav-open nav.site-nav {
        display: flex;
        animation: rise 0.35s var(--ease) both;
    }

    nav.site-nav a {
        padding: 0.75rem 0.9rem;
        border-radius: 0.85rem;
        background: rgba(255, 255, 255, 0.55);
    }

    nav.site-nav a.nav-cta {
        margin-left: 0;
        text-align: center;
        justify-content: center;
    }

    .hero {
        min-height: auto;
        align-items: start;
        padding-top: 1.6rem;
        padding-bottom: 3.2rem;
        border-radius: 0 0 1.8rem 1.8rem;
    }

    .hero-copy { max-width: 100%; }

    .hero h1 {
        font-size: clamp(2rem, 9vw, 2.6rem);
    }

    .hero-visual img {
        width: min(120vw, 30rem);
        right: -28vw;
        top: auto;
        bottom: -22%;
        opacity: 0.4;
        animation: none;
        transform: none;
        mask-image: radial-gradient(ellipse 65% 70% at 55% 45%, #000 20%, transparent 75%);
        -webkit-mask-image: radial-gradient(ellipse 65% 70% at 55% 45%, #000 20%, transparent 75%);
    }

    .hero-visual::before { display: none; }

    .pullquote {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .soft-cta { border-radius: 1.25rem; }

    .section-head { align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }

    main { animation: none; }

    .reveal-on [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

@media print {
    body {
        background: #fff;
        color: #111;
    }

    body::before,
    .site-bar,
    .progress,
    .to-top,
    .no-print,
    footer.site,
    .skip-link {
        display: none !important;
    }

    .wrap {
        width: 100%;
        margin: 0;
    }

    .reading-body {
        font-size: 12pt;
        line-height: 1.5;
    }

    .reading-body > p:first-of-type::first-letter {
        float: none;
        font-size: inherit;
        padding: 0;
        color: inherit;
    }

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