/*
Theme Name: Hinnangud
Theme URI: https://hinnangud.ee/
Author: Hinnangud.ee
Description: Estonian customer feedback and retention service website.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: hinnangud
*/

:root {
	--hg-ink: #142b34;
	--hg-muted: #5e7278;
	--hg-paper: #f7f8f4;
	--hg-white: #fff;
	--hg-teal: #126b67;
	--hg-teal-deep: #0c4f4d;
	--hg-lime: #c8df79;
	--hg-line: #dce5e0;
}

html { scroll-behavior: smooth; }
body { background: var(--hg-paper); color: var(--hg-ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { text-underline-offset: .2em; }
.wp-site-blocks { overflow: clip; }
.hg-header { position: relative; z-index: 4; }
.hg-brand { letter-spacing: -.055em; }
.hg-nav a { text-decoration: none; }
.hg-nav a:hover { color: var(--hg-teal); }
.hg-button a, a.hg-button, .wp-block-button__link { border-radius: 999px !important; font-weight: 650; padding: .85rem 1.25rem; text-decoration: none; transition: transform .2s ease, background-color .2s ease; }
.hg-button a:hover, a.hg-button:hover, .wp-block-button__link:hover { transform: translateY(-2px); }
.hg-hero { position: relative; isolation: isolate; }
.hg-hero:before { background: radial-gradient(ellipse at 78% 32%, rgba(200,223,121,.27), transparent 29%), radial-gradient(ellipse at 82% 82%, rgba(18,107,103,.12), transparent 30%); content: ""; inset: 0; position: absolute; z-index: -1; }
.hg-eyebrow { color: var(--hg-teal); font-size: .78rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.hg-display { font-size: clamp(3rem, 7vw, 6.2rem); letter-spacing: -.075em; line-height: .99; max-width: 900px; }
.hg-lead { color: var(--hg-muted); font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.65; max-width: 650px; }
.hg-orbit { align-items: center; aspect-ratio: 1; background: radial-gradient(circle at 50% 48%, #fff 0 35%, transparent 36%), linear-gradient(145deg, #d6e9db, #f0f2d8); border: 1px solid rgba(20,43,52,.08); border-radius: 50%; display: flex; justify-content: center; margin-inline: auto; max-width: 420px; position: relative; width: 100%; }
.hg-orbit:before, .hg-orbit:after { border: 1px solid rgba(18,107,103,.18); border-radius: 50%; content: ""; inset: 10%; position: absolute; transform: rotate(-24deg) scaleX(1.32); }
.hg-orbit:after { inset: 19%; transform: rotate(34deg) scaleX(1.34); }
.hg-orbit-core { align-items: center; background: var(--hg-teal); border: 10px solid #e7f0e8; border-radius: 50%; color: white; display: flex; flex-direction: column; height: 154px; justify-content: center; position: relative; text-align: center; width: 154px; z-index: 1; }
.hg-orbit-core strong { font-size: 1.3rem; letter-spacing: -.04em; }
.hg-orbit-core span { color: #d4eee0; font-size: .8rem; margin-top: .3rem; }
.hg-float { background: white; border: 1px solid rgba(20,43,52,.08); border-radius: 16px; box-shadow: 0 15px 45px rgba(20,43,52,.12); color: var(--hg-ink); font-size: .85rem; font-weight: 650; padding: .8rem 1rem; position: absolute; }
.hg-float-one { left: -2%; top: 18%; }
.hg-float-two { bottom: 17%; right: -2%; }
.hg-card { background: var(--hg-white); border: 1px solid var(--hg-line); border-radius: 22px; height: 100%; padding: clamp(1.4rem, 3vw, 2.2rem); }
.hg-card-icon { align-items: center; background: #e5f1e8; border-radius: 14px; color: var(--hg-teal); display: flex; font-size: 1.2rem; font-weight: 750; height: 48px; justify-content: center; width: 48px; }
.hg-card p, .hg-muted { color: var(--hg-muted); line-height: 1.7; }
.hg-dark { background: var(--hg-ink); color: white; }
.hg-dark .hg-muted, .hg-dark p { color: #c1d0ce; }
.hg-step { border-top: 1px solid rgba(255,255,255,.2); padding-top: 1rem; }
.hg-step-number { color: var(--hg-lime); font-size: .8rem; font-weight: 750; letter-spacing: .12em; }
.hg-industry { background: #e9efe6; border: 1px solid #d7e1d8; border-radius: 999px; color: var(--hg-teal-deep); display: inline-flex; font-size: .95rem; font-weight: 650; padding: .65rem 1rem; }
.hg-cta { background: var(--hg-teal); border-radius: 28px; color: #fff; overflow: hidden; position: relative; }
.hg-cta:after { border: 1px solid rgba(255,255,255,.18); border-radius: 50%; content: ""; height: 420px; position: absolute; right: -120px; top: -230px; width: 420px; }
.hg-footer { border-top: 1px solid var(--hg-line); }
.hg-page-title { font-size: clamp(2.7rem, 6vw, 5rem); letter-spacing: -.07em; line-height: 1; }
.hg-prose { max-width: 760px; }
.hg-prose p { color: var(--hg-muted); font-size: 1.08rem; line-height: 1.8; }
@media (max-width: 781px) {
	.hg-display { font-size: clamp(2.8rem, 13vw, 4.5rem); }
	.hg-orbit { max-width: 320px; }
	.hg-float-one { left: -1%; }
	.hg-float-two { right: -1%; }
}
