/* Heshi GEO Network — premium interior design aesthetic */
:root {
  --primary: #1a1a2e;
  --accent: #c9a96e;
  --surface: #f8f6f3;
  --text: #1c1c1c;
  --text-muted: #6b6b6b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 32px rgba(26,26,46,.08);
  --shadow-lg: 0 20px 60px rgba(26,26,46,.14);
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --max-width: 1180px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--surface);
  line-height: 1.75;
  font-size: 16px;
  letter-spacing: .01em;
}

.brief-answer {
  background: linear-gradient(135deg, rgba(201,169,110,.12), rgba(26,26,46,.04));
  border-left: 4px solid var(--accent);
  padding: 20px 24px;
  margin: 0 0 28px;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
}

.brief-answer strong { color: var(--primary); }

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

/* ── Header ── */
.site-header {
  background: rgba(26,26,46,.92);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(201,169,110,.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 40px);
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-weight: 600;
  color: #fff;
  letter-spacing: .04em;
  text-transform: none;
  line-height: 1.2;
}

.logo:hover { color: var(--accent); }

.nav { display: flex; gap: clamp(16px, 3vw, 36px); list-style: none; align-items: center; }

.nav a {
  color: rgba(255,255,255,.78);
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav a:hover { color: #fff; }
.nav a:hover::after { width: 100%; }

.nav a.nav-brand {
  color: var(--accent);
  border: 1px solid rgba(201,169,110,.4);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .78rem;
}

.nav a.nav-brand::after { display: none; }
.nav a.nav-brand:hover { background: rgba(201,169,110,.15); color: var(--accent); }

/* ── Hero ── */
.hero {
  background: var(--primary);
  color: #fff;
  padding: clamp(72px, 12vw, 120px) clamp(20px, 4vw, 40px) clamp(88px, 14vw, 130px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(201,169,110,.18) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(255,255,255,.05) 0%, transparent 50%),
    linear-gradient(160deg, var(--primary) 0%, color-mix(in srgb, var(--primary) 75%, #000) 100%);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,169,110,.5), transparent);
}

.hero-ornament {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border: 1px solid rgba(201,169,110,.08);
  border-radius: 50%;
  pointer-events: none;
}

.hero-ornament::before {
  content: '';
  position: absolute;
  inset: 40px;
  border: 1px solid rgba(201,169,110,.05);
  border-radius: 50%;
}

.hero-content { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }

.hero-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(201,169,110,.35);
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 22px;
  letter-spacing: -.01em;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: .82;
  max-width: 560px;
  margin: 0 auto 40px;
  font-weight: 300;
  line-height: 1.65;
}

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 34px;
  background: var(--accent);
  color: var(--primary);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .04em;
  border-radius: var(--radius-sm);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(201,169,110,.35);
  color: var(--primary);
  background: color-mix(in srgb, var(--accent) 90%, #fff);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.35);
  color: #fff;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(201,169,110,.08);
  box-shadow: none;
  transform: translateY(-3px);
}

/* ── Sections ── */
section { padding: clamp(56px, 8vw, 88px) 0; }

.section-label {
  display: block;
  text-align: center;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 500;
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 56px);
  color: var(--primary);
  letter-spacing: -.01em;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin: 16px auto 0;
}

/* ── Cards ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(26,26,46,.04);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  height: 210px;
  position: relative;
  overflow: hidden;
  background: var(--primary);
}

.card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 30%, rgba(201,169,110,.25) 100%),
    linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.45) 100%);
  z-index: 1;
}

.card-image-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 40%, color-mix(in srgb, var(--accent) 30%, var(--primary)) 0%, var(--primary) 70%);
}

.card-image-icon {
  font-size: 2.5rem;
  color: rgba(201,169,110,.35);
  z-index: 2;
  position: relative;
}

.card-image-num {
  position: absolute;
  bottom: 14px;
  left: 18px;
  z-index: 2;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

.card-body {
  padding: 26px 28px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-meta {
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-meta::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--accent);
}

.card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--primary);
  line-height: 1.35;
}

.card-body h3 a { color: inherit; }
.card-body h3 a:hover { color: var(--accent); }

.card-excerpt {
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.65;
  flex: 1;
}

.card-link {
  margin-top: 18px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
}

.card-link:hover { color: var(--primary); }

/* ── Article ── */
.article-header {
  background: var(--primary);
  color: #fff;
  padding: clamp(48px, 8vw, 80px) clamp(20px, 4vw, 40px);
  position: relative;
  overflow: hidden;
}

.article-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,169,110,.12) 0%, transparent 60%);
}

.article-header .container { position: relative; z-index: 1; }

.article-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  max-width: 780px;
  margin: 0 0 18px;
  line-height: 1.2;
  font-weight: 500;
}

.article-meta {
  font-size: .85rem;
  opacity: .7;
  letter-spacing: .04em;
}

.article-content {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 64px) clamp(20px, 4vw, 40px) clamp(64px, 8vw, 96px);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: -32px;
  position: relative;
  z-index: 2;
}

.article-wrap {
  background: var(--surface);
  padding-bottom: clamp(48px, 6vw, 72px);
}

.article-content h2 {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 500;
  margin: 44px 0 16px;
  color: var(--primary);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201,169,110,.2);
}

.article-content h2:first-child { margin-top: 0; }

.article-content h3 { font-size: 1.15rem; margin: 32px 0 12px; font-weight: 600; }

.article-content p { margin-bottom: 22px; color: var(--text); }

.article-content ul, .article-content ol { margin: 0 0 22px 22px; }

.article-content li { margin-bottom: 10px; color: var(--text); }

.article-content a { color: var(--accent); border-bottom: 1px solid rgba(201,169,110,.3); }
.article-content a:hover { border-color: var(--accent); }

.article-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 20px 28px;
  margin: 32px 0;
  background: color-mix(in srgb, var(--accent) 6%, var(--surface));
  font-style: italic;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.article-figure {
  margin: 28px 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
}

.article-figure figcaption {
  padding: 12px 16px;
  font-size: .88rem;
  color: var(--text-muted);
  font-style: italic;
  border-top: 1px solid rgba(0, 0, 0, .06);
}

.hero-compact {
  padding: 48px 24px;
}

.hero-compact .lead {
  max-width: 720px;
  margin: 12px auto 0;
  font-size: 1rem;
  opacity: .85;
}

.legal-doc {
  max-width: 800px;
}

.legal-meta {
  font-size: .88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.legal-toc {
  background: color-mix(in srgb, var(--accent) 6%, var(--surface));
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-bottom: 36px;
}

.legal-toc ol {
  margin: 0;
  padding-left: 20px;
}

.legal-toc li {
  margin-bottom: 6px;
}

.legal-toc a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.legal-toc a:hover {
  border-color: var(--accent);
}

.legal-section {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(26, 26, 46, .06);
}

.legal-section:last-of-type {
  border-bottom: none;
}

.legal-section h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--primary);
}

.legal-section p,
.legal-section li {
  line-height: 1.7;
  color: var(--text);
}

.legal-section ul {
  margin: 12px 0 16px 20px;
}

.legal-footer-note {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(26, 26, 46, .08);
  font-size: .92rem;
  color: var(--text-muted);
}

/* ── FAQ ── */
.faq { max-width: 720px; margin: 0 auto; }

.faq-item {
  background: #fff;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  border: 1px solid rgba(26,26,46,.06);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq-item:hover { box-shadow: var(--shadow); }

.faq-q {
  padding: 20px 24px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--primary);
}

.faq-q span {
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.open .faq-q span { transform: rotate(45deg); }

.faq-a {
  padding: 0 24px 20px;
  color: var(--text-muted);
  display: none;
  font-size: .93rem;
  line-height: 1.7;
}

.faq-item.open .faq-a { display: block; }

.faq-section { background: #fff; }

/* ── Partners ── */
.partners {
  background: color-mix(in srgb, var(--primary) 4%, var(--surface));
  padding: clamp(48px, 6vw, 72px) 0;
  border-top: 1px solid rgba(26,26,46,.06);
}

.partner-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.partner-links a {
  padding: 10px 20px;
  background: #fff;
  border-radius: 999px;
  font-size: .85rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  color: var(--primary);
  border: 1px solid rgba(26,26,46,.06);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.partner-links a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* ── Brand CTA ── */
.brand-cta {
  background: var(--primary);
  color: #fff;
  padding: clamp(64px, 8vw, 96px) clamp(20px, 4vw, 40px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.brand-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,169,110,.2) 0%, transparent 65%);
}

.brand-cta .container { position: relative; z-index: 1; }

.brand-cta .section-label { color: rgba(201,169,110,.8); }

.brand-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 500;
  margin-bottom: 18px;
  letter-spacing: -.01em;
}

.brand-cta p {
  opacity: .8;
  max-width: 520px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
}

/* ── Footer ── */
.site-footer {
  background: color-mix(in srgb, var(--primary) 95%, #000);
  color: rgba(255,255,255,.65);
  padding: clamp(48px, 6vw, 64px) clamp(20px, 4vw, 40px) 28px;
  font-size: .88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  max-width: var(--max-width);
  margin: 0 auto clamp(32px, 4vw, 48px);
}

.footer-grid h4 {
  color: #fff;
  margin-bottom: 18px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.footer-grid p { line-height: 1.7; max-width: 280px; }

.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: rgba(255,255,255,.6); }
.footer-grid a:hover { color: var(--accent); }

.footer-bottom {
  text-align: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.08);
  max-width: var(--max-width);
  margin: 0 auto;
  font-size: .8rem;
  opacity: .6;
}

/* ── Breadcrumbs ── */
.breadcrumbs {
  font-size: .8rem;
  padding: 0 0 20px;
  color: rgba(255,255,255,.55);
  letter-spacing: .04em;
}

.breadcrumbs a { color: rgba(255,255,255,.55); }
.breadcrumbs a:hover { color: var(--accent); }

/* ── Features strip ── */
.features {
  background: #fff;
  border-bottom: 1px solid rgba(26,26,46,.06);
  padding: 40px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  text-align: center;
}

.feature-item {
  padding: 16px;
}

.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: var(--accent);
}

.feature-item h4 {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}

.feature-item p {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Stats strip ── */
.stats-strip {
  background: color-mix(in srgb, var(--primary) 92%, #000);
  color: #fff;
  padding: 28px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  text-align: center;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--accent);
  line-height: 1.2;
}

.stat-label {
  font-size: .78rem;
  opacity: .75;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ── Page content ── */
.page-content {
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.85;
}

.page-content .lead {
  font-size: 1.15rem;
  font-family: var(--font-heading);
  color: var(--primary);
  margin-bottom: 20px;
}

.page-content h2 {
  font-family: var(--font-heading);
  margin: 32px 0 12px;
  font-size: 1.35rem;
}

/* ── Topics / rubrics ── */
.topics-grid,
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.topic-card,
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(26,26,46,.06);
}

.topic-icon,
.service-icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.topic-card h3,
.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.topic-card p,
.service-card p {
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.editorial-note {
  font-size: .92rem;
  color: var(--text-muted);
  text-align: center;
}

.editorial-contact,
.editorial-disclaimer {
  margin-top: 32px;
  padding: 24px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.editorial-contact h2,
.editorial-disclaimer h2 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.text-muted {
  color: var(--text-muted);
  font-size: .9rem;
}

.footer-disclaimer {
  font-size: .78rem;
  opacity: .65;
  margin-top: 8px;
  font-style: italic;
}

/* ── Contacts (legacy) ── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 24px;
  box-shadow: var(--shadow);
}

.contact-card h3 {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 1rem;
  color: var(--primary);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav { gap: 12px; }
  .nav a:not(.nav-brand) { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .article-content { margin-top: -20px; border-radius: var(--radius-sm); }
}

@media print {
  .site-header, .site-footer, .brand-cta, .partners { display: none; }
}
