﻿:root {
      --primary-blue: #0B5BE6;
      --dark-blue: #0A1F44;
      --blue-2: #123B78;
      --cookie-brown: #6B3E2E;
      --light-background: #FAF7F3;
      --cream: #F2EDE4;
      --danger: #F82433;
      --text: #1D2433;
      --muted: #8A93A6;
      --success: #16A34A;
      --warning: #D78A2D;
      --line: rgba(10, 31, 68, 0.11);
      --card: rgba(255, 255, 255, 0.82);
      --card-solid: #FFFFFF;
      --shadow-soft: 0 18px 58px rgba(10, 31, 68, 0.10);
      --shadow-card: 0 10px 26px rgba(10, 31, 68, 0.075);
      --radius-xl: 34px;
      --radius-lg: 26px;
      --radius-md: 18px;
      --radius-sm: 12px;
      --container: 1180px;
      --cookie-src: url("../../../../envidicy_cookie_cropped_q90.webp");
      --num-font: 'Manrope', system-ui, sans-serif;
      --num-weight: 800;
      --num-tracking: -0.02em;
      --insta-gradient: linear-gradient(135deg, #FCE8A9 0%, #F57F33 24%, #DD2A7B 54%, #8134AF 76%, #515BD4 100%);
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      min-width: 320px;
      font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      color: var(--text);
      background: linear-gradient(180deg, var(--light-background) 0%, #F7F2E9 50%, #FBF8F3 100%);
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
      line-height: 1.58;
    }

    body.story-open,
    body.post-open { overflow: hidden; }
    a { color: inherit; text-decoration: none; }
    button, input, select { font: inherit; }
    button { border: 0; }
    img, svg { display: block; max-width: 100%; }
    .container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 40;
      border-bottom: 1px solid rgba(10, 31, 68, 0.08);
      background: rgba(250, 247, 243, 0.78);
      backdrop-filter: none;
    }

    .nav {
      height: 76px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: var(--dark-blue);
      font-family: 'Manrope', system-ui, sans-serif;
      font-weight: 800;
      letter-spacing: -0.01em;
      font-size: 19px;
    }

    .brand-cookie,
    .cookie-img {
      background: var(--cookie-src) center / contain no-repeat;
      filter: none;
    }

    .brand-cookie {
      width: 32px;
      height: 32px;
      transform: rotate(-10deg);
    }

    .nav-links {
      display: flex;
      gap: 24px;
      align-items: center;
      margin: 0;
      padding: 0;
      list-style: none;
      color: rgba(10, 31, 68, .72);
      font-size: 14px;
      font-weight: 800;
    }

    .nav-links a { transition: color .2s ease, transform .2s ease; }
    .nav-links a:hover { color: var(--primary-blue); transform: translateY(-1px); }
    .nav-actions {
      display: flex;
      align-items: center;
      gap: 10px;
      font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-height: 48px;
      padding: 14px 21px;
      border: 1px solid transparent;
      border-radius: 15px;
      cursor: pointer;
      font-weight: 900;
      line-height: 1;
      transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
      white-space: nowrap;
    }

    .btn:hover { transform: translateY(-2px); }
    .btn-primary {
      color: #fff;
      background: linear-gradient(135deg, var(--primary-blue), #0645C8);
      box-shadow: 0 8px 18px rgba(11, 91, 230, 0.18);
    }
    .btn-primary:hover { box-shadow: 0 10px 22px rgba(11, 91, 230, 0.20); }
    .btn-soft {
      color: var(--dark-blue);
      background: rgba(255,255,255,.74);
      border-color: rgba(10,31,68,.10);
      box-shadow: 0 6px 14px rgba(10,31,68,.05);
    }
    .btn-whatsapp {
      color: #fff;
      background: linear-gradient(135deg, #20C76E, #0C9E55);
      box-shadow: 0 8px 18px rgba(22, 163, 74, 0.18);
    }

    .page {
      position: relative;
      padding: 42px 0 74px;
    }

    .floating-cookie {
      position: absolute;
      width: var(--size, 120px);
      aspect-ratio: 1 / 1;
      background: var(--cookie-src) center / contain no-repeat;
      pointer-events: none;
      filter: none;
      opacity: var(--opacity, .94);
      transform: rotate(var(--rotate, 0deg));
      z-index: 0;
      animation: none;
      display: none;
    }

    .floating-cookie.one { --size: 168px; --rotate: 17deg; right: -54px; top: 72px; }
    .floating-cookie.two { --size: 92px; --rotate: -19deg; left: 4%; top: 520px; animation-name: floatB; }
    .floating-cookie.three { --size: 42px; --rotate: 28deg; right: 10%; bottom: 80px; animation-name: floatC; opacity: .72; }

    @keyframes floatA { 0%,100% { transform: translateY(0) rotate(var(--rotate,0deg)); } 50% { transform: translateY(-14px) rotate(calc(var(--rotate,0deg) + 4deg)); } }
    @keyframes floatB { 0%,100% { transform: translate3d(0,0,0) rotate(var(--rotate,0deg)); } 50% { transform: translate3d(8px,-18px,0) rotate(calc(var(--rotate,0deg) - 5deg)); } }
    @keyframes floatC { 0%,100% { transform: translate3d(0,0,0) rotate(var(--rotate,0deg)); } 50% { transform: translate3d(-10px,-12px,0) rotate(calc(var(--rotate,0deg) + 6deg)); } }

    .instagram-shell {
      position: relative;
      z-index: 2;
      width: min(1080px, 100%);
      margin: 0 auto;
      border: 1px solid rgba(10,31,68,.08);
      border-radius: 44px;
      background: rgba(255,255,255,.66);
      box-shadow: var(--shadow-soft);
      overflow: hidden;
    }

    .ig-topbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      padding: 18px 24px;
      border-bottom: 1px solid rgba(10,31,68,.08);
      background: rgba(255,255,255,.76);
    }

    .ig-topbar-title {
      display: flex;
      align-items: center;
      gap: 10px;
      min-width: 0;
      font-weight: 900;
      color: var(--dark-blue);
      letter-spacing: -0.03em;
    }

    .ig-topbar-title span:last-child {
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }

    .ig-status {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 12px;
      border-radius: 999px;
      background: rgba(22, 163, 74, .10);
      color: var(--success);
      font-weight: 900;
      font-size: 13px;
    }
    .ig-status::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: currentColor;
      box-shadow: 0 0 0 5px rgba(22, 163, 74, .10);
    }

    .profile {
      position: relative;
      display: grid;
      grid-template-columns: 210px minmax(0, 1fr);
      gap: 34px;
      padding: 44px 48px 24px;
      background:
        radial-gradient(circle at 13% 12%, rgba(215, 138, 45, .16), transparent 32%),
        radial-gradient(circle at 95% 8%, rgba(11,91,230,.12), transparent 34%),
        rgba(255,255,255,.58);
    }

    .avatar-wrap {
      position: relative;
      display: grid;
      place-items: center;
      align-self: start;
    }

    .avatar-ring {
      width: 182px;
      aspect-ratio: 1 / 1;
      padding: 7px;
      border-radius: 50%;
      background: var(--insta-gradient);
      box-shadow: 0 22px 54px rgba(10,31,68,.15);
    }

    .avatar {
      width: 100%;
      height: 100%;
      border: 7px solid #fff;
      border-radius: 50%;
      background:
        radial-gradient(circle at 42% 30%, rgba(255,255,255,.32), transparent 40%),
        var(--cookie-src) center / 104% no-repeat;
      box-shadow: inset 0 0 0 1px rgba(10,31,68,.06);
    }

    .avatar-badge {
      position: absolute;
      right: 12px;
      bottom: 14px;
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      border: 4px solid #fff;
      border-radius: 50%;
      color: #fff;
      background: var(--primary-blue);
      box-shadow: 0 12px 24px rgba(11,91,230,.24);
      font-weight: 900;
    }

    .profile-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      margin-bottom: 20px;
    }

    .profile-title h1 {
      margin: 0;
      font-family: 'Manrope', system-ui, sans-serif;
      color: var(--dark-blue);
      font-size: clamp(32px, 4.2vw, 50px);
      line-height: 1.08;
      letter-spacing: -0.03em;
    }

    .profile-title .handle {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      margin-bottom: 12px;
      color: rgba(10,31,68,.62);
      font-weight: 900;
      letter-spacing: -0.02em;
    }

    .profile-title .handle i {
      width: 18px;
      height: 18px;
      display: inline-grid;
      place-items: center;
      border-radius: 50%;
      background: var(--primary-blue);
      color: #fff;
      font-size: 11px;
      font-style: normal;
    }

    .profile-actions {
      display: flex;
      gap: 10px;
      align-items: center;
      flex-wrap: wrap;
      justify-content: flex-end;
    }

    .bio {
      max-width: 710px;
      color: rgba(29,36,51,.72);
      font-size: 19px;
      line-height: 1.7;
    }

    .bio strong { color: var(--dark-blue); }

    .bio-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 9px;
      margin-top: 16px;
    }

    .bio-tags span {
      display: inline-flex;
      align-items: center;
      min-height: 34px;
      padding: 8px 12px;
      border-radius: 999px;
      background: rgba(11,91,230,.08);
      color: var(--primary-blue);
      font-size: 13px;
      font-weight: 900;
    }

    .stats {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 12px;
      margin-top: 24px;
    }

    .stat {
      min-height: 92px;
      padding: 16px;
      border: 1px solid rgba(10,31,68,.08);
      border-radius: 20px;
      background: rgba(255,255,255,.82);
      box-shadow: 0 10px 22px rgba(10,31,68,.055);
    }

    .stat b {
      display: block;
      color: var(--dark-blue);
      font-family: 'Manrope', system-ui, sans-serif;
      font-size: 27px;
      letter-spacing: -0.06em;
      line-height: 1;
    }

    .stat span {
      display: block;
      margin-top: 8px;
      color: rgba(29,36,51,.58);
      font-size: 12px;
      line-height: 1.35;
      font-weight: 800;
    }

    .highlights {
      padding: 22px 30px 32px;
      border-top: 1px solid rgba(10,31,68,.07);
      background: rgba(255,255,255,.50);
    }

    .highlight-row {
      display: flex;
      gap: 18px;
      overflow-x: auto;
      padding: 4px 4px 10px;
      scrollbar-width: thin;
    }

    .highlight {
      min-width: 98px;
      display: grid;
      justify-items: center;
      gap: 10px;
      cursor: pointer;
      background: transparent;
      color: var(--dark-blue);
    }

    .highlight-circle {
      width: 82px;
      aspect-ratio: 1 / 1;
      padding: 4px;
      border-radius: 50%;
      background: linear-gradient(135deg, rgba(11,91,230,.84), rgba(215,138,45,.88));
      transition: transform .2s ease, box-shadow .2s ease;
      box-shadow: 0 12px 28px rgba(10,31,68,.10);
    }

    .highlight:hover .highlight-circle { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(10,31,68,.16); }

    .highlight-inner {
      width: 100%;
      height: 100%;
      display: grid;
      place-items: center;
      border: 4px solid #fff;
      border-radius: 50%;
      background: #fff;
      color: var(--primary-blue);
      font-size: 24px;
      font-weight: 900;
    }

    .highlight-label {
      color: rgba(10,31,68,.72);
      font-size: 13px;
      line-height: 1.15;
      font-weight: 900;
      text-align: center;
    }

    .feed-head {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 34px;
      min-height: 58px;
      border-top: 1px solid rgba(10,31,68,.08);
      border-bottom: 1px solid rgba(10,31,68,.08);
      background: rgba(255,255,255,.62);
      color: rgba(10,31,68,.52);
      font-size: 13px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .08em;
    }

    .feed-head span:first-child { color: var(--dark-blue); }

    .feed {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2px;
      background: rgba(10,31,68,.08);
    }

    .post {
      position: relative;
      aspect-ratio: 1 / 1;
      padding: 18px;
      cursor: pointer;
      overflow: hidden;
      background: #fff;
      border: 0;
      text-align: left;
      color: var(--text);
    }

    .post::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at 82% 12%, rgba(255,255,255,.36), transparent 30%),
        linear-gradient(135deg, rgba(11,91,230,.10), rgba(215,138,45,.08));
      opacity: .7;
      transition: opacity .2s ease, transform .35s ease;
    }

    .post:hover::before { opacity: 1; transform: scale(1.05); }

    .post.dark {
      background: linear-gradient(135deg, var(--dark-blue), #0B4FC5);
      color: #fff;
    }
    .post.dark::before { background: radial-gradient(circle at 88% 12%, rgba(255,255,255,.18), transparent 32%); }

    .post.success {
      background: linear-gradient(135deg, rgba(22,163,74,.13), #fff);
    }

    .post.warning {
      background: linear-gradient(135deg, rgba(215,138,45,.20), #fff);
    }

    .post-content {
      position: relative;
      z-index: 2;
      display: flex;
      height: 100%;
      flex-direction: column;
      justify-content: space-between;
      gap: 12px;
    }

    .post-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .post-badge {
      display: inline-flex;
      align-items: center;
      min-height: 32px;
      padding: 8px 11px;
      border-radius: 999px;
      background: rgba(255,255,255,.72);
      color: var(--primary-blue);
      font-size: 12px;
      font-weight: 900;
    }
    .post.dark .post-badge { background: rgba(255,255,255,.12); color: #fff; }

    .post-icon {
      width: 44px;
      height: 44px;
      display: grid;
      place-items: center;
      border-radius: 15px;
      background: rgba(11,91,230,.10);
      color: var(--primary-blue);
      font-size: 22px;
      font-weight: 900;
    }
    .post.dark .post-icon { background: rgba(255,255,255,.12); color: #fff; }

    .post h3 {
      margin: 0;
      max-width: 92%;
      font-family: 'Manrope', system-ui, sans-serif;
      color: var(--dark-blue);
      font-size: 20px;
      line-height: 1.28;
      letter-spacing: -0.02em;
    }
    .post.dark h3 { color: #fff; }

    .post-metric {
      display: block;
      font-family: 'Manrope', system-ui, sans-serif;
      color: var(--primary-blue);
      font-size: clamp(32px, 5vw, 52px);
      line-height: .86;
      letter-spacing: -0.07em;
      font-weight: 700;
    }
    .post.dark .post-metric { color: #fff; }
    .post.success .post-metric { color: var(--success); }
    .post.warning .post-metric { color: var(--warning); }

    .post p {
      margin: 0;
      color: rgba(29,36,51,.66);
      font-size: 15px;
      line-height: 1.65;
      font-weight: 700;
    }
    .post.dark p { color: rgba(255,255,255,.76); }

    .post .post-cookie {
      position: absolute;
      right: -28px;
      bottom: -26px;
      width: 112px;
      aspect-ratio: 1 / 1;
      background: var(--cookie-src) center / contain no-repeat;
      opacity: .92;
      filter: none;
      transform: rotate(18deg);
      z-index: 1;
    }

    .cta-strip {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 20px;
      align-items: center;
      padding: 28px 34px;
      border-top: 1px solid rgba(10,31,68,.08);
      background: var(--dark-blue);
      color: #fff;
    }

    .cta-strip h2 {
      margin: 0;
      font-family: 'Manrope', system-ui, sans-serif;
      font-size: clamp(28px, 3.5vw, 42px);
      line-height: 1.12;
      letter-spacing: -0.02em;
      color: #fff;
    }
    .cta-strip p { margin: 8px 0 0; color: rgba(255,255,255,.72); }

    .story-modal,
    .post-modal {
      position: fixed;
      inset: 0;
      z-index: 100;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 20px;
      overflow-y: auto;
      overflow-x: hidden;
      background: rgba(10,31,68,.70);
      backdrop-filter: none;
    }

    .story-open .story-modal,
    .post-open .post-modal { display: flex; }

    .story-card {
      position: relative;
      display: flex;
      flex-direction: column;
      width: min(430px, 100%);
      height: min(760px, calc(100dvh - 40px));
      max-height: min(760px, calc(100dvh - 40px));
      border-radius: 34px;
      overflow: hidden;
      background:
        radial-gradient(circle at 96% 6%, rgba(215,138,45,.20), transparent 32%),
        linear-gradient(180deg, #fff, #F9FBFF);
      box-shadow: 0 16px 38px rgba(0,0,0,.24);
      border: 1px solid rgba(255,255,255,.26);
    }

    .story-progress {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 5px;
      padding: 14px 16px 0;
    }
    .story-progress span {
      height: 4px;
      border-radius: 999px;
      background: rgba(10,31,68,.12);
      overflow: hidden;
    }
    .story-progress span.active::after {
      content: "";
      display: block;
      height: 100%;
      width: 100%;
      background: var(--primary-blue);
    }

    .story-inner {
      position: relative;
      z-index: 2;
      display: flex;
      flex-direction: column;
      gap: 18px;
      min-height: 0;
      flex: 1 1 auto;
      padding: 22px;
      overflow-y: auto;
      overflow-x: hidden;
    }

    .story-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .story-profile {
      display: flex;
      align-items: center;
      gap: 10px;
      min-width: 0;
    }

    .story-avatar {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: var(--cookie-src) center / cover no-repeat;
      box-shadow: 0 8px 18px rgba(107,62,46,.20);
    }

    .story-profile strong {
      display: block;
      color: var(--dark-blue);
      line-height: 1.1;
      font-weight: 900;
    }
    .story-profile span {
      display: block;
      color: rgba(29,36,51,.50);
      font-size: 12px;
      font-weight: 800;
    }

    .modal-close {
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      border-radius: 14px;
      background: rgba(10,31,68,.06);
      color: var(--dark-blue);
      cursor: pointer;
      font-size: 22px;
      font-weight: 900;
    }

    .story-main {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 14px;
    }

    .story-kicker {
      display: inline-flex;
      width: fit-content;
      align-items: center;
      min-height: 34px;
      padding: 8px 12px;
      border-radius: 999px;
      background: rgba(107,62,46,.08);
      color: var(--cookie-brown);
      font-size: 13px;
      font-weight: 900;
    }

    .story-main h2 {
      margin: 0;
      color: var(--dark-blue);
      font-family: 'Manrope', system-ui, sans-serif;
      font-size: clamp(22px, 2.8vw, 34px);
      line-height: 1.08;
      letter-spacing: -0.02em;
      min-height: 2.16em;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .story-main p {
      margin: 0;
      color: rgba(29,36,51,.66);
      font-size: 17px;
      line-height: 1.55;
      font-weight: 700;
    }

    .story-metric-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
    }
    .story-metric-grid.single { grid-template-columns: 1fr; }

    .story-metric {
      padding: 14px;
      border: 1px solid rgba(10,31,68,.08);
      border-radius: 18px;
      background: #fff;
    }
    .story-metric b {
      display: block;
      color: var(--primary-blue);
      font-family: 'Manrope', system-ui, sans-serif;
      font-size: 27px;
      letter-spacing: -0.06em;
      line-height: 1;
    }
    .story-metric span {
      display: block;
      margin-top: 8px;
      color: rgba(29,36,51,.58);
      font-size: 12px;
      font-weight: 800;
      line-height: 1.35;
    }
    .story-metric-grid.single .story-metric {
      display: grid;
      grid-template-columns: auto 1fr;
      align-items: center;
      gap: 12px;
      padding: 12px 14px;
    }
    .story-metric-grid.single .story-metric b {
      margin: 0;
      white-space: nowrap;
    }
    .story-metric-grid.single .story-metric span {
      margin-top: 0;
      font-size: 13px;
      line-height: 1.28;
    }

    .story-list {
      display: grid;
      gap: 10px;
      margin: 0;
      padding: 0;
      list-style: none;
    }
    .story-list li {
      display: grid;
      grid-template-columns: 28px 1fr;
      gap: 10px;
      align-items: start;
      padding: 12px;
      border-radius: 16px;
      background: rgba(10,31,68,.045);
      color: rgba(29,36,51,.72);
      font-weight: 800;
      line-height: 1.35;
      font-size: 14px;
    }
    .story-list i {
      width: 28px;
      height: 28px;
      display: grid;
      place-items: center;
      border-radius: 10px;
      background: rgba(11,91,230,.10);
      color: var(--primary-blue);
      font-style: normal;
      font-weight: 900;
    }

    .story-actions {
      display: grid;
      grid-template-columns: 48px 1fr 48px;
      gap: 10px;
      align-items: center;
    }

    .story-nav-btn {
      width: 48px;
      height: 48px;
      border-radius: 16px;
      background: rgba(10,31,68,.06);
      color: var(--dark-blue);
      cursor: pointer;
      font-size: 20px;
      font-weight: 900;
    }

    .story-cta {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 48px;
      border-radius: 16px;
      background: linear-gradient(135deg, var(--primary-blue), #0645C8);
      color: #fff;
      font-weight: 900;
      box-shadow: 0 16px 34px rgba(11,91,230,.24);
    }

    .post-detail-card {
      width: min(900px, 100%);
      max-width: 100%;
      max-height: min(720px, calc(100dvh - 40px));
      display: grid;
      grid-template-columns: minmax(320px, .95fr) minmax(300px, .8fr);
      overflow: hidden;
      border-radius: 34px;
      background: #fff;
      box-shadow: 0 16px 38px rgba(0,0,0,.24);
    }

    .post-detail-visual {
      position: relative;
      min-height: 520px;
      padding: 34px;
      background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
      color: #fff;
      overflow: hidden;
    }
    .post-detail-visual::after {
      content: "";
      position: absolute;
      right: -80px;
      bottom: -90px;
      width: 250px;
      aspect-ratio: 1 / 1;
      background: var(--cookie-src) center / contain no-repeat;
      filter: none;
      transform: rotate(18deg);
    }
    .post-detail-visual span {
      display: inline-flex;
      min-height: 34px;
      padding: 8px 12px;
      border-radius: 999px;
      background: rgba(255,255,255,.12);
      font-weight: 900;
      color: rgba(255,255,255,.86);
    }
    .post-detail-visual b {
      display: block;
      margin-top: 70px;
      font-family: 'Manrope', system-ui, sans-serif;
      font-size: clamp(58px, 9vw, 108px);
      line-height: .82;
      letter-spacing: -0.08em;
    }
    .post-detail-visual p { color: rgba(255,255,255,.75); margin-top: 20px; font-size: 18px; }

    .post-detail-info {
      padding: 26px;
      overflow: hidden;
    }
    .post-detail-head {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: center;
      margin-bottom: 18px;
    }
    .post-detail-profile { display: flex; align-items: center; gap: 10px; font-weight: 900; color: var(--dark-blue); }
    .post-detail-profile .story-avatar { width: 40px; height: 40px; }
    .post-detail-info h2 {
      margin: 0 0 12px;
      color: var(--dark-blue);
      font-family: 'Manrope', system-ui, sans-serif;
      font-size: clamp(28px, 3.5vw, 42px);
      line-height: 1.12;
      letter-spacing: -0.02em;
    }
    .post-detail-info p { margin: 0; color: rgba(29,36,51,.66); font-weight: 700; }
    .post-detail-list { display: grid; gap: 10px; padding: 0; margin: 22px 0 0; list-style: none; }
    .post-detail-list li {
      display: flex;
      gap: 10px;
      align-items: flex-start;
      padding: 13px;
      border-radius: 16px;
      background: rgba(10,31,68,.045);
      color: rgba(29,36,51,.72);
      font-weight: 800;
      line-height: 1.4;
    }

    .footer {
      position: relative;
      padding: 0 0 72px;
    }
    .footer-card {
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(10,31,68,.09);
      border-radius: 36px;
      background: rgba(255,255,255,.84);
      box-shadow: var(--shadow-soft);
      padding: 26px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1fr 2.8fr 1fr 1fr;
      gap: 18px;
    }
    .footer-services-columns {
      display: grid !important;
      grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
      gap: 14px !important;
      align-items: start !important;
    }
    .footer-services-columns ul {
      min-width: 0;
    }
    .footer-services-columns li {
      min-width: 0;
    }
    .footer-services-columns a {
      display: block;
      overflow-wrap: anywhere;
      word-break: break-word;
    }
    .footer-card h4 {
      margin: 0 0 14px;
      color: var(--dark-blue);
      font-size: 14px;
      font-family: 'Manrope', system-ui, sans-serif;
      letter-spacing: -0.03em;
    }
    .footer-card ul {
      padding: 0;
      margin: 0;
      list-style: none;
      display: grid;
      gap: 10px;
      color: rgba(29,36,51,.64);
      font-weight: 700;
      font-size: 14px;
    }
    .footer-card li a { transition: color .2s ease; }
    .footer-card li a:hover { color: var(--primary-blue); }
    .footer-brand p { margin-top: 12px; font-size: 14px; color: rgba(29,36,51,.66); }
    .footer-bottom {
      margin-top: 18px;
      padding-top: 16px;
      border-top: 1px solid rgba(10,31,68,.09);
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: space-between;
      color: rgba(29,36,51,.58);
      font-size: 13px;
      font-weight: 700;
    }
    .post-detail-list li::before {
      content: "✓";
      width: 22px;
      height: 22px;
      display: grid;
      place-items: center;
      flex: 0 0 auto;
      border-radius: 50%;
      background: rgba(22,163,74,.12);
      color: var(--success);
      font-weight: 900;
      font-size: 12px;
      margin-top: 1px;
    }

    .story-main p,
    .story-list li,
    .post-detail-info h2,
    .post-detail-info p,
    .post-detail-list li {
      overflow-wrap: anywhere;
      word-break: break-word;
    }

    .reveal { opacity: 1; transform: none; transition: none; }
    .reveal.in-view { opacity: 1; transform: none; }

    .stat b,
    .post-metric,
    .story-metric b,
    .post-detail-visual b {
      font-family: var(--num-font);
      font-weight: var(--num-weight);
      letter-spacing: var(--num-tracking);
      font-variant-numeric: lining-nums tabular-nums;
    }

    @media (max-width: 980px) {
      .nav-links { display: none; }
      .profile { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 34px 24px 24px; }
      .profile-head { flex-direction: column; justify-content: center; }
      .profile-actions { justify-content: center; }
      .bio { margin: 0 auto; }
      .bio-tags { justify-content: center; }
      .stats { grid-template-columns: repeat(2, 1fr); }
      .feed { grid-template-columns: repeat(2, 1fr); }
      .cta-strip { grid-template-columns: 1fr; text-align: center; justify-items: center; }
      .post-detail-card { grid-template-columns: 1fr; overflow-y: auto; }
      .post-detail-visual { min-height: 380px; }
      .post-detail-visual b { margin-top: 40px; }
    }

    @media (max-width: 620px) {
      .container { width: min(100% - 24px, var(--container)); }
      .story-modal,
      .post-modal { padding: 0; align-items: stretch; justify-content: stretch; }
      .post-modal { padding: 8px; align-items: center; justify-content: center; }
      .site-header .btn-soft { display: none; }
      .nav { height: 68px; }
      .page { padding-top: 20px; }
      .instagram-shell { border-radius: 30px; }
      .ig-topbar { padding: 14px 16px; }
      .ig-status { display: none; }
      .avatar-ring { width: 146px; }
      .avatar-badge { right: 6px; bottom: 6px; }
      .profile-title h1 { font-size: clamp(30px, 10vw, 38px); }
      .bio { font-size: 16px; }
      .stats { grid-template-columns: 1fr 1fr; gap: 8px; }
      .stat { min-height: 84px; padding: 13px; }
      .highlights { padding: 18px 14px 22px; }
      .highlight { min-width: 82px; }
      .highlight-circle { width: 70px; }
      .feed-head { gap: 16px; font-size: 11px; }
      .feed { grid-template-columns: 1fr; }
      .post { aspect-ratio: 1 / .88; padding: 18px; }
      .cta-strip { padding: 25px 20px; }
      .cta-strip .btn { width: 100%; white-space: normal; text-align: center; }
      .story-card { width: 100vw; min-height: 100dvh; max-height: 100dvh; border-radius: 0; }
      .story-inner { min-height: calc(100dvh - 30px); max-height: calc(100dvh - 30px); padding: 16px; gap: 14px; }
      .story-main { justify-content: flex-start; gap: 10px; }
      .story-main h2 {
        font-size: 22px;
        line-height: 1.08;
        min-height: 2.16em;
      }
      .story-main p {
        font-size: 14px;
        line-height: 1.45;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }
      .story-metric-grid { grid-template-columns: 1fr; }
      .story-metric { padding: 12px; border-radius: 14px; }
      .story-metric b { font-size: 23px; }
      .story-list { gap: 8px; }
      .story-list li { padding: 10px; font-size: 13px; }
      .story-list li span {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }
      .story-actions { margin-top: auto; }
      .post-detail-card {
        width: min(520px, calc(100vw - 16px));
        min-height: 0;
        max-height: calc(100dvh - 16px);
        border-radius: 24px;
        grid-template-columns: 1fr;
        grid-template-rows: minmax(220px, 42dvh) 1fr;
        overflow: hidden;
      }
      .post-detail-visual { min-height: 0; height: 100%; padding: 14px 14px 12px; }
      .post-detail-visual::after { width: 120px; right: -40px; bottom: -42px; opacity: .4; }
      .post-detail-visual b { margin-top: 18px; font-size: clamp(34px, 12vw, 52px); }
      .post-detail-visual p {
        margin-top: 8px;
        font-size: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }
      .post-detail-info { padding: 12px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
      .post-detail-head { margin-bottom: 8px; }
      .post-detail-profile .story-avatar { width: 30px; height: 30px; }
      .post-detail-profile { gap: 8px; font-size: 13px; }
      .post-detail-info h2 { margin-bottom: 4px; font-size: 20px; line-height: 1.05; }
      .post-detail-info p {
        font-size: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }
      .post-detail-list { margin-top: 2px; gap: 6px; }
      .post-detail-list li { padding: 8px; font-size: 12px; line-height: 1.25; max-height: 48px; overflow: hidden; }
      .modal-close { width: 34px; height: 34px; border-radius: 11px; font-size: 18px; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
      .footer-services-columns {
        grid-template-columns: 1fr 1fr !important;
      }
    }

    @media (max-width: 420px) {
      .nav { height: 64px; gap: 10px; }
      .brand { font-size: 16px; gap: 8px; }
      .brand-cookie { width: 26px; height: 26px; }
      .nav-actions .btn { min-height: 40px; padding: 10px 12px; font-size: 12px; border-radius: 12px; }
      .profile-title h1 { font-size: clamp(30px, 10vw, 38px); line-height: 1; }
      .bio { font-size: 14px; }
      .bio-tags span { min-height: 30px; padding: 6px 10px; font-size: 11px; }
      .stat { min-height: 78px; padding: 12px; border-radius: 16px; }
      .stat b { font-size: 22px; }
      .stat span { font-size: 11px; }
      .post { padding: 14px; }
      .post-metric { font-size: 24px; }
      .post h3 { font-size: 19px; }
      .story-main h2 { font-size: 20px; }
      .story-actions { grid-template-columns: 42px 1fr 42px; }
      .post-detail-visual b { font-size: clamp(28px, 10vw, 40px); }
      .post-detail-info h2 { font-size: 18px; }
      .footer-card { border-radius: 24px; padding: 18px; }
      .footer-grid { grid-template-columns: 1fr; }
      .footer-services-columns {
        grid-template-columns: 1fr !important;
      }
    }







