/* unvale.so — single-page studio site
 * Built around Mira's design language: trust-blue primary, health-green
 * secondary, warm-coral accent. System fonts for fastest paint and
 * native-platform feel. No build step — drop the folder on Cloudflare
 * Pages and it ships.
 */

:root {
  --primary: #1a5f7a;
  --primary-dark: #0f4356;
  --secondary: #2d8f6f;
  --accent: #e8735a;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-band: #f1f5f9;
  --text: #0f172a;
  --text-muted: #475569;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --max-width: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 120ms ease;
}
a:hover {
  color: var(--primary-dark);
}

h1, h2, h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); line-height: 1.2; }
h3 { font-size: 1.15rem; line-height: 1.35; }

p { margin: 0 0 1rem; color: var(--text-muted); }

/* ── Layout helpers ─────────────────────────────────────────────────── */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 96px 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--secondary);
  margin-bottom: 12px;
}

/* ── Header / nav ───────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}

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

.logo {
  display: inline-flex;
  align-items: center;
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 140ms ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ── Hero ───────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: 120px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 0%, rgba(45, 143, 111, 0.10), transparent 50%),
    radial-gradient(circle at 80% 100%, rgba(26, 95, 122, 0.10), transparent 50%),
    var(--bg);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  margin-bottom: 24px;
}
.hero .lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 32px;
}

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

.hero-art {
  display: flex;
  justify-content: center;
  filter: drop-shadow(0 30px 50px rgba(15, 23, 42, 0.18));
}

@media (max-width: 880px) {
  .hero { padding: 72px 0 48px; }
  .hero .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-art { order: -1; }
}

/* ── Stats band ─────────────────────────────────────────────────────── */

.stats {
  background: var(--bg-band);
  padding: 56px 0;
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat strong {
  display: block;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.stat span {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
}
@media (max-width: 720px) {
  .stats .container { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ── Section heads ──────────────────────────────────────────────────── */

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head p {
  margin-top: 12px;
  font-size: 1.05rem;
}

/* ── Feature grid ───────────────────────────────────────────────────── */

.features {
  background: var(--bg-soft);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.feature img {
  display: block;
  margin-bottom: 16px;
}
.feature h3 { margin-bottom: 8px; }
.feature p { margin-bottom: 0; }

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

/* ── Product card ───────────────────────────────────────────────────── */

.product {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
  padding: 48px;
  background: linear-gradient(135deg, var(--bg-soft) 0%, var(--bg-band) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.product-art {
  display: flex;
  justify-content: center;
}
.product-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}
.product h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.product ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 28px;
}
.product li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.product li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--secondary);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 8 L7 11 L12 5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
}
@media (max-width: 880px) {
  .product { grid-template-columns: 1fr; padding: 32px 24px; gap: 32px; }
  .product-art { order: -1; }
}

/* ── About / values ─────────────────────────────────────────────────── */

.values {
  background: var(--bg-band);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.value h3 {
  color: var(--primary);
  margin-bottom: 8px;
}
@media (max-width: 720px) {
  .values-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ── Contact / CTA ──────────────────────────────────────────────────── */

.cta {
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(45, 143, 111, 0.12), transparent 60%),
    var(--bg);
}
.cta h2 { margin-bottom: 16px; }
.cta p { max-width: 560px; margin: 0 auto 32px; }
.cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ── Footer ─────────────────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: var(--bg);
}
.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.site-footer p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.site-footer .legal {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
}

/* ── Reduced motion ─────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
}
