 * {
     box-sizing: border-box
 }

 body {
     margin: 0;
     font: 16px/1.65 system-ui, sans-serif;
     color: #183a30;
     background: #f5f4ec
 }

 header,
 footer {
     padding: 20px max(5vw, 20px);
     background: #123d32;
     color: white
 }

 header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     flex-wrap: wrap
 }

 a {
     color: inherit
 }

 nav a {
     margin: 0 8px
 }

 .hero {
     background: radial-gradient(ellipse at top right, #548369, transparent 65%), #123d32;
     color: white;
     padding: 80px 6vw;
     display: grid;
     grid-template-columns: 1.3fr 1fr;
     gap: 40px;
     align-items: center
 }

 h1 {
     font-size: clamp(38px, 5vw, 76px);
     line-height: 1.05;
     margin: 15px 0
 }

 h2 {
     font-size: clamp(25px, 3vw, 40px);
     line-height: 1.2
 }

 button,
 .cta {
     display: inline-block;
     border: 0;
     border-radius: 10px;
     padding: 14px 22px;
     background: #dce8b7;
     color: #133b30;
     font: inherit;
     font-weight: 700;
     cursor: pointer;
     text-decoration: none
 }

 main {
     max-width: 1100px;
     margin: auto;
     padding: 30px 20px
 }

 section {
     margin: 35px 0
 }

 .panel {
     background: white;
     border: 1px solid #dce3d7;
     border-radius: 20px;
     padding: clamp(16px, 4vw, 40px)
 }

 .hero .panel {
     background: #ffffff12;
     border-color: #ffffff33
 }

 .muted {
     color: #52675e
 }

 .hero .muted {
     color: #d4e2d7
 }

 .grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
     gap: 16px
 }

 .stat {
     background: #eaf0e4;
     border-radius: 12px;
     padding: 16px
 }

 .stat strong {
     display: block;
     font-size: 26px
 }

 table {
     width: 100%;
     border-collapse: collapse
 }

 th,
 td {
     text-align: left;
     padding: 10px 5px;
     border-bottom: 1px solid #e5e9e1
 }

 input {
     width: 100%;
     min-width: 0;
     padding: 10px;
     border: 1px solid #a9bbae;
     border-radius: 7px;
     font: inherit
 }

 td:not(:first-child) {
     width: 27%
 }

 .bar {
     height: 10px;
     border-radius: 6px;
     background: #39836a;
     margin: 5px 0
 }

 .prior {
     background: #a7b6bc
 }

 .actions {
     display: flex;
     gap: 10px;
     flex-wrap: wrap
 }

 details {
     border-bottom: 1px solid #dce3d7;
     padding: 12px 0
 }

 summary {
     cursor: pointer;
     font-weight: 600
 }

 footer a {
     display: inline-block;
     margin-right: 15px
 }

 @media(max-width:650px) {
     .hero {
         grid-template-columns: 1fr;
         padding: 45px 20px
     }

     nav {
         font-size: 13px
     }

     th,
     td {
         font-size: 13px
     }

     input {
         padding: 7px
     }
 }

 @media print {

     header,
     footer,
     .hero,
     .actions,
     #sources,
     #faq {
         display: none
     }

     body {
         background: white
     }

     main {
         padding: 0
     }
 }

 :root {
     --green: #123d32;
     --cream: #f5f4ec;
     --lime: #dce8b7
 }

 body {
     font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif
 }

 header {
     gap: 20px;
     padding-block: 18px
 }

 .brand {
     font-size: 25px;
     font-weight: 850;
     letter-spacing: -1px;
     text-decoration: none
 }

 .brand small {
     font-size: 10px;
     letter-spacing: 2px;
     display: block;
     font-weight: 500
 }

 nav {
     display: flex;
     gap: 5px;
     flex-wrap: wrap
 }

 nav a {
     text-decoration: none;
     padding: 7px 3px;
     margin: 0 5px
 }

 nav a[aria-current=page] {
     border-bottom: 2px solid #dce8b7
 }

 .hero {
     min-height: 510px
 }

 .hero p {
     max-width: 650px;
     font-size: 18px
 }

 .hero .muted {
     font-size: 14px
 }

 .secondary {
     background: transparent;
     border: 1px solid #a7c5a8;
     color: white
 }

 .eyebrow {
     font-size: 12px;
     letter-spacing: 2px;
     font-weight: 750;
     text-transform: uppercase
 }

 .screen {
     background: #f8f9f3;
     color: #183a30;
     border: 8px solid #214b40;
     border-radius: 18px;
     padding: 22px;
     box-shadow: 0 24px 70px #041d1690;
     transform: rotate(-2deg)
 }

 .screen .stat {
     padding: 10px
 }

 .screen .stat strong {
     font-size: 20px
 }

 .screen svg {
     display: block;
     width: 100%;
     margin: 20px 0
 }

 .screen .grid {
     grid-template-columns: 1fr 1fr
 }

 .split {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 30px;
     align-items: center
 }

 .dark {
     background: #123d32;
     color: white
 }

 .dark p {
     color: #e0e9dc
 }

 .cards {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 18px
 }

 .tile {
     padding: 24px;
     background: #fff;
     border: 1px solid #dce3d7;
     border-radius: 16px
 }

 .tile h3 {
     margin: 8px 0
 }

 .num {
     font-size: 13px;
     color: #66816e;
     letter-spacing: 2px
 }

 .intro {
     padding: 42px 0 10px
 }

 .intro h1 {
     font-size: clamp(36px, 5vw, 60px)
 }

 .legal {
     max-width: 1000px
 }

 .legal h2 {
     font-size: 24px;
     margin-top: 32px
 }

 .legal p {
     overflow-wrap: anywhere
 }

 .notice {
     background: #eaf0e4;
     border-left: 4px solid #63846a;
     padding: 15px 20px;
     border-radius: 5px;
     color: #244c3d
 }

 footer {
     padding-top: 40px;
     padding-bottom: 30px
 }

 .footgrid {
     display: grid;
     grid-template-columns: 1.3fr 1fr 1fr;
     gap: 30px
 }

 .footgrid a {
     display: block;
     margin: 5px 0
 }

 .footgrid p {
     font-size: 14px;
     color: #d8e6d9
 }

 .footnote {
     border-top: 1px solid #ffffff30;
     margin-top: 25px;
     padding-top: 15px;
     font-size: 13px
 }

 .formgrid {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 16px
 }

 label {
     display: block;
     font-weight: 600
 }

 select,
 textarea {
     width: 100%;
     font: inherit;
     padding: 10px;
     border: 1px solid #a9bbae;
     border-radius: 7px;
     background: white;
     color: #183a30
 }

 textarea {
     min-height: 110px
 }

 input[type=checkbox] {
     width: auto
 }

 .check {
     display: flex;
     gap: 10px;
     align-items: flex-start;
     font-weight: 400
 }

 .formgrid .full {
     grid-column: 1/-1
 }

 .skip {
     position: absolute;
     left: -999px
 }

 .skip:focus {
     left: 10px;
     top: 10px;
     background: white;
     padding: 10px;
     z-index: 99
 }

 a:focus-visible,
 button:focus-visible,
 input:focus-visible,
 select:focus-visible {
     outline: 3px solid #c49940;
     outline-offset: 3px
 }

 .small {
     font-size: 13px
 }

 .sectionhead {
     max-width: 720px
 }

 .pill {
     display: inline-block;
     background: #e7eddb;
     color: #234d3e;
     border-radius: 30px;
     padding: 5px 12px;
     font-size: 12px;
     font-weight: 650
 }

 .toolbar {
     display: flex;
     gap: 15px;
     flex-wrap: wrap;
     margin: 15px 0
 }

 .toolbar label {
     flex: 1;
     min-width: 140px
 }

 .toolbar input {
     margin-top: 5px
 }

 .bars-row {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 15px
 }

 .bartrack {
     background: #edf0eb;
     border-radius: 7px
 }

 .bartrack .bar {
     margin: 0
 }

 .link {
     font-weight: 650;
     text-underline-offset: 4px
 }

 .mobile-toggle {
     display: none
 }

 @media(max-width:780px) {

     .split,
     .footgrid,
     .cards {
         grid-template-columns: 1fr
     }

     .hero {
         grid-template-columns: 1fr;
         min-height: unset;
         padding: 45px 5vw
     }

     .screen {
         transform: none
     }

     .mobile-toggle {
         display: block;
         padding: 8px 13px
     }

     header nav {
         display: none;
         width: 100%;
         flex-direction: column
     }

     header nav.open {
         display: flex
     }

     .formgrid {
         grid-template-columns: 1fr
     }

     .formgrid .full {
         grid-column: auto
     }

     .hero h1 {
         font-size: 43px
     }
 }

 @media print {

     .no-print,
     .intro,
     .desktop-promo,
     .toolbar,
     .cards {
         display: none !important
     }

     .panel {
         border: 0;
         padding: 0
     }

     main {
         max-width: none
     }

     .bar {
         print-color-adjust: exact
     }
 }

 /* Habands 2.0 — editorial + analytical system */
 :root {
     --green: #123d32;
     --deep: #102f28;
     --cream: #f5f4ec;
     --lime: #dce8b7;
     --line: #dfe5d9;
     --ink: #173a30;
     --gold: #b9a16b
 }

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

 body {
     background: var(--cream);
     color: var(--ink);
     font-size: 16px
 }

 header {
     position: sticky;
     top: 0;
     z-index: 30;
     background: #123d32f5;
     backdrop-filter: blur(14px);
     padding: 15px max(4vw, 20px);
     border-bottom: 1px solid #ffffff20;
     min-height: 76px
 }

 header nav {
     gap: 16px
 }

 header nav a {
     font-size: 14px;
     position: relative;
     padding: 9px 0;
     margin: 0;
     white-space: nowrap
 }

 header nav a:after {
     content: '';
     position: absolute;
     bottom: 0;
     left: 0;
     width: 100%;
     height: 2px;
     background: #dce8b7;
     transform: scaleX(0);
     transition: transform .25s;
     transform-origin: left
 }

 header nav a:hover:after,
 header nav a[aria-current=page]:after {
     transform: scaleX(1)
 }

 header nav a[aria-current=page] {
     border: 0
 }

 .brand {
     font-size: 31px;
     letter-spacing: -2px;
     line-height: 1.05
 }

 .brand-dot {
     color: #dce8b7
 }

 .brand small {
     letter-spacing: 1.6px;
     margin-top: 6px
 }

 .cta,
 button {
     border-radius: 9px;
     transition: transform .22s, background .22s, box-shadow .22s;
     line-height: 1.35
 }

 .cta:hover,
 button:hover {
     transform: translateY(-2px);
     box-shadow: 0 8px 24px #102f2820;
     background: #ebf2d5
 }

 .secondary:hover {
     background: #ffffff18;
     color: #fff
 }

 .cta:active,
 button:active {
     transform: none
 }

 button:disabled {
     cursor: not-allowed;
     opacity: .5
 }

 .hero {
     padding: 70px max(6vw, 24px);
     gap: 5vw;
     min-height: 590px;
     background: radial-gradient(ellipse at 90% 10%, #376c55, transparent 68%), #102f28
 }

 .hero h1 {
     letter-spacing: -.06em;
     font-weight: 650;
     max-width: 770px;
     font-size: clamp(44px, 6vw, 90px)
 }

 .hero h1 em {
     font-style: normal;
     color: #dce8b7
 }

 .hero p {
     font-size: 19px;
     line-height: 1.65;
     color: #eff4eb
 }

 .hero .eyebrow {
     color: #dce8b7
 }

 .photo-hero {
     position: relative;
     display: flex;
     align-items: center;
     isolation: isolate;
     min-height: min(720px, calc(100svh - 76px));
     background-image: linear-gradient(90deg, rgba(11, 36, 30, .98) 0%, rgba(11, 36, 30, .88) 28%, rgba(11, 36, 30, .45) 62%, rgba(11, 36, 30, .12) 100%), url('images/hero.webp');
     background-size: cover;
     background-position: center;
     overflow: hidden
 }

 .hero-content {
     max-width: 690px;
     animation: hero-in .85s cubic-bezier(.2, .8, .2, 1) both
 }

 .hero-content .actions {
     margin-top: 34px
 }

 .hero-content .cta {
     padding: 17px 24px
 }

 .hero-note {
     position: absolute;
     right: 4vw;
     bottom: 35px;
     border: 1px solid #ffffff55;
     background: #123d32b8;
     backdrop-filter: blur(10px);
     border-radius: 12px;
     padding: 20px;
     max-width: 240px;
     color: #fff;
     animation: hero-in 1s .15s both
 }

 .hero-note span,
 .hero-note small {
     display: block;
     font-size: 11px;
     color: #dce8b7
 }

 .hero-note strong {
     font-size: 21px;
     line-height: 1.3;
     display: block;
     margin: 10px 0
 }

 .hero-note small {
     line-height: 1.4
 }

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

     to {
         opacity: 1;
         transform: translateY(0)
     }
 }

 main {
     max-width: 1320px;
     padding: 36px 32px
 }

 main.legal {
     max-width: 940px
 }

 section {
     margin: 76px 0
 }

 .panel {
     padding: clamp(20px, 4vw, 52px);
     border-radius: 20px;
     box-shadow: 0 10px 48px #173a3007
 }

 .sectionhead {
     max-width: 800px;
     margin-bottom: 30px
 }

 h2 {
     font-size: clamp(30px, 4vw, 52px);
     font-weight: 640;
     letter-spacing: -.045em;
     margin: 10px 0 18px
 }

 h3 {
     font-weight: 680;
     letter-spacing: -.025em
 }

 .intro {
     padding: 46px 0 18px
 }

 .intro h1 {
     letter-spacing: -.05em;
     font-weight: 650
 }

 .eyebrow {
     letter-spacing: 1.8px;
     font-size: 11px
 }

 .trust-strip {
     margin-top: -2px;
     background: white;
     display: grid;
     grid-template-columns: repeat(4, 1fr);
     border: 1px solid var(--line);
     border-radius: 14px;
     overflow: hidden
 }

 .trust-strip>div {
     padding: 20px 24px;
     border-right: 1px solid var(--line);
     display: grid;
     grid-template-columns: auto 1fr;
     column-gap: 14px;
     align-items: center
 }

 .trust-strip>div:last-child {
     border: 0
 }

 .trust-strip span {
     grid-row: span 2;
     color: #68836f;
     font-size: 12px;
     font-weight: 800
 }

 .trust-strip b {
     font-size: 20px
 }

 .trust-strip small {
     color: #62756a
 }

 .feature-bento {
     display: grid;
     grid-template-columns: 1.1fr 1fr .9fr;
     gap: 18px
 }

 .feature-photo {
     position: relative;
     border-radius: 16px;
     min-height: 330px;
     background-position: center;
     background-size: cover;
     overflow: hidden;
     isolation: isolate;
     display: flex;
     align-items: flex-end;
     color: white
 }

 .feature-photo:before {
     content: '';
     position: absolute;
     inset: 0;
     z-index: -1;
     background: linear-gradient(0deg, #102f28ee, transparent 90%);
     transition: background .3s
 }

 .feature-photo>div {
     padding: 26px
 }

 .feature-photo h3 {
     font-size: 27px;
     line-height: 1.15;
     margin: 10px 0 18px
 }

 .feature-photo a,
 .feature-metric a {
     font-size: 14px;
     font-weight: 700;
     text-underline-offset: 4px
 }

 .house-photo {
     background-image: url('images/habitacao.webp')
 }

 .family-photo {
     background-image: url('images/familia.webp')
 }

 .feature-metric {
     background: #dce8b7;
     border-radius: 16px;
     padding: 30px;
     display: flex;
     flex-direction: column;
     justify-content: center
 }

 .feature-metric>strong {
     font-size: clamp(50px, 6vw, 80px);
     line-height: 1.1;
     letter-spacing: -.07em
 }

 .feature-metric>strong span {
     font-size: 23px;
     letter-spacing: -.04em
 }

 .feature-metric p {
     max-width: 240px
 }

 .feature-photo,
 .feature-metric,
 .tile {
     transition: transform .35s, box-shadow .35s
 }

 .feature-photo:hover,
 .feature-metric:hover,
 .tile:hover {
     transform: translateY(-6px);
     box-shadow: 0 18px 34px #173a301a
 }

 .tile {
     border-radius: 13px;
     padding: 30px
 }

 .photo-band {
     min-height: 365px;
     border-radius: 20px;
     display: flex;
     align-items: center;
     padding: clamp(25px, 6vw, 74px);
     background: linear-gradient(90deg, #102f28f2 0%, #102f28c2 48%, #102f2830), url('images/familia.webp') center 48%/cover;
     color: white
 }

 .photo-band>div {
     max-width: 590px
 }

 .photo-band p {
     color: #eaf0e5
 }

 .photo-band .eyebrow {
     color: #dce8b7
 }

 .house-band {
     background-image: linear-gradient(90deg, #102f28f2, #102f2850), url('images/habitacao.webp')
 }

 .desktop-promo {
     background: radial-gradient(ellipse at top right, #32644f, #102f28 78%);
     grid-template-columns: .85fr 1.15fr;
     gap: 40px
 }

 .desktop-promo h2 {
     color: white
 }

 .workbook {
     min-width: 0;
     background: #f8faf7;
     border: 1px solid #b8c8ba;
     color: #213d32;
     border-radius: 13px;
     overflow: hidden;
     box-shadow: 0 24px 70px #0004;
     font-size: 12px;
     line-height: 1.35;
     transform: none;
     text-align: left
 }

 .wb-top {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 8px;
     padding: 12px;
     background: #1c493b;
     color: #fff;
     font-size: 10px
 }

 .traffic {
     display: flex;
     gap: 4px
 }

 .traffic i {
     width: 7px;
     height: 7px;
     display: block;
     background: #d6e2d1;
     border-radius: 50%;
     opacity: .7
 }

 .wb-nav {
     padding: 9px 14px;
     border-bottom: 1px solid var(--line);
     display: flex;
     gap: 18px;
     font-size: 10px
 }

 .wb-title {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 16px 16px 8px
 }

 .wb-title h3 {
     margin: 4px 0;
     font-size: 21px
 }

 .wb-title small,
 .wb-chart small {
     font-size: 9px;
     color: #64776a;
     letter-spacing: 1px
 }

 .wb-kpis {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 6px;
     padding: 8px 16px 14px
 }

 .wb-kpis>div {
     background: #edf2e9;
     padding: 8px;
     border-radius: 5px;
     color: #52675e;
     font-size: 10px
 }

 .wb-kpis strong {
     display: block;
     color: #173a30;
     font-size: 16px;
     margin-top: 5px;
     white-space: nowrap
 }

 .wb-formula {
     display: flex;
     align-items: center;
     border-block: 1px solid var(--line);
     background: white
 }

 .wb-formula span {
     padding: 7px 10px;
     border-right: 1px solid var(--line);
     font-size: 10px
 }

 .wb-table {
     font-size: 10px;
     table-layout: auto;
     background: white;
     width: 100%
 }

 .wb-table th,
 .wb-table td {
     border: 1px solid #e2e7df;
     padding: 6px 7px;
     text-align: right;
     white-space: normal;
     width: auto;
     font-size: inherit
 }

 .wb-table th {
     background: #e9efe6;
     font-weight: 650
 }

 .wb-table th:nth-child(-n+2),
 .wb-table td:nth-child(-n+2) {
     text-align: left
 }

 .wb-table tr td:first-child {
     color: #809077;
     background: #f0f3ed;
     width: 20px
 }

 .wb-table tr:last-child td {
     font-weight: 700;
     background: #e7efdd
 }

 .wb-table td.cell-focus {
     outline: 2px solid #338260;
     outline-offset: -2px
 }

 .wb-chart {
     padding: 14px 16px;
     display: flex;
     gap: 12px;
     align-items: center;
     justify-content: space-between
 }

 .wb-chart strong {
     display: block;
     margin-top: 4px
 }

 .wb-bars {
     height: 56px;
     width: 48%;
     display: flex;
     align-items: flex-end;
     gap: 6px;
     border-bottom: 1px solid #bccabc
 }

 .wb-bars i {
     height: var(--h);
     background: #6d9c82;
     flex: 1;
     border-radius: 3px 3px 0 0;
     transform-origin: bottom;
     animation: bar-in .85s both
 }

 .wb-bars i:last-child {
     background: #246348
 }

 @keyframes bar-in {
     from {
         transform: scaleY(.1)
     }

     to {
         transform: scaleY(1)
     }
 }

 .wb-tabs {
     display: flex;
     gap: 14px;
     align-items: center;
     background: #e8eee3;
     padding: 8px 12px;
     font-size: 10px
 }

 .wb-tabs b {
     border-bottom: 2px solid #246348
 }

 .wb-footer {
     padding: 7px 12px;
     font-size: 9px;
     color: #637567;
     background: #fff
 }

 .calculator {
     padding: clamp(18px, 3vw, 38px);
     scroll-margin-top: 25px
 }

 .calc-head {
     display: flex;
     justify-content: space-between;
     gap: 14px;
     align-items: flex-start
 }

 .calc-head h2 {
     margin: 10px 0
 }

 .calc-head .pill {
     white-space: nowrap
 }

 .calc-jump {
     display: flex;
     gap: 10px;
     flex-wrap: wrap;
     border-block: 1px solid var(--line);
     padding: 13px 0;
     margin: 22px 0
 }

 .calc-jump a {
     padding: 7px 12px;
     background: #eef2e9;
     border-radius: 5px;
     font-size: 13px;
     text-decoration: none;
     font-weight: 650
 }

 .calc-jump a:hover {
     background: #dce8b7
 }

 .calc-section {
     padding: 26px 0 34px;
     border-bottom: 1px solid var(--line);
     scroll-margin-top: 45px
 }

 .step-title {
     display: flex;
     gap: 15px;
     align-items: flex-start;
     margin-bottom: 20px
 }

 .step-title>span {
     padding: 10px;
     border-radius: 8px;
     background: #e8efdf;
     font-weight: 800;
     font-size: 13px
 }

 .step-title h3 {
     font-size: 25px;
     line-height: 1.2;
     margin: 0
 }

 .step-title p {
     color: #627368;
     margin: 6px 0 0;
     font-size: 14px
 }

 .calc-fields {
     display: grid;
     grid-template-columns: repeat(3, minmax(0, 1fr));
     gap: 16px;
     margin: 18px 0
 }

 .calc-fields label {
     font-size: 13px;
     color: #425b4e
 }

 .calc-fields input,
 .calc-fields select {
     margin-top: 5px;
     min-height: 42px;
     background: #fafbf8;
     font-variant-numeric: tabular-nums
 }

 .apply-wrap {
     align-self: end
 }

 .apply-wrap button {
     width: 100%;
     font-size: 14px;
     min-height: 42px
 }

 .table-wrap {
     overflow-x: auto;
     max-width: 100%;
     border: 1px solid var(--line);
     border-radius: 10px;
     background: white;
     overscroll-behavior-inline: contain
 }

 .data-table {
     min-width: 925px;
     table-layout: fixed;
     font-size: 13px
 }

 .data-table th,
 .data-table td {
     padding: 9px 8px;
     border: 1px solid #e1e7dd;
     border-width: 0 1px 1px 0;
     width: auto;
     vertical-align: middle
 }

 .data-table thead th {
     background: #e9efe4;
     font-size: 12px;
     line-height: 1.3
 }

 .data-table th:first-child {
     width: 190px
 }

 .data-table tbody th {
     font-weight: 650;
     background: #f9faf6
 }

 .data-table input {
     border: 1px solid transparent;
     border-radius: 4px;
     background: #f2f6ed;
     padding: 7px 5px;
     font-size: 13px;
     text-align: right;
     font-variant-numeric: tabular-nums;
     width: 100%
 }

 .data-table input:hover,
 .data-table input:focus {
     border-color: #91ad99;
     background: #fff
 }

 .data-table tfoot {
     background: #eaf0e3;
     font-weight: 700
 }

 .rise {
     color: #a54f30;
     font-weight: 650
 }

 .fall {
     color: #1b6848;
     font-weight: 650
 }

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

 .result-grid .stat {
     padding: 16px;
     background: #f0f3eb;
     border: 1px solid #e2e8db;
     font-size: 12px;
     line-height: 1.5;
     min-width: 0
 }

 .result-grid .stat strong {
     font-size: clamp(17px, 2vw, 26px);
     font-variant-numeric: tabular-nums;
     word-break: break-word;
     line-height: 1.25;
     margin-top: 8px
 }

 .result-grid .stat small {
     display: block;
     color: #617368;
     font-size: 11px;
     margin-top: 6px
 }

 .scenario-results {
     grid-template-columns: repeat(3, minmax(0, 1fr))
 }

 .calc-columns {
     display: grid;
     grid-template-columns: 1.3fr .7fr;
     gap: 25px
 }

 .insight {
     background: #102f28;
     color: #f6f8ef;
     border-radius: 12px;
     padding: 25px;
     align-self: start;
     margin-top: 15px
 }

 .insight .eyebrow {
     color: #dce8b7
 }

 .insight h3 {
     font-size: 24px
 }

 .bar-group {
     margin-bottom: 13px
 }

 .bar-group>div:first-child {
     display: flex;
     justify-content: space-between;
     gap: 10px;
     flex-wrap: wrap;
     font-size: 12px
 }

 .bar-group small {
     color: #617368
 }

 .bartrack {
     margin: 5px 0;
     height: 7px;
     overflow: hidden
 }

 .bartrack .bar {
     height: 7px;
     transition: width .35s ease
 }

 .chart-card {
     border: 1px solid var(--line);
     border-radius: 12px;
     padding: 16px;
     background: #fbfcf9
 }

 .chart-card svg {
     display: block;
     width: 100%;
     height: auto;
     max-height: 350px
 }

 .chart-legend {
     display: flex;
     gap: 20px;
     flex-wrap: wrap;
     font-size: 12px
 }

 .key:before {
     content: '';
     display: inline-block;
     width: 12px;
     height: 3px;
     vertical-align: middle;
     margin-right: 6px;
     background: #176044
 }

 .key.stress:before {
     background: #b4653e
 }

 .key.alt:before {
     background: #8b9e3b
 }

 .forecast-table {
     min-width: 650px;
     font-size: 13px;
     font-variant-numeric: tabular-nums
 }

 .forecast-table th,
 .forecast-table td {
     width: auto;
     padding: 9px 12px
 }

 .forecast-details {
     margin-top: 18px
 }

 .basket-table th:first-child {
     width: 180px
 }

 .basket-table th:nth-child(2) {
     width: 90px
 }

 .basket-table th:last-child {
     width: 50px
 }

 .basket-table input[type=text] {
     text-align: left
 }

 .remove-row {
     background: #f3e9e3;
     color: #883d25;
     padding: 5px 9px;
     border-radius: 4px;
     font-size: 18px
 }

 .calculator .actions {
     margin: 18px 0
 }

 .calculator .actions button {
     font-size: 13px;
     padding: 11px 16px
 }

 .pro-callout {
     display: flex;
     gap: 20px;
     align-items: center;
     justify-content: space-between;
     padding: 25px;
     background: #e9efdf;
     border-radius: 12px;
     margin-top: 20px
 }

 .pro-callout h3 {
     margin: 7px 0;
     font-size: 22px
 }

 .pro-callout p {
     margin: 0;
     font-size: 14px
 }

 .pro-callout .cta {
     white-space: nowrap;
     font-size: 14px;
     background: #123d32;
     color: white
 }

 .calc-controls {
     padding-top: 6px
 }

 .reading-progress {
     position: fixed;
     top: 0;
     left: 0;
     right: 0;
     height: 3px;
     z-index: 40;
     background: #c4d99d;
     transform: scaleX(0);
     transform-origin: left;
     pointer-events: none
 }

 .cursor-glow {
     position: fixed;
     top: 0;
     left: 0;
     width: 190px;
     height: 190px;
     border-radius: 50%;
     background: radial-gradient(circle, #b4cf8135, transparent 70%);
     opacity: 0;
     transition: opacity .3s;
     pointer-events: none;
     z-index: 21;
     mix-blend-mode: multiply
 }

 .cursor-glow.visible {
     opacity: .85
 }

 .reveal {
     opacity: 0;
     transform: translateY(20px);
     transition: opacity .65s cubic-bezier(.2, .7, .2, 1), transform .65s cubic-bezier(.2, .7, .2, 1);
     transition-delay: var(--delay, 0ms)
 }

 .reveal.revealed {
     opacity: 1;
     transform: translateY(0)
 }

 .feature-photo.revealed:hover,
 .feature-metric.revealed:hover,
 .tile.revealed:hover {
     transform: translateY(-6px)
 }

 footer {
     background: #102f28;
     padding: 50px max(5vw, 24px) 30px
 }

 footer a {
     text-decoration: none
 }

 footer a:hover {
     text-decoration: underline
 }

 .legal .panel {
     box-shadow: none
 }

 .page-desktop .hero .workbook {
     align-self: center
 }

 @media(max-width:1050px) {
     header {
         gap: 12px
     }

     header nav {
         gap: 10px
     }

     header nav a {
         font-size: 13px
     }

     .hero-note {
         display: none
     }

     .hero {
         min-height: 530px
     }

     .photo-hero {
         min-height: 610px
     }

     .feature-bento {
         grid-template-columns: 1fr 1fr
     }

     .feature-metric {
         grid-column: 1/-1;
         min-height: 190px
     }

     .desktop-promo {
         grid-template-columns: 1fr;
         gap: 22px
     }

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

     .scenario-results {
         grid-template-columns: repeat(3, minmax(0, 1fr))
     }
 }

 @media(max-width:780px) {
     header {
         padding: 12px 18px;
         min-height: 64px
     }

     .brand {
         font-size: 27px
     }

     header nav.open {
         gap: 5px;
         padding-top: 12px
     }

     .hero {
         min-height: unset;
         padding: 48px 20px;
         grid-template-columns: 1fr
     }

     .hero h1 {
         font-size: clamp(44px, 9vw, 62px)
     }

     .photo-hero {
         min-height: 610px;
         align-items: flex-end;
         background-position: 58% center;
         background-image: linear-gradient(0deg, #102f28 2%, #102f28df 44%, #102f2840 100%), url('images/familia.webp')
     }

     .hero-content {
         max-width: 100%
     }

     .hero-content .actions {
         margin-top: 22px
     }

     .hero-content .cta {
         padding: 14px 17px
     }

     .hero p {
         font-size: 16px
     }

     .hero .muted {
         font-size: 12px
     }

     main {
         padding: 24px 16px
     }

     section {
         margin: 42px 0
     }

     .trust-strip {
         grid-template-columns: 1fr 1fr
     }

     .trust-strip>div {
         padding: 14px;
         border-bottom: 1px solid var(--line)
     }

     .trust-strip b {
         font-size: 16px
     }

     .trust-strip small {
         font-size: 11px
     }

     .feature-bento {
         grid-template-columns: 1fr 1fr;
         gap: 10px
     }

     .feature-photo {
         min-height: 255px
     }

     .feature-photo>div {
         padding: 14px
     }

     .feature-photo h3 {
         font-size: 21px
     }

     .feature-metric {
         padding: 20px
     }

     .calc-fields {
         grid-template-columns: repeat(2, minmax(0, 1fr));
         gap: 10px
     }

     .calc-head {
         display: block
     }

     .calc-columns {
         grid-template-columns: 1fr;
         gap: 8px
     }

     .result-grid,
     .scenario-results {
         grid-template-columns: repeat(2, minmax(0, 1fr));
         gap: 8px
     }

     .result-grid .stat {
         padding: 11px
     }

     .result-grid .stat strong {
         font-size: 18px
     }

     .pro-callout {
         display: block;
         padding: 18px
     }

     .pro-callout .cta {
         margin-top: 15px;
         white-space: normal
     }

     .photo-band {
         min-height: 300px
     }

     .wb-nav {
         gap: 10px
     }

     .wb-kpis strong {
         font-size: 14px
     }

     .wb-table th,
     .wb-table td {
         padding: 5px 4px
     }

     .wb-title h3 {
         font-size: 18px
     }

     .calc-jump {
         gap: 5px
     }

     .calc-jump a {
         padding: 6px 8px;
         font-size: 11px
     }

     .calc-fields label {
         font-size: 12px
     }

     .calc-fields input,
     .calc-fields select {
         font-size: 14px
     }

     .chart-card {
         padding: 8px
     }

     .cursor-glow {
         display: none
     }
 }

 @media(max-width:420px) {
     .feature-bento {
         grid-template-columns: 1fr
     }

     .feature-metric {
         grid-column: auto
     }

     .feature-photo {
         min-height: 220px
     }

     .hero-content .actions>.cta {
         width: 100%;
         text-align: center
     }

     .wb-nav {
         gap: 6px
     }

     .wb-top {
         font-size: 8px
     }

     .wb-kpis {
         padding-inline: 8px
     }

     .wb-kpis strong {
         font-size: 12px
     }

     .wb-table {
         font-size: 9px
     }

     .wb-title {
         padding-inline: 8px
     }

     .step-title h3 {
         font-size: 21px
     }

     .result-grid .stat strong {
         font-size: 16px
     }
 }

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

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

     .reveal {
         opacity: 1;
         transform: none
     }

     .cursor-glow {
         display: none !important
     }
 }

 @media print {

     header,
     footer,
     .hero,
     .trust-strip,
     .editorial,
     .photo-band,
     .desktop-promo,
     .reading-progress,
     .cursor-glow,
     .calc-jump,
     .calc-controls,
     .calculator .actions,
     .pro-callout,
     .calc-fields .apply-wrap,
     .remove-row {
         display: none !important
     }

     body,
     main {
         background: white;
         padding: 0;
         max-width: none
     }

     .page-index main>section:not(.calculator),
     .page-simulador main>section:not(.calculator) {
         display: none
     }

     .reveal {
         opacity: 1 !important;
         transform: none !important
     }

     .calculator {
         margin: 0;
         border: 0;
         box-shadow: none;
         padding: 0
     }

     .calc-section {
         break-inside: auto
     }

     .result-grid {
         grid-template-columns: repeat(4, 1fr)
     }

     .table-wrap {
         overflow: visible
     }

     .data-table,
     .forecast-table {
         min-width: 0;
         font-size: 9px;
         table-layout: auto
     }

     .data-table th:first-child,
     .basket-table th:first-child,
     .basket-table th:nth-child(2),
     .basket-table th:last-child {
         width: auto
     }

     .data-table th,
     .data-table td,
     .data-table input {
         font-size: 9px;
         padding: 3px;
         min-width: 0
     }

     .calc-section h3 {
         break-after: avoid
     }

     .chart-card,
     .stat {
         break-inside: avoid
     }

     .bar,
     .stat {
         print-color-adjust: exact
     }

     .wb-table {
         font-size: 9px
     }

     .calc-fields {
         grid-template-columns: repeat(3, 1fr)
     }

     .result-grid .stat strong {
         font-size: 15px
     }
 }

 /* Habands V3 — editorial navigation and help centre */
 .topic-grid {
     display: grid;
     grid-template-columns: repeat(3, minmax(0, 1fr));
     gap: 20px;
     margin-top: 32px
 }

 .topic-card {
     height: 340px;
     perspective: 1400px;
     min-width: 0;
     border-radius: 18px
 }

 .topic-rotor {
     position: relative;
     width: 100%;
     height: 100%;
     transform-style: preserve-3d;
     transition: transform .68s cubic-bezier(.2, .7, .18, 1);
     border-radius: 18px;
     box-shadow: 0 10px 28px #153b3010
 }

 .topic-card.is-flipped .topic-rotor {
     transform: rotateY(180deg)
 }

 .topic-front,
 .topic-back {
     position: absolute;
     inset: 0;
     display: flex;
     flex-direction: column;
     backface-visibility: hidden;
     -webkit-backface-visibility: hidden;
     border-radius: 18px;
     overflow: hidden;
     padding: 25px;
     text-decoration: none;
     min-width: 0
 }

 .topic-front {
     justify-content: space-between;
     color: #fff;
     background-image: linear-gradient(180deg, #0b28264a 0%, transparent 25%, #102f28df 76%, #102f28 100%), var(--topic-image);
     background-size: cover;
     background-position: center
 }

 .topic-index {
     align-self: flex-start;
     border: 1px solid #ffffff66;
     background: #102f2866;
     backdrop-filter: blur(8px);
     font-size: 11px;
     letter-spacing: 1.4px;
     padding: 7px 11px;
     border-radius: 30px
 }

 .topic-front-copy .eyebrow {
     color: #dce8b7;
     font-size: 11px
 }

 .topic-front h3,
 .topic-back h3 {
     font-size: clamp(24px, 2.3vw, 32px);
     line-height: 1.15;
     letter-spacing: -.035em;
     margin: 9px 0 20px
 }

 .topic-open {
     font-size: 13px;
     display: flex;
     align-items: center;
     justify-content: space-between;
     border-top: 1px solid #ffffff50;
     padding-top: 12px;
     font-weight: 600
 }

 .topic-open span {
     font-size: 24px;
     line-height: 1
 }

 .topic-back {
     transform: rotateY(180deg);
     background: linear-gradient(145deg, #123d32, #245b49);
     color: #fff;
     justify-content: center;
     border: 1px solid #32614d;
     gap: 5px
 }

 .topic-back .eyebrow {
     color: #dce8b7;
     font-size: 11px
 }

 .topic-back h3 {
     margin: 8px 0
 }

 .topic-back p {
     font-size: 15px;
     line-height: 1.55;
     color: #e0e9dc;
     margin: 8px 0 17px
 }

 .topic-actions {
     display: flex;
     align-items: center;
     gap: 8px;
     flex-wrap: wrap
 }

 .topic-actions .cta {
     font-size: 13px;
     padding: 12px 14px
 }

 .topic-close {
     padding: 8px 12px;
     background: transparent;
     color: white;
     border: 1px solid #a7c5a8;
     border-radius: 8px;
     font-size: 20px
 }

 .topic-close:hover {
     background: #ffffff18
 }

 .topic-card:not(.is-flipped) .topic-back {
     visibility: hidden
 }

 .topic-card.is-flipped .topic-front {
     pointer-events: none
 }

 .topic-card:focus-within {
     outline: 2px solid #b9a16b;
     outline-offset: 4px
 }

 .topic-front:focus-visible {
     outline-offset: -5px
 }

 .online-intro,
 .faq-teaser {
     display: grid;
     grid-template-columns: 1.15fr .85fr;
     gap: 36px;
     align-items: center
 }

 .online-intro h2,
 .faq-teaser h2 {
     margin: 9px 0 12px
 }

 .online-intro>.cta,
 .faq-teaser>.cta {
     justify-self: end;
     background: #123d32;
     color: white;
     text-align: center
 }

 .online-intro>.cta:hover,
 .faq-teaser>.cta:hover {
     background: #245b49
 }

 .online-steps {
     display: grid;
     gap: 0
 }

 .online-steps>div {
     display: flex;
     align-items: flex-start;
     gap: 17px;
     padding: 17px 0;
     border-bottom: 1px solid var(--line)
 }

 .online-steps>div:last-child {
     border-bottom: 0
 }

 .online-steps b {
     font-size: 20px;
     color: #799181;
     font-weight: 500
 }

 .online-steps strong,
 .online-steps small {
     display: block
 }

 .online-steps small {
     color: #52675e;
     margin-top: 4px
 }

 .guide-hero {
     min-height: 340px;
     display: flex;
     align-items: flex-end;
     border-radius: 18px;
     padding: 40px;
     color: white;
     background-image: linear-gradient(90deg, #102f28e8 0%, #102f2840 75%), var(--topic-image);
     background-size: cover;
     background-position: center
 }

 .guide-hero h2 {
     max-width: 650px;
     font-size: clamp(30px, 4vw, 50px);
     margin: 8px 0;
     letter-spacing: -.045em
 }

 .guide-body {
     display: grid;
     grid-template-columns: 1.8fr 1fr;
     gap: 42px
 }

 .guide-paragraph {
     padding: 22px 0;
     border-bottom: 1px solid var(--line)
 }

 .guide-paragraph:first-child {
     padding-top: 0
 }

 .guide-paragraph:last-child {
     border: 0;
     padding-bottom: 0
 }

 .guide-paragraph h2 {
     font-size: 25px;
     letter-spacing: -.02em;
     margin: 9px 0
 }

 .guide-paragraph p {
     margin: 10px 0
 }

 .guide-paragraph .eyebrow {
     font-size: 10px;
     color: #557767
 }

 .guide-aside {
     border-radius: 12px;
     background: #eff3e9;
     padding: 22px;
     align-self: start
 }

 .guide-aside h3 {
     font-size: 17px;
     margin: 0 0 10px
 }

 .guide-aside a {
     display: block;
     padding: 8px 0;
     font-size: 14px;
     font-weight: 600;
     text-underline-offset: 3px
 }

 .guide-aside hr {
     border: 0;
     border-top: 1px solid var(--line);
     margin: 20px 0
 }

 .faq-search {
     margin-top: 28px
 }

 .faq-search input {
     margin-top: 8px
 }

 .faq-tools {
     display: flex;
     align-items: center;
     gap: 10px;
     flex-wrap: wrap;
     margin: 15px 0
 }

 .faq-tools #faq-count {
     margin-right: auto
 }

 .faq-tools button {
     font-size: 12px;
     padding: 9px 13px
 }

 .faq-nav {
     gap: 8px
 }

 .faq-nav a {
     background: #edf2e8;
     padding: 7px 12px;
     border-radius: 6px;
     margin: 0;
     font-size: 13px
 }

 .faq-group {
     margin: 25px 0
 }

 .faq-group h2 {
     margin: 8px 0 16px
 }

 .faq-item {
     padding: 17px 0
 }

 .faq-item:last-child {
     border-bottom: 0
 }

 .faq-item summary {
     display: block;
     position: relative;
     padding-right: 30px;
     list-style: none
 }

 .faq-item summary::-webkit-details-marker {
     display: none
 }

 .faq-item summary::after {
     content: '+';
     position: absolute;
     right: 4px;
     top: 0;
     font-size: 22px;
     line-height: 1.3;
     color: #48705c
 }

 .faq-item[open] summary::after {
     content: '−'
 }

 .faq-item p {
     color: #40594d;
     margin: 12px 0 0;
     max-width: 850px
 }

 .faq-item[open] p {
     animation: faq-in .25s ease both
 }

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

     to {
         opacity: 1;
         transform: translateY(0)
     }
 }

 [hidden] {
     display: none !important
 }

 @media(max-width:1050px) {
     .topic-grid {
         grid-template-columns: repeat(2, minmax(0, 1fr))
     }

     .topic-card {
         height: 320px
     }
 }

 @media(max-width:780px) {
     .topic-grid {
         gap: 12px
     }

     .topic-card {
         height: 315px
     }

     .topic-front,
     .topic-back {
         padding: 18px
     }

     .topic-front h3,
     .topic-back h3 {
         font-size: 24px
     }

     .topic-back p {
         font-size: 14px
     }

     .online-intro,
     .faq-teaser,
     .guide-body {
         grid-template-columns: 1fr;
         gap: 20px
     }

     .online-intro>.cta,
     .faq-teaser>.cta {
         justify-self: start
     }

     .guide-hero {
         min-height: 280px;
         padding: 23px
     }

     .guide-body {
         padding: 20px
     }

     .faq-tools #faq-count {
         width: 100%
     }

     .faq-item summary {
         font-size: 15px
     }
 }

 @media(max-width:520px) {
     .topic-grid {
         grid-template-columns: 1fr
     }

     .topic-card {
         height: 300px
     }

     .topic-front h3,
     .topic-back h3 {
         font-size: 28px
     }

     .topic-back p {
         font-size: 15px
     }

     .topic-front,
     .topic-back {
         padding: 23px
     }
 }

 @media(prefers-reduced-motion:reduce) {
     .topic-card.is-flipped .topic-rotor {
         transform: none
     }

     .topic-back {
         transform: none
     }

     .topic-card.is-flipped .topic-front {
         visibility: hidden
     }

     .topic-card.is-flipped .topic-back {
         visibility: visible
     }
 }

 .topic-front {
     display: flex;
     flex-direction: column;
     justify-content: flex-end;
 }

 .topic-front-copy {
     margin-top: auto;
 }

 .topic-open {
     margin-top: 20px;
 }

 /* Topic cards — layout fix */

 .topic-front {
     display: flex;
     flex-direction: column;
     justify-content: space-between;
     background-size: cover;
     background-position: center;
     background-repeat: no-repeat;
 }

 .topic-front-copy {
     margin-top: auto;
     width: 100%;
 }

 .topic-front-copy .eyebrow {
     display: block;
     margin-bottom: 8px;
 }

 .topic-front-copy h3 {
     margin: 0 0 20px;
 }

 .topic-open {
     display: flex;
     align-items: center;
     justify-content: space-between;
     width: 100%;
     margin-top: 0;
     padding-top: 12px;
     border-top: 1px solid rgba(255, 255, 255, 0.30);
 }

 @media screen and (min-width: 1051px) {

     .page-index header {
         position: absolute;
         top: 0;
         left: 0;
         width: 100%;
         z-index: 100;
         background: rgba(16, 47, 40, 0.35);
         backdrop-filter: blur(12px);
         -webkit-backdrop-filter: blur(12px);
         border-bottom: 1px solid rgba(255, 255, 255, 0.15);
     }

     .page-index .photo-hero {
         min-height: 100vh;
         min-height: 100svh;
         width: 100%;
         padding-top: 120px;
         background-size: cover;
         background-position: center center;
         display: flex;
         align-items: center;
     }
 }

 /* ========================================
   PREMIUM GUIDE HERO
======================================== */

 .guide-hero.guide-hero-premium {
     position: relative;
     isolation: isolate;

     display: flex;
     align-items: center;

     min-height: 650px;
     padding: 65px 7%;

     background-color: #102f28;
     background-position: center;
     background-repeat: no-repeat;
     background-size: cover;

     border-radius: 24px;
     overflow: hidden;

     color: #ffffff;
     margin: 24px 0 60px;
 }

 /* Content */

 .guide-hero-premium .guide-hero-content {
     position: relative;
     z-index: 2;
     width: 100%;
     max-width: 720px;

     animation: guideEntrance 0.9s ease both;
 }

 /* Back link */

 .guide-return {
     display: inline-flex;
     align-items: center;
     gap: 12px;

     text-decoration: none;
     color: rgba(255, 255, 255, 0.8);

     font-size: 14px;
     margin-bottom: 45px;

     transition: color 0.3s ease;
 }

 .guide-return span {
     font-size: 22px;
     transition: transform 0.3s ease;
 }

 .guide-return:hover {
     color: #dce8b7;
 }

 .guide-return:hover span {
     transform: translateX(-5px);
 }

 /* Guide labels */

 .guide-label {
     display: flex;
     flex-wrap: wrap;
     gap: 10px;
     margin-bottom: 25px;
 }

 .guide-label span {
     padding: 8px 14px;

     border: 1px solid rgba(255, 255, 255, 0.25);
     border-radius: 30px;

     background: rgba(255, 255, 255, 0.08);
     backdrop-filter: blur(8px);

     color: #ffffff;

     font-size: 10px;
     font-weight: 600;
     letter-spacing: 1.8px;
 }

 /* Category */

 .guide-category {
     display: block;
     margin-bottom: 15px;

     font-size: 13px;
     font-weight: 700;
     letter-spacing: 3px;
     text-transform: uppercase;

     color: #dce8b7;
 }

 /* Heading */

 .guide-hero-premium h1 {
     color: #ffffff;

     font-size: clamp(42px, 5vw, 76px);
     line-height: 1.06;
     font-weight: 700;
     letter-spacing: -2.5px;

     margin: 0 0 25px;
 }

 .guide-hero-premium h1 em {
     color: #dce8b7;
     font-style: normal;
 }

 /* Description */

 .guide-hero-premium p {
     max-width: 580px;

     color: rgba(255, 255, 255, 0.86);

     font-size: 17px;
     line-height: 1.8;

     margin: 0 0 35px;
 }

 /* Buttons */

 .guide-hero-actions {
     display: flex;
     flex-wrap: wrap;
     align-items: center;
     gap: 14px;
 }

 .guide-button,
 .guide-button-outline {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     gap: 24px;

     padding: 17px 25px;

     border: 1px solid transparent;
     border-radius: 8px;

     font-size: 14px;
     font-weight: 600;
     text-decoration: none;

     transition:
         background 0.3s ease,
         color 0.3s ease,
         transform 0.3s ease;
 }

 .guide-button {
     background: #dce8b7;
     color: #102f28;
 }

 .guide-button:hover {
     background: #ffffff;
     color: #102f28;
     transform: translateY(-3px);
 }

 .guide-button-outline {
     border-color: rgba(255, 255, 255, 0.4);
     color: #ffffff;
     background: rgba(255, 255, 255, 0.06);
     backdrop-filter: blur(8px);
 }

 .guide-button-outline:hover {
     color: #102f28;
     background: #ffffff;
     transform: translateY(-3px);
 }

 /* Bottom caption */

 .guide-hero-premium .guide-hero-caption {
     position: absolute;
     bottom: 25px;
     right: 30px;

     font-size: 10px;
     font-weight: 500;
     letter-spacing: 2px;

     color: rgba(255, 255, 255, 0.6);
 }

 /* Entrance animation */

 @keyframes guideEntrance {
     from {
         opacity: 0;
         transform: translateY(35px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 /* Anchor offset for sticky header */

 #guide-content {
     scroll-margin-top: 100px;
 }

 /* Tablet */

 @media (max-width: 1024px) {

     .guide-hero.guide-hero-premium {
         min-height: 580px;
         padding: 50px 6%;
         border-radius: 18px;
     }

 }

 /* Mobile */

 @media (max-width: 600px) {

     .guide-hero.guide-hero-premium {
         min-height: 0;
         padding: 30px 24px 65px;
         border-radius: 14px;
         background-position: 60% center;
         margin: 15px 0 35px;
     }

     .guide-return {
         margin-bottom: 30px;
     }

     .guide-hero-premium h1 {
         font-size: 40px;
         letter-spacing: -1.5px;
     }

     .guide-hero-premium p {
         font-size: 15px;
         line-height: 1.7;
     }

     .guide-hero-actions {
         flex-direction: column;
         align-items: stretch;
     }

     .guide-button,
     .guide-button-outline {
         width: 100%;
         box-sizing: border-box;
     }

     .guide-hero-premium .guide-hero-caption {
         left: 24px;
         right: 24px;
         bottom: 20px;
         font-size: 8px;
         letter-spacing: 1px;
     }
 }

 /* Accessibility */

 @media (prefers-reduced-motion: reduce) {

     .guide-hero-premium .guide-hero-content {
         animation: none;
     }

     .guide-button,
     .guide-button-outline,
     .guide-return span {
         transition: none;
     }
 }

 /* =====================================
   EDITORIAL HERO — HABANDS
===================================== */

 .editorial-hero {
     --ed-dark: #123d32;
     --ed-accent: #dce8b7;
     --ed-muted: #63736a;

     margin: 25px 0 75px;
 }

 /* Основная сетка */

 .editorial-layout {
     display: grid;
     grid-template-columns: 0.95fr 1.05fr;
     gap: 60px;
     align-items: center;
 }

 .editorial-content {
     min-width: 0;
     padding: 35px 0;
     animation: editorialEntrance 0.9s ease both;
 }

 /* Верхняя метка */

 .editorial-kicker {
     display: flex;
     align-items: center;
     gap: 12px;

     margin-bottom: 30px;

     color: #52745c;
     font-size: 11px;
     font-weight: 700;
     letter-spacing: 2px;
 }

 .editorial-kicker>span {
     width: 32px;
     height: 2px;
     background: #52745c;
 }

 /* Заголовок */

 .editorial-content h1 {
     font-size: clamp(42px, 5.2vw, 82px);
     line-height: 1.04;
     letter-spacing: -0.055em;
     font-weight: 700;

     color: var(--ed-dark);
     margin: 0 0 28px;
 }

 .editorial-content h1 em {
     font-style: normal;
     color: #548366;
 }

 .editorial-description {
     max-width: 540px;

     font-size: 18px;
     line-height: 1.85;
     color: var(--ed-muted);

     margin: 0 0 35px;
 }

 /* Кнопки */

 .editorial-actions {
     display: flex;
     flex-wrap: wrap;
     align-items: center;
     gap: 25px;
 }

 .editorial-btn {
     display: inline-flex;
     align-items: center;
     justify-content: space-between;
     gap: 35px;

     padding: 18px 25px;
     border-radius: 9px;

     background: var(--ed-dark);
     color: white;

     font-size: 14px;
     font-weight: 600;
     text-decoration: none;

     transition: 0.35s ease;
 }

 .editorial-btn:hover {
     background: #285c47;
     color: white;
     transform: translateY(-4px);
     box-shadow: 0 12px 30px #123d3225;
 }

 .editorial-text-link {
     display: inline-flex;
     align-items: center;
     gap: 12px;

     color: var(--ed-dark);
     font-size: 14px;
     font-weight: 600;
     text-decoration: none;
 }

 .editorial-text-link span {
     transition: transform 0.3s ease;
 }

 .editorial-text-link:hover span {
     transform: translateX(6px);
 }

 /* Нижние метки */

 .editorial-meta {
     display: flex;
     flex-wrap: wrap;
     gap: 18px;

     margin-top: 45px;
     padding-top: 22px;

     border-top: 1px solid #123d3220;
 }

 .editorial-meta span {
     font-size: 9px;
     font-weight: 600;
     letter-spacing: 1.3px;
     color: #78877c;
 }

 /* =====================================
   ФОТОГРАФИЧЕСКИЙ БЛОК
===================================== */

 .editorial-photo {
     position: relative;
     isolation: isolate;

     display: flex;
     flex-direction: column;
     justify-content: flex-end;

     min-height: 550px;
     padding: 35px;

     overflow: hidden;
     border-radius: 24px;

     background: #123d32;
     color: #ffffff;
     text-decoration: none;

     animation: editorialEntrance 1s 0.2s ease both;
 }

 /* Изображение */

 .editorial-photo>img {
     position: absolute;
     inset: 0;

     width: 100%;
     height: 100%;

     object-fit: cover;
     object-position: center;

     z-index: -2;

     transition: transform 1.2s cubic-bezier(.2, .65, .3, 1);
 }

 .editorial-photo:hover>img {
     transform: scale(1.08);
 }

 /* Градиент поверх изображения */

 .editorial-photo::before {
     content: "";
     position: absolute;
     inset: 0;
     z-index: -1;

     background: linear-gradient(180deg,
             rgba(10, 35, 29, .40) 0%,
             transparent 25%,
             rgba(10, 35, 29, .12) 40%,
             rgba(10, 35, 29, .80) 76%,
             rgba(10, 35, 29, .97) 100%);

     pointer-events: none;
 }

 /* Верхние метки фотографии */

 .editorial-photo-top {
     position: absolute;
     top: 30px;
     left: 35px;
     right: 35px;

     display: flex;
     justify-content: space-between;
     gap: 15px;
 }

 .editorial-photo-top span {
     font-size: 10px;
     font-weight: 600;
     letter-spacing: 1.6px;
     color: white;
 }

 /* Текст поверх фотографии */

 .editorial-photo-content {
     position: relative;
     width: 100%;
 }

 .editorial-photo-content .eyebrow {
     display: block;
     color: var(--ed-accent);
     margin-bottom: 15px;
 }

 .editorial-photo-content h2 {
     color: white;
     font-size: clamp(30px, 3.5vw, 48px);
     line-height: 1.12;
     letter-spacing: -1.5px;
     margin: 0 0 16px;
 }

 .editorial-photo-content p {
     color: rgba(255, 255, 255, .8);
     font-size: 15px;
     line-height: 1.7;
     margin: 0 0 25px;
 }

 .editorial-photo-link {
     display: flex;
     align-items: center;
     justify-content: space-between;

     padding-top: 20px;
     border-top: 1px solid rgba(255, 255, 255, .25);

     color: white;
     font-size: 13px;
     font-weight: 600;
 }

 .editorial-photo-link>span {
     display: grid;
     place-items: center;

     width: 40px;
     height: 40px;
     border-radius: 50%;

     background: rgba(255, 255, 255, .12);
     font-size: 20px;

     transition: 0.35s ease;
 }

 .editorial-photo:hover .editorial-photo-link>span {
     background: var(--ed-accent);
     color: var(--ed-dark);
     transform: rotate(-35deg);
 }

 /* =====================================
   НИЖНИЕ КАРТОЧКИ
===================================== */

 .editorial-features {
     display: grid;
     grid-template-columns: repeat(3, minmax(0, 1fr));

     gap: 18px;
     margin-top: 35px;
 }

 .editorial-feature {
     position: relative;
     overflow: hidden;

     display: block;
     padding: 30px 28px 65px;

     border: 1px solid #123d3218;
     border-radius: 16px;

     background: #ffffff;
     color: var(--ed-dark);
     text-decoration: none;

     transition:
         transform .4s ease,
         background .4s ease,
         box-shadow .4s ease;

     animation: editorialEntrance .8s ease both;
 }

 .editorial-feature:nth-child(1) {
     animation-delay: .25s;
 }

 .editorial-feature:nth-child(2) {
     animation-delay: .40s;
 }

 .editorial-feature:nth-child(3) {
     animation-delay: .55s;
 }

 /* Декоративная линия */

 .editorial-feature::before {
     content: "";
     position: absolute;
     top: 0;
     left: 0;

     height: 3px;
     width: 100%;

     background: #548366;

     transform: scaleX(0);
     transform-origin: left;

     transition: transform .5s ease;
 }

 .editorial-feature:hover::before {
     transform: scaleX(1);
 }

 .editorial-feature:hover {
     transform: translateY(-7px);
     background: #edf2e6;
     box-shadow: 0 16px 40px #123d3210;
 }

 /* Иконки */

 .editorial-feature-top {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 15px;

     margin-bottom: 25px;
 }

 .editorial-feature-top svg {
     width: 32px;
     height: 32px;
     color: #548366;

     transition: transform .4s ease;
 }

 .editorial-feature:hover svg {
     transform: scale(1.15);
 }

 .editorial-feature-top>span {
     font-size: 9px;
     letter-spacing: 1.4px;
     font-weight: 600;
     color: #86958a;
 }

 .editorial-feature h3 {
     font-size: 23px;
     color: var(--ed-dark);
     letter-spacing: -.5px;
     margin: 0 0 12px;
 }

 .editorial-feature p {
     font-size: 14px;
     line-height: 1.7;
     color: var(--ed-muted);
     margin: 0;
 }

 /* Стрелка карточки */

 .editorial-arrow {
     position: absolute;
     right: 25px;
     bottom: 20px;

     width: 36px;
     height: 36px;

     display: grid;
     place-items: center;

     border: 1px solid #123d3230;
     border-radius: 50%;

     font-size: 18px;

     transition: .35s ease;
 }

 .editorial-feature:hover .editorial-arrow {
     background: var(--ed-dark);
     border-color: var(--ed-dark);
     color: white;
     transform: rotate(-35deg);
 }

 /* =====================================
   АНИМАЦИЯ ПОЯВЛЕНИЯ
===================================== */

 @keyframes editorialEntrance {
     from {
         opacity: 0;
         transform: translateY(30px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 #guias {
     scroll-margin-top: 100px;
 }

 /* =====================================
   АДАПТАЦИЯ
===================================== */

 @media (max-width: 1100px) {

     .editorial-layout {
         gap: 30px;
     }

     .editorial-photo {
         min-height: 500px;
         padding: 28px;
     }

     .editorial-feature {
         padding: 25px 20px 60px;
     }
 }

 @media (max-width: 850px) {

     .editorial-layout {
         grid-template-columns: 1fr;
         gap: 25px;
     }

     .editorial-content {
         padding: 20px 0;
     }

     .editorial-photo {
         min-height: 450px;
     }

     .editorial-features {
         grid-template-columns: 1fr;
     }
 }

 @media (max-width: 600px) {

     .editorial-hero {
         margin: 10px 0 45px;
     }

     .editorial-content h1 {
         font-size: 44px;
     }

     .editorial-kicker {
         font-size: 9px;
         letter-spacing: 1px;
     }

     .editorial-description {
         font-size: 16px;
     }

     .editorial-actions {
         flex-direction: column;
         align-items: stretch;
         gap: 20px;
     }

     .editorial-text-link {
         justify-content: center;
     }

     .editorial-photo {
         min-height: 410px;
         padding: 25px;
         border-radius: 16px;
     }

     .editorial-photo-top {
         left: 25px;
         right: 25px;
         top: 25px;
     }

     .editorial-meta {
         gap: 10px;
         margin-top: 30px;
     }

     .editorial-features {
         gap: 12px;
         margin-top: 20px;
     }
 }

 /* Ограничение анимаций */

 @media (prefers-reduced-motion: reduce) {

     .editorial-content,
     .editorial-photo,
     .editorial-feature {
         animation: none;
     }

     .editorial-hero *,
     .editorial-hero *::before {
         transition: none;
     }
 }

 /*  */
 /* =========================================
   HABANDS — METHODOLOGY & TRANSPARENCY
========================================= */

 .methodology-page {
     --method-dark: #123d32;
     --method-green: #548366;
     --method-accent: #dce8b7;
     --method-muted: #63736a;
     --method-border: rgba(18, 61, 50, .12);
 }

 /* INTRO */

 .methodology-intro {
     max-width: 1200px;
     padding: 40px 0 20px;
     margin-bottom: 35px;
 }

 .methodology-intro h1 {
     font-size: clamp(40px, 5.5vw, 76px);
     line-height: 1.08;
     letter-spacing: -.045em;
     color: var(--method-dark);
 }

 .methodology-intro h1 em {
     font-style: normal;
     color: var(--method-green);
 }

 .methodology-intro p {
     max-width: 850px;
     font-size: 17px;
     line-height: 1.85;
 }


 /* THREE PRINCIPLES */

 .methodology-principles {
     display: grid;
     grid-template-columns: repeat(3, minmax(0, 1fr));
     gap: 18px;
     margin-bottom: 35px;
 }

 .methodology-principle {
     position: relative;
     padding: 32px;
     overflow: hidden;
     border-radius: 18px;

     background: var(--method-dark);
     color: #fff;

     transition:
         transform .35s ease,
         box-shadow .35s ease;

     animation: methodologyEntrance .8s ease both;
 }

 .methodology-principle:nth-child(2) {
     animation-delay: .12s;
 }

 .methodology-principle:nth-child(3) {
     animation-delay: .24s;
 }

 .methodology-principle:hover {
     transform: translateY(-5px);
     box-shadow: 0 15px 35px #123d3225;
 }

 .methodology-principle>span {
     font-size: 10px;
     letter-spacing: 2px;
     color: var(--method-accent);
 }

 .methodology-principle h3 {
     color: white;
     font-size: 30px;
     margin: 22px 0 12px;
 }

 .methodology-principle p {
     color: rgba(255, 255, 255, .75);
     line-height: 1.75;
     font-size: 14px;
     margin: 0;
 }


 /* PAGE NAVIGATION */

 .methodology-nav {
     display: grid;
     grid-template-columns: repeat(2, minmax(0, 1fr));
     gap: 12px 25px;

     padding: 30px;
     margin-bottom: 30px;

     background: #fff;
     border: 1px solid var(--method-border);
     border-radius: 18px;
 }

 .methodology-nav h3 {
     grid-column: 1 / -1;
     font-size: 23px;
     color: var(--method-dark);
     margin: 0 0 12px;
 }

 .methodology-nav a {
     display: block;
     padding: 12px 0;

     color: var(--method-dark);
     text-decoration: none;
     font-size: 14px;

     border-bottom: 1px solid var(--method-border);

     transition:
         color .25s ease,
         padding .25s ease;
 }

 .methodology-nav a:hover {
     padding-left: 8px;
     color: var(--method-green);
 }


 /* MAIN SECTIONS */

 .methodology-section {
     padding: clamp(24px, 4vw, 55px);
     margin: 0 0 24px;

     border: 1px solid var(--method-border);
     border-radius: 20px;

     background: #fff;
     scroll-margin-top: 110px;
 }

 .methodology-number {
     display: block;

     margin-bottom: 18px;

     color: var(--method-green);
     font-size: 11px;
     font-weight: 700;
     letter-spacing: 2px;
 }

 .methodology-section h2 {
     font-size: clamp(28px, 3vw, 42px);
     line-height: 1.15;
     letter-spacing: -1.2px;
     color: var(--method-dark);

     margin: 0 0 28px;
 }

 .methodology-section h3 {
     color: var(--method-dark);
     font-size: 22px;
     line-height: 1.3;
     margin: 35px 0 14px;
 }

 .methodology-section p {
     color: var(--method-muted);
     font-size: 16px;
     line-height: 1.85;
     margin: 0 0 18px;
 }


 /* FORMULAS */

 .methodology-formula {
     position: relative;
     overflow: hidden;

     background: var(--method-dark);
     color: white;

     border-radius: 14px;
     padding: 28px 32px;
     margin: 25px 0;
 }

 .methodology-formula::before {
     content: "";
     position: absolute;
     right: -65px;
     top: -65px;

     width: 220px;
     height: 220px;

     border: 1px solid rgba(255, 255, 255, .08);
     border-radius: 50%;

     box-shadow:
         0 0 0 30px rgba(255, 255, 255, .025),
         0 0 0 60px rgba(255, 255, 255, .015);

     pointer-events: none;
 }

 .methodology-formula>span {
     display: block;
     margin-bottom: 18px;

     color: var(--method-accent);
     font-size: 10px;
     font-weight: 700;
     letter-spacing: 2px;
 }

 .methodology-formula code {
     position: relative;
     display: block;

     padding: 0;
     background: transparent;

     color: white;
     font-family: inherit;
     font-size: clamp(17px, 2.2vw, 25px);
     font-weight: 600;
     line-height: 1.6;

     white-space: normal;
     overflow-wrap: anywhere;
 }

 .methodology-formula p {
     color: rgba(255, 255, 255, .75);
     font-size: 14px;
     line-height: 1.7;

     margin: 16px 0 0;
 }


 /* EXPLANATORY BLOCKS */

 .methodology-note {
     padding: 25px 30px;
     margin: 30px 0 0;

     border-left: 4px solid var(--method-green);
     border-radius: 0 12px 12px 0;

     background: #edf2e7;
 }

 .methodology-note>strong {
     display: block;
     color: var(--method-dark);
     font-size: 18px;
     margin-bottom: 12px;
 }

 .methodology-note p {
     font-size: 15px;
     margin: 0;
 }


 /* EXPENSE CATEGORIES */

 .methodology-categories {
     display: grid;
     grid-template-columns: repeat(3, minmax(0, 1fr));
     gap: 14px;
     margin: 28px 0;
 }

 .methodology-categories article {
     padding: 23px;

     border: 1px solid var(--method-border);
     border-radius: 12px;

     background: #f8f9f5;

     transition:
         background .3s ease,
         transform .3s ease;
 }

 .methodology-categories article:hover {
     background: #edf2e7;
     transform: translateY(-4px);
 }

 .methodology-categories h3 {
     font-size: 19px;
     margin: 0 0 12px;
 }

 .methodology-categories p {
     font-size: 14px;
     line-height: 1.7;
     margin: 0;
 }


 /* FORECAST PERIODS */

 .methodology-periods {
     display: grid;
     grid-template-columns: repeat(4, minmax(0, 1fr));

     gap: 12px;
     margin: 25px 0;
 }

 .methodology-periods>div {
     padding: 24px 15px;

     text-align: center;
     border: 1px solid var(--method-border);
     border-radius: 12px;

     background: #f6f8f1;
 }

 .methodology-periods strong {
     display: block;
     font-size: clamp(32px, 4vw, 48px);
     color: var(--method-dark);
     line-height: 1.2;
 }

 .methodology-periods span {
     display: block;

     color: var(--method-muted);
     font-size: 12px;
     margin-top: 7px;
 }


 /* SCENARIOS */

 .methodology-scenarios {
     display: grid;
     grid-template-columns: repeat(3, minmax(0, 1fr));

     gap: 15px;
     margin: 25px 0;
 }

 .methodology-scenarios article {
     padding: 25px;

     border: 1px solid var(--method-border);
     border-top: 4px solid var(--scenario-color);
     border-radius: 12px;

     background: #f8f9f5;

     transition:
         transform .35s ease,
         box-shadow .35s ease;
 }

 .methodology-scenarios article:hover {
     transform: translateY(-5px);
     box-shadow: 0 12px 25px #123d3210;
 }

 .scenario-base {
     --scenario-color: #39836a;
 }

 .scenario-pressure {
     --scenario-color: #b4653e;
 }

 .scenario-alternative {
     --scenario-color: #8b9e3b;
 }

 .methodology-scenarios article>span {
     color: var(--scenario-color);
     font-size: 10px;
     font-weight: 700;
     letter-spacing: 1.3px;
 }

 .methodology-scenarios h3 {
     font-size: 23px;
     margin: 16px 0;
 }

 .methodology-scenarios p {
     font-size: 14px;
     line-height: 1.7;
 }


 /* TABLES */

 .methodology-table-wrap {
     width: 100%;
     overflow-x: auto;
     border: 1px solid var(--method-border);
     border-radius: 12px;
     margin: 25px 0;
 }

 .methodology-table {
     width: 100%;
     min-width: 520px;
     border-collapse: collapse;

     font-size: 14px;
 }

 .methodology-table th,
 .methodology-table td {
     padding: 18px 20px;
     text-align: left;
     border-bottom: 1px solid var(--method-border);
 }

 .methodology-table thead {
     background: var(--method-dark);
     color: white;
 }

 .methodology-table thead th {
     background: var(--method-dark);
     color: white;
     font-weight: 600;
 }

 .methodology-table tbody tr:nth-child(even) {
     background: #f6f8f3;
 }

 .methodology-table tbody tr:hover {
     background: #edf2e7;
 }

 .methodology-table tfoot {
     background: #e5eddf;
     color: var(--method-dark);
     font-weight: 700;
 }

 .methodology-table tr:last-child td {
     border-bottom: 0;
 }


 /* PRACTICAL RESULTS */

 .methodology-results {
     display: grid;
     grid-template-columns: repeat(4, minmax(0, 1fr));

     gap: 12px;
     margin: 30px 0;
 }

 .methodology-results>div {
     padding: 25px 20px;

     border-radius: 12px;
     background: var(--method-dark);

     text-align: center;
 }

 .methodology-results span {
     display: block;
     color: var(--method-accent);
     font-size: 9px;
     font-weight: 600;
     letter-spacing: 1.3px;

     margin-bottom: 15px;
 }

 .methodology-results strong {
     display: block;

     color: white;
     font-size: clamp(25px, 3vw, 38px);
     font-weight: 700;
     letter-spacing: -1px;
 }

 .methodology-results p {
     color: rgba(255, 255, 255, .65);
     font-size: 11px;
     line-height: 1.5;
     margin: 10px 0 0;
 }

 .methodology-section .methodology-small {
     font-size: 12px;
     color: #78877c;
 }


 /* SOURCES */

 .methodology-sources {
     display: grid;
     grid-template-columns: repeat(2, minmax(0, 1fr));

     gap: 16px;
     margin: 30px 0;
 }

 .methodology-sources a {
     display: flex;
     flex-direction: column;

     padding: 30px;
     border: 1px solid var(--method-border);
     border-radius: 15px;

     background: #f8f9f5;
     text-decoration: none;

     transition:
         background .3s ease,
         transform .3s ease,
         box-shadow .3s ease;
 }

 .methodology-sources a:hover {
     background: #edf2e7;
     transform: translateY(-5px);
     box-shadow: 0 12px 30px #123d3210;
 }

 .methodology-sources a>span {
     font-size: 10px;
     font-weight: 700;
     letter-spacing: 1.2px;
     color: var(--method-green);
 }

 .methodology-sources h3 {
     color: var(--method-dark);
     font-size: 34px;
     margin: 20px 0 15px;
 }

 .methodology-sources p {
     font-size: 14px;
     line-height: 1.75;
 }

 .methodology-sources strong {
     display: block;
     margin-top: auto;
     padding-top: 20px;

     color: var(--method-dark);
     border-top: 1px solid var(--method-border);

     font-size: 13px;
 }


 /* FINAL CTA */

 .methodology-cta {
     position: relative;
     overflow: hidden;

     background:
         linear-gradient(90deg,
             rgba(12, 45, 36, .97),
             rgba(12, 45, 36, .80),
             rgba(12, 45, 36, .40)),
         url('/assets/images/familia.webp') center / cover no-repeat,
         #123d32;

     padding: clamp(30px, 6vw, 80px);
     border-radius: 24px;

     color: white;
     margin: 35px 0 60px;
 }

 .methodology-cta .eyebrow {
     color: var(--method-accent);
     margin-bottom: 22px;
 }

 .methodology-cta h2 {
     color: white;
     font-size: clamp(34px, 4.5vw, 62px);
     line-height: 1.08;
     letter-spacing: -1.8px;

     max-width: 800px;
     margin: 0 0 25px;
 }

 .methodology-cta p {
     max-width: 620px;

     color: rgba(255, 255, 255, .82);
     font-size: 17px;
     line-height: 1.8;

     margin-bottom: 30px;
 }

 .methodology-cta-actions {
     display: flex;
     flex-wrap: wrap;
     gap: 12px;

     margin-bottom: 35px;
 }

 .methodology-cta .cta {
     background: var(--method-accent);
     color: var(--method-dark);
 }

 .methodology-cta .methodology-cta-secondary {
     background: rgba(255, 255, 255, .08);
     border: 1px solid rgba(255, 255, 255, .35);
     color: white;
 }

 .methodology-cta small {
     display: block;
     color: rgba(255, 255, 255, .65);
     font-size: 11px;
 }


 /* ENTRANCE ANIMATION */

 @keyframes methodologyEntrance {
     from {
         opacity: 0;
         transform: translateY(25px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }


 /* TABLET */

 @media (max-width: 1000px) {

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

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


 /* MOBILE */

 @media (max-width: 650px) {

     .methodology-intro {
         padding-top: 15px;
     }

     .methodology-intro h1 {
         font-size: 38px;
     }

     .methodology-intro p {
         font-size: 15px;
     }

     .methodology-principles,
     .methodology-categories,
     .methodology-scenarios,
     .methodology-sources,
     .methodology-nav {
         grid-template-columns: 1fr;
     }

     .methodology-section {
         padding: 25px 20px;
         border-radius: 14px;
     }

     .methodology-section h2 {
         font-size: 28px;
     }

     .methodology-section h3 {
         font-size: 20px;
     }

     .methodology-section p {
         font-size: 15px;
     }

     .methodology-formula {
         padding: 23px 20px;
     }

     .methodology-formula code {
         font-size: 17px;
     }

     .methodology-note {
         padding: 20px;
     }

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

     .methodology-results>div {
         padding: 20px 10px;
     }

     .methodology-cta {
         border-radius: 16px;
         padding: 35px 24px;
     }

     .methodology-cta-actions {
         flex-direction: column;
     }

     .methodology-cta-actions .cta {
         text-align: center;
     }
 }


 /* ACCESSIBILITY */

 @media (prefers-reduced-motion: reduce) {

     .methodology-page *,
     .methodology-page *::before {
         animation: none;
         transition: none;
     }
 }

 /*  */
 /* =========================================
   HABANDS — DESPESAS ESSENCIAIS
========================================= */

 .guide-hero-premium.essentials-hero {
     display: grid;
     grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
     align-items: center;
     gap: 45px;

     min-height: 720px;
     padding: 60px 5%;

     background-position: center;
     background-size: cover;
     background-repeat: no-repeat;
 }

 .essentials-hero .guide-hero-content {
     width: 100%;
     min-width: 0;
     max-width: none;
 }

 .essentials-hero h1 {
     font-size: clamp(40px, 4.7vw, 72px);
 }

 .essentials-hero .guide-hero-content p {
     max-width: 650px;
 }


 /* =========================================
   АНАЛИТИЧЕСКАЯ ПАНЕЛЬ
========================================= */

 .essentials-insight {
     position: relative;
     z-index: 3;
     min-width: 0;

     padding: 28px;

     background: rgba(255, 255, 255, .96);
     backdrop-filter: blur(20px);
     -webkit-backdrop-filter: blur(20px);

     border: 1px solid rgba(255, 255, 255, .5);
     border-radius: 20px;

     color: #123d32;

     box-shadow:
         0 30px 70px rgba(0, 0, 0, .25);

     animation: essentialsEntrance 1s .25s both;
 }


 /* Header */

 .essentials-insight-header {
     display: flex;
     align-items: center;
     gap: 15px;

     padding-bottom: 24px;
     border-bottom: 1px solid #123d3220;
 }

 .essentials-icon {
     flex-shrink: 0;

     width: 52px;
     height: 52px;

     display: grid;
     place-items: center;

     border-radius: 13px;
     background: #e5eddf;
     color: #39836a;
 }

 .essentials-icon svg {
     width: 27px;
     height: 27px;
 }

 .essentials-label {
     display: block;

     color: #728579;
     font-size: 9px;
     font-weight: 700;
     letter-spacing: 1.5px;

     margin-bottom: 7px;
 }

 .essentials-insight h3 {
     color: #123d32;
     font-size: 21px;
     line-height: 1.25;

     margin: 0;
 }


 /* =========================================
   СПИСОК ЕЖЕМЕСЯЧНЫХ РАСХОДОВ
========================================= */

 .essentials-expenses {
     display: flex;
     flex-direction: column;

     margin: 10px 0 20px;
 }

 .essentials-expense {
     display: grid;
     grid-template-columns: 38px minmax(0, 1fr) auto;
     align-items: center;
     gap: 12px;

     padding: 15px 0;

     border-bottom: 1px solid #123d3210;

     animation: essentialsRowEntrance .6s var(--expense-delay) both;

     transition:
         background .3s ease,
         padding .3s ease;
 }

 .essentials-expense:hover {
     background: #edf2e8;
     padding-left: 8px;
     padding-right: 8px;
     border-radius: 8px;
 }

 .essentials-expense-icon {
     display: grid;
     place-items: center;

     width: 38px;
     height: 38px;

     background: #eaf0e6;
     color: #548366;

     border-radius: 10px;
 }

 .essentials-expense-icon svg {
     width: 20px;
     height: 20px;
 }

 .essentials-expense strong {
     display: block;

     color: #123d32;
     font-size: 13px;
     font-weight: 600;
     line-height: 1.4;
 }

 .essentials-expense small {
     display: block;

     color: #78877d;
     font-size: 10px;
     line-height: 1.5;

     margin-top: 3px;
 }

 .essentials-expense b {
     color: #123d32;

     font-size: 15px;
     font-weight: 700;
     font-variant-numeric: tabular-nums;

     white-space: nowrap;
 }


 /* =========================================
   ДИАГРАММА РАСПРЕДЕЛЕНИЯ
========================================= */

 .essentials-distribution {
     margin: 25px 0;
 }

 .essentials-distribution>span {
     display: block;
     margin-bottom: 12px;

     color: #63736a;
     font-size: 12px;
     font-weight: 600;
 }

 .essentials-chart {
     display: flex;

     width: 100%;
     height: 12px;

     overflow: hidden;
     border-radius: 20px;

     background: #e0e7df;
 }

 .essentials-chart>span {
     display: block;

     width: var(--segment);
     height: 100%;

     background: var(--segment-color);

     transform-origin: left;
     animation: essentialsChartEntrance 1.3s .8s both;
 }

 .essentials-legend {
     display: flex;
     flex-wrap: wrap;
     gap: 12px;

     margin-top: 12px;
 }

 .essentials-legend>span {
     display: flex;
     align-items: center;
     gap: 6px;

     font-size: 10px;
     color: #63736a;
 }

 .essentials-legend i {
     display: block;

     width: 8px;
     height: 8px;

     border-radius: 50%;
 }


 /* =========================================
   ИТОГОВЫЕ ПОКАЗАТЕЛИ
========================================= */

 .essentials-totals {
     padding-top: 20px;
     border-top: 1px solid #123d3220;
 }

 .essentials-monthly {
     display: flex;
     align-items: center;
     justify-content: space-between;

     gap: 10px;
     margin-bottom: 20px;
 }

 .essentials-monthly>span {
     color: #63736a;
     font-size: 13px;
 }

 .essentials-monthly>strong {
     color: #123d32;
     font-size: 26px;
     letter-spacing: -.8px;
     white-space: nowrap;
 }


 /* Годовой результат */

 .essentials-annual {
     position: relative;
     overflow: hidden;

     padding: 25px;

     background: linear-gradient(135deg,
             #123d32,
             #286049);

     border-radius: 13px;
 }

 .essentials-annual::before {
     content: "";

     position: absolute;
     top: -60px;
     right: -60px;

     width: 200px;
     height: 200px;

     border: 1px solid rgba(255, 255, 255, .12);
     border-radius: 50%;

     box-shadow:
         0 0 0 25px rgba(255, 255, 255, .035),
         0 0 0 50px rgba(255, 255, 255, .025);

     pointer-events: none;
 }

 .essentials-annual>span {
     position: relative;
     display: block;

     color: #dce8b7;
     font-size: 10px;
     font-weight: 600;
     letter-spacing: 2px;
 }

 .essentials-annual>strong {
     position: relative;
     display: block;

     color: #ffffff;
     font-size: clamp(32px, 3.5vw, 50px);
     line-height: 1.2;
     letter-spacing: -1.5px;

     margin: 12px 0;
 }

 .essentials-annual>small {
     position: relative;
     display: block;

     color: rgba(255, 255, 255, .7);
     font-size: 11px;
     line-height: 1.6;

     max-width: 260px;
 }


 /* Пояснение */

 .essentials-hero .essentials-disclaimer {
     color: #78877d;
     font-size: 10px;
     line-height: 1.65;

     margin: 18px 0;
 }


 /* Нижняя ссылка */

 .essentials-insight-link {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 12px;

     padding-top: 16px;
     border-top: 1px solid #123d3220;

     color: #123d32;

     font-size: 13px;
     font-weight: 700;
     text-decoration: none;
 }

 .essentials-insight-link>span {
     display: grid;
     place-items: center;
     flex-shrink: 0;

     width: 35px;
     height: 35px;

     border-radius: 50%;
     background: #123d32;
     color: white;

     transition:
         transform .35s ease,
         background .35s ease;
 }

 .essentials-insight-link:hover>span {
     transform: rotate(-35deg);
     background: #548366;
 }


 /* =========================================
   АНИМАЦИИ
========================================= */

 @keyframes essentialsEntrance {
     from {
         opacity: 0;
         transform: translateY(35px) scale(.97);
     }

     to {
         opacity: 1;
         transform: translateY(0) scale(1);
     }
 }

 @keyframes essentialsRowEntrance {
     from {
         opacity: 0;
         transform: translateX(15px);
     }

     to {
         opacity: 1;
         transform: translateX(0);
     }
 }

 @keyframes essentialsChartEntrance {
     from {
         transform: scaleX(0);
     }

     to {
         transform: scaleX(1);
     }
 }


 /* =========================================
   АДАПТАЦИЯ
========================================= */

 @media (max-width: 1200px) {

     .guide-hero-premium.essentials-hero {
         gap: 25px;
         padding: 45px 4%;
     }

     .essentials-insight {
         padding: 24px;
     }
 }

 @media (max-width: 900px) {

     .guide-hero-premium.essentials-hero {
         grid-template-columns: minmax(0, 1fr);

         min-height: auto;
         padding: 45px 6% 70px;
         gap: 35px;
     }

     .essentials-insight {
         width: 100%;
         max-width: 550px;
         box-sizing: border-box;
     }
 }

 @media (max-width: 600px) {

     .guide-hero-premium.essentials-hero {
         padding: 30px 20px 65px;
         background-position: 60% center;
     }

     .essentials-hero h1 {
         font-size: 40px;
     }

     .essentials-insight {
         padding: 20px;
         border-radius: 15px;
     }

     .essentials-expense {
         grid-template-columns: 30px minmax(0, 1fr) auto;
         gap: 8px;
     }

     .essentials-expense-icon {
         width: 30px;
         height: 30px;
     }

     .essentials-expense-icon svg {
         width: 17px;
         height: 17px;
     }

     .essentials-expense strong {
         font-size: 12px;
     }

     .essentials-expense b {
         font-size: 12px;
     }

     .essentials-expense small {
         font-size: 9px;
     }

     .essentials-annual {
         padding: 20px;
     }
 }


 /* Reduced motion */

 @media (prefers-reduced-motion: reduce) {

     .essentials-hero *,
     .essentials-hero *::before {
         animation: none;
         transition: none;
     }
 }

 /* =========================================
   HABANDS — ENERGIA E ÁGUA HERO
========================================= */

 .guide-hero-premium.energy-hero {
     display: grid;
     grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
     align-items: center;
     gap: 45px;

     min-height: 760px;
     padding: 60px 5%;

     background-position: center;
     background-size: cover;
     background-repeat: no-repeat;
 }

 .energy-hero .guide-hero-content {
     min-width: 0;
     width: 100%;
     max-width: none;
 }

 .energy-hero .guide-hero-content h1 {
     font-size: clamp(40px, 4.5vw, 70px);
     overflow-wrap: break-word;
 }

 .energy-hero .guide-hero-content p {
     max-width: 650px;
 }


 /* =========================================
   АНАЛИТИЧЕСКАЯ ПАНЕЛЬ
========================================= */

 .energy-insight {
     position: relative;
     z-index: 3;

     min-width: 0;
     width: 100%;
     box-sizing: border-box;

     padding: 30px;

     background: rgba(255, 255, 255, .96);

     backdrop-filter: blur(20px);
     -webkit-backdrop-filter: blur(20px);

     border: 1px solid rgba(255, 255, 255, .55);
     border-radius: 20px;

     color: #123d32;

     box-shadow:
         0 30px 70px rgba(0, 0, 0, .25);

     animation: energyPanelEntrance .9s .2s both;
 }


 /* Header */

 .energy-insight-header {
     display: flex;
     align-items: center;
     gap: 15px;

     padding-bottom: 22px;
     border-bottom: 1px solid #123d3220;
 }

 .energy-header-icon {
     display: grid;
     place-items: center;

     flex-shrink: 0;

     width: 52px;
     height: 52px;

     background: #e5eddf;
     color: #39836a;

     border-radius: 14px;
 }

 .energy-header-icon svg {
     width: 27px;
     height: 27px;
 }

 .energy-label {
     display: block;

     color: #728579;
     font-size: 9px;
     font-weight: 700;
     letter-spacing: 1.5px;

     margin-bottom: 6px;
 }

 .energy-insight h3 {
     color: #123d32;
     font-size: 21px;
     line-height: 1.3;

     margin: 0;
 }


 /* =========================================
   КАТЕГОРИИ РАСХОДОВ
========================================= */

 .energy-service {
     padding: 20px 0;

     border-bottom: 1px solid #123d3215;

     animation:
         energyServiceEntrance .7s var(--energy-delay) both;

     transition: background .3s ease;
 }

 .energy-service:hover {
     background: #f1f5ed;
     border-radius: 8px;
 }

 .energy-service-header {
     display: grid;
     grid-template-columns: 40px minmax(0, 1fr) auto;
     align-items: center;
     gap: 12px;

     margin-bottom: 16px;
 }


 /* Иконки */

 .energy-service-icon {
     display: grid;
     place-items: center;

     width: 40px;
     height: 40px;

     color: var(--energy-color);

     background: #f0f3ed;
     border-radius: 10px;

     transition:
         transform .4s ease,
         background .4s ease;
 }

 .energy-service-icon svg {
     width: 22px;
     height: 22px;
 }

 .energy-service:hover .energy-service-icon {
     transform: scale(1.1);
     background: #e5eddf;
 }

 .energy-service-header strong {
     display: block;

     color: #123d32;
     font-size: 15px;
     font-weight: 700;
 }

 .energy-service-header small {
     display: block;

     color: #78877d;
     font-size: 10px;
     line-height: 1.5;

     margin-top: 4px;
 }

 .energy-service-header b {
     color: #a36a40;
     font-size: 12px;
     white-space: nowrap;
 }


 /* =========================================
   АНИМИРОВАННЫЕ ДИАГРАММЫ
========================================= */

 .energy-bar-row {
     display: grid;
     grid-template-columns: 48px minmax(0, 1fr) 65px;
     align-items: center;
     gap: 10px;

     margin-top: 9px;
 }

 .energy-bar-row>span {
     color: #78877d;
     font-size: 10px;
 }

 .energy-bar-row>strong {
     color: #123d32;
     font-size: 12px;
     font-weight: 600;
     text-align: right;
     white-space: nowrap;

     font-variant-numeric: tabular-nums;
 }

 .energy-track {
     position: relative;
     overflow: hidden;

     height: 7px;
     width: 100%;

     border-radius: 20px;
     background: #e6ebe4;
 }

 .energy-track>i {
     display: block;

     width: var(--bar-width);
     height: 100%;

     border-radius: 20px;

     transform-origin: left;

     animation: energyBarEntrance 1.4s .6s both;
 }

 .energy-track .energy-previous {
     background: #b4c2b8;
 }

 .energy-track .energy-current {
     background: var(--energy-color);
     animation-delay: .85s;
 }


 /* =========================================
   СРАВНЕНИЕ ОБЩИХ РАСХОДОВ
========================================= */

 .energy-summary {
     display: grid;
     grid-template-columns: 1fr auto 1fr;
     align-items: center;
     gap: 15px;

     padding: 22px 0;
     border-bottom: 1px solid #123d3220;
 }

 .energy-summary>div:last-child {
     text-align: right;
 }

 .energy-summary>div>span {
     display: block;

     color: #63736a;
     font-size: 11px;

     margin-bottom: 8px;
 }

 .energy-summary>div>strong {
     display: block;

     color: #123d32;
     font-size: clamp(20px, 2.2vw, 27px);
     letter-spacing: -.8px;

     white-space: nowrap;
 }

 .energy-summary-arrow {
     color: #8b9d90;
     font-size: 24px;
 }


 /* Месячное изменение */

 .energy-variation {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 15px;

     margin: 22px 0;
 }

 .energy-variation>div>span {
     display: block;

     color: #63736a;
     font-size: 12px;

     margin-bottom: 6px;
 }

 .energy-variation>div>strong {
     display: block;

     color: #a36a40;
     font-size: 30px;
     font-weight: 700;
     letter-spacing: -1px;
 }

 .energy-percent {
     display: inline-flex;

     padding: 8px 13px;

     border-radius: 7px;
     background: #f4e9dc;

     color: #a36a40;
     font-size: 12px;
     font-weight: 700;
 }


 /* =========================================
   ГОДОВОЙ РЕЗУЛЬТАТ
========================================= */

 .energy-annual {
     position: relative;
     overflow: hidden;

     padding: 25px;

     border-radius: 14px;

     background:
         linear-gradient(135deg,
             #123d32,
             #286049);
 }

 .energy-annual::before {
     content: "";

     position: absolute;
     top: -65px;
     right: -65px;

     width: 220px;
     height: 220px;

     border: 1px solid rgba(255, 255, 255, .12);
     border-radius: 50%;

     box-shadow:
         0 0 0 25px rgba(255, 255, 255, .035),
         0 0 0 50px rgba(255, 255, 255, .025);

     pointer-events: none;

     animation: energyGlow 7s ease-in-out infinite;
 }

 .energy-annual>span {
     position: relative;
     display: block;

     color: #dce8b7;
     font-size: 10px;
     font-weight: 600;
     letter-spacing: 1.8px;
 }

 .energy-annual>strong {
     position: relative;
     display: block;

     color: #fff;
     font-size: clamp(32px, 3.7vw, 50px);
     font-weight: 700;
     line-height: 1.2;
     letter-spacing: -1.5px;

     margin: 14px 0;
 }

 .energy-annual>small {
     position: relative;
     display: block;

     color: rgba(255, 255, 255, .75);
     font-size: 11px;
     line-height: 1.6;

     max-width: 270px;
 }


 /* Пояснение */

 .energy-hero .energy-insight .energy-disclaimer {
     color: #78877d;
     font-size: 10px;
     line-height: 1.65;

     margin: 18px 0;
 }


 /* =========================================
   НИЖНЯЯ ССЫЛКА
========================================= */

 .energy-insight-link {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 15px;

     padding-top: 17px;
     border-top: 1px solid #123d3220;

     color: #123d32;
     font-size: 13px;
     font-weight: 700;

     text-decoration: none;
 }

 .energy-insight-link>span {
     display: grid;
     place-items: center;

     flex-shrink: 0;

     width: 35px;
     height: 35px;

     border-radius: 50%;

     background: #123d32;
     color: white;

     transition:
         transform .35s ease,
         background .35s ease;
 }

 .energy-insight-link:hover>span {
     transform: rotate(-35deg);
     background: #548366;
 }


 /* =========================================
   АНИМАЦИИ
========================================= */

 @keyframes energyPanelEntrance {
     from {
         opacity: 0;
         transform: translateY(35px) scale(.97);
     }

     to {
         opacity: 1;
         transform: translateY(0) scale(1);
     }
 }

 @keyframes energyServiceEntrance {
     from {
         opacity: 0;
         transform: translateX(18px);
     }

     to {
         opacity: 1;
         transform: translateX(0);
     }
 }

 @keyframes energyBarEntrance {
     from {
         transform: scaleX(0);
     }

     to {
         transform: scaleX(1);
     }
 }

 @keyframes energyGlow {

     0%,
     100% {
         transform: scale(1);
         opacity: .6;
     }

     50% {
         transform: scale(1.15);
         opacity: 1;
     }
 }


 /* =========================================
   АДАПТАЦИЯ
========================================= */

 @media (max-width: 1200px) {

     .guide-hero-premium.energy-hero {
         grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
         gap: 25px;
         padding: 45px 4%;
     }

     .energy-insight {
         padding: 24px;
     }
 }

 @media (max-width: 900px) {

     .guide-hero-premium.energy-hero {
         grid-template-columns: minmax(0, 1fr);

         min-height: auto;
         padding: 45px 6% 70px;
         gap: 35px;
     }

     .energy-insight {
         max-width: 550px;
     }
 }

 @media (max-width: 600px) {

     .guide-hero-premium.energy-hero {
         padding: 30px 20px 65px;
         gap: 30px;

         background-position: 60% center;
     }

     .energy-hero .guide-hero-content h1 {
         font-size: clamp(32px, 9vw, 40px);
     }

     .energy-insight {
         padding: 18px;
         border-radius: 15px;
     }

     .energy-service-header {
         grid-template-columns: 32px minmax(0, 1fr) auto;
         gap: 8px;
     }

     .energy-service-icon {
         width: 32px;
         height: 32px;
     }

     .energy-service-icon svg {
         width: 19px;
         height: 19px;
     }

     .energy-service-header strong {
         font-size: 13px;
     }

     .energy-service-header small {
         font-size: 9px;
     }

     .energy-bar-row {
         grid-template-columns: 42px minmax(0, 1fr) 58px;
         gap: 7px;
     }

     .energy-bar-row>strong {
         font-size: 11px;
     }

     .energy-summary {
         gap: 10px;
     }

     .energy-annual {
         padding: 20px;
     }
 }


 /* Accessibility */

 @media (prefers-reduced-motion: reduce) {

     .energy-hero *,
     .energy-hero *::before {
         animation: none;
         transition: none;
     }
 }

 /* =========================================
   HABANDS — ORÇAMENTO FAMILIAR
========================================= */

 .guide-hero-premium.budget-hero {
     display: grid;

     grid-template-columns:
         minmax(0, 1.1fr) minmax(0, .9fr);

     align-items: center;
     gap: 45px;

     min-height: 780px;
     padding: 60px 5%;

     background-position: center;
     background-repeat: no-repeat;
     background-size: cover;
 }

 .budget-hero .guide-hero-content {
     width: 100%;
     min-width: 0;
     max-width: none;
 }

 .budget-hero .guide-hero-content h1 {
     font-size: clamp(40px, 4.7vw, 72px);
     overflow-wrap: break-word;
 }

 .budget-hero .guide-hero-content p {
     max-width: 620px;
 }


 /* =========================================
   АНАЛИТИЧЕСКАЯ ПАНЕЛЬ
========================================= */

 .budget-insight {
     position: relative;
     z-index: 3;

     width: 100%;
     min-width: 0;
     box-sizing: border-box;

     overflow: hidden;

     background: rgba(255, 255, 255, .97);

     backdrop-filter: blur(20px);
     -webkit-backdrop-filter: blur(20px);

     border: 1px solid rgba(255, 255, 255, .65);
     border-radius: 20px;

     color: #123d32;

     box-shadow:
         0 35px 80px rgba(0, 0, 0, .25);

     animation:
         budgetPanelEntrance 1s .2s both;
 }


 /* Верхняя панель программы */

 .budget-window-bar {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 15px;

     background: #e8ede5;

     padding: 14px 22px;
     border-bottom: 1px solid #123d3215;
 }

 .budget-window-bar>span {
     color: #63736a;

     font-size: 10px;
     font-weight: 600;
 }

 .budget-window-dots {
     display: flex;
     gap: 6px;
 }

 .budget-window-dots i {
     display: block;

     width: 9px;
     height: 9px;

     border-radius: 50%;
 }

 .budget-window-dots i:nth-child(1) {
     background: #c88a78;
 }

 .budget-window-dots i:nth-child(2) {
     background: #d1bb76;
 }

 .budget-window-dots i:nth-child(3) {
     background: #79a78b;
 }

 .budget-insight-body {
     padding: 28px;
 }


 /* Header */

 .budget-insight-header {
     display: flex;
     align-items: center;
     gap: 15px;

     margin-bottom: 25px;
 }

 .budget-header-icon {
     display: grid;
     place-items: center;
     flex-shrink: 0;

     width: 52px;
     height: 52px;

     border-radius: 14px;

     background: #e5eddf;
     color: #39836a;
 }

 .budget-header-icon svg {
     width: 27px;
     height: 27px;
 }

 .budget-label {
     display: block;

     color: #728579;
     font-size: 9px;
     font-weight: 700;
     letter-spacing: 1.5px;

     margin-bottom: 6px;
 }

 .budget-insight h3 {
     color: #123d32;

     font-size: 23px;
     line-height: 1.3;

     margin: 0;
 }


 /* =========================================
   КАРТОЧКИ ДОХОДОВ И РАСХОДОВ
========================================= */

 .budget-kpis {
     display: grid;
     grid-template-columns: repeat(2, minmax(0, 1fr));
     gap: 12px;

     margin-bottom: 25px;
 }

 .budget-kpi {
     position: relative;
     min-width: 0;
     overflow: hidden;

     padding: 18px;

     border-radius: 12px;
     border: 1px solid #123d320a;

     transition:
         transform .35s ease,
         box-shadow .35s ease;
 }

 .budget-kpi:hover {
     transform: translateY(-4px);
     box-shadow: 0 10px 25px #123d3210;
 }

 .budget-income {
     background: #e9f0e5;
 }

 .budget-expense {
     background: #f3eee5;
 }

 .budget-kpi>span {
     display: block;

     color: #63736a;
     font-size: 11px;

     margin-bottom: 12px;
 }

 .budget-kpi>strong {
     display: block;

     color: #123d32;
     font-size: clamp(19px, 2vw, 29px);
     font-weight: 700;
     letter-spacing: -1px;

     font-variant-numeric: tabular-nums;
     white-space: nowrap;
 }

 .budget-expense>strong {
     color: #8c7048;
 }

 .budget-kpi>small {
     display: block;

     color: #78877d;
     font-size: 10px;

     margin-top: 8px;
 }


 /* =========================================
   ДИАГРАММА РАСПРЕДЕЛЕНИЯ
========================================= */

 .budget-distribution {
     padding: 22px 0;

     border-top: 1px solid #123d3215;
     border-bottom: 1px solid #123d3215;
 }

 .budget-section-heading {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 10px;

     margin-bottom: 20px;
 }

 .budget-section-heading>span:first-child {
     color: #123d32;
     font-size: 13px;
     font-weight: 600;
 }

 .budget-section-heading>span:last-child {
     color: #78877d;
     font-size: 10px;
 }


 /* Диаграмма и категории */

 .budget-chart-layout {
     display: grid;

     grid-template-columns:
         minmax(0, .9fr) minmax(0, 1.1fr);

     align-items: center;
     gap: 15px;
 }

 .budget-donut {
     position: relative;

     width: 100%;
     max-width: 180px;
     aspect-ratio: 1;
 }

 .budget-donut>svg {
     display: block;

     width: 100%;
     height: 100%;
 }

 .budget-ring {
     fill: none;
     stroke-width: 19;
     stroke-linecap: butt;

     animation:
         budgetRingEntrance 1s var(--ring-delay) both;
 }

 .budget-donut-center {
     position: absolute;
     inset: 0;

     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;

     pointer-events: none;
 }

 .budget-donut-center>strong {
     color: #123d32;

     font-size: clamp(22px, 2.5vw, 32px);
     font-weight: 700;
     line-height: 1.15;
     letter-spacing: -1px;
 }

 .budget-donut-center>span {
     color: #78877d;
     font-size: 9px;

     margin-top: 5px;
 }


 /* Легенда */

 .budget-legend {
     display: flex;
     flex-direction: column;
     gap: 13px;
 }

 .budget-legend-row {
     display: grid;

     grid-template-columns:
         9px minmax(0, 1fr) auto;

     align-items: center;
     gap: 8px;

     animation:
         budgetRowEntrance .6s var(--row-delay) both;
 }

 .budget-legend-row>i {
     display: block;

     width: 9px;
     height: 9px;

     border-radius: 3px;
 }

 .budget-legend-row>span {
     color: #63736a;
     font-size: 11px;
 }

 .budget-legend-row>strong {
     color: #123d32;
     font-size: 12px;
     font-weight: 700;

     white-space: nowrap;
 }


 /* =========================================
   ДОСТУПНЫЙ ОСТАТОК
========================================= */

 .budget-balance {
     position: relative;
     overflow: hidden;

     padding: 25px;
     margin-top: 24px;

     border-radius: 14px;

     background:
         linear-gradient(135deg,
             #123d32,
             #286049);
 }

 .budget-balance::before {
     content: "";

     position: absolute;
     top: -65px;
     right: -65px;

     width: 220px;
     height: 220px;

     border: 1px solid rgba(255, 255, 255, .12);
     border-radius: 50%;

     box-shadow:
         0 0 0 25px rgba(255, 255, 255, .035),
         0 0 0 50px rgba(255, 255, 255, .02);

     pointer-events: none;

     animation:
         budgetBalanceGlow 7s ease-in-out infinite;
 }

 .budget-balance>span {
     position: relative;
     display: block;

     color: #dce8b7;
     font-size: 10px;
     font-weight: 600;
     letter-spacing: 1.7px;
 }

 .budget-balance>strong {
     position: relative;
     display: block;

     color: #ffffff;

     font-size: clamp(36px, 4vw, 55px);
     font-weight: 700;
     line-height: 1.15;
     letter-spacing: -2px;

     margin: 16px 0;
 }

 .budget-balance-footer {
     position: relative;

     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 10px;
 }

 .budget-balance-footer>span:first-child {
     color: rgba(255, 255, 255, .72);
     font-size: 11px;
 }

 .budget-balance-icon {
     display: grid;
     place-items: center;

     width: 35px;
     height: 35px;

     border-radius: 50%;

     background: rgba(255, 255, 255, .12);
     color: #dce8b7;

     font-size: 20px;
 }

 .budget-balance:hover .budget-balance-icon {
     background: #dce8b7;
     color: #123d32;
 }


 /* =========================================
   ЦЕЛЬ НАКОПЛЕНИЙ
========================================= */

 .budget-goal {
     padding: 24px 0;
 }

 .budget-goal-heading {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 12px;

     margin-bottom: 16px;
 }

 .budget-goal-heading>div:first-child>span {
     display: block;

     color: #63736a;
     font-size: 11px;

     margin-bottom: 6px;
 }

 .budget-goal-heading strong {
     color: #123d32;
     font-size: 23px;
     font-weight: 700;
 }

 .budget-goal-status {
     padding: 7px 10px;

     background: #e3eddf;
     color: #39836a;

     border-radius: 6px;

     font-size: 10px;
     font-weight: 700;
 }


 /* Анимированная линия прогресса */

 .budget-goal-track {
     width: 100%;
     height: 9px;

     overflow: hidden;

     border-radius: 20px;
     background: #e3eae0;
 }

 .budget-goal-track>span {
     display: block;

     width: 100%;
     height: 100%;

     background:
         linear-gradient(90deg,
             #286d50,
             #8daf8b);

     border-radius: 20px;

     transform-origin: left;

     animation:
         budgetProgressEntrance 1.6s .8s both;
 }

 .budget-goal-footer {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 10px;

     margin-top: 12px;
 }

 .budget-goal-footer>span {
     color: #78877d;
     font-size: 11px;
 }

 .budget-goal-footer>strong {
     color: #39836a;
     font-size: 14px;
     font-weight: 700;
 }


 /* =========================================
   ГОДОВЫЕ ПОКАЗАТЕЛИ
========================================= */

 .budget-annual {
     display: grid;
     grid-template-columns: repeat(2, minmax(0, 1fr));

     gap: 12px;
     padding: 20px 0;

     border-top: 1px solid #123d3215;
     border-bottom: 1px solid #123d3215;
 }

 .budget-annual>div {
     min-width: 0;

     padding: 16px;

     background: #f0f4eb;
     border-radius: 10px;
 }

 .budget-annual>div>span {
     display: block;

     color: #63736a;
     font-size: 10px;
     line-height: 1.5;

     margin-bottom: 9px;
 }

 .budget-annual>div>strong {
     display: block;

     color: #123d32;

     font-size: clamp(20px, 2vw, 27px);
     font-weight: 700;
     letter-spacing: -.7px;

     white-space: nowrap;
 }


 /* Пояснение */

 .budget-hero .budget-insight .budget-disclaimer {
     color: #78877d;
     font-size: 10px;
     line-height: 1.65;

     margin: 18px 0;
 }


 /* Нижняя ссылка */

 .budget-insight-link {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 12px;

     padding-top: 16px;
     border-top: 1px solid #123d3215;

     color: #123d32;
     font-size: 13px;
     font-weight: 700;

     text-decoration: none;
 }

 .budget-insight-link>span {
     display: grid;
     place-items: center;
     flex-shrink: 0;

     width: 35px;
     height: 35px;

     border-radius: 50%;

     background: #123d32;
     color: white;

     transition:
         transform .35s ease,
         background .35s ease;
 }

 .budget-insight-link:hover>span {
     transform: rotate(-35deg);
     background: #548366;
 }


 /* =========================================
   АНИМАЦИИ
========================================= */

 @keyframes budgetPanelEntrance {
     from {
         opacity: 0;
         transform: translateY(35px) scale(.97);
     }

     to {
         opacity: 1;
         transform: translateY(0) scale(1);
     }
 }

 @keyframes budgetRowEntrance {
     from {
         opacity: 0;
         transform: translateX(15px);
     }

     to {
         opacity: 1;
         transform: translateX(0);
     }
 }

 @keyframes budgetRingEntrance {
     from {
         opacity: 0;
         stroke-width: 0;
     }

     to {
         opacity: 1;
         stroke-width: 19;
     }
 }

 @keyframes budgetProgressEntrance {
     from {
         transform: scaleX(0);
     }

     to {
         transform: scaleX(1);
     }
 }

 @keyframes budgetBalanceGlow {

     0%,
     100% {
         transform: scale(1);
         opacity: .6;
     }

     50% {
         transform: scale(1.14);
         opacity: 1;
     }
 }


 /* =========================================
   АДАПТАЦИЯ
========================================= */

 @media (max-width: 1200px) {

     .guide-hero-premium.budget-hero {
         grid-template-columns:
             minmax(0, 1fr) minmax(0, 1fr);

         gap: 25px;
         padding: 45px 4%;
     }

     .budget-insight-body {
         padding: 23px;
     }

     .budget-chart-layout {
         gap: 10px;
     }
 }

 @media (max-width: 900px) {

     .guide-hero-premium.budget-hero {
         grid-template-columns: minmax(0, 1fr);

         min-height: auto;
         padding: 45px 6% 70px;
         gap: 35px;
     }

     .budget-insight {
         max-width: 580px;
     }
 }

 @media (max-width: 600px) {

     .guide-hero-premium.budget-hero {
         padding: 30px 20px 65px;
         gap: 30px;

         background-position: 60% center;
     }

     .budget-hero .guide-hero-content h1 {
         font-size: clamp(32px, 9vw, 40px);
     }

     .budget-insight {
         border-radius: 15px;
     }

     .budget-insight-body {
         padding: 18px;
     }

     .budget-window-bar {
         padding: 12px 15px;
     }

     .budget-window-bar>span {
         font-size: 9px;
     }

     .budget-kpi {
         padding: 12px;
     }

     .budget-kpi>strong {
         font-size: clamp(17px, 5vw, 23px);
     }

     .budget-legend-row {
         gap: 5px;
     }

     .budget-legend-row>span {
         font-size: 10px;
     }

     .budget-legend-row>strong {
         font-size: 10px;
     }

     .budget-chart-layout {
         grid-template-columns:
             minmax(0, .8fr) minmax(0, 1.2fr);
     }

     .budget-balance {
         padding: 20px;
     }

     .budget-annual>div {
         padding: 12px;
     }
 }

 @media (max-width: 360px) {

     .budget-chart-layout {
         grid-template-columns: 1fr;
     }

     .budget-donut {
         margin: 0 auto;
     }

     .budget-kpis,
     .budget-annual {
         grid-template-columns: 1fr;
     }
 }


 /* Accessibility */

 @media (prefers-reduced-motion: reduce) {

     .budget-hero *,
     .budget-hero *::before {
         animation: none;
         transition: none;
     }
 }

 /* =========================================
   HABANDS — TRANSPORTES & MOBILIDADE
========================================= */

 .guide-hero-premium.transport-hero {
     display: grid;

     grid-template-columns:
         minmax(0, 1.1fr) minmax(0, .9fr);

     align-items: center;
     gap: 45px;

     min-height: 1000px;
     padding: 60px 5%;

     background-position: center;
     background-repeat: no-repeat;
     background-size: cover;
 }

 .transport-hero .guide-hero-content {
     width: 100%;
     min-width: 0;
     max-width: none;
 }

 .transport-hero .guide-hero-content h1 {
     font-size: clamp(40px, 4.8vw, 74px);
     overflow-wrap: break-word;
 }

 .transport-hero .guide-hero-content p {
     max-width: 820px;
 }


 /* =========================================
   АНАЛИТИЧЕСКАЯ ПАНЕЛЬ
========================================= */

 .transport-insight {
     position: relative;
     z-index: 3;

     width: 100%;
     min-width: 0;
     box-sizing: border-box;

     padding: 28px;

     background: rgba(255, 255, 255, .96);

     backdrop-filter: blur(20px);
     -webkit-backdrop-filter: blur(20px);

     border: 1px solid rgba(255, 255, 255, .55);
     border-radius: 20px;

     color: #123d32;

     box-shadow:
         0 35px 80px rgba(0, 0, 0, .25);

     animation:
         transportPanelEntrance 1s .2s both;
 }


 /* Header */

 .transport-insight-header {
     display: flex;
     align-items: center;
     gap: 15px;

     padding-bottom: 22px;
     border-bottom: 1px solid #123d3220;
 }

 .transport-header-icon {
     display: grid;
     place-items: center;
     flex-shrink: 0;

     width: 52px;
     height: 52px;

     border-radius: 14px;

     background: #e5eddf;
     color: #39836a;
 }

 .transport-header-icon svg {
     width: 28px;
     height: 28px;
 }

 .transport-label {
     display: block;

     color: #728579;
     font-size: 9px;
     font-weight: 700;
     letter-spacing: 1.5px;

     margin-bottom: 6px;
 }

 .transport-insight h3 {
     color: #123d32;
     font-size: 22px;
     line-height: 1.3;

     margin: 0;
 }


 /* Период сравнения */

 .transport-period {
     display: flex;
     justify-content: space-between;
     align-items: center;

     margin: 20px 0 5px;

     color: #78877d;
     font-size: 10px;
 }

 .transport-period>span:last-child {
     letter-spacing: 1px;
     font-weight: 600;
 }


 /* =========================================
   ВАРИАНТЫ ПЕРЕДВИЖЕНИЯ
========================================= */

 .transport-option {
     padding: 20px 0;

     border-bottom: 1px solid #123d3215;

     animation:
         transportOptionEntrance .7s var(--transport-delay) both;
 }

 .transport-option-header {
     display: grid;

     grid-template-columns:
         42px minmax(0, 1fr) auto;

     align-items: center;
     gap: 12px;

     margin-bottom: 17px;
 }

 .transport-option-icon {
     display: grid;
     place-items: center;

     width: 42px;
     height: 42px;

     background: #edf2e8;
     color: var(--transport-color);

     border-radius: 11px;

     transition:
         transform .35s ease,
         background .35s ease;
 }

 .transport-option-icon svg {
     width: 25px;
     height: 25px;
 }

 .transport-option:hover .transport-option-icon {
     transform: translateY(-3px) scale(1.08);
     background: #e4ebdf;
 }

 .transport-option-header strong {
     display: block;

     color: #123d32;

     font-size: 14px;
     font-weight: 700;
     line-height: 1.4;
 }

 .transport-option-header small {
     display: block;

     color: #78877d;

     font-size: 10px;
     line-height: 1.5;

     margin-top: 4px;
 }

 .transport-option-header b {
     color: #123d32;

     font-size: 16px;
     font-weight: 700;

     font-variant-numeric: tabular-nums;
     white-space: nowrap;
 }


 /* =========================================
   ДИАГРАММЫ
========================================= */

 .transport-track {
     position: relative;

     width: 100%;
     height: 10px;

     overflow: hidden;

     border-radius: 20px;
     background: #e5ebe3;
 }

 .transport-track>span {
     position: relative;
     display: block;

     width: var(--transport-width);
     height: 100%;

     border-radius: 20px;

     background: var(--transport-color);

     transform-origin: left;

     animation:
         transportBarEntrance 1.5s calc(var(--transport-delay) + .5s) both;
 }


 /* Световой эффект на диаграмме */

 .transport-track>span::after {
     content: "";

     position: absolute;
     inset: 0;

     background: linear-gradient(90deg,
             transparent 0%,
             rgba(255, 255, 255, .3) 50%,
             transparent 100%);

     transform: translateX(-100%);

     animation:
         transportBarShine 5s 2s ease-in-out infinite;
 }


 /* =========================================
   СТРУКТУРА РАСХОДОВ АВТОМОБИЛЯ
========================================= */

 .transport-cost-breakdown {
     display: grid;
     grid-template-columns: repeat(2, minmax(0, 1fr));

     gap: 10px;
     margin-top: 16px;
 }

 .transport-cost-breakdown>div {
     min-width: 0;

     padding: 12px;

     border-radius: 8px;
     background: #f3f5ef;

     transition:
         background .3s ease,
         transform .3s ease;
 }

 .transport-cost-breakdown>div:hover {
     background: #e6eddf;
     transform: translateY(-3px);
 }

 .transport-cost-breakdown span {
     display: block;

     color: #63736a;

     font-size: 10px;
     line-height: 1.5;

     margin-bottom: 6px;
 }

 .transport-cost-breakdown strong {
     display: block;

     color: #123d32;
     font-size: 16px;
     font-weight: 700;
 }

 .transport-option-description {
     margin-top: 12px;

     color: #78877d;
     font-size: 11px;
     line-height: 1.6;
 }


 /* =========================================
   ГОДОВОЕ СРАВНЕНИЕ
========================================= */

 .transport-annual-comparison {
     padding: 24px 0;
 }

 .transport-section-heading {
     font-size: 13px;
     color: #123d32;
     font-weight: 700;

     margin-bottom: 16px;
 }

 .transport-annual-row {
     display: flex;
     justify-content: space-between;
     align-items: center;
     gap: 15px;

     padding: 9px 0;
 }

 .transport-annual-row>span {
     color: #63736a;
     font-size: 12px;
 }

 .transport-annual-row>strong {
     color: #123d32;
     font-size: 15px;
     font-weight: 700;

     white-space: nowrap;
 }


 /* =========================================
   ИТОГОВЫЙ РЕЗУЛЬТАТ
========================================= */

 .transport-result {
     position: relative;
     overflow: hidden;

     padding: 25px;

     border-radius: 14px;

     background:
         linear-gradient(135deg,
             #123d32,
             #286049);
 }

 .transport-result::before {
     content: "";

     position: absolute;
     top: -65px;
     right: -65px;

     width: 220px;
     height: 220px;

     border: 1px solid rgba(255, 255, 255, .12);
     border-radius: 50%;

     box-shadow:
         0 0 0 25px rgba(255, 255, 255, .035),
         0 0 0 50px rgba(255, 255, 255, .025);

     pointer-events: none;

     animation:
         transportResultGlow 7s ease-in-out infinite;
 }

 .transport-result>span {
     position: relative;
     display: block;

     color: #dce8b7;
     font-size: 10px;
     font-weight: 600;
     letter-spacing: 1.8px;
 }

 .transport-result>strong {
     position: relative;
     display: block;

     color: #ffffff;

     font-size: clamp(34px, 4vw, 52px);
     font-weight: 700;
     line-height: 1.2;
     letter-spacing: -1.8px;

     margin: 15px 0;
 }

 .transport-result-footer {
     position: relative;

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

 .transport-result-footer b {
     display: block;

     color: #dce8b7;
     font-size: 15px;
     font-weight: 600;

     margin-bottom: 5px;
 }

 .transport-result-footer small {
     display: block;

     color: rgba(255, 255, 255, .72);
     font-size: 10px;
     line-height: 1.5;
 }

 .transport-result-icon {
     display: grid;
     place-items: center;
     flex-shrink: 0;

     width: 36px;
     height: 36px;

     border-radius: 50%;

     background: rgba(255, 255, 255, .12);
     color: #dce8b7;

     font-size: 22px;
 }


 /* Пояснение */

 .transport-hero .transport-insight .transport-disclaimer {
     color: #78877d;
     font-size: 10px;
     line-height: 1.7;

     margin: 18px 0;
 }


 /* Нижняя кнопка */

 .transport-insight-link {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 12px;

     padding-top: 16px;
     border-top: 1px solid #123d3215;

     color: #123d32;

     font-size: 13px;
     font-weight: 700;
     text-decoration: none;
 }

 .transport-insight-link>span {
     display: grid;
     place-items: center;
     flex-shrink: 0;

     width: 35px;
     height: 35px;

     border-radius: 50%;

     background: #123d32;
     color: white;

     transition:
         transform .35s ease,
         background .35s ease;
 }

 .transport-insight-link:hover>span {
     transform: rotate(-35deg);
     background: #548366;
 }


 /* =========================================
   АНИМАЦИИ
========================================= */

 @keyframes transportPanelEntrance {
     from {
         opacity: 0;
         transform: translateY(35px) scale(.97);
     }

     to {
         opacity: 1;
         transform: translateY(0) scale(1);
     }
 }

 @keyframes transportOptionEntrance {
     from {
         opacity: 0;
         transform: translateX(15px);
     }

     to {
         opacity: 1;
         transform: translateX(0);
     }
 }

 @keyframes transportBarEntrance {
     from {
         transform: scaleX(0);
     }

     to {
         transform: scaleX(1);
     }
 }

 @keyframes transportBarShine {

     0%,
     60% {
         transform: translateX(-100%);
     }

     85%,
     100% {
         transform: translateX(100%);
     }

 }

 @keyframes transportResultGlow {

     0%,
     100% {
         transform: scale(1);
         opacity: .6;
     }

     50% {
         transform: scale(1.14);
         opacity: 1;
     }

 }


 /* =========================================
   АДАПТАЦИЯ
========================================= */

 @media (max-width: 1200px) {

     .guide-hero-premium.transport-hero {
         grid-template-columns:
             minmax(0, 1fr) minmax(0, 1fr);

         gap: 25px;
         padding: 45px 4%;
     }

     .transport-insight {
         padding: 23px;
     }

 }

 @media (max-width: 900px) {

     .guide-hero-premium.transport-hero {
         grid-template-columns: minmax(0, 1fr);

         min-height: auto;
         padding: 45px 6% 70px;

         gap: 35px;
     }

     .transport-insight {
         max-width: 580px;
     }

 }

 @media (max-width: 600px) {

     .guide-hero-premium.transport-hero {
         padding: 30px 20px 65px;
         gap: 30px;

         background-position: 60% center;
     }

     .transport-hero .guide-hero-content h1 {
         font-size: clamp(32px, 9vw, 40px);
     }

     .transport-insight {
         padding: 18px;
         border-radius: 15px;
     }

     .transport-option-header {
         grid-template-columns:
             32px minmax(0, 1fr) auto;

         gap: 8px;
     }

     .transport-option-icon {
         width: 32px;
         height: 32px;
     }

     .transport-option-icon svg {
         width: 20px;
         height: 20px;
     }

     .transport-option-header strong {
         font-size: 12px;
     }

     .transport-option-header small {
         font-size: 9px;
     }

     .transport-option-header b {
         font-size: 12px;
     }

     .transport-cost-breakdown {
         gap: 7px;
     }

     .transport-cost-breakdown>div {
         padding: 10px;
     }

     .transport-result {
         padding: 20px;
     }

 }

 @media (max-width: 350px) {

     .transport-option-header {
         grid-template-columns: 28px minmax(0, 1fr);
     }

     .transport-option-header b {
         grid-column: 2;
     }

     .transport-cost-breakdown {
         grid-template-columns: 1fr;
     }

 }


 /* Accessibility */

 @media (prefers-reduced-motion: reduce) {

     .transport-hero *,
     .transport-hero *::before,
     .transport-hero *::after {
         animation: none;
         transition: none;
     }

 }

 /*  */
 .guide-hero.guide-hero-premium {
     --guide-photo: url('/assets/images/habitacao.webp');
     position: relative;
     isolation: isolate;
     display: grid;
     grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
     align-items: center;
     gap: 0;
     width: 100%;
     height: auto;
     min-height: 0;
     max-height: none;
     padding: 0;
     margin: 25px 0 45px;
     box-sizing: border-box;
     background: #12382e !important;
     border-radius: 22px;
     overflow: hidden;
     color: #ffffff;
 }
 .guide-hero-premium.food-hero {
     --guide-photo: url('/assets/images/alimentacao-1.webp');
 }
 .guide-hero-premium.energy-hero {
     --guide-photo: url('/assets/images/energia-1.webp');
 }
 .guide-hero-premium.transport-hero {
     --guide-photo: url('/assets/images/transportes-1.webp');
 }
 .guide-hero-premium.essentials-hero {
     --guide-photo: url('/assets/images/essenciais-1.webp');
 }
 .guide-hero-premium.budget-hero {
     --guide-photo: url('/assets/images/familia-1.webp');
 }

 .guide-hero.guide-hero-premium::before {
     content: "";

     position: relative;
     inset: auto;

     display: block;

     grid-column: 1 / -1;

     width: 100%;
     height: clamp(220px, 22vw, 330px);

     background-image:
         linear-gradient(180deg,
             transparent 50%,
             rgba(18, 56, 46, .35) 100%),
         var(--guide-photo);

     background-position: center;
     background-size: cover;
     background-repeat: no-repeat;

     z-index: 0;

     animation: guidePhotoEntrance 1.1s ease both;
 }


 /* =========================================
   ЛЕВАЯ ИНФОРМАЦИОННАЯ ЧАСТЬ
========================================= */

 .guide-hero-premium .guide-hero-content {
     position: relative;

     width: 100%;
     min-width: 0;
     max-width: none;

     box-sizing: border-box;

     padding: 35px 40px;

     align-self: center;

     z-index: 2;
 }

 .guide-hero-premium .guide-return {
     margin-bottom: 25px;

     font-size: 13px;
 }

 .guide-hero-premium .guide-label {
     gap: 8px;
     margin-bottom: 20px;
 }

 .guide-hero-premium .guide-label span {
     font-size: 9px;
     padding: 6px 11px;
 }

 .guide-hero-premium .guide-category {
     font-size: 11px;

     letter-spacing: 2px;
     margin-bottom: 12px;
 }


 /* Уменьшаем заголовки всех страниц */

 .guide-hero-premium .guide-hero-content h1 {
     color: #ffffff;

     font-size: clamp(32px, 3.2vw, 49px);
     line-height: 1.12;
     letter-spacing: -.035em;

     margin: 0 0 22px;

     overflow-wrap: break-word;
 }

 .guide-hero-premium h1 em {
     color: #dce8b7;
     font-style: normal;
 }


 /* Уменьшаем отступы между абзацами */

 .guide-hero-premium .guide-hero-content p {
     max-width: 600px;

     font-size: 15px;
     line-height: 1.75;

     color: rgba(255, 255, 255, .85);

     margin: 0 0 16px;
 }


 /* Кнопки */

 .guide-hero-premium .guide-hero-actions {
     display: flex;
     flex-wrap: wrap;

     gap: 10px;
     margin-top: 26px;
 }

 .guide-hero-premium .guide-button,
 .guide-hero-premium .guide-button-outline {
     padding: 14px 19px;

     font-size: 12px;
     gap: 12px;

     border-radius: 7px;
 }
 .guide-hero-premium :is(.food-insight,
     .energy-insight,
     .transport-insight,
     .essentials-insight,
     .budget-insight) {
     position: relative;

     width: auto;
     min-width: 0;
     max-width: none;

     align-self: center;

     margin: 28px 30px 28px 0;
     padding: 22px;

     box-sizing: border-box;

     background: #ffffff;
     color: #123d32;

     border-radius: 15px;

     box-shadow: 0 15px 40px rgba(0, 0, 0, .14);

     animation: guideDashboardEntrance .85s .15s ease both;
 }


 /* Budget имеет собственный внутренний контейнер */

 .guide-hero-premium .budget-insight {
     padding: 0;
 }

 .guide-hero-premium .budget-insight-body {
     padding: 22px;
 }


 /* =========================================
   КОМПАКТНОЕ ОФОРМЛЕНИЕ АНАЛИТИКИ
========================================= */

 .guide-hero-premium :is(.food-insight,
     .energy-insight,
     .transport-insight,
     .essentials-insight,
     .budget-insight) h3 {
     font-size: 19px;
     line-height: 1.3;
     margin: 0;
 }


 /* Меньше пространства между разделами */

 .budget-hero .budget-insight-header {
     margin-bottom: 16px;
 }

 .budget-hero .budget-kpis {
     margin-bottom: 15px;
 }

 .budget-hero .budget-kpi {
     padding: 13px;
 }

 .budget-hero .budget-distribution {
     padding: 15px 0;
 }

 .budget-hero .budget-donut {
     max-width: 145px;
 }

 .budget-hero .budget-legend {
     gap: 9px;
 }

 .budget-hero .budget-balance {
     padding: 20px;
     margin-top: 15px;
 }

 .budget-hero .budget-goal {
     padding: 15px 0;
 }

 .budget-hero .budget-annual {
     padding: 12px 0;
 }

 .budget-hero .budget-annual>div {
     padding: 12px;
 }


 /* Остальные тематические панели */

 .energy-hero .energy-service,
 .transport-hero .transport-option {
     padding: 13px 0;
 }

 .essentials-hero .essentials-expense {
     padding: 10px 0;
 }

 .food-hero .food-insight-divider {
     margin: 18px 0;
 }

 .food-hero .food-comparison {
     margin-bottom: 16px;
 }

 .transport-hero .transport-annual-comparison {
     padding: 15px 0;
 }

 .guide-hero-premium :is(.food-result,
     .energy-annual,
     .transport-result,
     .essentials-annual,
     .budget-balance)>strong {
     font-size: clamp(30px, 3vw, 42px);
     letter-spacing: -1px;
     line-height: 1.15;
 }

 .guide-hero-premium .guide-hero-caption {
     position: static;
     grid-column: 1 / -1;
     padding: 16px 30px;
     margin: 0;
     text-align: right;
     border-top: 1px solid rgba(255, 255, 255, .10);
     color: rgba(255, 255, 255, .55);
     font-size: 9px;
     letter-spacing: 1.5px;
 }

 .guide-hero-premium:has(> .guide-hero-content):not(:has(> .food-insight,
         > .energy-insight,
         > .transport-insight,
         > .essentials-insight,
         > .budget-insight)) {
     grid-template-columns: minmax(0, 1fr);
 }

 @keyframes guidePhotoEntrance {
     from {
         opacity: 0;
         transform: scale(1.015);
     }

     to {
         opacity: 1;
         transform: scale(1);
     }
 }

 @keyframes guideDashboardEntrance {
     from {
         opacity: 0;
         transform: translateY(20px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }


 /* =========================================
   ПЛАНШЕТЫ
========================================= */

 @media (max-width: 1000px) {

     .guide-hero-premium .guide-hero-content {
         padding: 28px;
     }

     .guide-hero-premium :is(.food-insight,
         .energy-insight,
         .transport-insight,
         .essentials-insight,
         .budget-insight) {
         margin: 20px 20px 20px 0;
     }

 }


 /* =========================================
   МОБИЛЬНАЯ ВЕРСИЯ
========================================= */

 @media (max-width: 850px) {

     .guide-hero.guide-hero-premium {
         grid-template-columns: minmax(0, 1fr);

         min-height: 0;
         padding: 0;
     }

     .guide-hero.guide-hero-premium::before {
         height: 250px;
     }

     .guide-hero-premium .guide-hero-content {
         padding: 28px;
     }

     .guide-hero-premium :is(.food-insight,
         .energy-insight,
         .transport-insight,
         .essentials-insight,
         .budget-insight) {
         margin: 0 25px 25px;
     }

 }

 @media (max-width: 600px) {

     .guide-hero.guide-hero-premium {
         border-radius: 15px;
         margin: 10px 0 35px;
     }

     .guide-hero.guide-hero-premium::before {
         height: 210px;
     }

     .guide-hero-premium .guide-hero-content {
         padding: 25px 20px;
     }

     .guide-hero-premium .guide-hero-content h1 {
         font-size: clamp(30px, 8vw, 40px);
     }

     .guide-hero-premium .guide-hero-content p {
         font-size: 14px;
         line-height: 1.7;
     }

     .guide-hero-premium :is(.food-insight,
         .energy-insight,
         .transport-insight,
         .essentials-insight,
         .budget-insight) {
         margin: 0 14px 20px;
     }

     .guide-hero-premium .guide-hero-caption {
         text-align: center;

         font-size: 8px;
         padding: 14px;
     }

 }


 /* Accessibility */

 @media (prefers-reduced-motion: reduce) {

     .guide-hero-premium *,
     .guide-hero-premium::before,
     .guide-hero-premium *::before,
     .guide-hero-premium *::after {
         animation: none !important;
         transition: none !important;
     }

 }
 /* =========================================
   HABANDS — HABITAÇÃO
========================================= */

.guide-hero-premium.housing-hero {
    --guide-photo: url('/assets/images/habitacao.webp');
}


/* Период расчёта */

.housing-period {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    margin: 18px 0 0;

    color: #78877d;
    font-size: 10px;
}

.housing-period > span:last-child {
    font-weight: 600;
    letter-spacing: 1px;
}


/* Компактное отображение расходов */

.housing-hero .essentials-expense {
    padding: 11px 0;
}

.housing-hero .essentials-expense:hover {
    background: #edf2e8;
    border-radius: 8px;
}

.housing-hero .essentials-insight h3 {
    font-size: 20px;
}


/* =========================================
   ДИАГРАММА РАСПРЕДЕЛЕНИЯ
========================================= */

.housing-distribution {
    margin: 20px 0;
    padding: 20px 0;

    border-top: 1px solid #123d3215;
}

.housing-distribution-title {
    margin-bottom: 20px;

    color: #123d32;
    font-size: 13px;
    font-weight: 600;
}

.housing-chart-layout {
    display: grid;

    grid-template-columns:
        minmax(0, .85fr)
        minmax(0, 1.15fr);

    align-items: center;
    gap: 16px;
}


/* Кольцевая диаграмма */

.housing-donut {
    position: relative;

    width: 100%;
    max-width: 150px;

    aspect-ratio: 1;
}

.housing-donut > svg {
    display: block;

    width: 100%;
    height: 100%;
}


/* Анимация сегментов */

.housing-ring-main {
    animation: housingRingEntrance .9s .4s both;
}

.housing-ring-other {
    animation: housingRingEntrance .9s .65s both;
}


/* Центральный показатель */

.housing-donut-center {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    pointer-events: none;
}

.housing-donut-center > strong {
    color: #123d32;

    font-size: clamp(20px, 2.4vw, 30px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
}

.housing-donut-center > span {
    color: #78877d;
    font-size: 10px;

    margin-top: 6px;
}


/* =========================================
   ЛЕГЕНДА ДИАГРАММЫ
========================================= */

.housing-chart-legend {
    display: flex;
    flex-direction: column;
    gap: 18px;

    min-width: 0;
}

.housing-legend-row {
    display: grid;

    grid-template-columns:
        9px minmax(0, 1fr) auto;

    align-items: center;
    gap: 8px;
}

.housing-legend-row > i {
    display: block;

    width: 9px;
    height: 9px;

    border-radius: 3px;
}

.housing-legend-row > div > span {
    display: block;

    color: #63736a;
    font-size: 10px;
    line-height: 1.4;

    margin-bottom: 5px;
}

.housing-legend-row > div > strong {
    display: block;

    color: #123d32;
    font-size: 15px;
    font-weight: 700;
}

.housing-legend-row > b {
    color: #548366;

    font-size: 11px;
    font-weight: 600;

    white-space: nowrap;
}


/* =========================================
   ДОПОЛНИТЕЛЬНЫЕ ГОДОВЫЕ РАСХОДЫ
========================================= */

.housing-additional {
    margin-top: 15px;
    padding: 18px;

    border: 1px solid #123d3210;
    border-radius: 10px;

    background: #edf2e8;

    transition:
        background .3s ease,
        transform .3s ease;
}

.housing-additional:hover {
    background: #e3eddf;
    transform: translateY(-3px);
}

.housing-additional > span {
    display: block;

    color: #63736a;
    font-size: 11px;

    margin-bottom: 8px;
}

.housing-additional > strong {
    display: block;

    color: #123d32;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -.7px;

    margin-bottom: 7px;
}

.housing-additional > small {
    display: block;

    color: #78877d;
    font-size: 11px;
    line-height: 1.6;
}


/* Годовой результат */

.housing-hero .essentials-annual {
    padding: 22px;
}

.housing-hero .essentials-annual > strong {
    font-size: clamp(30px, 3vw, 42px);
}


/* Пояснение */

.housing-hero .housing-insight .essentials-disclaimer {
    color: #78877d;
    font-size: 11px;
    line-height: 1.65;

    margin: 18px 0;
}


/* =========================================
   АНИМАЦИЯ
========================================= */

@keyframes housingRingEntrance {

    from {
        opacity: 0;
        stroke-width: 0;
    }

    to {
        opacity: 1;
        stroke-width: 20;
    }

}


/* =========================================
   МОБИЛЬНАЯ АДАПТАЦИЯ
========================================= */

@media (max-width: 600px) {

    .housing-chart-layout {
        grid-template-columns:
            minmax(0, .8fr)
            minmax(0, 1.2fr);

        gap: 10px;
    }

    .housing-donut {
        max-width: 130px;
    }

    .housing-donut-center > strong {
        font-size: 21px;
    }

    .housing-legend-row {
        gap: 5px;
    }

    .housing-legend-row > div > span {
        font-size: 10px;
    }

    .housing-legend-row > div > strong {
        font-size: 12px;
    }

    .housing-legend-row > b {
        font-size: 10px;
    }

    .housing-hero .essentials-expense {
        grid-template-columns: 30px minmax(0, 1fr) auto;
        gap: 8px;
    }

    .housing-hero .essentials-expense-icon {
        width: 30px;
        height: 30px;
    }

    .housing-hero .essentials-expense-icon svg {
        width: 17px;
        height: 17px;
    }

    .housing-hero .essentials-expense b {
        font-size: 12px;
    }

    .housing-annual,
    .housing-additional {
        padding: 16px;
    }

}

@media (max-width: 380px) {

    .housing-chart-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .housing-donut {
        margin: 0 auto 10px;
    }

}

@media (prefers-reduced-motion: reduce) {

    .housing-hero *,
    .housing-hero *::before,
    .housing-hero *::after {
        animation: none;
        transition: none;
    }

}