/*
    Configuracion visual principal.
    Ajusta colores, espaciados y tipografias desde :root para personalizar el sitio.
*/

:root {
    --bg: #f3efe8;
    --bg-soft: #e7dfd4;
    --surface: rgba(255, 252, 249, 0.84);
    --surface-strong: #fffdfa;
    --surface-deep: #0d1017;
    --ink: #171d28;
    --ink-soft: #606878;
    --line: rgba(23, 29, 40, 0.12);
    --brand: #1f43d8;
    --brand-deep: #0d1017;
    --brand-glow: #d7b46a;
    --accent: #c39a49;
    --accent-red: #a01f34;
    --accent-purple: #5a35a2;
    --danger: #b42318;
    --success: #355f43;
    --shadow: 0 18px 45px rgba(13, 16, 23, 0.13);
    --shadow-strong: 0 26px 70px rgba(13, 16, 23, 0.18);
    --radius: 24px;
    --radius-small: 14px;
    --container: 1160px;
    --transition: 220ms ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(31, 67, 216, 0.12), transparent 34%),
        radial-gradient(circle at top right, rgba(90, 53, 162, 0.08), transparent 28%),
        radial-gradient(circle at 80% 40%, rgba(215, 180, 106, 0.16), transparent 24%),
        linear-gradient(180deg, #f6f2ec 0%, #ece4d8 100%);
    line-height: 1.65;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.28), transparent 72%);
    opacity: 0.22;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
}

.narrow {
    max-width: 780px;
}

.section {
    padding: 5.5rem 0;
}

.section-muted {
    background: linear-gradient(180deg, rgba(255, 253, 250, 0.62), rgba(231, 223, 212, 0.56));
}

.section-accent {
    background:
        radial-gradient(circle at top left, rgba(31, 67, 216, 0.09), transparent 24%),
        linear-gradient(180deg, rgba(31, 67, 216, 0.06), rgba(195, 154, 73, 0.05));
}

.section-visual-story {
    background: linear-gradient(180deg, rgba(90, 53, 162, 0.035), rgba(255, 252, 248, 0.52));
}

.section-hero,
.section-page-hero {
    padding: 6.2rem 0 4rem;
}

.section-cta {
    padding-top: 2rem;
}

.skip-link,
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    top: 1rem;
    left: 1rem;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0.75rem 1rem;
    background: var(--ink);
    color: #fff;
    clip: auto;
    z-index: 20;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(16px);
    background: rgba(246, 242, 236, 0.9);
    border-bottom: 1px solid rgba(23, 29, 40, 0.08);
    box-shadow: 0 10px 30px rgba(13, 16, 23, 0.05);
}

.header-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    min-height: 82px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    letter-spacing: 0.08em;
    box-shadow: var(--shadow);
}

.brand-copy {
    display: grid;
    gap: 0.12rem;
}

.brand-copy strong,
h1,
h2,
h3 {
    font-family: "Space Grotesk", sans-serif;
    letter-spacing: -0.03em;
}

.brand-copy small {
    color: var(--ink-soft);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.site-nav a {
    color: var(--ink-soft);
    transition: color var(--transition);
    font-weight: 600;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--brand);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.28rem;
    border: 0;
    background: transparent;
    padding: 0.4rem;
}

.nav-toggle span:not(.sr-only) {
    width: 1.5rem;
    height: 2px;
    border-radius: 999px;
    background: var(--ink);
}

.eyebrow {
    margin: 0 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--accent-purple);
}

h1,
h2,
h3 {
    margin: 0 0 1rem;
    line-height: 1.12;
}

h1 {
    font-size: clamp(2.15rem, 4.8vw, 3.7rem);
}

h2 {
    font-size: clamp(1.62rem, 3vw, 2.35rem);
}

h3 {
    font-size: clamp(1.08rem, 1.8vw, 1.28rem);
}

p,
li {
    color: var(--ink-soft);
}

.hero-grid,
.about-grid,
.profile-grid,
.contact-grid,
.detail-grid,
.footer-grid,
.cta-shell {
    display: grid;
    gap: 2rem;
}

.hero-grid,
.profile-grid,
.contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
}

.hero-copy,
.section-heading,
.profile-copy {
    max-width: 680px;
}

.section-heading p:not(.eyebrow) {
    max-width: 64ch;
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.hero-lead {
    font-size: 1.02rem;
    max-width: 60ch;
}

.hero-actions,
.chip-row,
.hero-metrics,
.package-meta,
.scan-list,
.specialty-grid,
.footer-grid ul,
.contact-card-stack {
    display: flex;
    gap: 1rem;
}

.hero-actions,
.chip-row,
.scan-list,
.specialty-grid,
.package-meta,
.contact-card-stack {
    flex-wrap: wrap;
}

.hero-actions {
    margin: 2rem 0;
}

.premium-band {
    padding-top: 0;
}

.premium-band-shell {
    display: grid;
    grid-template-columns: 1.15fr 1.85fr;
    gap: 1.4rem;
    padding: 1.6rem;
    border-radius: 30px;
    background:
        linear-gradient(145deg, rgba(12, 16, 28, 0.98), rgba(20, 35, 92, 0.96) 58%, rgba(79, 49, 136, 0.92)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(215, 180, 106, 0.18);
    box-shadow: var(--shadow-strong);
    overflow: hidden;
    position: relative;
}

.premium-band-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 0% 0%, rgba(215, 180, 106, 0.18), transparent 30%),
        radial-gradient(circle at 100% 100%, rgba(160, 31, 52, 0.18), transparent 26%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.05), transparent 38%);
}

.premium-band-copy,
.premium-band-grid {
    position: relative;
    z-index: 1;
}

.premium-band-copy {
    color: rgba(255, 255, 255, 0.92);
}

.premium-band-copy h2,
.premium-band-copy p,
.premium-band-copy .eyebrow {
    color: inherit;
}

.premium-band-copy .eyebrow {
    color: #d9bd82;
}

.premium-band-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.premium-band-card {
    padding: 1.1rem 1.15rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
}

.premium-band-card strong {
    display: block;
    margin-bottom: 0.45rem;
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
}

.premium-band-card span {
    color: rgba(255, 255, 255, 0.78);
}

.media-ribbon {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr 0.85fr;
    gap: 1rem;
    margin-top: 2rem;
}

.media-tile {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    border-radius: 24px;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.58);
    box-shadow: var(--shadow);
}

.media-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.88) contrast(1.02) brightness(0.88);
}

.media-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 16, 23, 0.04), rgba(13, 16, 23, 0.4));
}

.media-tile-caption {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1;
    color: #fff;
}

.media-tile-caption strong,
.media-tile-caption span {
    display: block;
    color: inherit;
}

.media-tile-caption span {
    margin-top: 0.18rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.92rem;
}

.scan-panel {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.5rem;
    align-items: start;
}

.scan-lead {
    font-size: 1.02rem;
    max-width: 56ch;
}

.scan-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.scan-list li {
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(255, 252, 249, 0.76);
    border: 1px solid rgba(23, 29, 40, 0.08);
    color: var(--ink);
    font-weight: 700;
}

.scan-list li span {
    display: block;
    margin-top: 0.28rem;
    color: var(--ink-soft);
    font-weight: 500;
}

.quick-picks {
    display: grid;
    gap: 0.9rem;
}

.quick-picks h3,
.quick-picks p {
    margin: 0;
}

.quick-pick-card {
    padding: 1rem 1.05rem;
    border-radius: 20px;
    background: rgba(13, 16, 23, 0.94);
    border: 1px solid rgba(215, 180, 106, 0.18);
    box-shadow: var(--shadow);
}

.quick-pick-card h3 {
    color: #fff;
    margin-bottom: 0.35rem;
}

.quick-pick-card p {
    color: rgba(255, 255, 255, 0.72);
}

.visual-split {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 1.8rem;
    align-items: center;
}

.visual-split-media {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: var(--shadow-strong);
}

.visual-split-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.9) contrast(1.02) brightness(0.9);
}

.visual-split-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 16, 23, 0.06), rgba(13, 16, 23, 0.38));
}

.visual-split-card {
    padding: 2rem;
}

.service-landing .section-page-hero .narrow {
    max-width: 1120px;
}

.service-hero-layout {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 1.4rem;
    margin-top: 2rem;
    align-items: stretch;
}

.service-hero-media {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    border-radius: 28px;
    background: rgba(13, 16, 23, 0.96);
    border: 1px solid rgba(215, 180, 106, 0.18);
    box-shadow: var(--shadow-strong);
}

.service-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(13, 16, 23, 0.06), rgba(13, 16, 23, 0.42)),
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 26%);
}

.service-hero-caption {
    position: absolute;
    left: 1.2rem;
    right: 1.2rem;
    bottom: 1.2rem;
    z-index: 1;
}

.service-hero-caption strong,
.service-hero-caption span {
    display: block;
}

.service-hero-caption strong {
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.12rem;
}

.service-hero-caption span {
    margin-top: 0.2rem;
    color: rgba(255, 255, 255, 0.8);
}

.service-hero-quick {
    padding: 1.65rem;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 253, 250, 0.92), rgba(246, 239, 230, 0.88));
    border: 1px solid rgba(23, 29, 40, 0.08);
    box-shadow: var(--shadow);
}

.service-hero-quick h2 {
    margin-bottom: 0.8rem;
}

.service-hero-quick p:not(.eyebrow) {
    max-width: 46ch;
}

.service-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1rem;
}

.service-chip {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    background: rgba(31, 67, 216, 0.08);
    border: 1px solid rgba(31, 67, 216, 0.12);
    color: var(--brand-deep);
    font-weight: 700;
}

.mini-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.mini-proof {
    padding: 1rem;
    border-radius: 20px;
    background: rgba(255, 252, 249, 0.78);
    border: 1px solid rgba(23, 29, 40, 0.08);
}

.mini-proof strong,
.mini-proof span {
    display: block;
}

.mini-proof strong {
    margin-bottom: 0.28rem;
    color: var(--ink);
}

.mini-proof span {
    color: var(--ink-soft);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    border: 1px solid rgba(215, 180, 106, 0.52);
    background: linear-gradient(135deg, #2952ff 0%, #1732a8 42%, #0d1017 100%);
    color: #fff;
    font-weight: 800;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    box-shadow: 0 18px 35px rgba(13, 16, 23, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 40px rgba(13, 16, 23, 0.3), 0 0 0 1px rgba(215, 180, 106, 0.18);
}

.button-small {
    min-height: 42px;
    padding: 0.65rem 1rem;
    font-size: 0.92rem;
}

.site-nav .button {
    color: #fff;
    white-space: nowrap;
    line-height: 1.05;
    padding-inline: 1.45rem;
    min-height: 54px;
    border-color: rgba(215, 180, 106, 0.58);
    background: linear-gradient(135deg, #2d57ff 0%, #1f43d8 38%, #0d1017 100%);
    box-shadow: 0 20px 34px rgba(13, 16, 23, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.site-nav .button:hover {
    color: #fff;
    background: linear-gradient(135deg, #3a62ff 0%, #2649dd 38%, #0d1017 100%);
}

.site-nav .button-small {
    min-height: 56px;
    padding-inline: 1.55rem;
    font-size: 0.98rem;
}

.button-ghost {
    background: rgba(255, 252, 249, 0.76);
    color: var(--brand-deep);
    border-color: rgba(23, 29, 40, 0.14);
    box-shadow: none;
}

.button-ghost:hover {
    background: rgba(215, 180, 106, 0.12);
}

.hero-metrics {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
}

.hero-metrics li {
    min-width: 150px;
    padding: 1rem 1.1rem;
    border-radius: var(--radius-small);
    background: linear-gradient(180deg, rgba(255, 252, 248, 0.84), rgba(255, 251, 246, 0.7));
    border: 1px solid rgba(23, 29, 40, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.hero-metrics strong {
    display: block;
    color: var(--ink);
    font-size: 1.25rem;
}

.hero-visual,
.profile-visual,
.card,
.problem-card,
.package-card,
.case-card,
.info-card,
.form-shell,
.detail-card,
.filter-panel,
.policy-shell,
.cta-shell {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-visual,
.profile-visual {
    padding: 1.4rem;
}

.card,
.problem-card,
.package-card,
.case-card,
.info-card,
.form-shell,
.detail-card,
.filter-panel,
.policy-shell,
.cta-shell {
    padding: 1.8rem;
}

.problem-card,
.package-card,
.case-card,
.info-card,
.detail-card,
.filter-panel,
.policy-shell,
.form-shell,
.cta-shell {
    border-color: rgba(23, 29, 40, 0.08);
}

.problem-card,
.package-card,
.case-card,
.story-card,
.info-card,
.detail-card,
.card,
.filter-panel,
.policy-shell,
.cta-shell {
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.problem-card:hover,
.package-card:hover,
.case-card:hover,
.story-card:hover,
.info-card:hover,
.detail-card:hover,
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 64px rgba(27, 43, 52, 0.16);
    border-color: rgba(195, 154, 73, 0.22);
}

.hero-stage {
    position: relative;
    min-height: 100%;
    padding: 1rem;
    border-radius: calc(var(--radius) - 2px);
    background:
        radial-gradient(circle at top right, rgba(215, 180, 106, 0.18), transparent 30%),
        radial-gradient(circle at 16% 20%, rgba(90, 53, 162, 0.15), transparent 28%),
        linear-gradient(180deg, rgba(15, 20, 34, 0.98), rgba(13, 16, 23, 0.96));
    overflow: hidden;
}

.hero-stage::before,
.story-media::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 38%),
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 22%),
        radial-gradient(circle at 80% 25%, rgba(255, 255, 255, 0.06), transparent 18%);
    mix-blend-mode: screen;
}

.hero-stage::after {
    content: "";
    position: absolute;
    inset: auto -40px -60px auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(160, 31, 52, 0.24), transparent 70%);
}

.hero-screen {
    position: relative;
    z-index: 1;
    padding: 1rem;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.hero-screen img {
    width: 100%;
    min-height: 520px;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
    filter: saturate(0.82) contrast(1.02) brightness(0.88);
}

.hero-screen::after,
.story-media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, 0.18) 0.7px, transparent 0.7px);
    background-size: 6px 6px;
    opacity: 0.06;
}

.hero-note {
    position: absolute;
    z-index: 2;
    max-width: 260px;
    padding: 1rem 1.1rem;
    border-radius: 20px;
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
}

.hero-note-primary {
    left: -12px;
    bottom: 24px;
    background: rgba(255, 252, 249, 0.95);
    border: 1px solid rgba(195, 154, 73, 0.22);
}

.hero-note-secondary {
    top: 24px;
    right: -12px;
    background: linear-gradient(145deg, rgba(31, 67, 216, 0.95), rgba(90, 53, 162, 0.9));
    color: #fff;
    border: 1px solid rgba(215, 180, 106, 0.24);
}

.hero-note-label,
.hero-note-value {
    display: block;
    margin-bottom: 0.55rem;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 800;
}

.hero-note-primary strong {
    color: var(--ink);
    font-family: "Space Grotesk", sans-serif;
    line-height: 1.2;
}

.hero-note-secondary .hero-note-text,
.hero-note-secondary .hero-note-value {
    color: #fff;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.3rem;
}

.offer-grid,
.qualification-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.offer-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 253, 250, 0.92), rgba(242, 235, 226, 0.86));
    border: 1px solid rgba(23, 29, 40, 0.08);
    border-radius: 28px;
    box-shadow: var(--shadow);
    padding: 1.8rem;
}

.offer-card::after {
    content: "";
    position: absolute;
    inset: auto -30px -50px auto;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(215, 180, 106, 0.28), transparent 72%);
}

.offer-card h3,
.offer-card p,
.offer-card ul,
.qualification-card h3,
.qualification-card p,
.qualification-card ul {
    position: relative;
    z-index: 1;
}

.offer-card h3,
.qualification-card h3 {
    margin-bottom: 0.6rem;
}

.offer-card ul,
.qualification-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.offer-card li,
.qualification-card li {
    color: var(--ink-soft);
    margin-bottom: 0.55rem;
}

.offer-card .button {
    margin-top: 1rem;
}

.offer-badge {
    display: inline-flex;
    width: fit-content;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(31, 67, 216, 0.1);
    color: var(--brand);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.qualification-card {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(23, 29, 40, 0.08);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.qualification-card.is-dark {
    background: linear-gradient(145deg, rgba(13, 16, 23, 0.97), rgba(31, 67, 216, 0.9));
    border-color: rgba(215, 180, 106, 0.18);
}

.qualification-card.is-dark h3,
.qualification-card.is-dark p,
.qualification-card.is-dark li {
    color: #fff;
}

.qualification-card.is-dark li {
    color: rgba(255, 255, 255, 0.82);
}

.story-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(23, 29, 40, 0.08);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.story-media {
    position: relative;
    padding: 1rem 1rem 0;
}

.story-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(13, 16, 23, 0.98), rgba(31, 67, 216, 0.88));
    filter: saturate(0.95) contrast(1.04);
}

.profile-visual img {
    width: 100%;
    aspect-ratio: 4 / 4.6;
    object-fit: cover;
    object-position: center;
    border-radius: 22px;
    filter: saturate(0.94) contrast(1.02);
}

.story-content {
    padding: 1.25rem 1.35rem 1.45rem;
}

.story-tag {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 0.9rem;
    padding: 0.45rem 0.72rem;
    border-radius: 999px;
    background: rgba(31, 67, 216, 0.1);
    color: #1732a8;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.card-elevated {
    border: 1px solid rgba(195, 154, 73, 0.18);
}

.chip {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(31, 67, 216, 0.08);
    color: #1732a8;
    font-weight: 700;
}

.problem-grid,
.package-grid,
.case-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.problem-card,
.case-card {
    min-height: 100%;
}

.package-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 242, 235, 0.88)),
        linear-gradient(120deg, rgba(31, 67, 216, 0.04), rgba(195, 154, 73, 0.06));
    position: relative;
}

.package-card::before,
.form-shell::before,
.cta-shell::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 58%, var(--accent-purple) 100%);
}

.package-card::after {
    content: "";
    position: absolute;
    inset: auto 1.1rem 1rem auto;
    width: 70px;
    height: 2px;
    background: linear-gradient(90deg, rgba(195, 154, 73, 0), rgba(195, 154, 73, 0.85));
    opacity: 0.9;
}

.package-card .button {
    margin-top: auto;
}

.package-tag {
    display: inline-flex;
    width: fit-content;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(195, 154, 73, 0.16);
    color: #7a5a1d;
    font-size: 0.88rem;
    font-weight: 800;
}

.package-meta,
.detail-card ul,
.policy-shell ul,
.info-card ul,
.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-meta {
    flex-direction: column;
    gap: 0.6rem;
}

.specialty-grid {
    gap: 0.85rem;
}

.specialty-pill {
    padding: 0.75rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(31, 67, 216, 0.12);
    background: rgba(255, 255, 255, 0.86);
    color: var(--brand-deep);
    font-weight: 700;
}

.filter-panel {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(246, 239, 230, 0.88)),
        linear-gradient(120deg, rgba(31, 67, 216, 0.04), rgba(90, 53, 162, 0.04));
}

.filter-panel::after {
    content: "";
    position: absolute;
    inset: auto -40px -60px auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(215, 180, 106, 0.34), transparent 70%);
}

.cta-shell {
    grid-template-columns: 1.4fr auto;
    align-items: center;
    background:
        linear-gradient(145deg, rgba(13, 16, 23, 0.96), rgba(31, 67, 216, 0.9) 62%, rgba(90, 53, 162, 0.84)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border-color: rgba(215, 180, 106, 0.18);
    box-shadow: var(--shadow-strong);
}

.cta-shell h2,
.cta-shell p,
.cta-shell .eyebrow {
    color: #fff;
}

.cta-shell .eyebrow {
    color: #d9bd82;
}

.package-detail-list {
    display: grid;
    gap: 1.4rem;
}

.detail-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-card h3,
.policy-shell h2 {
    margin-top: 1.6rem;
    margin-bottom: 0.8rem;
}

.detail-card h3:first-child,
.policy-shell h2:first-child {
    margin-top: 0;
}

.detail-card p {
    max-width: 62ch;
}

.contact-grid {
    align-items: start;
}

.contact-card-stack {
    flex-direction: column;
    margin-top: 2rem;
}

.form-shell {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 242, 235, 0.94));
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.form-note {
    margin-top: -0.6rem;
    max-width: 58ch;
}

.form-row {
    display: grid;
    gap: 0.45rem;
}

.form-row-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.35rem;
}

.form-chip {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(31, 67, 216, 0.08);
    border: 1px solid rgba(31, 67, 216, 0.12);
    color: var(--brand-deep);
    font-size: 0.88rem;
    font-weight: 700;
}

.form-row label,
.checkbox-label {
    font-weight: 700;
    color: var(--ink);
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(23, 29, 40, 0.12);
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: rgba(31, 67, 216, 0.5);
    box-shadow: 0 0 0 4px rgba(31, 67, 216, 0.1);
}

.form-row input[aria-invalid="true"],
.form-row select[aria-invalid="true"],
.form-row textarea[aria-invalid="true"] {
    border-color: rgba(180, 35, 24, 0.45);
    box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.09);
}

.form-row-checkbox {
    gap: 0.35rem;
}

.checkbox-label {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.7rem;
}

.checkbox-label input {
    margin-top: 0.2rem;
}

.form-error {
    min-height: 1.1rem;
    color: var(--danger);
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.form-status {
    margin: 0;
    font-weight: 700;
}

.form-status.is-success {
    color: var(--success);
}

.form-status.is-error {
    color: var(--danger);
}

.site-footer {
    padding: 3rem 0 1.8rem;
    border-top: 1px solid rgba(23, 29, 40, 0.1);
    background:
        radial-gradient(circle at top right, rgba(195, 154, 73, 0.12), transparent 26%),
        linear-gradient(180deg, rgba(13, 16, 23, 0.08), rgba(255, 255, 255, 0.28));
}

.footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    align-items: start;
}

.footer-grid ul {
    flex-direction: column;
    gap: 0.6rem;
}

.site-footer h2,
.site-footer h3 {
    color: var(--brand-deep);
}

.site-footer a:hover {
    color: var(--brand);
}

.footer-bottom {
    padding-top: 1.4rem;
    margin-top: 1.4rem;
    border-top: 1px solid rgba(16, 37, 44, 0.08);
}

.whatsapp-float {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    z-index: 9;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #1732a8 0%, #0d1017 100%);
    color: #fff;
    font-weight: 800;
    border: 1px solid rgba(215, 180, 106, 0.32);
    box-shadow: 0 22px 34px rgba(13, 16, 23, 0.26);
    animation: pulse-whatsapp 2.6s ease-in-out infinite;
}

.whatsapp-icon {
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
}

@keyframes pulse-whatsapp {
    0%,
    100% {
        transform: translateY(0);
        box-shadow: 0 22px 34px rgba(13, 16, 23, 0.26);
    }
    50% {
        transform: translateY(-3px);
        box-shadow: 0 28px 44px rgba(13, 16, 23, 0.34);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 500ms ease, transform 500ms ease;
}

.reveal-delay {
    transition-delay: 90ms;
}

.reveal-delay-2 {
    transition-delay: 180ms;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .hero-grid,
    .profile-grid,
    .contact-grid,
    .premium-band-shell,
    .premium-band-grid,
    .scan-panel,
    .detail-grid,
    .problem-grid,
    .offer-grid,
    .qualification-grid,
    .service-hero-layout,
    .visual-split,
    .package-grid,
    .case-grid,
    .media-ribbon,
    .mini-proof-grid,
    .story-grid,
    .footer-grid,
    .cta-shell {
        grid-template-columns: 1fr;
    }

    .hero-note {
        position: static;
        max-width: none;
        margin-top: 1rem;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 0.5rem);
        right: 1rem;
        left: 1rem;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        border-radius: 20px;
        background: rgba(255, 252, 249, 0.98);
        border: 1px solid rgba(23, 29, 40, 0.08);
        box-shadow: var(--shadow);
    }

    .site-nav .button,
    .site-nav .button-small {
        width: 100%;
        min-height: 50px;
        justify-content: center;
    }

    .site-nav.is-open {
        display: flex;
    }

    .media-tile,
    .visual-split-media,
    .service-hero-media {
        min-height: 240px;
    }

    .nav-toggle {
        display: inline-flex;
    }
}

@media (max-width: 720px) {
    .section,
    .section-hero,
    .section-page-hero {
        padding: 4rem 0;
    }

    .header-shell {
        min-height: 72px;
    }

    .brand-copy small {
        display: none;
    }

    .form-row-split {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        right: 0.9rem;
        bottom: 0.9rem;
    }
}