:root {
    --bg: #edf8f9;
    --bg-soft: #f6fcfc;
    --surface: rgba(250, 255, 255, 0.88);
    --surface-strong: #ffffff;
    --surface-dark: #153d50;
    --text: #19465a;
    --text-soft: #527485;
    --heading: #123a4d;
    --line: rgba(18, 58, 77, 0.12);
    --line-strong: rgba(18, 58, 77, 0.2);
    --primary: #72bfc8;
    --primary-strong: #318b99;
    --accent: #a9dadd;
    --accent-soft: #d9f0f1;
    --mint: #c8e9eb;
    --gold: #91cbd1;
    --shadow-xl: 0 30px 80px rgba(18, 36, 51, 0.12);
    --shadow-lg: 0 22px 55px rgba(18, 36, 51, 0.1);
    --shadow-md: 0 16px 34px rgba(18, 36, 51, 0.08);
    --shadow-sm: 0 8px 20px rgba(18, 36, 51, 0.06);
    --radius-xl: 36px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --container: min(1240px, calc(100vw - 48px));
    --header-height: 92px;
    --transition: 220ms ease;
}

@view-transition {
    navigation: auto;
}

::view-transition-old(root) {
    animation: page-out 180ms ease both;
}

::view-transition-new(root) {
    animation: page-in 320ms cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes page-out {
    to {
        opacity: 0;
        transform: translateY(-4px);
    }
}

@keyframes page-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
}

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

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

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(170, 220, 224, 0.7), transparent 28%),
        radial-gradient(circle at top right, rgba(207, 237, 239, 0.78), transparent 25%),
        linear-gradient(180deg, #f8fdfd 0%, #eaf6f7 48%, #f7fcfc 100%);
    overflow-x: hidden;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: auto;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    pointer-events: none;
    z-index: -1;
}

body::before {
    width: 340px;
    height: 340px;
    top: 8%;
    left: -80px;
    background: rgba(108, 190, 178, 0.26);
}

body::after {
    width: 360px;
    height: 360px;
    right: -120px;
    bottom: 12%;
    background: rgba(114, 191, 200, 0.18);
}

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

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(49, 139, 153, 0.34);
    outline-offset: 4px;
}

.site-main {
    position: relative;
}

.site-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 1200;
}

.site-progress-bar {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    box-shadow: 0 0 20px rgba(114, 191, 200, 0.42);
    transform: scaleX(0);
    transform-origin: left;
    will-change: transform;
}

.site-overlay {
    position: fixed;
    inset: 0;
    background: rgba(18, 36, 51, 0.38);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
    z-index: 950;
}

body.menu-open .site-overlay,
body.search-open .site-overlay {
    opacity: 1;
    visibility: visible;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0 0;
    transition: padding 280ms ease, transform 360ms cubic-bezier(.2, .8, .2, 1);
    will-change: transform;
}

.site-header.is-scrolled {
    padding-top: 8px;
}

.site-header.is-hidden {
    transform: translateY(calc(-100% - 8px));
}

body.menu-open .site-header,
body.search-open .site-header {
    transform: translateY(0);
}

.topbar {
    width: var(--container);
    max-height: 68px;
    margin: 0 auto 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    background: rgba(250, 255, 255, 0.76);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-sm);
    opacity: 1;
    transition:
        max-height 320ms cubic-bezier(.2, .8, .2, 1),
        margin 320ms ease,
        opacity 220ms ease,
        border-color 220ms ease;
}

.site-header.is-scrolled .topbar {
    max-height: 0;
    margin-bottom: 0;
    border-color: transparent;
    opacity: 0;
}

.topbar-inner,
.site-nav-shell,
.footer-inner {
    width: var(--container);
    margin: 0 auto;
}

.topbar-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 11px 18px;
}

.social-left,
.utility-nav,
.header-actions {
    display: flex;
    align-items: center;
}

.social-left {
    gap: 8px;
}

.social-left a,
.search-trigger,
.quick-nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--heading);
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(23, 48, 66, 0.08);
    text-decoration: none;
    transition: transform var(--transition), background var(--transition), color var(--transition);
}

.social-left a:hover,
.search-trigger:hover,
.quick-nav-close:hover {
    transform: translateY(-2px);
    background: var(--primary);
    color: #fff;
}

.utility-nav {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.utility-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--heading);
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid transparent;
    font-size: 0.92rem;
    font-weight: 600;
    transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.utility-nav a:hover {
    transform: translateY(-2px);
    border-color: rgba(23, 48, 66, 0.1);
    background: rgba(255, 255, 255, 0.82);
}

.utility-nav .register {
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    color: #fff;
    box-shadow: 0 12px 24px rgba(49, 139, 153, 0.24);
}

.utility-nav .register:hover {
    background: linear-gradient(135deg, var(--primary-strong), #226f7d);
}

.site-nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: var(--header-height);
    padding: 14px 20px;
    border-radius: 28px;
    background: rgba(255, 252, 247, 0.78);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.58);
    box-shadow: var(--shadow-lg);
    transition:
        min-height 300ms ease,
        padding 300ms ease,
        border-radius 300ms ease,
        box-shadow 300ms ease,
        background 300ms ease;
}

.site-header.is-scrolled .site-nav-shell {
    min-height: 72px;
    padding: 8px 16px;
    border-radius: 22px;
    background: rgba(250, 255, 255, 0.9);
    box-shadow: 0 14px 36px rgba(18, 58, 77, 0.1);
}

.logo-area {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img,
.footer-logo {
    width: auto;
    display: block;
}

.logo-img {
    height: 64px;
    transition: height 300ms ease;
}

.site-header.is-scrolled .logo-img {
    height: 50px;
}

.footer-logo {
    height: 48px;
}

.main-menu ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-menu a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    font-size: 0.95rem;
    color: var(--heading);
    text-decoration: none;
    font-weight: 600;
}

.main-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    transition: transform var(--transition);
}

.main-menu a:hover::after,
.main-menu a:focus-visible::after,
.main-menu a.is-active::after {
    transform: scaleX(1);
}

.main-menu a.is-active {
    color: var(--primary-strong);
}

.header-actions {
    gap: 12px;
}

.search-trigger {
    border-radius: 16px;
    width: 48px;
    height: 48px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: var(--heading);
    transition: transform var(--transition), opacity var(--transition);
}

body.menu-open .mobile-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.menu-open .mobile-toggle span:nth-child(2) {
    opacity: 0;
}

body.menu-open .mobile-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.quick-nav {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1100;
    transition: opacity var(--transition), visibility var(--transition);
}

body.search-open .quick-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.quick-nav-panel {
    position: relative;
    width: min(720px, calc(100vw - 36px));
    padding: 28px;
    border-radius: 28px;
    background: rgba(255, 252, 247, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.62);
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(20px);
}

.quick-nav-close {
    position: absolute;
    top: 18px;
    right: 18px;
}

.quick-nav-body {
    display: grid;
    gap: 18px;
}

.quick-nav-input {
    width: 100%;
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid rgba(23, 48, 66, 0.08);
    background: rgba(255, 255, 255, 0.82);
    color: var(--heading);
    font-size: 1rem;
    outline: none;
}

.quick-nav-input:focus {
    border-color: rgba(29, 107, 104, 0.34);
    box-shadow: 0 0 0 4px rgba(29, 107, 104, 0.08);
}

.quick-nav-links {
    display: grid;
    gap: 10px;
}

.quick-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 16px;
    text-decoration: none;
    color: var(--heading);
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(23, 48, 66, 0.05);
    transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.quick-nav-link::after {
    content: "\2197";
    color: var(--accent);
    font-weight: 700;
}

.quick-nav-link:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(29, 107, 104, 0.16);
}

.quick-nav-link.is-hidden {
    display: none;
}

.hero-welcome,
.intro-section,
.pilares-section,
.blog-section,
.nace-section,
.quien-section,
.decalogo-section,
.listing-section,
.detail-section,
.create-section {
    padding: 54px 0 22px;
}

.hero-shell,
.intro-inner,
.pilares-inner,
.blog-inner,
.nace-inner,
.quien-inner,
.decalogo-inner,
.listing-shell,
.detail-shell,
.create-shell {
    width: var(--container);
    margin: 0 auto;
}

.hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 38px;
    align-items: center;
    padding: 32px 0 10px;
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.hero-title,
.intro-title,
.pilares-title,
.blog-title,
.nace-title,
.quien-title,
.decalogo-title,
.listing-title,
.detail-title,
.create-title {
    margin: 0;
    color: var(--heading);
    font-family: "Fraunces", serif;
    letter-spacing: -0.04em;
    line-height: 1.02;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.6rem);
    max-width: 12ch;
}

.hero-text {
    max-width: 58ch;
    margin: 24px 0 0;
    font-size: 1.08rem;
    line-height: 1.8;
    color: var(--text-soft);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
}

.hero-btn,
.intro-btn,
.blog-btn,
.quien-btn,
.back-btn,
.create-btn,
.listing-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 24px;
    border-radius: 999px;
    border: none;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    box-shadow: 0 18px 32px rgba(49, 139, 153, 0.22);
    transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

.hero-btn:hover,
.intro-btn:hover,
.blog-btn:hover,
.quien-btn:hover,
.back-btn:hover,
.create-btn:hover,
.listing-card-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 42px rgba(49, 139, 153, 0.28);
    filter: saturate(1.08);
}

.hero-visual {
    position: relative;
    min-height: 620px;
    padding: 30px 10px 30px 30px;
    transform: translate3d(var(--hero-x, 0), var(--hero-y, 0), 0);
    transition: transform 500ms cubic-bezier(.2, .8, .2, 1);
    will-change: transform;
}

.brand-canvas {
    position: relative;
    display: grid;
    align-content: center;
    justify-items: center;
    height: 100%;
    min-height: 620px;
    overflow: hidden;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.82);
    background:
        radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.34), transparent 22%),
        linear-gradient(155deg, #c8e9eb 0%, #a9dadd 54%, #91cbd1 100%);
    box-shadow: var(--shadow-xl);
}

.brand-canvas::before,
.brand-canvas::after {
    content: "";
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.42);
    border-radius: 50%;
}

.brand-canvas::before {
    width: 330px;
    height: 330px;
    top: -125px;
    right: -105px;
}

.brand-canvas::after {
    width: 240px;
    height: 240px;
    left: -100px;
    bottom: -75px;
}

.brand-word {
    position: relative;
    z-index: 2;
    color: #fff;
    font-family: "Fraunces", serif;
    font-size: clamp(5.8rem, 10vw, 9rem);
    font-weight: 700;
    line-height: 0.7;
    letter-spacing: -0.1em;
}

.brand-word--one {
    transform: translateX(-12%);
}

.brand-word--two {
    transform: translateX(12%);
}

.brand-mark {
    position: absolute;
    z-index: 2;
    width: 108px;
    height: 108px;
    border: 18px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    transform: rotate(42deg);
    animation: brand-breathe 6s ease-in-out infinite;
}

.brand-dot,
.brand-line {
    position: absolute;
    z-index: 2;
    display: block;
    background: rgba(255, 255, 255, 0.92);
}

.brand-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

.brand-dot--one {
    left: 18%;
    bottom: 15%;
}

.brand-dot--two {
    right: 17%;
    top: 17%;
}

.brand-line {
    width: 90px;
    height: 8px;
    border-radius: 999px;
}

.brand-line--one {
    top: 24%;
    left: 12%;
    transform: rotate(-18deg);
}

.brand-line--two {
    right: 10%;
    bottom: 22%;
    transform: rotate(18deg);
}

@keyframes brand-breathe {
    0%,
    100% {
        transform: rotate(42deg) scale(1);
    }
    50% {
        transform: rotate(48deg) scale(1.06);
    }
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
    pointer-events: none;
}

.orb-a {
    width: 170px;
    height: 170px;
    left: 0;
    top: 30px;
    background: rgba(217, 236, 230, 0.74);
}

.orb-b {
    width: 120px;
    height: 120px;
    right: 18px;
    top: -8px;
    background: rgba(239, 215, 202, 0.84);
}

.orb-c {
    width: 150px;
    height: 150px;
    right: -8px;
    bottom: 60px;
    background: rgba(217, 190, 131, 0.36);
}

.hero-panel-card {
    position: absolute;
    z-index: 2;
    display: grid;
    gap: 10px;
    width: 180px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 252, 247, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(16px);
}

.hero-panel-card span {
    display: block;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(114, 191, 200, 0.2), rgba(49, 139, 153, 0.25));
}

.hero-panel-card span:nth-child(2) {
    width: 76%;
}

.hero-panel-card span:nth-child(3) {
    width: 52%;
}

.hero-panel-card--top {
    top: 46px;
    left: -6px;
}

.hero-panel-card--bottom {
    right: 0;
    bottom: 24px;
}

.intro-layout,
.nace-inner,
.quien-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
    align-items: center;
}

.intro-section,
.blog-section,
.decalogo-section,
.listing-section {
    position: relative;
}

.intro-section::before,
.blog-section::before,
.decalogo-section::before,
.listing-section::before {
    content: "";
    position: absolute;
    inset: 32px 18px 0;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.44);
    border: 1px solid rgba(255, 255, 255, 0.52);
    z-index: -1;
}

.intro-badge,
.pilares-badge,
.blog-badge,
.nace-badge,
.quien-badge,
.decalogo-badge,
.listing-badge,
.create-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border-radius: 999px;
    background: rgba(29, 107, 104, 0.08);
    color: var(--primary-strong);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.intro-title,
.pilares-title,
.blog-title,
.nace-title,
.quien-title,
.decalogo-title,
.listing-title,
.create-title {
    margin-top: 18px;
}

.intro-title,
.pilares-title,
.blog-title,
.nace-title,
.quien-title,
.decalogo-title,
.listing-title,
.create-title {
    font-size: clamp(2.1rem, 3vw, 3.5rem);
}

.intro-text,
.pilares-subtitle,
.blog-subtitle,
.nace-text,
.quien-text,
.decalogo-subtitle,
.listing-head p,
.create-subtitle {
    color: var(--text-soft);
    line-height: 1.8;
    font-size: 1rem;
}

.intro-text {
    max-width: 58ch;
    margin: 18px 0 0;
}

.intro-tags,
.quien-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 26px 0 0;
}

.intro-tag,
.quien-tag,
.blog-tag,
.listing-chip,
.meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(23, 48, 66, 0.08);
    color: var(--heading);
    font-size: 0.84rem;
    font-weight: 700;
}

.intro-btn {
    margin-top: 28px;
}

.intro-visual-col {
    position: relative;
    min-height: 420px;
}

.intro-visual-blob {
    position: absolute;
    inset: 0;
    border-radius: 34px;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.72), transparent 26%),
        radial-gradient(circle at bottom right, rgba(114, 191, 200, 0.2), transparent 34%),
        linear-gradient(145deg, rgba(201, 234, 236, 0.96), rgba(247, 253, 253, 0.96));
    box-shadow: var(--shadow-lg);
}

.intro-visual-card {
    position: absolute;
    right: 26px;
    bottom: 26px;
    width: min(320px, calc(100% - 40px));
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 252, 247, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.62);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(16px);
}

.intro-visual-label {
    margin: 0 0 10px;
    color: var(--primary-strong);
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 800;
}

.intro-visual-text {
    margin: 0;
    color: var(--text);
    line-height: 1.7;
}

.pilares-grid,
.blog-grid,
.decalogo-grid,
.listing-grid {
    display: grid;
    gap: 24px;
}

.pilares-grid,
.blog-grid,
.listing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pilar-card,
.blog-card,
.decalogo-item,
.listing-card,
.detail-article,
.form-card {
    background: rgba(250, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.64);
    border-radius: 28px;
    box-shadow: var(--shadow-md);
}

.pilar-card,
.blog-card,
.listing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition:
        transform 320ms cubic-bezier(.2, .8, .2, 1),
        box-shadow 320ms ease,
        border-color 320ms ease;
}

.pilar-card::after,
.blog-card::after,
.listing-card::after,
.decalogo-item::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 5;
    background: radial-gradient(
        260px circle at var(--pointer-x, 50%) var(--pointer-y, 50%),
        rgba(255, 255, 255, 0.34),
        transparent 58%
    );
    opacity: 0;
    pointer-events: none;
    transition: opacity 240ms ease;
}

.pilar-card:hover::after,
.blog-card:hover::after,
.listing-card:hover::after,
.decalogo-item:hover::after {
    opacity: 1;
}

.pilar-card {
    min-height: 540px;
    border-color: rgba(114, 191, 200, 0.22);
}

.pilar-card:hover,
.blog-card:hover,
.listing-card:hover,
.decalogo-item:hover,
.detail-article:hover,
.form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 60px rgba(18, 58, 77, 0.13);
    border-color: rgba(114, 191, 200, 0.32);
}

.pilar-media,
.blog-image,
.listing-card-media,
.detail-hero {
    position: relative;
    overflow: hidden;
}

.pilar-media {
    height: 245px;
    flex-shrink: 0;
    isolation: isolate;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.54), transparent 25%),
        linear-gradient(145deg, #cdebed, #9fd4d9);
}

.blog-image,
.listing-card-media {
    height: 230px;
}

.pilar-media img,
.blog-image img,
.listing-card-media img,
.detail-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transform: scale(1);
    transition:
        opacity 420ms ease,
        transform 600ms cubic-bezier(.2, .8, .2, 1);
}

body.reveal-ready .blog-image img,
body.reveal-ready .listing-card-media img,
body.reveal-ready .detail-hero img {
    opacity: 0;
    transform: scale(1.025);
}

body.reveal-ready .blog-image img.is-loaded,
body.reveal-ready .listing-card-media img.is-loaded,
body.reveal-ready .detail-hero img.is-loaded {
    opacity: 1;
    transform: scale(1);
}

.pilar-card:hover img.is-loaded,
.blog-card:hover img.is-loaded,
.listing-card:hover img.is-loaded,
.detail-hero:hover img.is-loaded {
    transform: scale(1.04);
}

.pilar-media--profile {
    background:
        radial-gradient(circle at 78% 28%, rgba(255, 255, 255, 0.48), transparent 24%),
        linear-gradient(145deg, #b9e1e4, #82c4cc);
}

.pilar-media--principles {
    background:
        radial-gradient(circle at 28% 75%, rgba(255, 255, 255, 0.42), transparent 22%),
        linear-gradient(145deg, #d8f0f1, #abd9dd);
}

.pilar-glyph {
    position: absolute;
    z-index: 2;
    right: 18px;
    bottom: -18px;
    color: rgba(255, 255, 255, 0.88);
    font-family: "Fraunces", serif;
    font-size: 8rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.08em;
}

.pilar-orbit {
    position: absolute;
    left: 22px;
    top: 24px;
    width: 82px;
    height: 82px;
    border: 12px solid rgba(255, 255, 255, 0.92);
    border-right-color: transparent;
    border-radius: 50%;
    transform: rotate(-36deg);
}

.pilar-orbit::after {
    content: "";
    position: absolute;
    width: 126px;
    height: 2px;
    top: 52px;
    left: 44px;
    background: rgba(255, 255, 255, 0.74);
    transform: rotate(20deg);
    transform-origin: left;
}

.pilar-head,
.blog-info,
.listing-card-body {
    padding: 22px 22px 24px;
}

.pilar-content {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 26px 28px 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(248, 254, 254, 0.94));
}

.pilar-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 28px;
    width: 42px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--primary-strong));
}

.pilar-content .pilar-head {
    padding: 0;
}

.pilar-head-text h3,
.blog-info h3,
.listing-card-title,
.decalogo-content h4 {
    margin: 8px 0 0;
    color: var(--heading);
    font-family: "Fraunces", serif;
    font-size: 1.35rem;
    line-height: 1.15;
}

.pilar-tag,
.blog-date,
.listing-date {
    color: var(--text-soft);
    font-size: 0.84rem;
    font-weight: 700;
}

.pilar-tag {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    color: var(--primary-strong);
    background: rgba(169, 218, 221, 0.2);
}

.pilar-card p,
.blog-info p,
.listing-card-desc,
.decalogo-content p {
    color: var(--text-soft);
    line-height: 1.7;
}

.pilar-card p,
.blog-info p,
.listing-card-desc {
    margin: 16px 0 0;
}

.pilar-content p {
    margin: 18px 0 24px;
    font-size: 0.97rem;
}

.pilar-link,
.blog-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 22px 24px;
    color: var(--primary-strong);
    font-weight: 800;
    text-decoration: none;
}

.pilar-content .pilar-link {
    align-self: flex-start;
    margin-top: auto;
    padding: 0;
}

.pilar-content .pilar-link::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: var(--primary);
    transition: width var(--transition);
}

.pilar-content .pilar-link:hover::before {
    width: 42px;
}

.pilar-link::after,
.blog-link::after {
    content: "\2192";
    transition: transform var(--transition);
}

.pilar-link:hover::after,
.blog-link:hover::after {
    transform: translateX(4px);
}

.blog-header,
.blog-footer,
.listing-head,
.detail-head,
.create-header {
    text-align: left;
}

.blog-meta,
.listing-card-meta,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.blog-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-link {
    padding-top: 16px;
}

.blog-info h3,
.listing-card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-info p,
.listing-card-desc {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-footer {
    margin-top: 34px;
}

.blog-btn {
    padding-inline: 28px;
}

.empty-copy {
    margin: 12px 0 0;
    padding: 24px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--text-soft);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.nace-section {
    position: relative;
    overflow: hidden;
}

.nace-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(14px);
    opacity: 0.52;
    animation: floaty 14s ease-in-out infinite;
}

.blob-1 {
    width: 300px;
    height: 300px;
    left: -70px;
    top: 40px;
    background: rgba(217, 236, 230, 0.82);
}

.blob-2 {
    width: 400px;
    height: 400px;
    right: -120px;
    top: 120px;
    background: rgba(239, 215, 202, 0.78);
    animation-duration: 18s;
}

.blob-3 {
    width: 260px;
    height: 260px;
    left: 12%;
    bottom: 10px;
    background: rgba(217, 190, 131, 0.32);
    animation-duration: 16s;
}

@keyframes floaty {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(14px, -24px, 0);
    }
}

.nace-list {
    margin: 22px 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

.nace-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--heading);
    font-weight: 700;
}

.nace-list li::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    box-shadow: 0 0 0 6px rgba(29, 107, 104, 0.08);
}

.nace-card {
    position: relative;
    padding: 34px;
}

.nace-card::after {
    content: "";
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 236, 230, 0.72), transparent 65%);
}

.nace-card h3 {
    margin: 0 0 14px;
    color: var(--heading);
    font-family: "Fraunces", serif;
    font-size: 1.6rem;
}

.nace-card p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.8;
}

.quien-brand-panel {
    position: relative;
    overflow: hidden;
    min-height: 540px;
    border-radius: 34px;
    background:
        radial-gradient(circle at 74% 20%, rgba(255, 255, 255, 0.36), transparent 18%),
        linear-gradient(145deg, #bde3e5, #8ccbd2);
    box-shadow: var(--shadow-xl);
}

.quien-brand-panel::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 42%;
    background: linear-gradient(180deg, transparent, rgba(18, 58, 77, 0.22));
}

.quien-brand-word {
    position: absolute;
    top: 50%;
    left: 50%;
    color: rgba(255, 255, 255, 0.94);
    font-family: "Fraunces", serif;
    font-size: clamp(5rem, 10vw, 8rem);
    font-weight: 700;
    letter-spacing: -0.1em;
    transform: translate(-50%, -50%) rotate(-90deg);
}

.quien-brand-ring {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.54);
    border-radius: 50%;
}

.quien-brand-ring--one {
    width: 250px;
    height: 250px;
    top: -82px;
    left: -70px;
}

.quien-brand-ring--two {
    width: 180px;
    height: 180px;
    right: -50px;
    bottom: 80px;
}

.quien-brand-path {
    position: absolute;
    width: 160px;
    height: 70px;
    top: 24%;
    right: 12%;
    border-top: 12px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    transform: rotate(25deg);
}

.quien-mini-card {
    position: absolute;
    left: 22px;
    bottom: 22px;
    z-index: 1;
    padding: 14px 18px;
    border-radius: 18px;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.26);
    backdrop-filter: blur(16px);
}

.quien-mini-card span {
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.quien-title {
    max-width: 14ch;
}

.quien-text {
    margin: 18px 0 0;
}

.quien-btn {
    margin-top: 24px;
}

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

.decalogo-item {
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 24px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.decalogo-number {
    font-family: "Fraunces", serif;
    font-size: 2.4rem;
    color: var(--accent);
    line-height: 1;
}

.listing-section,
.detail-section,
.create-section {
    padding-top: 70px;
}

.listing-head {
    margin-bottom: 28px;
}

.listing-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 14px;
}

.listing-card-title {
    margin: 0;
}

.listing-card-desc {
    margin: 0;
    flex: 1;
}

.listing-card-btn {
    align-self: flex-start;
    padding: 12px 18px;
    font-size: 0.92rem;
}

.pagination {
    margin-top: 34px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--heading);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(23, 48, 66, 0.08);
    font-weight: 700;
}

.pagination .active {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    border-color: transparent;
}

.detail-shell {
    max-width: 960px;
}

.detail-hero {
    height: min(54vw, 520px);
    border-radius: 34px;
    box-shadow: var(--shadow-xl);
}

.detail-head {
    margin-top: 28px;
}

.detail-title {
    margin-top: 16px;
    font-size: clamp(2.5rem, 5vw, 4.3rem);
    max-width: 14ch;
}

.meta-date {
    color: var(--text-soft);
    font-weight: 700;
}

.detail-video {
    margin-top: 32px;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
}

.detail-video video {
    display: block;
    width: 100%;
    background: #000;
}

.detail-article {
    margin-top: 32px;
    padding: 34px;
}

.detail-content {
    font-size: 1.08rem;
    line-height: 1.95;
    color: var(--text);
}

.detail-content p {
    margin: 0 0 1.35em;
}

.detail-actions {
    margin-top: 28px;
}

.create-shell {
    max-width: 980px;
}

.create-header {
    margin-bottom: 28px;
}

.create-subtitle {
    max-width: 58ch;
    margin: 16px 0 0;
}

.form-card {
    padding: 28px;
}

.create-form {
    display: grid;
    gap: 22px;
}

.form-group {
    display: grid;
    gap: 10px;
}

.form-group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-group label {
    color: var(--heading);
    font-size: 0.92rem;
    font-weight: 800;
}

.create-form input[type="text"],
.create-form input[type="file"],
.create-form textarea,
.create-form select {
    width: 100%;
    padding: 15px 16px;
    border-radius: 18px;
    border: 1px solid rgba(23, 48, 66, 0.1);
    background: rgba(255, 255, 255, 0.88);
    color: var(--heading);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.create-form textarea {
    min-height: 130px;
    resize: vertical;
}

.create-form textarea#id_content {
    min-height: 250px;
}

.create-form input:focus,
.create-form textarea:focus,
.create-form select:focus {
    border-color: rgba(29, 107, 104, 0.34);
    box-shadow: 0 0 0 4px rgba(29, 107, 104, 0.08);
}

.form-alert,
.field-error,
.form-hint {
    font-size: 0.88rem;
}

.form-alert {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(114, 191, 200, 0.14);
    color: var(--primary-strong);
}

.field-error {
    margin: 0;
    color: #b24d31;
    font-weight: 700;
}

.form-hint {
    margin: 0;
    color: var(--text-soft);
}

.create-btn {
    justify-self: start;
    padding-inline: 30px;
}

.site-footer {
    padding: 52px 0 64px;
}

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    color: #fff;
    background: rgba(49, 139, 153, 0.88);
    box-shadow: 0 16px 32px rgba(18, 58, 77, 0.2);
    backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(0.92);
    transition:
        opacity 220ms ease,
        visibility 220ms ease,
        transform 320ms cubic-bezier(.2, .8, .2, 1),
        background 220ms ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    background: var(--primary-strong);
    transform: translateY(-3px) scale(1);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 26px 28px;
    border-radius: 28px;
    background: rgba(24, 49, 63, 0.92);
    color: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-xl);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-brand p {
    margin: 0;
}

.footer-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
}

.footer-links a:hover {
    color: #fff;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 560ms ease var(--reveal-delay, 0ms),
        transform 650ms cubic-bezier(.2, .8, .2, 1) var(--reveal-delay, 0ms);
}

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

#sobre-espacio,
#nace-idecide,
#quien-soy,
#decalogo-idecide,
#blog-recientes,
#site-footer {
    scroll-margin-top: 140px;
}

@media (min-width: 1480px) {
    :root {
        --container: min(1360px, calc(100vw - 88px));
    }

    .hero-shell {
        grid-template-columns: minmax(0, 1.08fr) minmax(480px, 0.92fr);
        gap: 52px;
        padding-top: 44px;
    }

    .hero-title {
        font-size: clamp(4.3rem, 5vw, 6rem);
        max-width: 11ch;
    }

    .brand-canvas,
    .hero-visual {
        min-height: 700px;
    }

    .pilares-grid,
    .blog-grid,
    .listing-grid {
        gap: 28px;
    }

    .pilar-media,
    .blog-image,
    .listing-card-media {
        height: 270px;
    }

    .detail-shell {
        max-width: 1080px;
    }
}

@media (max-width: 1120px) {
    .hero-shell,
    .intro-layout,
    .nace-inner,
    .quien-layout {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 520px;
        order: -1;
        padding-left: 0;
    }

    .brand-canvas {
        min-height: 520px;
    }

    .pilares-grid,
    .blog-grid,
    .listing-grid,
    .decalogo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quien-title,
    .detail-title,
    .hero-title {
        max-width: none;
    }
}

@media (max-width: 920px) {
    .site-header {
        padding-top: 10px;
    }

    .site-header.is-hidden {
        transform: none;
    }

    .topbar {
        margin-bottom: 8px;
    }

    .topbar-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .site-nav-shell {
        position: relative;
        min-height: auto;
    }

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

    .main-menu {
        position: fixed;
        top: 92px;
        right: 20px;
        left: 20px;
        padding: 18px;
        border-radius: 26px;
        background: rgba(255, 252, 247, 0.94);
        border: 1px solid rgba(255, 255, 255, 0.62);
        box-shadow: var(--shadow-xl);
        transform: translateY(-16px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
    }

    body.menu-open .main-menu {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .main-menu ul {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .main-menu a {
        min-height: 48px;
        padding: 10px 4px;
    }

    .header-actions {
        margin-left: 0;
    }

    .blog-grid,
    .listing-grid {
        gap: 18px;
    }

    .utility-nav,
    .social-left {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 720px) {
    :root {
        --container: min(1180px, calc(100vw - 28px));
    }

    .hero-welcome,
    .intro-section,
    .pilares-section,
    .blog-section,
    .nace-section,
    .quien-section,
    .decalogo-section,
    .listing-section,
    .detail-section,
    .create-section {
        padding-top: 40px;
    }

    .hero-shell {
        gap: 24px;
        padding-top: 12px;
    }

    .hero-visual {
        min-height: 320px;
        padding-top: 8px;
    }

    .brand-canvas {
        min-height: 320px;
        border-radius: 24px;
    }

    .hero-panel-card {
        display: none;
    }

    .intro-section::before,
    .blog-section::before,
    .decalogo-section::before,
    .listing-section::before {
        inset: 24px 10px 0;
        border-radius: 28px;
    }

    .pilares-grid,
    .blog-grid,
    .listing-grid,
    .decalogo-grid,
    .form-group-grid {
        grid-template-columns: 1fr;
    }

    .quien-brand-panel {
        min-height: 400px;
    }

    .brand-word {
        font-size: clamp(4.8rem, 26vw, 7rem);
    }

    .brand-mark {
        width: 82px;
        height: 82px;
        border-width: 14px;
    }

    .quien-brand-word {
        font-size: clamp(4.5rem, 24vw, 6.5rem);
    }

    .detail-article,
    .form-card {
        padding: 22px;
    }

    .footer-inner,
    .footer-brand {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        gap: 12px;
        justify-content: center;
    }

    .logo-img {
        height: 52px;
    }

    .site-nav-shell {
        padding: 12px 14px;
        border-radius: 22px;
    }

    .main-menu {
        top: 84px;
        right: 14px;
        left: 14px;
        border-radius: 22px;
    }

    .hero-title {
        font-size: clamp(2.4rem, 13vw, 3.5rem);
        max-width: 10ch;
    }

    .hero-text {
        font-size: 0.98rem;
        line-height: 1.72;
    }

    .hero-actions {
        width: 100%;
    }

    .hero-btn,
    .intro-btn,
    .blog-btn,
    .quien-btn,
    .back-btn,
    .create-btn {
        width: 100%;
    }

    .intro-visual-col {
        min-height: 300px;
    }

    .intro-visual-card {
        left: 16px;
        right: 16px;
        width: auto;
        bottom: 16px;
        padding: 20px;
    }

    .pilar-media,
    .blog-image,
    .listing-card-media {
        height: 210px;
    }

    .pilar-card {
        min-height: 0;
    }

    .pilar-content {
        padding: 22px 20px 24px;
    }

    .pilar-card,
    .blog-card,
    .listing-card,
    .decalogo-item,
    .detail-article,
    .form-card {
        border-radius: 22px;
    }

    .blog-info,
    .listing-card-body {
        padding-left: 18px;
        padding-right: 18px;
    }

    .blog-link {
        padding-left: 18px;
        padding-right: 18px;
    }

    .decalogo-item {
        padding: 20px;
    }

    .detail-title {
        font-size: clamp(2rem, 9vw, 2.8rem);
    }

    .detail-content {
        font-size: 1rem;
        line-height: 1.85;
    }

    .create-btn {
        justify-self: stretch;
    }

    .quick-nav-panel {
        padding: 22px 18px 18px;
    }

    .quick-nav-input {
        padding: 16px 16px;
    }

    .back-to-top {
        right: 14px;
        bottom: 14px;
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }
}

@media (max-width: 520px) {
    .topbar {
        border-radius: 22px;
    }

    .topbar-inner {
        padding: 10px 12px;
        gap: 12px;
    }

    .utility-nav {
        gap: 8px;
    }

    .utility-nav a {
        width: 100%;
        justify-content: center;
    }

    .social-left {
        gap: 6px;
        flex-wrap: wrap;
    }

    .hero-title,
    .intro-title,
    .pilares-title,
    .blog-title,
    .nace-title,
    .quien-title,
    .decalogo-title,
    .listing-title,
    .create-title {
        letter-spacing: -0.03em;
    }

    .blog-info p,
    .listing-card-desc {
        -webkit-line-clamp: 5;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
    }
}
