:root {
    --one: #567;
    --two: #789;
	
    --three: #363636;
	--y: #307351;
	--g: #D2D2D2;
	--bg: #1c1c1c;
	--black: #212121;
    --res: 1920;
	
	--f1: 60px;


	--text: #25252b;
	--muted: #727279;

	--accent: #f47d68;
	--accent-dark: #e86b57;
	--accent-light: #fff0ec;

	--cream: #faf6f3;
	--cream-2: #f7f1ed;

	--line: #ebe5e1;

	--white: #ffffff;

	--radius-sm: 12px;
	--radius-md: 18px;

	--shadow: 0 12px 35px rgba(42, 31, 26, 0.07);
	--shadow-hover: 0 18px 45px rgba(42, 31, 26, 0.11);
}
 
*, ::before, ::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
html, body {
	font-family: "Manrope", Arial, sans-serif;
	color: #467;
	/* background: #fff; */
	line-height: 1.4;
	-webkit-font-smoothing: antialiased;
	font-optical-sizing: auto;
	font-weight: normal;
	font-style: normal;
	/* font-size: clamp(7px, calc(100vw / 1920 * 10), 10px); */
    font-size: 16px;
}
html {
	scroll-behavior: smooth;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
body > footer ~ section, body > section:last-of-type {
    flex-grow: 1;
}
header, footer {
    flex-shrink: 0;
}

        img {
            display: block;
            max-width: 100%;
        }

        button,
        input {
            font: inherit;
        }

        button {
            border: 0;
            cursor: pointer;
        }

        a {
            color: inherit;
            text-decoration: none;
        }
ul {
    list-style-position: inside;
}
		
input[type="text"], input[type="password"], input[type="email"] {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px 15px;
    outline: none;
}
input[type="text"]:focus-visible, input[type="password"]:focus-visible {
    /* outline: none; */
    border-color: var(--accent);
}

section {
    grid-row: auto;
    position: relative;
}
h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--one);
}
h2 {
    font-size: 43px;
    line-height: 1.1;
    color: var(--one);
}
        /* =========================================================
           COMMON
        ========================================================= */

.container,
.container-fluid,
.container-xxl,
.container-xl,
.container-lg,
.container-md,
.container-sm {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container-sm, .container {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .container-md, .container-sm, .container {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .container-lg, .container-md, .container-sm, .container {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .container-xl, .container-lg, .container-md, .container-sm, .container {
    max-width: 1320px;
  }
}
@media (min-width: 1400px) {
  .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
    max-width: 1320px;
  }
}
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}
.row > * {
  box-sizing: border-box;
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

.col {
  flex: 1 0 0;
}


/*
        .section {
            padding: 120px 0;
        }

        .section-label {
            margin-bottom: 14px;

            color: var(--accent);

            font-size: 13px;
            font-weight: 700;
            letter-spacing: .13em;
            text-transform: uppercase;
        }

        .section-title {
            font-size: 48px;
            line-height: 1.08;
            letter-spacing: -0.035em;
            font-weight: 600;
        }

        .section-description {
            margin-top: 22px;

            max-width: 560px;

            color: var(--muted);
            font-size: 18px;
            line-height: 1.65;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;

            min-height: 52px;
            padding: 0 25px;

            border-radius: var(--radius-sm);

            font-size: 15px;
            font-weight: 600;

            transition:
                transform var(--transition),
                background var(--transition),
                box-shadow var(--transition),
                color var(--transition);
        }

        .btn:hover {
            transform: translateY(-2px);
        }

        .btn-primary {
            color: #fff;
            background: var(--accent);

            box-shadow:
                0 8px 22px rgba(244, 125, 104, .20);
        }

        .btn-primary:hover {
            background: var(--accent-dark);

            box-shadow:
                0 12px 28px rgba(244, 125, 104, .28);
        }

        .btn-outline {
            color: var(--accent);
            background: #fff;
            border: 1px solid rgba(244, 125, 104, .55);
        }

        .btn-outline:hover {
            background: var(--accent-light);
        }
*/

.btn {
    display: inline-block;
    padding: 8px 30px;
    background: var(--accent);
    border-radius: 4px;
    color: #fff;
    font-weight: 500;
    letter-spacing: 0.5px;
}
        .btn:hover {
    background: var(--accent-dark);
        }


.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--accent-light);
    color: var(--one);
    padding: 15px 0;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    font-size: 14px;
}
.cookie-banner-content {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}
.cookie-banner p {
  margin: 0;
}

.cookie-banner a {
    color: var(--two);
    text-decoration: underline;
}

.cookie-banner a:hover {
  text-decoration: none;
}

/*.cookie-banner-btn {
  background-color: #28a745;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.cookie-banner-btn:hover {
  background-color: #218838;
}
*//*
@media (max-width: 600px) {
  .cookie-banner-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-banner-btn {
    width: 100%;
  }
}
*/
        /* =========================================================
           HEADER
        ========================================================= */

.header {
    position: relative;
	background: linear-gradient(90deg, 
    rgba(250, 246, 243, .68) 0%, 
    rgba(250, 246, 243, .28) 37%, 
    rgba(250, 246, 243, .88) 51%, 
    rgba(245, 235, 255, .68) 64%, 
    rgba(250, 246, 243, 0.7) 100%
  );
  background-size: 200% 100%;
  animation: moveSpot 8s ease-in-out infinite alternate;
}

@keyframes moveSpot {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
}

.logo img {
    height: 60px;
}

.logo svg {
    height: 55px;
    width: auto;
}

nav {
    position: relative;
    display: flex;
    align-items: center;
    gap: 30px;
}

nav .menu {
    position: relative;
    display: flex;
    gap: 30px;
}
nav .menu-block {
    position: relative;
    border-bottom: 1px solid #ccc;
    padding: 16px 0px 6px;
    display: flex;
    gap: 15px;
}
nav .menu-block span {
    position: absolute;
    top: 0px;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: bold;
    color: #9ab;
}
nav .menu-block i {
    width: 2px;
    display: inline-block;
    font-style: normal;
}
nav a {
    position: relative;
    font-size: 18px;
    font-weight: 500;
    transition: color var(--transition);
    line-height: 1;
}
nav .menu > a {
    margin-top: 15px;
}

nav a svg {
    height: 23px;
    line-height: 0;
    fill: var(--one);
}
        nav a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -7px;
            width: 0;
            height: 1px;
            background: var(--accent);
            transition: width var(--transition);
        }

        nav a:hover {
            color: var(--accent);
        }

        nav a:hover::after {
            width: 100%;
        }
        nav .menu > a::after {
            display: none;
		}
        nav .menu > a:hover {
            color: var(--accent);
            fill: var(--accent);
		}

        /*.header-actions {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .header .btn {
            min-height: 44px;
            padding: 0 19px;
            font-size: 13px;
        }*/

.p404-content {
    display: flex;
    flex-flow: column;
    gap: 8px;
    align-items: center;
    margin-top: 10vh;
}
.p404 figure {
    width: 180px;
    height: auto;
}
.p404 p {
    font-size: 18px;
    font-weight: 500;
}
.p404 a {
    margin-top: 60px;
}

        /* =========================================================
           HERO
        ========================================================= */

.hero {
    position: relative;
}
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 30px 0 90px;
}
.hero h3 {
    margin-bottom: 20px;
    color: var(--accent);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.hero h1 {
    max-width: 55%;
    font-size: 60px;
    line-height: 1.1;
    letter-spacing: -0.05em;
    font-weight: 600;
    color: #fff;
}
.hero h1+p {
    max-width: 55%;
    margin-top: 30px;
    color: var(--cream);
    font-size: 26px;
}
.hero-benefits {
    display: flex;
    gap: 15px;
    margin-top: 60px;
}
.hero-benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 17px;
    line-height: 1.2;
    /* background: rgba(255,255,255,0.2); */
    padding: 4px;
    border-radius: 8px;
    /* backdrop-filter: blur(6px); */
    color: #fff;
    font-weight: 500;
}
.hero-benefit svg {
    width: 40px;
    height: 39px;
    fill: #fff;
}
.hero-benefit figure {
    height: auto;
    width: 55px;
}
.hero-matrix {
    position: absolute;
    z-index: 2;
    left: 70%;
    top: 50%;
    width: 300px;
    height: 300px;
    transform: translateY(-50%);
    /* opacity: .8; */
	  animation: wave-pulses 4.5s infinite ease-in-out;
}
.hero figure.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}
.hero figure.hero-bg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero svg.wave {
    position: absolute;
    bottom: -30px;
    width: 100%;
    fill: var(--cream);
}

.hero-shd {
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 100%;
    backdrop-filter: blur(12px);
    -webkit-mask-image: linear-gradient(to right, 
    rgba(0, 0, 0, 1) 0%,     
    rgba(0, 0, 0, 0.7) 85%,  
    rgba(0, 0, 0, 0) 100%    
  );
    background: rgba(0,0,0,0.3);
}
.hero-btn {
    margin-top: 30px;
    display: flex;
    gap: 30px;
}

@keyframes wave-pulses {
  /* --- ВОЛНА 1 (0.0с - 0.5с) --- */
  0%   { opacity: 0.8; }
  20% { opacity: 1.0; } /* Пик на 0.25с (0.25 / 4.5 ≈ 5.5%) */
  40% { opacity: 0.8; } /* Конец на 0.5с (0.5 / 4.5 ≈ 11.1%) */

  /* --- ПАУЗА 3 СЕКУНДЫ (1.5с - 4.5с) --- */
  100%  { opacity: 0.8; } /* Удерживаем 0.8 до самого конца цикла */
}

        /* =========================================================
           SERVICES
        ========================================================= */

        .services {
            position: relative;

            padding-top: 105px;
            padding-bottom: 125px;

            background: #fff;
        }

        /*.services::before {
            content: "";

            position: absolute;
            left: -5%;
            right: -5%;
            top: -35px;

            height: 70px;

            background: #fff;

            border-radius: 50% 50% 0 0 / 100% 100% 0 0;
        }*/

        .services-heading {
            text-align: center;
            margin-bottom: 30px;
        }

        .services-heading .section-title {
            font-size: 42px;
        }

.services-list {
    display: flex;
    gap: 15px;
    flex-flow: row wrap;
    margin-top: 30px;
}
.service-card {
    display: flex;
    flex-direction: column;
    padding: 15px 30px;
    background: #fff;
    border: 1px solid #eee9e6;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    flex: calc(33.33333% - 10px) 0 0;
    cursor: pointer;
    position: relative;
}
.service-card:hover {
	/* transform: translateY(-1px); */
	box-shadow: var(--shadow-hover);
	border-color: var(--accent);
}
.services-list.services-forecast .service-card {
    flex: 1 0 0;
    /* background: var(--accent-light); */
}

.service-card svg {
    width: 45px;
    height: 45px;
    fill: var(--accent);
}
.service-card img {
    height: 50px;
    width: fit-content;
}
.service-card a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.services-list.services-forecast .service-card b {
    position: absolute;
    top: 15px;
    right: 30px;
    color: #fff;
    background: var(
    --accent);
    padding: 2px 6px;
    border-radius: 3px;
}
.services-list.services-forecast .service-card h3 {
    display: inline;
    background: var(--accent-light);
    width: fit-content;
    padding: 2px 8px;
    margin-top: 4px;
}

        .service-card h3 {
            margin-bottom: 15px;

            font-size: 21px;
            line-height: 1.25;
            font-weight: 600;
        }

        .service-card p {
            color: var(--muted);

            font-size: 14px;
            line-height: 1.6;
        }

        .service-price {
            margin-top: auto;
            padding-top: 25px;

            font-size: 18px;
            font-weight: 700;
        }
.service-price span {
    color: var(--two);
    display: inline-block;
    position: relative;
    top: -18px;
    text-decoration: line-through;
}
        .service-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;

            margin-top: 15px;

            color: var(--accent);

            font-size: 13px;
            font-weight: 600;
        }

        .service-more {
            display: flex;
            justify-content: center;

            margin-top: 40px;
        }
svg.services-wave {
    position: absolute;
    bottom: 0;
    fill: var(--cream);
}

.section-label {
    color: var(--accent);
    font-size: 18px;
    font-weight: 500;
}

section.diff {
    position: relative;
    background: var(--cream);
    padding: 15px 0 15px;
}
.diff-wrap {
    display: flex;
    gap: 30px;
    flex-flow: row wrap;
}
.diff figure {
    flex: 40% 0 0;
}
.diff-content {
    flex: 1 0 0;
}
.diff h2 {
    margin-bottom: 15px;
}
.diff-txt {
    font-size: 18px;
}


        /* =========================================================
           TRUST
        ========================================================= */
        .trust {
            position: relative;
            background: var(--cream);
            padding: 75px 0 120px;
            overflow: hidden;
        }
.trust-intro {
    padding-top: 25px;
    flex: 30% 0 0;
}
.trust-intro .section-title {
    font-size: 60px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.trust-intro p {
    margin-top: 30px;
    font-size: 18px;
}
.trust-wrap {
    display: flex;
    gap: 30px;
    flex-flow: row wrap;
}
.trust-grid {
    display: flex;
    flex-flow: row wrap;
    gap: 30px;
    flex: 1 0 0;
}
.trust-card {
    display: flex;
    gap: 20px;
    padding: 30px 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(42,31,26,.045);
    align-items: center;
    flex: calc(50% - 15px) 0 0;
}
.trust-card img {
    width: 75px;
    height: 75px;
    flex-shrink: 0;
}
.trust-card h3 {
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 600;
}
.trust-card p {
    color: var(--muted);
    font-size: 16px;
}


        /* =========================================================
           BLOG
        ========================================================= */

        .blog {
            background: #fff;
            padding: 90px 0;
        }

        .blog-header {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;

            margin-bottom: 45px;
        }

        .blog-title {
            max-width: 600px;
        }

        .blog-title .section-title {
            font-size: 43px;
        }

        .all-link {
            color: var(--accent);

            font-size: 14px;
            font-weight: 600;
        }

        .blog-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }

.article-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #ece7e4;
    border-radius: var(--radius-md);
    transition: all 0.4s ease;
}
.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
}
        .article-image {
            position: relative;

            height: 235px;

            overflow: hidden;
        }

        .article-image img {
            width: 100%;
            height: 100%;

            object-fit: cover;

            transition: transform .5s ease;
        }

        .article-card:hover .article-image img {
            transform: scale(1.04);
        }

        .article-content {
            padding: 25px 25px 28px;
        }

        .article-tag {
            display: inline-block;

            margin-bottom: 13px;
            padding: 5px 9px;

            color: #767277;

            background: #f6f2ef;

            border-radius: 6px;

            font-size: 10px;
            font-weight: 700;
            letter-spacing: .06em;
            text-transform: uppercase;
        }

        .article-card h3 {
            min-height: 55px;

            font-size: 17px;
            line-height: 1.45;
            font-weight: 600;
        }

        .article-meta {
            display: flex;
            justify-content: space-between;

            margin-top: 22px;

            color: #999398;

            font-size: 11px;
        }


        /* =========================================================
           FAQ
        ========================================================= */

        .faq {
            background: var(--cream);

            padding: 90px 0 60px;
        }

.faq-wrap {
    display: flex;
    gap: 30px;
    flex-flow: row wrap;
}
.faq-left {
    flex: 30% 0 0;
}

.faq-list {
    flex: 1 0 0;
}
        .faq-item {
            border-bottom: 1px solid #dfd7d2;

            background: rgba(255,255,255,.48);
        }

        .faq-item:first-child {
            border-top-left-radius: 12px;
            border-top-right-radius: 12px;
        }

        .faq-item:last-child {
            border-bottom: 0;
            border-bottom-left-radius: 12px;
            border-bottom-right-radius: 12px;
        }

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    color: var(--one);
    background: transparent;
    text-align: left;
    font-size: 18px;
    font-weight: 500;
}
        .faq-plus {
            position: relative;

            width: 18px;
            height: 18px;

            flex: 0 0 18px;
        }

        .faq-plus::before,
        .faq-plus::after {
            content: "";

            position: absolute;

            left: 50%;
            top: 50%;

            width: 15px;
            height: 1px;

            background: var(--accent);

            transform: translate(-50%, -50%);
        }

        .faq-plus::after {
            transform:
                translate(-50%, -50%)
                rotate(90deg);
        }

.faq-answer {
    display: none;
    padding: 0 25px 22px;
    color: var(--two);
    font-size: 16px;
}
        .faq-item.active .faq-answer {
            display: block;
        }

        .faq-item.active .faq-plus::after {
            display: none;
        }


        /* =========================================================
           FOOTER
        ========================================================= */

footer {
    background: var(--cream);
    padding-top: 45px;
    padding-bottom: 30px;
}

.footer-top {
    display: flex;
    gap: 80px;
    padding-bottom: 15px;
}
footer .logo-title {
    display: block;
}
footer .logo img {
    height: 60px;
    width: auto;
    max-width: none;
}

.footer-menu a {
    display: inline-block;
    margin-bottom: 15px;
    transition: color var(--transition);
    margin-right: 15px;
}
        .footer-menu a:hover {
            color: var(--accent);
        }


.footer-bottom {
    display: flex;
    justify-content: flex-end;
    padding-top: 15px;
    border-top: 1px solid #eee8e5;
}
        .footer-bottom-links {
            display: flex;
            gap: 25px;
        }


        /* =========================================================
           MOBILE MENU
        ========================================================= */

nav button {
    display: none;
    width: 45px;
    height: 45px;
    border: none;
    background: transparent;
}
nav button svg {
    height: 45px;
    width: 45px;
}


.err {
    margin: 0 auto;
    background: var(--accent-light);
    padding: 30px;
    border-radius: 8px;
    color: var(--one);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-shadow: 3px 3px 14px #aaa;
    z-index: 1000;
    user-select: none;
}
.err b {
    display: inline-block;
    margin-left: 8px;
    color: var(--one);
}
.err button.btn-reload {
    margin: 0 auto;
    display: block;
    padding: 8px 45px;
    background: var(--accent-dark);
    color: #fff;
    border-radius: 4px;
    margin-top: 15px;
}
.err i {
    display: block;
    text-align: center;
    font-style: normal;
    margin-top: 2rem;
    color: #fff;
}
.err-line {
    padding: 30px 0;
    color: var(--accent-dark);
    font-weight: bold;
}

/* =========================================================
   CALCULATOR
========================================================= */
.top h1 {
    color: var(--one);
    font-size: 55px;
    letter-spacing: 0;
    max-width: none;
    line-height: 1.1;
    font-weight: 600;
}
.top p {
    max-width: 75%;
    margin-top: 30px;
    color: var(--two);
    font-size: 18px;
}
.top svg {
    position: absolute;
    bottom: -5px;
    width: 100%;
    fill: var(--cream);
}
.top .top-content {
    padding: 30px 0 90px;
    display: flex;
    flex-flow: row wrap;
    gap: 60px;
    margin-top: 0px;
    position: relative;
    z-index: 2;
    width: 100%;
}
.top .top-content > div  {
    flex: 1 0 0;
    font-size: 18px;
}
.top figure {
    flex: 40% 0 0;
    padding-top: 27%;
    height: 0;
    position: relative;
    margin-top: 20px;
}
.top figure img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.top figure span {
    margin-top: 8px;
    display: block;
    font-size: 18px;
    font-weight: 400;
    text-align: center;
}
    .top button {
        display: none;
    }

    .top-text {
        max-height: none;
        overflow: visible;
    }
	

.calc-date {
    position: relative;
    padding-top: 30px;
    padding-bottom: 105px;
    background: var(--cream);
}
.calc-date svg {
    position: absolute;
	left: 0;
    bottom: -5px;
	width: 100%;
    fill: #fff;
}

label {
    display: block;
    cursor: pointer;
    flex: 100% 0 0;
}
label a {
    text-decoration: underline;
    color: var(--two);
}
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    background-color: var(--accent-light);
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
    margin-right: 8px;
    position: relative;
    vertical-align: middle;
	flex-shrink: 0;
}
input[type="checkbox"]:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}
input[type="checkbox"]:checked::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

#loader {
    display: none;
    margin: 0;
    text-align: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: 1000;
    box-shadow: 2px 2px 10px #aaa;
    border-radius: 8px;
    background: #fff;
    padding: 30px;
}
#loader p {
    margin-top: 15px;
    font-size: 18px;
    color: #8e44ad;
}
/* Простые стили для крутилки (Spinner) */
.spinner {
  margin: 0 auto;
  width: 50px;
  height: 50px;
  border: 5px solid rgba(142, 68, 173, 0.2);
  border-radius: 50%;
  border-top-color: #8e44ad;
  animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.buypopup {
    display: flex;
    align-items: center;
    background: var(--accent-light);
    padding: 15px;
    margin-top: 30px;
    border-radius: 8px;
    gap: 30px;
    justify-content: flex-start;
    /* position: fixed; */
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.calc {
    display: flex;
    flex-flow: row wrap;
    gap: 30px;
    align-items: flex-start;
    margin: 6rem 0;
}
.calc-l-wrap, .calc-r-wrap {
    flex: 1 0 0;
}

.calc-user-info {
    flex: 100% 0 0;
    margin-bottom: 0;
    font-weight: 600;
    font-size: 20px;
    text-align: center;
    color: #333;
    background: linear-gradient(90deg, rgba(250, 246, 243, .68) 0%, rgba(250, 246, 243, .28) 37%, rgba(250, 246, 243, .88) 51%, rgba(245, 235, 255, .68) 64%, rgba(250, 246, 243, 0.7) 100%);
    background-size: 200% 100%;
    animation: moveSpot 8s ease-in-out infinite alternate;
    padding: 15px;
}


.calc-l-wrap {
    position: sticky;
    top: 15px;
    align-items: flex-start;
    box-shadow: 0 0 5px #ccc;
    padding: 15px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 8px;
    order: 2;
}

.calc section.text {
    flex: 100% 0;
}

        .neon-line-main { stroke: #af52de; stroke-width: 1.8; fill: none; filter: url(#neon-glow-purple); opacity: 0.85; }
        .neon-line-gold { stroke: #ffd60a; stroke-width: 1.5; fill: none; filter: url(#neon-glow-gold); opacity: 0.9; }
        .neon-line-sub  { stroke: #5e5ce6; stroke-width: 1; stroke-dasharray: 4 3; opacity: 0.6; }
        
        /* Стиль неоновых узлов */
        .node-purple { fill: #fff; stroke: #bf5af2; stroke-width: 2; filter: url(#neon-glow-purple); }
        .node-gold   { fill: #fff; stroke: #ffd60a; stroke-width: 2; filter: url(#neon-glow-gold); }
        .node-pink   { fill: #fff; stroke: #ff375f; stroke-width: 1.5; filter: url(#neon-glow-purple); }
        .node-center { fill: #fff; stroke: #ff9f0a; stroke-width: 2.5; filter: url(#neon-glow-gold); }

        /* Цифры */
        .matrix-num { font-family: 'Segoe UI', Roboto, sans-serif; font-weight: 700; text-anchor: middle; dominant-baseline: central; }
        .num-main { fill: #345; font-size: 15px; filter: drop-shadow(0px 0px 4px #ffffff); }
        .num-gold { fill: #c3af24; font-size: 14px; filter: drop-shadow(0px 0px 3px #ffd60a); }
        .num-sub  { fill: #ff375f; font-size: 11px; }
        .num-age  { fill: #a282e8; font-size: 10px; opacity: 0.85; }

.calc p {
    color: var(--one);
    font-size: 18px;
}
.calc h2 {
    color: var(--one);
    font-size: 24px;
    margin-top: 60px;
	margin-bottom: 15px;
    background: linear-gradient(90deg, rgba(142, 68, 173, 0.4) 0%, rgba(142, 68, 173, 0.15) 100%);
    padding: 0rem 1rem;
}
.calc h2:first-child {
    margin-top: 0;
}
.calc h3 {
    color: var(--one);
    font-size: 24px;
    margin-top: 15px;
    margin-bottom: 5px;
}



/* =========================================================
   FORM
========================================================= */

.matrix-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-row label {
    order: 2;
}

.form-row input[type="text"] {
    order: 1;
    width: 200px;
    height: 30px;
    box-sizing: border-box;
}

.gender {
    border: 0;
    margin: 0;
    padding: 0;
}

.gender legend {
    display: none;
}

.gender label {
    margin-right: 4px;
}

.date-row {
    display: flex;
    align-items: center;
    gap: 5px;
}

.date-row select {
    height: 27px;
}

.date-row button {
    height: 30px;
    cursor: pointer;
}

.matrix-error {
    margin-top: 15px;
    padding: 10px 12px;
    border: 1px solid #e6b8b8;
    background: #fff3f3;
    color: #a00;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* =========================================================
   PURPOSES
========================================================= */

.lines .wrap {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.purpose-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lwr {
    display: flex;
    align-items: center;
}

.lwr i {
    font-style: normal;
    color: #888;
}

.lf {
    text-align: right;
}

.lft,
.lfb {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 35px;
}

.lwr b {
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    box-sizing: border-box;
    font-weight: 400;
}

.ls {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.ls b {
    background: #fff;
}

.purpose-title {
    font-size: 13px;
    color: #888;
    margin-left: 100px;
}

.purpose-summary {
    display: flex;
    gap: 30px;
    padding-top: 10px;
}

.purpose-summary > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.purpose-summary span {
    color: #888;
}

.purpose-summary b {
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
}


/* =========================================================
   CHAKRA TABLE
========================================================= */

.chakra table {
    border-collapse: collapse;
    width: 100%;
}

.chakra th,
.chakra td {
    padding: 3px 0;
    text-align: left;
}

.chakra th {
    font-weight: 600;
}

.chakra .result td {
    padding-top: 6px;
}


/* =========================================================
   MATRIX SVG
========================================================= */

.matrix {
    overflow: hidden;
}

.matrix .wrap {
    width: 100%;
}

#matrix {
    display: block;
    width: 100%;
    height: auto;
    max-width: 680px;
    margin: 0 auto;
}

.matrix-value-point {
    text-anchor: middle;
    alignment-baseline: middle;
}

text {
    cursor: default;
}

svg:not(:root) {
    overflow: visible;
}


/* =========================================================
   SVG STYLES
========================================================= */

.cls-3,
.cls-4,
.cls-18 {
    stroke-width: 1.5px;
}

.cls-5,
.cls-7 {
    stroke-width: 1px;
}

.cls-18 {
    stroke-dasharray: 0, 25, 10, 50, 10, 50, 10, 25;
}

.cls-18,
.cls-3,
.cls-4 {
    stroke-miterlimit: 10;
    stroke: #ccc;
    fill: none;
}

.cls-5,
.cls-6 {
    stroke: #b653f7;
    fill: #b653f7;
}

.cls-7,
.cls-8 {
    stroke: #ea4631;
    fill: #ea4631;
}

.cls-10 {
    fill: #b653f7;
}

.cls-13 {
    fill: #3d54f5;
}

.cls-15 {
    fill: #74e0f8;
}

.cls-19 {
    fill: #ea4631;
}

.cls-22 {
    fill: #ed7233;
}

.cls-25 {
    fill: #fbe49d;
}

.cls-26 {
    fill: #b6fd57;
}

.cls-24,
.cls-21,
.cls-23,
.cls-53 {
    fill: #fffcf0;
}

.cls-28 {
    font-size: 12.9501px;
    line-height: 11px;
}

.cls-29 {
    font-size: 12.0251px;
    line-height: 10px;
}

.cls-33 {
    font-size: 12px;
    line-height: 81.9%;
}

.cls-43 {
    font-size: 5.76471px;
    line-height: 81.9%;
}

.cls-44 {
    font-size: 11.5587px;
    line-height: 81.9%;
}

.cls-54,
.cls-55,
.cls-56 {
    font-size: 30px;
    line-height: 30px;
}

.cls-57,
.cls-58 {
    font-size: 18px;
    line-height: 18px;
}

.cls-59,
.cls-60 {
    font-size: 22px;
    line-height: 22px;
}

.cls-61 {
    font-size: 6px;
    line-height: 81.9%;
}

.cls-28,
.cls-29,
.cls-33,
.cls-43,
.cls-44,
.cls-54,
.cls-57,
.cls-59,
.cls-61 {
    fill: #555;
}

.cls-55,
.cls-58,
.cls-60 {
    fill: #000;
}

.cls-56 {
    fill: #d2b154;
}




/* Главный контейнер формы (важно: position: relative) */
.form-wrapper { 
  max-width: 900px; 
  margin: 0 auto; 
  position: relative; 
}

    /* Главная однострочная панель */
    .inline-form { 
      display: flex; 
      gap: 8px; 
      align-items: center; 
      background: #fff; 
      padding: 8px; 
      border-radius: 10px; 
      border: 1px solid #d1d1d6;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
      flex-wrap: wrap; /* Для мобильных экранов */
    }


/* Полный запрет системного выделения текста и вызова контекстного поиска Chrome */
.calc-date,
.dob-field,
.dob-field span,
.gender-picker,
.gender-btn,
.dob-dropdown,
.grid-item {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important; /* Отключает меню Android/iOS по долгому тапу */
    touch-action: manipulation;              /* Убирает задержку тапа 300мс */
}

    /* Тонкие поля для компонентов даты */
    .dob-field { 
      flex: 1; 
      min-width: 70px;
      border: 1px solid #e5e5ea; 
      border-radius: 6px; 
      padding: 6px 8px; 
      text-align: center; 
      cursor: pointer; 
      background: #fafafa;
      transition: all 0.15s;
    }
.dob-field:hover {
    border-color: var(--accent);
}
    .dob-field.active {
    border-color: var(--accent);
    background-color: var(--accent-light);
    box-shadow: 0 0 0 2px var(--accent-light);
}
    .dob-field .label { font-size: 10px; color: #8e8e93; text-transform: uppercase; display: block; }
    .dob-field .value { font-size: 14px; font-weight: 600; color: #1c1c1e; }
    .dob-field .value.placeholder { color: #8e8e93; font-weight: normal; }

    /* Переключатель Пола */
.gender-picker {
    display: flex;
    background: #fafafa;
    padding: 7px;
    border-radius: 6px;
    border: 1px solid #e5e5ea;
    outline: none;
}
.gender-picker:focus-within, .gender-picker:focus, .gender-picker:hover {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-light);
}
    .gender-btn {
      border: none;
      background: transparent;
      padding: 8px 12px;
      font-size: 13px;
      font-weight: 500;
      border-radius: 5px;
      cursor: pointer;
      color: #636366;
      transition: all 0.15s;
      outline: none;
    }
.gender-btn.selected {
    background: #fff;
    color: var(--accent);
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

    /* Текстовое поле для Имени */
    .name-input {
      flex: 1.5;
      min-width: 130px;
      padding: 8px 12px;
      border: 1px solid #e5e5ea;
      border-radius: 6px;
      font-size: 14px;
      outline: none;
      background: #fafafa;
    }
    .name-input:focus {
      border-color: #007aff;
      background: #fff;
      box-shadow: 0 0 0 2px rgba(0,122,255,0.2);
    }

/* Выпадающий список (позиционируется через JS через transform) */
.dob-dropdown { 
  display: none; 
  position: absolute;
  top: 0;
  left: 0;
  margin-top: 6px;
  border: 1px solid #d1d1d6; 
  border-radius: 8px; 
  padding: 8px; 
  background: #fff; 
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  z-index: 100;
  /* will-change: transform; */
}
.dob-dropdown.open { display: block; }

.dob-unsub-info {
    text-align: right;
    font-size: 11px;
    margin-right: 10px;
    color: var(--two);
}
    
    .grid { display: grid; gap: 4px; max-height: 220px; overflow-y: auto; }
    .grid-days { grid-template-columns: repeat(7, 1fr); width: 280px; }
    .grid-months { grid-template-columns: repeat(3, 1fr); width: 240px; }
    .grid-years { grid-template-columns: repeat(4, 1fr); width: 260px; }

.grid-item {
    padding: 8px 8px;
    text-align: center;
    background: #f2f2f7;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    user-select: none;
    position: relative;
    overflow: hidden;
}
    .grid-item:hover {
    background: var(--accent);
    color: #fff;
}
    .grid-item.selected {
    background: var(--accent);
    color: #fff;
}
.grid-item .month-num {
    position: absolute;
    top: -3px;
    right: 0;
    color: #edd;
    font-size: 37px;
    line-height: 1;
    opacity: 0.4;
}


/* =========================================================
   PAIR MATRIX ENHANCEMENTS
========================================================= */
.partner-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.partner-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--one);
  margin-top: 6px;
  padding-left: 2px;
}

.partner-row {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    flex-flow: row wrap;
    width: 100%;
}
.partner-row label {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    letter-spacing: -0.7px;
    justify-content: flex-end;
    gap: 15px;
}
.permission-field {
	flex: 0 0 60%;
}
.partner-row label input[type="checkbox"] {
    order: 2;
}
.partner-row label span {
    text-align: right;
}

.partner-divider {
  width: 100%;
  height: 1px;
  background: #e5e5ea;
  margin: 6px 0;
}

/* =========================================================
   FORECAST & SUBSCRIPTION EXTENSIONS
========================================================= */
.forecast-year-field {
  min-width: 140px;
}

.recurring-text {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.submit-group-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    flex-wrap: wrap;
    flex-flow: column;
}

.sub-price-hint {
    font-size: 12px;
    font-weight: 600;
}
    /* Кнопка отправки */
    .btn-submit { 
      padding: 15px 30px; 
      background: var(--accent);
      border: none; 
      color: white; 
      font-weight: 600; 
      border-radius: 6px; 
      font-size: 14px; 
      cursor: pointer; 
      outline: none;
    }
    .btn-submit:focus { box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.4); }
    .btn-submit:disabled { background: #c7c7cc; cursor: not-allowed; }



.about {
    position: relative;
    background: var(--cream);
    padding: 45px 0;
}
.about svg.wave {
    fill: #fff;
	position: absolute;
    bottom: -30px;
    width: 100%;
}
.about-list {
    list-style: none;
    display: flex;
    gap: 60px;
}
.about-list li {
    flex: 1 0 0;
}
.about-list svg {
    height: 30px;
    width: 30px;
    fill: var(--accent);
}
.about-list img {
    height: 60px;
    width: 60px;
    margin-bottom: 8px;
}
.about-list b {
    display: block;
    font-size: 18px;
    color: var(--one);
    margin-bottom: 4px;
    background: var(--accent-light);
    font-weight: 500;
}
.about-list span {
    color: var(--two);
    font-size: 18px;
    line-height: 1.2;
    display: inline-block;
}
.about-intro {
    font-size: 28px;
    color: var(--one);
    max-width: 75%;
    margin-bottom: 30px;
    width: fit-content;
}
.about-intro span {
    font-size: 22px;
    color: var(--one);
    background: var(--accent-light);
    display: inline;
}


.my-vars {
    background: var(--cream);
    padding: 30px 0;
}
.my-vars .my-vars-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    position: relative;
}
.my-vars-auth {
    display: inline-block;
    line-height: 0;
    padding: 0;
    padding-top: 8px;
    position: absolute;
    top: 100%;
    right: 0px;
    font-size: 13px;
}

.my-orders-content {
    padding: 30px 0;
}
.my-orders-content h1 {
    margin-bottom: 30px;
}
.my-orders-list {
    display: flex;
    flex-flow: column;
    gap: 30px;
    list-style: none;
    margin: 0;
}
.my-orders-item {
    display: flex;
    justify-content: space-between;
    background: linear-gradient(90deg, rgba(250,246,243,.68) 0%, rgba(250,246,243,.28) 37%, rgba(250,246,243,.88) 51%, rgba(245,235,255,.68) 64%, rgba(250,246,243,0.7) 100%);
    padding: 30px 15px;
    align-items: center;
    border-radius: 8px;
}
.my-orders-info {
    font-size: 20px;
}

.my-psw-content {
    box-shadow: 3px 3px 10px #aaa;
    border-radius: 8px;
    width: fit-content;
    padding: 30px;
    margin: 30px auto;
}
.my-psw form {
    display: flex;
    flex-flow: column;
    gap: 30px;
}

section.text {
    margin: 45px 0;
}
.text h2 {
    margin-top: 30px;
    margin-bottom: 8px;
}

.sticky-pdf-panel {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  padding: 12px 16px;
  z-index: 9999;
  border-top: 1px solid #e0e0e0;
  display: none;
}
.sticky-pdf-panel.active {
  display: block;
}
.panel-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.panel-email-group {
  display: flex;
  gap: 8px;
}
.panel-email-group input {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
}


/* =========================================================
   AUTH MODALS & BUTTONS (auth-...)
========================================================= */
.auth-actions-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 360px;
    margin: 30px auto;
}
.auth-btn-oauth {
    display: flex;
    align-items: center;
    /* justify-content: center; */
    gap: 10px;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    border: none;
    text-decoration: none;
}
.auth-btn-oauth:active {
    transform: scale(0.98);
}
.auth-btn-vk {
    background: #0077ff;
    color: #fff !important;
}
.auth-btn-vk:hover {
    background: #0066dc;
}
.auth-btn-yandex {
    background: #fc3f1d;
    color: #fff !important;
}
.auth-btn-yandex:hover {
    background: #e03212;
}
.auth-btn-email {
    background: var(--accent);
    color: #fff !important;
}
.auth-btn-email:hover {
    background: var(--accent-dark);
}

.auth-btn-oauth svg {
    height: 33px;
    width: 33px;
    fill: #fff;
}

/* Модальное окно */
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}
.auth-modal-overlay.auth-active {
    display: flex;
}
.auth-modal-box {
    background: #ffffff;
    border-radius: 12px;
    width: 92%;
    max-width: 440px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    box-sizing: border-box;
}
.auth-modal-close {
    position: absolute;
    top: 15px;
    right: 18px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #999;
    border: none;
    background: transparent;
}
.auth-modal-close:hover {
    color: #333;
}
.auth-modal-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--one);
    margin-bottom: 20px;
    text-align: center;
}
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.auth-form-row {
    position: relative;
    display: flex;
    gap: 8px;
}
.auth-input {
    width: 100%;
    box-sizing: border-box;
}
.auth-pass-group {
    position: relative;
    width: 100%;
}
.auth-pass-tools {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 4px;
}
.auth-icon-btn {
    background: #f0f0f3;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 3px 6px;
    font-size: 11px;
    cursor: pointer;
    color: #555;
    line-height: 1.2;
}
.auth-icon-btn:hover {
    background: #e2e2e6;
}
.auth-inline-btn {
    white-space: nowrap;
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 4px;
    background: #567;
    color: #fff;
    cursor: pointer;
    border: none;
}
.auth-inline-btn:disabled,
.auth-btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
}
.auth-btn-primary {
    background: var(--accent);
    color: #fff;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
}
.auth-btn-primary:hover:not(:disabled) {
    background: var(--accent-dark);
}
.auth-link-btn {
    background: transparent;
    border: none;
    color: var(--accent);
    text-decoration: underline;
    font-size: 13px;
    cursor: pointer;
    align-self: flex-start;
    padding: 0;
}
.auth-link-btn:hover {
    color: var(--accent-dark);
}
.auth-status-msg {
    display: none;
    padding: 10px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 12px;
}
.auth-status-error {
    background: #ffe8e8;
    color: #d63031;
    border: 1px solid #fab1a0;
}
.auth-status-success {
    background: #e8f8f5;
    color: #00b894;
    border: 1px solid #55efc4;
}


#dailyForecastModal {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    z-index: 666;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
}
.daily-modal {
    background: #ffffff;
    border-radius: 6px;
    width: 100%;
    max-width: 740px;
    max-height: 92vh;
    height: 92vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
    position: relative;
    overflow: hidden;
}
.daily-hdr {
    padding: 8px 15px;
    border-bottom: 1px solid #ebe5e1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--cream-2);
}
.daily-slogan {
    display: flex;
    padding: 15px 15px 8px;
    background: var(--cream);
    border-bottom: 1px solid #ebe5e1;
    font-weight: 700;
    font-size: 17px;
    gap: 15px;
    align-items: normal;
	position: relative;
}
.daily-slogan svg {
    height: 50px;
    fill: var(--accent);
    margin-top: -15px;
}
.daily-footer {
    padding: 12px 24px;
    border-top: 1px solid #ebe5e1;
    display: flex;
    justify-content: flex-end;
    background: var(--cream-2);
    flex: 0 0 auto;
}
.daily-content {
    padding: 0;
    overflow-y: auto;
    font-size: 17px;
    line-height: 1.6;
    font-weight: 500;
	flex: 1 0 0;
}
#dailyText {
    padding: 15px;
}
.daily-content h2 {
    font-size: 22px;
    background: var(--accent-light);
    display: inline-block;
    margin-top: 30px;
}
.daily-content h2:first-child {
    margin-top: 0;
}
.daily-content h3 {
    font-size: 18px;
    margin-top: 8px;
    font-weight: bold;
}
/* Вкладки подписок в модалке прогноза */
.daily-tabs {
    display: flex;
    gap: 8px;
    padding: 10px 15px;
    background: var(--cream-2);
    border-bottom: 1px solid #ebe5e1;
}

.daily-tab-btn {
    padding: 6px 14px;
    border-radius: 4px;
    background: #fff;
    border: 1px solid #dcd5d1;
    font-size: 13px;
    font-weight: 600;
    color: var(--one);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.daily-tab-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.daily-tab-btn.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* =========================================================
   ПЛАВАЮЩАЯ КНОПКА «ПРОГНОЗ ДНЯ»
========================================================= */
.daily-float-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #ffffff;
    color: var(--one, #567);
    border: 1px solid #ebe5e1;
    border-radius: 50px;
    padding: 10px 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    z-index: 99990;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    user-select: none;
}

.daily-float-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    border-color: var(--accent);
}

.daily-float-icon {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

.daily-float-text {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2px;
}


/* =========================================================
   УПРАВЛЕНИЕ ПОДПИСКАМИ (/my/unsubs/)
========================================================= */
.sub-cards-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.sub-card {
    background: #ffffff;
    border: 1px solid #ebe5e1;
    border-radius: var(--radius-sm);
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: border-color 0.2s;
}

.sub-card--expired {
    opacity: 0.7;
    background: #fafafa;
}

.sub-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #f2ede9;
    padding-bottom: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.sub-card-title {
    font-size: 16px;
    color: var(--one);
}

.sub-badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.sub-badge--active {
    background: #e8f8f5;
    color: #00b894;
    border: 1px solid #55efc4;
}

.sub-badge--canceled {
    background: #fff8f0;
    color: #f47d68;
    border: 1px solid #f9cfc7;
}

.sub-badge--expired {
    background: #f1f2f6;
    color: #747d8c;
    border: 1px solid #ced6e0;
}

.sub-card-info {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 15px;
    line-height: 1.4;
}

.sub-card-actions {
    display: flex;
    gap: 10px;
}

.sub-btn-cancel {
    background: #f1f2f6;
    color: #e74c3c;
    border: 1px solid #e74c3c;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
}

.sub-btn-cancel:hover {
    background: #e74c3c;
    color: #fff;
}

.sub-btn-renew {
    padding: 8px 18px;
    font-size: 13px;
}

.sub-empty-box {
    background: #f8f9fa;
    border: 1px solid #ebe5e1;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.sub-empty-box p {
    font-size: 16px;
    color: var(--muted);
    margin-bottom: 20px;
}

/* Модалка отмены */
.unsub-modal-text {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: 25px;
    text-align: center;
}

.unsub-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.sub-btn-danger {
    background: #e74c3c;
    color: #fff;
    padding: 10px 20px;
    font-size: 14px;
}

.sub-btn-danger:hover {
    background: #c0392b;
}

.sub-btn-secondary {
    background: #ced6e0;
    color: #2f3542;
    padding: 10px 20px;
    font-size: 14px;
}



/* =========================================================
   FEEDBACK FORM (/my/feedback/)
========================================================= */
.feedback-section {
    padding: 60px 0 90px;
    background: #fff;
    flex-grow: 1;
}

.feedback-wrap {
    max-width: 620px;
    margin: 0 auto;
    position: relative;
}

.feedback-intro {
    margin-top: 10px;
    margin-bottom: 30px;
    font-size: 16px;
    color: var(--muted);
}

.feedback-form-block {
    background: #fff;
    border: 1px solid #ebe5e1;
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow);
}

.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feedback-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.feedback-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--one);
}

.feedback-input,
.feedback-textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d1d1d6;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 15px;
    background: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.feedback-input:focus,
.feedback-textarea:focus {
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 2px var(--accent-light);
    outline: none;
}

.feedback-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.feedback-captcha-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-top: 10px;
    border-top: 1px solid #ebe5e1;
    flex-wrap: wrap;
}

.feedback-captcha-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feedback-captcha-row .captcha-field {
    flex: 0 0 110px;
}

.feedback-captcha-hint {
    font-size: 12px;
    color: var(--muted);
    max-width: 200px;
    line-height: 1.3;
}

.feedback-submit-btn {
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    margin-left: auto;
}

.feedback-submit-btn:disabled {
    background: #c7c7cc;
    cursor: not-allowed;
    box-shadow: none;
}

.feedback-error-msg {
    display: none;
    padding: 12px 16px;
    border-radius: 6px;
    background: #ffe8e8;
    color: #d63031;
    border: 1px solid #fab1a0;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Блок успешной отправки */
.feedback-success {
    display: none;
    text-align: center;
    padding: 50px 30px;
    background: #fff;
    border: 1px solid #55efc4;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

.feedback-success-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background: #e8f8f5;
    color: #00b894;
    font-size: 32px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.feedback-success h2 {
    font-size: 26px;
    margin-bottom: 10px;
    color: var(--one);
}

.feedback-success p {
    font-size: 16px;
    color: var(--two);
    margin-bottom: 25px;
}

.feedback-success-btn {
    display: inline-block;
}