/* YorYorBot marketing site — shared design system */

:root {
  --ink: #1c1109;
  --ink-2: #2a1a0d;
  --emerald: #7a4a15;
  --emerald-light: #a66a1f;
  --cream: #faf6ee;
  --cream-warm: #f3ebdd;
  --gold: #d99a2b;
  --gold-light: #f0b955;
  --brand: #ff4458;
  --brand-dark: #e23349;
  --text: #241e1a;
  --text-light: #faf6ee;
  --muted: #6b6259;
  --muted-light: #cfc6b8;
  --border: #e7ddc9;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(22, 33, 28, 0.35);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; color: var(--text); }
a { color: inherit; }
img, svg { max-width: 100%; display: block; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 640px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(255, 68, 88, 0.55);
}
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline {
  background: transparent;
  border-color: rgba(250, 246, 238, 0.35);
  color: var(--text-light);
}
.btn-outline:hover { border-color: var(--gold-light); }
.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--gold); }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink);
}
.brand .mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(155deg, var(--emerald) 0%, var(--ink) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  flex-shrink: 0;
}
.brand .accent { color: var(--gold); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s;
}
.main-nav a:hover { color: var(--brand); }
.main-nav a.active { color: var(--brand); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  padding: 8px;
  color: var(--ink);
}

@media (max-width: 860px) {
  .main-nav { gap: 12px; }
  .main-nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
  }
  .main-nav-links.open { display: flex; }
  .main-nav-links a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-toggle { display: inline-flex; }
}

/* Hero */
.hero {
  background: radial-gradient(130% 140% at 50% -20%, #c9791f 0%, #5a3311 40%, var(--ink) 72%, #0f0904 100%);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(217, 154, 43, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 154, 43, 0.1) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(70% 70% at 60% 20%, black, transparent);
  opacity: 0.6;
}
.hero-inner {
  position: relative;
  padding: 96px 0 88px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding: 56px 0 60px; }
}
.hero h1 { color: var(--text-light); }
.hero .lead { color: var(--muted-light); font-size: 1.2rem; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero-trust {
  display: flex;
  gap: 28px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero-trust .stat strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--gold-light);
}
.hero-trust .stat span {
  font-size: 0.85rem;
  color: var(--muted-light);
}

.hero-art {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(240, 185, 85, 0.18), rgba(255, 68, 88, 0.12));
  border: 1px solid rgba(240, 185, 85, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.hero-art svg { width: 100%; height: 100%; }

/* Sections */
section { padding: 88px 0; }
.section-cream { background: var(--cream); }
.section-warm { background: var(--cream-warm); }
.section-dark {
  background: var(--ink);
  color: var(--text-light);
}
.section-dark h2, .section-dark h3 { color: var(--text-light); }
.section-dark p { color: var(--muted-light); }

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head.left { margin: 0 0 48px; text-align: left; }

/* Grid / cards */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--cream-warm);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin-bottom: 0; font-size: 0.95rem; }

.card-dark {
  background: var(--ink-2);
  border: 1px solid rgba(240, 185, 85, 0.18);
}
.card-dark .icon { background: rgba(240, 185, 85, 0.14); color: var(--gold-light); }
.card-dark h3 { color: var(--text-light); }
.card-dark p { color: var(--muted-light); }

/* Steps */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  padding: 28px 24px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--emerald);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin: 14px 0 0;
  color: var(--muted);
}

/* Quote / values band */
.quote-band {
  text-align: center;
  padding: 90px 0;
}
.quote-band blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--text-light);
  max-width: 780px;
  margin: 0 auto 18px;
  line-height: 1.4;
}
.quote-band cite {
  font-style: normal;
  color: var(--gold-light);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

/* Divider ornament */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 20px;
  color: var(--gold);
  width: fit-content;
}
.ornament::before, .ornament::after {
  content: "";
  width: 40px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

/* CTA band */
.cta-band {
  background: linear-gradient(140deg, var(--emerald) 0%, var(--ink) 100%);
  color: var(--text-light);
  border-radius: 28px;
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: var(--text-light); }
.cta-band p { color: var(--muted-light); }
.cta-band .btn-primary { margin-top: 18px; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--muted-light);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(240, 185, 85, 0.18);
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-grid h4 {
  color: var(--gold-light);
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { text-decoration: none; color: var(--muted-light); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-brand .brand { color: var(--text-light); margin-bottom: 14px; }
.footer-brand p { font-size: 0.9rem; max-width: 300px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* Badges row (values icons) */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
}
.badge-row .badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--muted);
}
.badge-row .badge svg { width: 20px; height: 20px; color: var(--emerald); }

/* Page hero (secondary pages) */
.page-hero {
  background: var(--cream-warm);
  border-bottom: 1px solid var(--border);
  padding: 64px 0 56px;
}
.page-hero .lead { margin-top: 10px; }
.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pill {
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; }
}

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
  color: var(--text);
}
.check-list svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--emerald);
  margin-top: 3px;
}

.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  text-align: center;
  position: relative;
}
.price-card.featured {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}
.price-card .tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.price-card .amount {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--ink);
  margin: 12px 0;
}
.price-card .amount span { font-size: 0.95rem; color: var(--muted); font-family: 'Inter', sans-serif; }
.price-card ul { list-style: none; padding: 0; margin: 20px 0; text-align: left; }
.price-card ul li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.92rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.price-card ul li svg { width: 18px; height: 18px; color: var(--emerald); flex-shrink: 0; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--text-light);
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ===================== Homepage v2 (light, framed-panel layout) ===================== */

.hero-v2 {
  background: var(--cream);
  position: relative;
  overflow: hidden;
  padding: 56px 0 0;
}
.hero-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(217, 154, 43, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 154, 43, 0.12) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to right, black 0%, black 45%, transparent 70%);
  opacity: 0.8;
  pointer-events: none;
}
.hero-v2-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 40px;
  align-items: end;
}
@media (max-width: 900px) {
  .hero-v2-grid { grid-template-columns: 1fr; }
}
.hero-v2-copy { padding-bottom: 56px; }
.hero-v2 h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
.hero-v2 .hero-v2-word { color: var(--gold); }
.hero-v2 .lead { font-size: 1.05rem; margin-top: 4px; }
.hero-v2-copy .btn-primary { margin-top: 22px; }

.arch-frame {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: 220px 220px 28px 28px / 260px 260px 28px 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, #efe2c8 0%, #e4d3ae 100%);
}
.arch-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.arch-frame .placeholder-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 24px;
}
.arch-frame .placeholder-label svg { width: 40px; height: 40px; color: var(--gold); opacity: 0.7; }

/* The generated hero photo already bakes in its own arch mask + pattern
   background, so it shouldn't be re-masked by this container — just
   let it sit at a wide ratio close to its own, gently cropped to fit
   the two-column hero row instead of shrinking to its full native height. */
.arch-frame.has-photo {
  aspect-ratio: 15 / 8;
  border: none;
  background: none;
  border-radius: 0;
}
.arch-frame.has-photo img { object-fit: cover; object-position: center 42%; }

/* Ornate double-border panel */
.ornate-box {
  border: 1px solid var(--gold);
  border-radius: 20px;
  padding: 10px;
  background: #fff;
}
.ornate-box-inner {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  height: 100%;
}

.icon-row-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 760px) {
  .icon-row-4 { grid-template-columns: repeat(2, 1fr); }
}
.icon-row-4 .item { text-align: left; }
.icon-row-4 .dome {
  width: 56px;
  height: 56px;
  border-radius: 50% 50% 8px 8px / 60% 60% 8px 8px;
  background: linear-gradient(160deg, var(--gold-light), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  margin-bottom: 14px;
}
.icon-row-4 .dome svg { width: 26px; height: 26px; }
.icon-row-4 h3 { font-size: 1rem; margin-bottom: 6px; }
.icon-row-4 p { font-size: 0.82rem; color: var(--muted); margin: 0; }

.showcase-placeholder {
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  background: linear-gradient(160deg, #f6efdd, #efe0bd);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 32px;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}
.showcase-placeholder svg { width: 36px; height: 36px; color: var(--gold); }

.split-panel-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 800px) {
  .split-panel-row { grid-template-columns: 1fr; }
}
.feel-panel {
  border-radius: var(--radius);
  padding: 36px 32px;
  background: linear-gradient(160deg, #fff 0%, var(--cream-warm) 100%);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feel-panel h3 { font-size: 1.4rem; }
.feel-panel .hl { color: var(--gold); }
.feel-panel p.sub { color: var(--muted); margin: 10px 0 0; }

.quote-frame {
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 12px;
}
.quote-frame-inner {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 32px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
}
.quote-frame-inner svg { flex-shrink: 0; width: 30px; height: 30px; color: var(--gold); }
.quote-frame-inner p { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--ink); margin: 0; line-height: 1.5; }

.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(240, 185, 85, 0.14);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.social-row a:hover { background: rgba(240, 185, 85, 0.24); }
.social-row svg { width: 16px; height: 16px; }

.lang-select {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text);
}
