* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Manrope", sans-serif;
	background: var(--bg);
	color: var(--text);
	line-height: 1.6;
}

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

a {
	text-decoration: none;
	color: inherit;
}

ul {
	list-style: none;
}

.container {
	width: min(calc(100% - 40px),	var(--container));
	margin: auto;
}

main {
	min-height: 70vh;
}


/* HEADER */

.site-header {
	position: sticky;
	top: 0;
	z-index: 999;
	background:		rgba(255, 255, 255, .90);
	backdrop-filter: blur(12px);
	border-bottom:		1px solid var(--border);
}

.site-header .container {
	height: 82px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	display: flex;
	align-items: center;
	gap: 14px;
}

.logo-icon {
	width: 54px;
	height: 54px;
	border-radius: 16px;
	background: var(--primary);
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;
	font-size: 24px;
}

.logo-title {
	display: block;
	font-size: 22px;
	font-weight: 800;
}

.logo-subtitle {
	display: block;
	color: var(--text-light);
	font-size: 14px;
}

.logo_img{ max-width: 300px; }

.desktop-nav {
	display: flex;
	align-items: center;
	gap: 38px;
}

.desktop-nav a {
	position: relative;
	font-weight: 700;
	transition: var(--transition);
}

.desktop-nav a:hover {
	color: var(--primary);
}

.desktop-nav a::after {
	content: "";
	position: absolute;
	bottom: -8px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--primary);
	transition: var(--transition);
}

.desktop-nav a:hover::after {
	width: 100%;
}

.mobile-button {
	display: none;
	width: 48px;
	height: 48px;
	border: none;
	border-radius: 12px;
	background: var(--primary);
	color: #fff;
	font-size: 22px;
	cursor: pointer;
}

.mobile-nav { display: none; }

.mobile-nav.open {	display: flex; }

.mobile-nav {
	flex-direction: column;
	gap: 15px;
	padding: 25px;
	border-top: 1px solid var(--border);
	background: #fff;
}

.mobile-nav a {
	font-weight: 700;
}

/* FOOTER */
.calculator{
	margin-bottom: 50px !important;
}
.site-footer {
	margin-top: 0px;
	background: var(--footer);
	color: #fff;
}

.footer-grid {
	padding: 70px 0;
	display: grid;
	grid-template-columns:	2fr 1fr 1fr;
	gap: 60px;
}

.footer-grid h3 {
	font-size: 28px;
	margin-bottom: 20px;
}

.footer-grid h4 {
	margin-bottom: 20px;
}

.footer-grid p {
	max-width: 420px;
	color:	rgba(255, 255, 255, .75);
}

.footer-grid li {
	margin-bottom: 12px;
}

.footer-grid a {
	color: rgba(255, 255, 255, .75);
	transition: var(--transition);
}

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

.footer-bottom {
	border-top:		1px solid rgba(255, 255, 255, .08);
	padding: 24px 0;
	text-align: center;
	color:	rgba(255, 255, 255, .60);
}

/* CARD GRID */
.grid{
    display:grid;
    grid-template-columns:repeat( auto-fit, minmax(320px,1fr) );
    gap:28px;
    margin:30px 0;
}

/* CARD */
.card{
    position:relative;
    display:flex;
    flex-direction:column;
    gap:18px;
    padding:32px;
    background:var(--white);
    border:1px solid var(--border);
    border-radius:24px;
    overflow:hidden;
    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
    box-shadow:
        0 8px 30px rgba(0,0,0,.04);
}

.card::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:5px;
    background:linear-gradient(
        90deg,
        var(--primary),
        #73D99C
    );
    transform:scaleX(0);
    transform-origin:left;
    transition:.35s;
}

.card:hover{
    transform:translateY(-8px);
    border-color:#B8E8C8;
    box-shadow: 0 22px 45px rgba(0,0,0,.08);
}

.card:hover::before{
    transform:scaleX(1);
}


/* ICON */
.card-icon{
    width:74px;
    height:74px;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:20px;
    background: linear-gradient( 135deg, #E9FCEF, #DDF8E6 );
    color:var(--primary);
    font-size:34px;
    flex-shrink:0;
}

/* TITLE */
.card h3{
    font-size:24px;
    font-weight:800;
    line-height:1.3;
}

.card p{
    color:var(--text-light);
    font-size:15px;
}

/* BADGES */
.card-tags{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:auto;
}

.card-tag{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:8px 14px;
    border-radius:999px;
    background:#EAF9EF;
    color:var(--primary);
    font-size:13px;
    font-weight:700;
}

/* BUTTON */
.card-button{
    margin-top:10px;
    display:inline-flex;
    align-items:center;
    gap:10px;
    font-weight:700;
    color:var(--primary);
    transition:.25s;
}

.card-button svg{
    width:18px;
    height:18px;
    transition:.25s;
}

.card:hover .card-button{ color:var(--primary-dark); }
.card:hover .card-button svg{ transform:translateX(6px); }
.formula{
	padding: 15px;
  	font-style: italic;
}
.descr{
	margin-top: 50px;
}
.descr .table-wrap{
    overflow-x: auto;
    padding: 15px;
}
.descr table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ccc;
}

.descr table th,
.descr table td {
    border: 1px solid #ccc;
    padding: 10px 14px;
    text-align: left;
    vertical-align: top;
}
.descr table th {
    font-weight: 600;
    background: #f8f8f8;
}
.descr h1{ font-size: 2.5rem; padding-top: 15px; padding-bottom: 15px; }
.descr h2{ font-size: 1.9rem; padding-top: 10px; padding-bottom: 10px; }
.descr h3{ font-size: 1.6rem; padding-top: 7px; padding-bottom: 7px; }
.descr span{ display: block; }
.descr ul{ list-style: disc; padding: 20px; }
.descr ol{ padding: 20px; }
.descr ol li{ padding: 8px; }
main.container h1{
 text-align: center;
 margin-top: 25px;
}
.fm-name{
	font-weight: 500;
  margin: 10px 0;
}