/* MindLine — variant soft dark / warm graphite */
:root {
  --font-heading: "Fraunces", Georgia, serif;
  --font-body: "Inter", Arial, sans-serif;
  --bg: #282c28;
  --bg-2: #333832;
  --surface: rgba(255, 248, 236, 0.08);
  --surface-strong: rgba(255, 248, 236, 0.13);
  --cream: #f5ebdc;
  --muted: #cbbfaf;
  --soft: #aeb5a7;
  --accent: #d4b17a;
  --accent-2: #aabf9e;
  --line: rgba(245, 235, 220, 0.15);
  --ink: #191c19;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow: 0 30px 86px rgba(16, 18, 16, 0.32);
  --transition: 260ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 14% 0%, rgba(170, 191, 158, .16), transparent 34rem),
    radial-gradient(circle at 90% 12%, rgba(212, 177, 122, .16), transparent 34rem),
    linear-gradient(180deg, #30352f 0%, var(--bg) 52%, #31342f 100%);
  color: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; max-width: 100%; }
button, input, textarea { font: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.ambient { position: fixed; inset: 0; pointer-events: none; z-index: 9999; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.75' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }

.site-header {
  position: fixed;
  z-index: 100;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  padding: 12px 14px 12px 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(245,235,220,.18);
  background: rgba(40, 44, 40, .58);
  box-shadow: 0 18px 50px rgba(10, 12, 10, .18);
  border-radius: 999px;
  backdrop-filter: blur(22px);
  transition: var(--transition);
}
.site-header.is-scrolled { background: rgba(40,44,40,.86); box-shadow: 0 22px 54px rgba(10,12,10,.24); }
.logo { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.logo-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); color: var(--ink); font-family: var(--font-heading); font-size: 22px; font-weight: 700; }
.logo-text { display: flex; flex-direction: column; font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
.logo-text small { font-size: 10px; color: var(--muted); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.nav { justify-self: center; display: flex; align-items: center; gap: 8px; }
.nav a { padding: 10px 12px; color: rgba(245,235,220,.76); font-size: 14px; font-weight: 700; border-radius: 999px; transition: var(--transition); }
.nav a:hover { background: rgba(245,235,220,.1); color: var(--cream); }
.header-phone { padding: 13px 18px; border-radius: 999px; background: var(--cream); color: var(--ink); font-weight: 900; font-size: 15px; box-shadow: 0 12px 30px rgba(245,235,220,.12); transition: var(--transition); }
.header-phone:hover { transform: translateY(-2px); background: var(--accent); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(245,235,220,.12); padding: 11px; }
.nav-toggle span { display: block; height: 2px; background: var(--cream); margin: 5px 0; border-radius: 4px; }

.section { padding: 104px 0; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 16px; color: var(--accent); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.02; letter-spacing: -.035em; color: var(--cream); }
h1 { max-width: 710px; margin-bottom: 22px; font-size: clamp(38px, 5vw, 60px); }
h2 { margin-bottom: 20px; font-size: clamp(30px, 3.4vw, 44px); }
h3 { margin-bottom: 10px; font-size: clamp(21px, 2vw, 27px); }
p { color: var(--muted); }
.section-head { max-width: 760px; margin-bottom: 42px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer; font-weight: 900; transition: transform var(--transition), background var(--transition), box-shadow var(--transition); }
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--accent); color: var(--ink); box-shadow: 0 18px 34px rgba(212,177,122,.18); }
.btn-primary:hover { background: #e0bf88; box-shadow: 0 22px 42px rgba(212,177,122,.24); }
.btn-soft { border: 1px solid var(--line); background: rgba(245,235,220,.08); color: var(--cream); }
.btn-soft:hover { background: rgba(245,235,220,.13); }

.hero { position: relative; min-height: 100vh; padding: 134px 0 70px; display: grid; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; opacity: .36; filter: saturate(.86) contrast(.96); }
.hero-media img { height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(40,44,40,.96), rgba(40,44,40,.82) 47%, rgba(40,44,40,.5)), linear-gradient(180deg, rgba(40,44,40,.18), #282c28 100%); }
.hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 390px; gap: 70px; align-items: end; }
.hero-copy p { max-width: 650px; margin-bottom: 30px; color: rgba(245,235,220,.78); font-size: clamp(17px, 1.5vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.diagnostic-card { align-self: end; padding: 26px; border-radius: var(--radius-xl); background: rgba(245,235,220,.09); border: 1px solid rgba(245,235,220,.18); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.diagnostic-top { display: flex; justify-content: space-between; gap: 16px; align-items: start; margin-bottom: 22px; }
.diagnostic-top span { color: var(--accent); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.diagnostic-top strong { max-width: 170px; text-align: right; line-height: 1.2; }
.diagnostic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 20px; }
.diagnostic-grid span { padding: 16px; border-radius: 18px; background: rgba(245,235,220,.09); color: var(--cream); font-weight: 800; }
.diagnostic-card p { margin-bottom: 0; }

.split-layout { display: grid; grid-template-columns: .86fr 1fr; gap: 58px; align-items: center; }
.portrait { position: relative; border-radius: var(--radius-xl); overflow: hidden; min-height: 540px; box-shadow: var(--shadow); }
.portrait img { height: 540px; object-fit: cover; filter: saturate(.9); transition: transform .8s ease; }
.portrait:hover img { transform: scale(1.04); }
.portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(25,28,25,.72)); }
.portrait-note { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 22px; background: rgba(245,235,220,.12); border: 1px solid rgba(245,235,220,.2); backdrop-filter: blur(16px); }
.portrait-note strong { font-size: 36px; color: var(--accent); line-height: 1; }
.portrait-note span { color: rgba(245,235,220,.78); font-weight: 700; }
.principles { display: grid; gap: 14px; margin-top: 30px; }
.principles article { display: grid; grid-template-columns: 38px 1fr; gap: 16px; padding: 20px; border-radius: 22px; background: rgba(245,235,220,.07); border: 1px solid var(--line); }
.principles article > span { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), rgba(170,191,158,.9)); }
.principles h3 { grid-column: 2; font-size: 23px; margin-bottom: 2px; }
.principles p { grid-column: 2; margin: 0; }

.scenario-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr; grid-auto-rows: minmax(210px, auto); gap: 18px; }
.scenario-card { position: relative; overflow: hidden; padding: 24px; min-height: 230px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(245,235,220,.08); transition: var(--transition); }
.scenario-card:hover { transform: translateY(-6px); background: rgba(245,235,220,.11); box-shadow: var(--shadow); }
.scenario-card img { position: absolute; inset: 0; height: 100%; object-fit: cover; opacity: .38; filter: saturate(.82); transition: transform .8s ease; }
.scenario-card:hover img { transform: scale(1.06); }
.scenario-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(25,28,25,.16), rgba(25,28,25,.76)); pointer-events: none; }
.scenario-card > div { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 100%; justify-content: end; }
.scenario-card span { color: var(--accent); font-weight: 900; margin-bottom: 42px; }
.scenario-card p { margin: 0; color: rgba(245,235,220,.74); }
.scenario-card.large { grid-row: span 2; min-height: 480px; }
.scenario-card.wide { grid-column: span 2; }
.scenario-card:not(.large):not(.with-image):not(.wide)::after { display: none; }
.scenario-card:not(.large):not(.with-image):not(.wide) > div { justify-content: space-between; }
.scenario-card:not(.large):not(.with-image):not(.wide) span { margin-bottom: 30px; }

.method-map { padding-top: 28px; }
.method-card { padding: 34px; border: 1px solid rgba(245,235,220,.18); border-radius: 38px; background: linear-gradient(135deg, rgba(245,235,220,.1), rgba(170,191,158,.08)); display: grid; grid-template-columns: .72fr 1.28fr; gap: 34px; box-shadow: var(--shadow); }
.map-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.map-columns article { padding: 22px; border-radius: 24px; background: rgba(25,28,25,.22); border: 1px solid var(--line); }
.map-columns b { display: block; margin-bottom: 10px; color: var(--cream); }
.map-columns p { margin: 0; }

.timeline { display: grid; gap: 14px; max-width: 880px; margin-left: auto; }
.timeline-item { display: grid; grid-template-columns: 86px 1fr; gap: 22px; padding: 22px; border: 1px solid var(--line); border-radius: 26px; background: rgba(245,235,220,.07); }
.timeline-item > span { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: rgba(245,235,220,.1); color: var(--accent); font-weight: 900; }
.timeline-item h3 { font-size: 24px; }
.timeline-item p { margin: 0; }

.pricing-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 42px; align-items: start; }
.pricing-intro { position: sticky; top: 130px; }
.pricing-list { display: grid; gap: 16px; }
.package { display: grid; grid-template-columns: 1fr auto auto; gap: 22px; align-items: center; padding: 24px; border: 1px solid var(--line); border-radius: 28px; background: rgba(245,235,220,.08); transition: var(--transition); }
.package:hover { transform: translateY(-5px); background: rgba(245,235,220,.12); box-shadow: var(--shadow); }
.package span { color: var(--accent); font-weight: 900; }
.package h3 { font-size: 24px; margin-top: 4px; }
.package p { margin: 0; }
.package strong { font-size: 24px; color: var(--cream); white-space: nowrap; }
.package a { padding: 12px 16px; border-radius: 999px; background: var(--cream); color: var(--ink); font-weight: 900; }

.faq-wrap { display: grid; grid-template-columns: .72fr 1.28fr; gap: 42px; align-items: start; }
.faq-list { display: grid; gap: 14px; }
.faq-item { overflow: hidden; border-radius: 24px; background: rgba(245,235,220,.07); border: 1px solid var(--line); }
.faq-button { width: 100%; border: 0; background: transparent; color: var(--cream); padding: 22px 24px; display: flex; justify-content: space-between; gap: 20px; text-align: left; cursor: pointer; font-weight: 900; }
.faq-button span { position: relative; flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; background: rgba(245,235,220,.1); }
.faq-button span::before, .faq-button span::after { content: ""; position: absolute; left: 6px; right: 6px; top: 10px; height: 2px; background: var(--accent); transition: var(--transition); }
.faq-button span::after { transform: rotate(90deg); }
.faq-item.is-open .faq-button span::after { transform: rotate(0deg); }
.faq-panel { max-height: 0; overflow: hidden; transition: max-height 280ms ease; }
.faq-panel p { margin: 0; padding: 0 24px 22px; }

.contact { padding-top: 40px; }
.contact-shell { display: grid; grid-template-columns: .78fr 1fr; overflow: hidden; border-radius: 38px; background: rgba(245,235,220,.09); border: 1px solid rgba(245,235,220,.18); box-shadow: var(--shadow); }
.contact-image { min-height: 100%; }
.contact-image img { height: 100%; min-height: 620px; object-fit: cover; filter: saturate(.86); }
.contact-content { padding: 38px; }
.contact-content p { max-width: 620px; }
.contact-form { display: grid; gap: 14px; margin-top: 28px; }
.contact-form label { display: grid; gap: 8px; color: rgba(245,235,220,.82); font-weight: 800; font-size: 13px; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid rgba(245,235,220,.18); border-radius: 16px; padding: 15px 16px; background: rgba(25,28,25,.32); color: var(--cream); outline: none; transition: var(--transition); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(245,235,220,.46); }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(212,177,122,.1); }
.contact-form .btn-primary { width: 100%; }
.form-message { min-height: 20px; margin: 0; font-size: 14px; }
.form-message.is-success { color: #e4ffd7; }
.form-message.is-error { color: #ffd8cc; }
.contact-links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; color: rgba(245,235,220,.76); font-weight: 700; }

.footer { padding: 34px 0 42px; color: rgba(245,235,220,.64); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 26px; }
.footer .logo-mark { width: 34px; height: 34px; font-size: 20px; }
.footer p { margin: 0; font-size: 14px; }
.footer a:hover { color: var(--cream); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 680ms ease, transform 680ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1060px) {
  .site-header { grid-template-columns: auto auto auto; }
  .nav-toggle { display: block; justify-self: end; }
  .nav { position: fixed; left: 16px; right: 16px; top: 88px; display: grid; gap: 6px; padding: 16px; border-radius: 24px; background: rgba(40,44,40,.96); border: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: var(--transition); }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav a { padding: 13px 14px; }
  .hero-layout, .split-layout, .method-card, .pricing-layout, .faq-wrap, .contact-shell { grid-template-columns: 1fr; }
  .scenario-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-intro { position: static; }
  .map-columns { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, 1160px); }
  .site-header { top: 12px; width: calc(100% - 20px); min-height: 64px; padding: 10px; gap: 10px; }
  .logo-text small { display: none; }
  .header-phone { padding: 11px 12px; font-size: 12px; }
  .hero { padding-top: 114px; }
  h1 { font-size: clamp(34px, 12vw, 46px); }
  h2 { font-size: clamp(29px, 9vw, 38px); }
  .section { padding: 76px 0; }
  .hero-layout { gap: 38px; }
  .diagnostic-top, .package, .timeline-item { grid-template-columns: 1fr; display: grid; }
  .diagnostic-top strong { text-align: left; max-width: none; }
  .scenario-grid { grid-template-columns: 1fr; }
  .scenario-card.large, .scenario-card.wide { grid-row: auto; grid-column: auto; min-height: 300px; }
  .portrait, .portrait img { min-height: 390px; height: 390px; }
  .contact-image img { min-height: 320px; }
  .contact-content, .method-card { padding: 24px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
