@font-face {
    font-family: "DM Sans";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/dm-sans-latin.woff2") format("woff2");
}

@font-face {
    font-family: "Dancing Script";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/dancing-script-latin.woff2") format("woff2");
}

@font-face {
    font-family: "Playfair Display";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/playfair-display-latin.woff2") format("woff2");
}

:root {
    color-scheme: light;
    --ink: #292a35;
    --muted: #656573;
    --paper: #fbfaf7;
    --surface: #ffffff;
    --line: #e8e4de;
    --pink: #a34660;
    --pink-soft: #f7e9ed;
    --blue: #6faeb9;
    --blue-soft: #e9f3f3;
    --gold: #c49a46;
    --serif: "Playfair Display", Georgia, serif;
    --sans: "DM Sans", "Segoe UI", system-ui, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.8;
}

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

a {
    color: inherit;
}

.skip-link {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 100;
    padding: 10px 16px;
    transform: translateY(-150%);
    color: #fff;
    background: var(--ink);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgb(41 42 53 / 8%);
    background: rgb(251 250 247 / 94%);
    backdrop-filter: blur(14px);
}

.header-inner {
    width: min(1180px, calc(100% - 48px));
    min-height: 92px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.brand {
    display: block;
    width: 154px;
    flex: 0 0 auto;
}

.brand img {
    width: 100%;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(20px, 4vw, 48px);
}

.site-nav a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--pink);
}

.nav-toggle-button {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    position: relative;
    border: 0;
    border-radius: 50%;
    background: var(--pink-soft);
    color: var(--ink);
    cursor: pointer;
}

.nav-toggle-button span {
    position: absolute;
    left: 12px;
    width: 20px;
    height: 2px;
    background: currentColor;
    transition: transform 160ms ease, top 160ms ease;
}

.nav-toggle-button span:nth-child(1) { top: 15px; }
.nav-toggle-button span:nth-child(2) { top: 21px; }
.nav-toggle-button span:nth-child(3) { top: 27px; }

.nav-toggle-button[aria-expanded="true"] span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
}

.nav-toggle-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle-button[aria-expanded="true"] span:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
}

.nav-toggle-button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 4px;
}

.hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    display: grid;
    align-items: center;
    background:
        radial-gradient(ellipse at 86% 44%, rgb(201 110 137 / 10%), transparent 34%),
        radial-gradient(ellipse at 80% 75%, rgb(111 174 185 / 13%), transparent 32%),
        var(--paper);
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 88px 0 104px;
}

.hero-inner > * {
    max-width: 720px;
}

.eyebrow,
.section-kicker {
    margin: 0 0 14px;
    color: var(--pink);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.17em;
    line-height: 1.5;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.2;
}

.hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(42px, 6vw, 76px);
    letter-spacing: -0.035em;
}

.hero h2 {
    margin: 18px 0 24px;
    color: var(--blue);
    font-size: clamp(23px, 3vw, 34px);
    font-weight: 500;
}

.hero-intro {
    margin: 0 0 30px;
    color: var(--muted);
    font-size: clamp(17px, 2vw, 19px);
}

.hero-forces {
    max-width: 760px;
    margin: -10px 0 28px;
    padding-left: 24px;
    color: var(--muted);
}

.hero-forces li {
    margin-bottom: 14px;
    padding-left: 4px;
}

.hero-forces li::marker {
    color: var(--pink);
}

.hero-forces strong {
    color: var(--ink);
}

.hero-mark {
    position: absolute;
    top: 50%;
    right: max(4%, calc((100vw - 1300px) / 2));
    width: clamp(180px, 28vw, 370px);
    transform: translateY(-48%);
    opacity: 0.25;
    mix-blend-mode: multiply;
}

.hero-mark img {
    border-radius: 50%;
}

.section-wrap {
    width: min(900px, calc(100% - 48px));
    margin: 0 auto;
}

.section-heading h2,
.return h2 {
    margin: 0 0 24px;
    font-size: clamp(32px, 4.5vw, 48px);
    letter-spacing: -0.025em;
}

.section-heading .section-title {
    margin-bottom: 0;
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(36px, 5vw, 54px);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.2;
    text-transform: none;
}

.blog-hero {
    padding: 88px 24px 54px;
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 0, rgb(201 110 137 / 10%), transparent 58%),
        var(--paper);
}

.blog-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(40px, 6vw, 64px);
    letter-spacing: -0.035em;
}

.blog-hero > p:last-child {
    width: min(660px, 100%);
    margin: 0 auto;
    color: var(--muted);
}

.blog-sections {
    width: min(1040px, calc(100% - 48px));
    margin: 0 auto;
    padding-bottom: 100px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.blog-topic {
    min-height: 310px;
    padding: clamp(26px, 4vw, 40px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 16px 48px rgb(41 42 53 / 4%);
    scroll-margin-top: 116px;
}

.blog-topic h2 {
    margin: 0 0 18px;
    font-size: clamp(27px, 3vw, 36px);
}

.blog-topic > p:not(.section-kicker) {
    margin: 0 0 24px;
    color: var(--muted);
}

.topic-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #a64e68;
    font-size: 14px;
    font-weight: 700;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.topic-link:hover {
    color: #7d354c;
}

.topic-articles {
    margin: -4px 0 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.article-card {
    min-height: 82px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--paper);
    text-decoration: none;
    transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.article-card:hover {
    transform: translateY(-2px);
    border-color: var(--pink);
    box-shadow: 0 8px 20px rgb(41 42 53 / 7%);
}

.article-card-title {
    color: var(--ink);
    font-weight: 700;
}

.article-card-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #a64e68;
    font-size: 13px;
    font-weight: 600;
}

.related-topics {
    background: var(--blue-soft);
}

.article-hero {
    width: min(820px, calc(100% - 48px));
    margin: 0 auto;
    padding: 82px 0 28px;
}

.article-hero h1 {
    margin: 0 0 16px;
    font-size: clamp(38px, 5vw, 58px);
    letter-spacing: -0.035em;
}

.article-breadcrumb {
    margin-bottom: 32px;
    color: var(--muted);
    font-size: 14px;
}

.article-breadcrumb a {
    color: #a64e68;
    text-decoration-color: var(--pink);
    text-underline-offset: 3px;
}

.article-category {
    margin: 0 0 12px;
    color: var(--pink);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.article-content {
    width: min(820px, calc(100% - 48px));
    margin: 0 auto;
    padding: 0 0 100px;
}

.article-content > * {
    margin-top: 0;
}

.article-content p,
.article-content li {
    color: var(--muted);
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2 {
    margin: 54px 0 18px;
    font-size: clamp(27px, 3.5vw, 36px);
}

.article-content h3 {
    margin: 34px 0 14px;
    font-size: clamp(21px, 2.8vw, 27px);
}

.article-content ul,
.article-content ol {
    padding-left: 26px;
    margin-bottom: 24px;
}

.article-content li {
    padding-left: 5px;
    margin-bottom: 10px;
}

.article-content li::marker {
    color: var(--pink);
}

.article-content blockquote {
    margin: 30px 0;
    padding: 20px 24px;
    border-left: 3px solid var(--pink);
    color: var(--ink);
    background: var(--pink-soft);
    font-family: var(--serif);
    font-size: 20px;
    line-height: 1.6;
}

.article-lead {
    color: var(--ink) !important;
    font-size: 19px;
    line-height: 1.8;
}

.article-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.article-flow li,
.article-flow span {
    list-style: none;
    margin: 0;
    padding: 10px 14px;
    border-radius: 4px;
    color: var(--ink);
    background: var(--blue-soft);
    font-size: 14px;
    font-weight: 600;
}

.article-flow strong {
    color: var(--pink);
}

.article-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    margin: 28px 0;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.article-table th,
.article-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.article-table thead th {
    color: var(--ink);
    background: var(--blue-soft);
    font-size: 14px;
}

.article-table tbody th {
    min-width: 150px;
    color: var(--ink);
    font-size: 14px;
}

.article-table td {
    min-width: 190px;
    color: var(--muted);
    font-size: 14px;
}

.article-table tr:last-child > * {
    border-bottom: 0;
}

.article-action-list > li {
    margin-bottom: 30px;
}

.article-action-list h3 {
    color: var(--ink);
}

.construction-notice {
    margin: 0;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--pink);
    background: var(--surface);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-align: center;
}

.actions {
    padding: 100px 0 104px;
}

.section-heading {
    margin-bottom: 48px;
    text-align: center;
}

.action-card {
    position: relative;
    margin: 0 0 24px;
    padding: clamp(28px, 5vw, 54px);
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: clamp(20px, 4vw, 48px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 16px 48px rgb(41 42 53 / 4%);
    scroll-margin-top: 110px;
}

.action-number {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #a64e68;
    background: var(--pink-soft);
    font-family: var(--serif);
    font-size: 19px;
}

#cultivar-virtudes .action-number {
    color: #316d76;
    background: var(--blue-soft);
}

#transmutar-energia .action-number {
    color: #805f1c;
    background: #f6f0df;
}

.action-content h3 {
    margin: 0 0 20px;
    font-size: clamp(26px, 3vw, 34px);
}

.action-content h3 a {
    color: inherit;
    text-decoration: none;
    text-decoration-color: var(--pink);
    text-underline-offset: 5px;
}

.action-content h3 a:hover,
.action-content h3 a:focus-visible {
    text-decoration: underline;
}

.action-content p:not(.section-kicker) {
    margin: 0 0 17px;
    color: var(--muted);
}

.action-content p:last-child {
    margin-bottom: 0;
}

.action-content strong {
    color: var(--ink);
}

.return {
    padding: 100px 24px 110px;
    background: var(--blue-soft);
}

.return-inner {
    width: min(820px, 100%);
    margin: 0 auto;
}

.return-inner > p:not(.section-kicker) {
    margin: 0 0 20px;
    color: var(--muted);
}

.return h2 {
    color: #316d76;
}

.return .closing {
    margin-top: 34px;
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(21px, 2.8vw, 27px);
    line-height: 1.55;
}

.site-footer {
    min-height: 160px;
    padding: 32px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px 34px;
    color: #fff;
    background: #292a35;
    text-align: center;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-family: "Dancing Script", cursive;
    font-size: 26px;
    font-weight: 600;
    text-decoration: none;
}

.footer-brand img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 50%;
}

.site-footer p {
    flex-basis: 100%;
    margin: 0;
    color: rgb(255 255 255 / 72%);
    font-family: "Dancing Script", cursive;
    font-size: 23px;
    font-weight: 500;
}

.back-to-top {
    color: #fff;
    font-size: 13px;
    text-decoration-color: var(--blue);
    text-underline-offset: 4px;
}

@media (max-width: 760px) {
    .header-inner {
        min-height: 76px;
    }

    .brand {
        width: 126px;
    }

    .nav-toggle-button {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        left: 0;
        padding: 10px 24px 22px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border-bottom: 1px solid var(--line);
        background: var(--paper);
        box-shadow: 0 14px 24px rgb(41 42 53 / 8%);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 13px 0;
        border-bottom: 1px solid var(--line);
    }

    .site-nav a:last-child {
        border-bottom: 0;
    }

    .hero {
        min-height: 0;
    }

    .hero-inner {
        padding: 78px 0 82px;
    }

    .hero-mark {
        top: auto;
        right: -42px;
        bottom: -44px;
        width: 220px;
        transform: none;
        opacity: 0.16;
    }

    .blog-sections {
        grid-template-columns: 1fr;
    }

    .actions {
        padding-top: 72px;
        padding-bottom: 76px;
    }

    .action-card {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 18px;
        padding: 26px 20px;
    }

    .action-number {
        width: 46px;
        height: 46px;
        font-size: 16px;
    }

    .return {
        padding-top: 76px;
        padding-bottom: 82px;
    }
}

@media (max-width: 440px) {
    body {
        font-size: 16px;
    }

    .header-inner,
    .hero-inner,
    .section-wrap {
        width: min(100% - 36px, 900px);
    }

    .hero-inner {
        padding-top: 62px;
        padding-bottom: 68px;
    }

    .blog-hero {
        padding: 64px 18px 40px;
    }

    .blog-sections {
        width: calc(100% - 36px);
    }

    .blog-sections {
        padding-bottom: 72px;
    }

    .action-card {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}