body {
	font-family: 'Inter', sans-serif;
	background: #f5f7fb;
	color: #1c1e21;
	margin: 0;
}


.container {
	width: 92%;
	max-width: 1200px;
	margin: 0 auto;
}

/* HEADER */
.site-header {
	background: #2d7ff9;
	color: #fff;
	padding: 16px 0;
	box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 20px;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
}

.logo img{width:200px;}

.nav {
	display: flex;
	gap: 24px;
}

.nav__item {
	color: #fff;
	opacity: .85;
	text-decoration: none;
	font-weight: 500;
}

.nav__item.active,
.nav__item:hover {
	opacity: 1;
}

.lang-switcher .lang {
	background: rgba(255,255,255,0.2);
	border: none;
	padding: 6px 12px;
	border-radius: 8px;
	color: #fff;
	cursor: pointer;
}

.lang.active {
	background: #fff;
	color: #2d7ff9;
}

/* HERO */
.hero {
	text-align: center;
	padding: 60px 0;
}

.hero h1 {
	font-size: 42px;
	margin-bottom: 12px;
}

.hero p {
	font-size: 18px;
	opacity: 0.8;
}

/* GRID */
.converter-grid h2 {
	margin-bottom: 20px;
}

.grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
}

.card {
	background: #fff;
	padding: 22px;
	border-radius: 16px;
	text-decoration: none;
	color: #1c1e21;
	box-shadow: 0 4px 12px rgba(0,0,0,0.06);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
	transform: translateY(-4px);
	box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.icon {
	font-size: 36px;
	margin-bottom: 12px;
}

/* FOOTER */
.site-footer {
	margin-top: 60px;
	background: #fff;
	padding: 40px 0;
	box-shadow: 0 -3px 10px rgba(0,0,0,0.05);
}

.footer__inner {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 30px;
}

.f-col h4 {
	margin-bottom: 10px;
}

.f-col a {
	color: #1c1e21;
	text-decoration: none;
	opacity: .8;
}

.f-col a:hover {
	opacity: 1;
}

.footer-bottom {
	text-align: center;
	padding-top: 20px;
	font-size: 14px;
	opacity: .6;
}





.breadcrumbs { display:flex; gap:10px; align-items:center; font-size:14px; opacity:.75; margin-bottom:18px; }
.breadcrumbs a { color: inherit; text-decoration:none; }
.breadcrumbs a:hover { text-decoration:underline; }

.converter-head { margin-bottom: 18px; }
.converter-title { font-size: 36px; margin: 0 0 8px; }
.converter-subtitle { margin: 0; font-size: 16px; opacity: .8; }

.converter-layout { display: grid; grid-template-columns: 1.6fr .9fr; gap: 20px; align-items: start; }

.panel {
	background: #fff;
	border-radius: 16px;
	padding: 22px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.06);
	height: -webkit-fill-available;
}

.panel__top { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom: 14px; }
.panel__title { margin: 0; font-size: 18px; }
.panel__badge {
	background: rgba(45,127,249,.12);
	color: #1c5fd9;
	font-weight: 600;
	font-size: 12px;
	padding: 6px 10px;
	border-radius: 999px;
}

.converter-grid { display: grid;  gap: 14px; align-items: end; }
.converter-page .converter-grid {grid-template-columns: 1fr auto 1fr;}
.field__label { display:block; font-weight: 600; margin-bottom: 8px; }
.field__hint { font-size: 13px; opacity: .65; margin-top: 8px; }

.field__control { display:flex; gap:10px; }
.input {
	width: 100%;
	padding: 14px 14px;
	border-radius: 14px;
	border: 1px solid rgba(0,0,0,0.12);
	outline: none;
	font-size: 16px;
}
.input:focus {
	border-color: rgba(45,127,249,.6);
	box-shadow: 0 0 0 4px rgba(45,127,249,.12);
}

.unit {
	border: 1px solid rgba(0,0,0,0.10);
	background: #f5f7fb;
	padding: 0 14px;
	border-radius: 14px;
	font-weight: 700;
	cursor: default;
}

.swap {
	height: 48px;
	width: 48px;
	border-radius: 14px;
	border: 1px solid rgba(0,0,0,0.10);
	background: #f5f7fb;
	font-size: 18px;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease;
}
.swap:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,0.10); }

.result {
	margin-top: 18px;
	border-radius: 14px;
	background: #f5f7fb;
	padding: 14px 14px;
}
.result__row { display:flex; justify-content:space-between; gap:10px; padding: 6px 0; }
.result__label { font-size: 14px; opacity: .7; }
.result__value { font-weight: 700; }
code { background: rgba(255,255,255,.7); padding: 2px 6px; border-radius: 8px; }

.actions { display:flex; gap: 10px; margin-top: 14px; }
.btn {
	padding: 12px 14px;
	border-radius: 14px;
	border: 1px solid rgba(0,0,0,0.10);
	background: #fff;
	cursor: pointer;
	font-weight: 700;
}
.btn--primary {
	background: #2d7ff9;
	border-color: #2d7ff9;
	color: #fff;
}
.btn:hover { box-shadow: 0 6px 14px rgba(0,0,0,0.08); transform: translateY(-1px); }

.quick { display:grid; gap: 10px; margin-top: 12px; }
.quick__row {
	display:flex; justify-content:space-between; gap:10px;
	padding: 12px 12px;
	border-radius: 14px;
	background: #f5f7fb;
	font-weight: 600;
}
.quick__row span { opacity: .8; }

.note { margin-top: 14px; padding: 14px; border-radius: 14px; background: rgba(45,127,249,.08); }
.note h4 { margin: 0 0 6px; }
.note p { margin: 0; opacity: .9; }

.panel--faq { margin-top: 20px; }
.faq { border: 1px solid rgba(0,0,0,0.08); border-radius: 14px; padding: 12px 14px; }
.faq + .faq { margin-top: 10px; }
.faq summary { cursor: pointer; font-weight: 800; }
.faq p { margin: 10px 0 0; opacity: .85; }

.category-h1 {
	font-size: 36px;
	font-weight: 500;
	margin: 20px 0;
}

.panel--more { margin-top: 20px; }

.more__head { margin-bottom: 14px; }
.more__sub { margin: 6px 0 0; opacity: .75; }

.more-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
}

.more-card.is-hidden { display: none; }

.more__actions {
	display: flex;
	justify-content: center;
	margin-top: 14px;
}

.panel--seo{margin-top:20px;}

.nav__list {
	display: flex;
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav__list > li {
	position: relative;
}

.nav__list a {
	text-decoration: none;
	color: #fff;
	font-weight: 500;
}

.nav__list .current-menu-item > a,
.nav__list .current-menu-ancestor > a {
	opacity: 0.9;
}

/* dropdown */
.nav__list li ul {
	position: absolute;
	top: 100%;
	left: 0;
	background: #fff;
	padding: 8px 0;
	border-radius: 12px;
	min-width: 200px;
	box-shadow: 0 8px 24px rgba(0,0,0,.12);
	display: none;
	z-index: 20;
	list-style: none;
}

.nav__list li:hover > ul {
	display: block;
}

.nav__list li ul li {
	padding: 0;
}

.nav__list li ul a {
	display: block;
	padding: 10px 16px;
	color: #1c1e21;
	white-space: nowrap;
	transition: all .3s;
}

.nav__list li ul a:hover {
	transform:scale(1.1);
}

.back-btn{display: flex;align-items: center;text-decoration: none;color: #000;}

.back-btn svg{width: 35px;}





.seo-text__toggle {

	border: 1px solid rgba(0,0,0,.12);
	background: #fff;
	border-radius: 14px;
	padding: 12px 14px;
	font-weight: 700;
	cursor: pointer;
	display: block;
	margin: 24px auto 0;
}
.seo-text__toggle:hover { transform: translateY(-1px); }



.lang-switcher {
	position: relative;
}

.lang-switcher__current {
	display: flex;
	align-items: center;
	gap: 6px;
	background: rgba(255,255,255,.15);
	color: #fff;
	border: 0;
	border-radius: 10px;
	padding: 6px 12px;
	font-weight: 700;
	cursor: pointer;
	transition: background .2s ease;
}

.lang-switcher__current:hover {
	background: rgba(255,255,255,.25);
}

.lang-switcher__arrow {
	font-size: 10px;
	opacity: .7;
}

.lang-switcher__dropdown {
	position: absolute;
	top: 100%;
	right: 0;
	margin-top: 8px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 12px 30px rgba(0,0,0,.18);
	min-width: 80px;
	display: none;
	z-index: 50;
	overflow: hidden;
}

.lang-switcher.is-open .lang-switcher__dropdown {
	display: block;
}

.lang-switcher__item {
	display: block;
	text-align: center;
	padding: 10px 14px;
	font-weight: 700;
	letter-spacing: .5px;
	color: #1a1a1a;
	text-decoration: none;
	transition: background .15s ease, color .15s ease;
}

.lang-switcher__item:hover {
	background: #f0f4ff;
	color: #2f6fed;
}

.lang-switcher__item.is-active {
	background: #e7efff;
	color: #2f6fed;
	pointer-events: none;
}





/* =========================
Mobile menu (768 and down)
========================= */

.nav__desktop {
	display: block;
}

.burger {
	display: none;
	background: rgba(255,255,255,.15);
	border: 0;
	border-radius: 12px;
	width: 44px;
	height: 40px;
	padding: 10px;
	cursor: pointer;
	transition: background .2s ease;
}

.burger:hover {
	background: rgba(255,255,255,.25);
}

.burger span {
	display: block;
	height: 2px;
	width: 100%;
	background: #fff;
	border-radius: 2px;
	margin: 2px 0;
	transition: transform .2s ease, opacity .2s ease;
}

/* Fullscreen overlay */
.mobile-menu {
	position: fixed;
	inset: 0;
	background: rgba(10, 20, 40, .35);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	z-index: 9999;
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s ease;
}

.mobile-menu.is-open {
	opacity: 1;
	pointer-events: auto;
}

.mobile-menu__header {
	display: flex;
	justify-content: flex-end;
	padding: 18px 18px 0;
}

.mobile-menu__close {
	background: rgba(255,255,255,.15);
	border: 0;
	color: #fff;
	border-radius: 12px;
	width: 44px;
	height: 40px;
	font-size: 18px;
	cursor: pointer;
	transition: background .2s ease;
}

.mobile-menu__close:hover {
	background: rgba(255,255,255,.25);
}

.mobile-menu__body {
	max-width: 520px;
	margin: 24px auto 0;
	padding: 0 18px 24px;
}

.mobile-menu__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 12px;
}

.mobile-menu__list > li > a {
	display: block;
	background: #fff;
	color: #111;
	border-radius: 16px;
	padding: 16px 18px;
	font-weight: 800;
	text-decoration: none;
	box-shadow: 0 10px 25px rgba(0,0,0,.12);
	transition: transform .15s ease, box-shadow .15s ease;
}

.mobile-menu__list > li > a:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(0,0,0,.16);
}

/* Submenu */
.mobile-menu__list li ul {
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.mobile-menu__list li ul a {
	display: block;
	background: rgba(255,255,255,.92);
	border-radius: 14px;
	padding: 14px 16px;
	font-weight: 700;
	text-decoration: none;
	color: #1a1a1a;
}

/* Hide desktop elements from 768 */
@media (max-width: 768px) {
	.nav__desktop {
		display: none;
	}

	.burger {
		        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
	}

	/* hide language dropdown in header; it's inside mobile menu now */
	.lang-switcher {
		display: none;
	}
}

/* optional: lock scroll when menu open */
body.is-menu-open {
	overflow: hidden;
}









@media (max-width: 900px) {
	.converter-layout { grid-template-columns: 1fr; }
	.converter-title { font-size: 30px; }
	.converter-grid { grid-template-columns: 1fr; }
	.swap { width: 100%; }
	.category-h1 {font-size: 28px;}
}