/* ===== Wayfare LLC — Shared Styles ===== */
:root {
  --bg-dark: #0e0b14;
  --bg-card: #16121e;
  --bg-field: #1a1522;
  --accent-ember: #d4622a;
  --accent-sand: #e8a94a;
  --accent-sky: #5c8fa8;
  --text-primary: #f4ede0;
  --text-muted: #8a7e72;
  --radius: 10px;
  --glow-ember: 0 0 28px rgba(212, 98, 42, 0.38);
  --glow-sand: 0 0 26px rgba(232, 169, 74, 0.32);
  --shadow-card: 0 4px 30px rgba(212, 98, 42, 0.1);
  --border-subtle: rgba(212, 98, 42, 0.2);
  --font-display: 'Josefin Sans', sans-serif;
  --font-body: 'Nunito', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4, .display { font-family: var(--font-display); letter-spacing: 0.01em; }

.container { width: min(1180px, 92%); margin: 0 auto; }
.section { padding: 100px 0; }

.gradient-text {
  background: linear-gradient(100deg, var(--accent-ember), var(--accent-sand));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  letter-spacing: 0.04em; padding: 14px 30px; border-radius: var(--radius);
  cursor: pointer; border: none; transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  min-height: 48px;
}
.btn-ember { background: var(--accent-ember); color: #fff; }
.btn-ember:hover { transform: translateY(-3px); box-shadow: var(--glow-ember); }
.btn-sand { background: transparent; color: var(--accent-sand); border: 1.5px solid var(--accent-sand); }
.btn-sand:hover { transform: translateY(-3px); box-shadow: var(--glow-sand); background: rgba(232,169,74,0.08); }
.btn-link { color: var(--accent-ember); font-family: var(--font-display); font-weight: 700; letter-spacing: .03em; }
.btn-link:hover { color: var(--accent-sand); }

/* ===== Section headings ===== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--accent-sand); font-family: var(--font-display); font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; font-size: 13px; margin-bottom: 14px;
}
.section-title { font-size: clamp(30px, 5vw, 46px); font-weight: 700; line-height: 1.1; }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.ember-rule { width: 70px; height: 3px; background: linear-gradient(90deg, var(--accent-ember), transparent); margin: 16px 0; border-radius: 3px; }
.section-head.center .ember-rule { margin: 16px auto; background: linear-gradient(90deg, transparent, var(--accent-ember), transparent); }
.lead { color: var(--text-muted); font-size: 18px; max-width: 620px; }
.section-head.center .lead { margin: 0 auto; }

/* ===== Navbar ===== */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(14, 11, 20, 0.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.logo i { color: var(--accent-ember); }
.logo span { color: var(--accent-sand); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  position: relative; font-weight: 600; color: var(--text-primary); font-size: 15px;
  padding: 6px 0; transition: color .25s ease;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--accent-ember); border-radius: 2px; transition: width .3s ease;
}
.nav-links a:hover { color: var(--accent-sand); }
.nav-links a.active { color: var(--accent-ember); }
.nav-links a.active::after { width: 100%; box-shadow: var(--glow-ember); }
.nav-cta { }
.hamburger { display: none; background: none; border: none; color: var(--text-primary); font-size: 24px; cursor: pointer; }

/* ===== Hero (generic) ===== */
.hero {
  position: relative; min-height: 100dvh; display: flex; align-items: center;
  overflow: hidden; padding: 120px 0 80px;
}
.hero-sub {
  position: relative; min-height: auto; padding: 160px 0 90px; text-align: center;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.map-hatch {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: repeating-linear-gradient(45deg, rgba(212,98,42,0.04) 0, rgba(212,98,42,0.04) 1px, transparent 1px, transparent 22px);
}
.hero .container { position: relative; z-index: 2; }

.floater { position: absolute; opacity: 0.05; z-index: 0; pointer-events: none; color: var(--accent-sand); }
.floater.f1 { top: 14%; right: 8%; animation: float1 14s ease-in-out infinite; }
.floater.f2 { bottom: 16%; left: 6%; animation: float2 18s ease-in-out infinite; }
@keyframes float1 { 0%,100% { transform: translateY(0) rotate(0deg);} 50% { transform: translateY(-26px) rotate(8deg);} }
@keyframes float2 { 0%,100% { transform: translateY(0) rotate(0deg);} 50% { transform: translateY(22px) rotate(-6deg);} }

.badge-capsule {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display);
  font-weight: 700; font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-ember); background: rgba(212,98,42,0.12); border: 1px solid var(--border-subtle);
  padding: 8px 18px; border-radius: 40px;
}

.hero-title { font-size: clamp(42px, 7vw, 76px); font-weight: 700; line-height: 1.04; margin: 24px 0 20px; }
.hero-subtitle { font-size: 20px; color: var(--text-muted); max-width: 600px; }
.hero-founder { font-style: italic; color: var(--text-muted); margin-top: 16px; font-size: 15px; }
.hero-cta { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }

.unfurl { opacity: 0; transform: translateX(-20px); animation: unfurl 1.6s ease-out forwards; }
.unfurl.d1 { animation-delay: .15s; }
.unfurl.d2 { animation-delay: .3s; }
.unfurl.d3 { animation-delay: .45s; }
.unfurl.d4 { animation-delay: .6s; }
@keyframes unfurl { to { opacity: 1; transform: translateX(0); } }

.shimmer-in { animation: shimmerIn 1.3s ease-out both; }
@keyframes shimmerIn { from { opacity: 0; letter-spacing: .12em; } to { opacity: 1; letter-spacing: .01em; } }

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateX(-18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateX(0); }

/* ===== Stats strip ===== */
.stats {
  background: var(--bg-card); border-top: 3px solid var(--accent-ember);
  border-radius: var(--radius); box-shadow: var(--shadow-card);
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: -60px; position: relative; z-index: 5;
}
.stat { padding: 40px 20px; text-align: center; border-right: 1px solid rgba(232,169,74,0.18); }
.stat:last-child { border-right: none; }
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: 44px; color: var(--accent-ember); line-height: 1; }
.stat-label { color: var(--text-muted); margin-top: 8px; font-size: 14px; letter-spacing: .04em; }

/* ===== Cards / grids ===== */
.card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius); box-shadow: var(--shadow-card); overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.thumb {
  height: 190px; background: linear-gradient(135deg, #c98a4a 0%, #d4622a 55%, #7a2e12 100%);
  position: relative; display: flex; align-items: flex-end; padding: 16px;
}
.thumb::after {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(14,11,20,0.08) 0, rgba(14,11,20,0.08) 1px, transparent 1px, transparent 16px);
}
.pill {
  position: relative; z-index: 2; font-family: var(--font-display); font-weight: 700;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 14px;
  border-radius: 30px; color: #fff;
}
.pill.ember { background: var(--accent-ember); }
.pill.sky { background: var(--accent-sky); }
.card-body { padding: 24px; }
.card-body h3 { font-size: 21px; margin-bottom: 10px; }
.card-body p { color: var(--text-muted); font-size: 15px; margin-bottom: 18px; }

/* Games carousel */
.carousel {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px 4px 28px; scrollbar-width: thin;
}
.carousel .game-card { flex: 0 0 320px; scroll-snap-align: start; }
.game-card:hover { transform: translateY(-8px); box-shadow: var(--glow-ember); border-top: 3px solid var(--accent-sand); }

/* Services / value cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.icon-card { padding: 34px 28px; }
.icon-card .ic {
  width: 60px; height: 60px; display: grid; place-items: center; border-radius: 14px;
  background: rgba(212,98,42,0.12); color: var(--accent-ember); font-size: 24px; margin-bottom: 20px;
}
.icon-card h3 { font-size: 20px; margin-bottom: 10px; }
.icon-card p { color: var(--text-muted); font-size: 15px; margin-bottom: 16px; }
.icon-card ul li { color: var(--text-muted); font-size: 14px; padding-left: 20px; position: relative; margin-bottom: 6px; }
.icon-card ul li::before { content: '\f105'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--accent-sand); position: absolute; left: 0; }
.icon-card:hover { transform: translateY(-6px); border-top: 3px solid var(--accent-sand); box-shadow: var(--glow-sand); }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--glow-ember); border-color: var(--accent-ember); }

/* Testimonials */
.quote-card { padding: 34px 30px; position: relative; }
.quote-mark { font-family: var(--font-display); font-size: 60px; color: var(--accent-ember); line-height: .6; opacity: .5; }
.quote-text { color: var(--text-primary); font-size: 16px; margin: 12px 0 22px; }
.quote-person { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 50px; height: 50px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent-sand), var(--accent-ember));
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff;
}
.quote-person h4 { font-size: 16px; }
.quote-person span { color: var(--text-muted); font-size: 13px; }

/* Newsletter */
.newsletter { text-align: center; }
.newsletter h2 { font-size: clamp(34px, 5vw, 52px); color: var(--accent-ember); }
.news-form { display: flex; gap: 12px; max-width: 480px; margin: 30px auto 0; flex-wrap: wrap; justify-content: center; }
.news-form input {
  flex: 1; min-width: 240px; padding: 15px 18px; background: var(--bg-field);
  border: 1px solid var(--border-subtle); border-radius: var(--radius); color: var(--text-primary); font-family: var(--font-body); font-size: 15px;
}
.news-form input:focus { outline: none; border-color: var(--accent-ember); box-shadow: var(--glow-ember); }
.form-msg { margin-top: 14px; font-size: 14px; min-height: 20px; }
.form-msg.ok { color: var(--accent-sand); }
.form-msg.err { color: #e07a5f; }

/* ===== About specifics ===== */
.story-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.story-grid p { color: var(--text-muted); margin-bottom: 18px; }
.story-grid strong { color: var(--text-primary); }
blockquote {
  font-family: var(--font-display); font-style: italic; font-size: 22px; line-height: 1.4;
  border-left: 3px solid var(--accent-sand); padding-left: 22px; margin-top: 26px; color: var(--text-primary);
}
.img-placeholder {
  position: relative; border-radius: var(--radius); min-height: 380px;
  background: linear-gradient(150deg, #2a1c2e, #16121e 60%, #3a1e12);
  border: 1px solid var(--border-subtle);
}
.img-placeholder .bracket { position: absolute; width: 34px; height: 34px; border: 3px solid var(--accent-ember); }
.img-placeholder .bracket.tl { top: 14px; left: 14px; border-right: none; border-bottom: none; }
.img-placeholder .bracket.tr { top: 14px; right: 14px; border-left: none; border-bottom: none; }
.img-placeholder .bracket.bl { bottom: 14px; left: 14px; border-right: none; border-top: none; }
.img-placeholder .bracket.br { bottom: 14px; right: 14px; border-left: none; border-top: none; }
.img-placeholder .center-ico { position: absolute; inset: 0; display: grid; place-items: center; font-size: 60px; color: var(--accent-ember); opacity: .5; }

.value-card { padding: 30px 26px; text-align: center; }
.value-card .ic { margin: 0 auto 18px; }

/* Team */
.team-card { text-align: center; padding: 30px 24px; }
.team-avatar {
  width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--accent-sand), var(--accent-ember));
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 30px; color: #fff;
  transition: box-shadow .3s ease;
}
.team-card:hover .team-avatar { box-shadow: var(--glow-sand); }
.team-card h3 { font-size: 18px; }
.team-role { color: var(--accent-sand); font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .06em; margin-bottom: 12px; }
.team-card p { color: var(--text-muted); font-size: 14px; }

/* Timeline */
.timeline { position: relative; max-width: 860px; margin: 0 auto; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 0;
  border-left: 2px dashed rgba(212,98,42,0.25); transform: translateX(-50%);
}
.tl-item { position: relative; width: 50%; padding: 0 44px 44px; }
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; }
.tl-item .diamond {
  position: absolute; top: 4px; width: 16px; height: 16px; background: var(--accent-ember);
  transform: rotate(45deg); box-shadow: var(--glow-ember);
}
.tl-item:nth-child(odd) .diamond { right: -8px; }
.tl-item:nth-child(even) .diamond { left: -8px; }
.tl-year { font-family: var(--font-display); font-weight: 700; color: var(--accent-sand); font-size: 22px; }
.tl-item h3 { font-size: 18px; margin: 4px 0 8px; }
.tl-item p { color: var(--text-muted); font-size: 14px; }

/* ===== Filter tabs ===== */
.filters { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 46px; }
.filter-btn {
  font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .04em;
  padding: 9px 22px; border-radius: 30px; cursor: pointer; background: var(--bg-card);
  border: 1px solid var(--border-subtle); color: var(--text-muted); transition: all .25s ease;
}
.filter-btn:hover { color: var(--text-primary); }
.filter-btn.active { background: var(--accent-ember); color: #fff; border-color: var(--accent-ember); box-shadow: var(--glow-ember); }
.game-item.hide { display: none; }
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.game-item .card { cursor: pointer; height: 100%; }
.game-item .card:hover { transform: translateY(-8px); box-shadow: var(--glow-ember); border-color: var(--accent-sand); }

/* Modal */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000; background: rgba(14,11,20,0.85);
  backdrop-filter: blur(10px); display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg-card); border: 1px solid var(--accent-ember); border-radius: var(--radius);
  box-shadow: var(--glow-ember); max-width: 620px; width: 100%; max-height: 88vh; overflow-y: auto;
  transform: scale(.92); opacity: 0; transition: transform .3s ease, opacity .3s ease;
}
.modal-overlay.open .modal { transform: scale(1); opacity: 1; }
.modal-shot { height: 220px; background: linear-gradient(135deg, #c98a4a, #d4622a 55%, #7a2e12); position: relative; }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(14,11,20,0.7); border: 1px solid var(--border-subtle); color: var(--text-primary);
  font-size: 18px; cursor: pointer; display: grid; place-items: center;
}
.modal-content { padding: 28px; }
.modal-content h2 { font-size: 26px; margin-bottom: 6px; }
.modal-content .mgenre { color: var(--accent-sand); font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .06em; }
.modal-content p { color: var(--text-muted); margin: 16px 0; }
.modal-content h4 { color: var(--accent-ember); margin: 18px 0 8px; }
.modal-content ul li { color: var(--text-muted); padding-left: 20px; position: relative; margin-bottom: 6px; }
.modal-content ul li::before { content: '\f105'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--accent-sand); position: absolute; left: 0; }
.store-links { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }

/* ===== Process steps ===== */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.process::before {
  content: ''; position: absolute; top: 30px; left: 8%; right: 8%; height: 0;
  border-top: 2px dashed rgba(212,98,42,0.35); z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; }
.step .circle {
  width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 18px;
  background: var(--bg-card); border: 2px solid var(--accent-ember); color: var(--accent-ember);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 22px;
  box-shadow: var(--shadow-card);
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 14px; }

/* Packages */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.pkg { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius); padding: 38px 30px; position: relative; }
.pkg.popular { border-color: var(--accent-ember); box-shadow: var(--glow-ember); }
.pkg-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent-sand); color: var(--bg-dark); font-family: var(--font-display); font-weight: 700;
  font-size: 12px; letter-spacing: .08em; padding: 5px 18px; border-radius: 20px; text-transform: uppercase;
}
.pkg h3 { font-size: 24px; margin-bottom: 6px; }
.pkg .price { font-family: var(--font-display); font-weight: 700; font-size: 34px; color: var(--accent-ember); margin: 10px 0 20px; }
.pkg .price span { font-size: 15px; color: var(--text-muted); font-family: var(--font-body); }
.pkg ul { margin-bottom: 26px; }
.pkg ul li { color: var(--text-muted); padding: 8px 0 8px 24px; position: relative; border-bottom: 1px solid rgba(212,98,42,0.08); }
.pkg ul li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--accent-sand); position: absolute; left: 0; }
.pkg .btn { width: 100%; justify-content: center; }

/* CTA strip */
.cta-strip { text-align: center; background: linear-gradient(150deg, #1c1322, #16121e); border-radius: var(--radius); padding: 70px 30px; border: 1px solid var(--border-subtle); }
.cta-strip h2 { font-size: clamp(30px, 5vw, 46px); margin-bottom: 24px; }

/* ===== Blog ===== */
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.blog-meta { display: flex; gap: 14px; color: var(--text-muted); font-size: 13px; margin-bottom: 8px; }
.blog-meta i { color: var(--accent-sand); }
.blog-card:hover { transform: translateY(-8px); border-top: 3px solid var(--accent-sand); box-shadow: var(--glow-sand); }
.sidebar > div { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius); padding: 26px; margin-bottom: 26px; }
.sidebar h3 { font-size: 18px; margin-bottom: 18px; color: var(--accent-sand); }
.recent-post { display: block; padding: 12px 0; border-bottom: 1px solid rgba(212,98,42,0.1); color: var(--text-primary); font-size: 15px; transition: color .25s; }
.recent-post:last-child { border-bottom: none; }
.recent-post:hover { color: var(--accent-ember); }
.recent-post span { display: block; color: var(--text-muted); font-size: 12px; }
.cat-row { display: flex; justify-content: space-between; padding: 9px 0; color: var(--text-muted); border-bottom: 1px solid rgba(212,98,42,0.1); }
.cat-row:hover { color: var(--accent-ember); cursor: pointer; }
.cat-row span { color: var(--accent-sand); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 12px; padding: 5px 12px; border-radius: 20px; background: rgba(212,98,42,0.12); color: var(--accent-ember); border: 1px solid var(--border-subtle); }
.tag.sand { background: rgba(232,169,74,0.12); color: var(--accent-sand); }

/* ===== Contact ===== */
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: start; }
.info-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle); border-left: 3px solid var(--accent-ember);
  border-radius: var(--radius); padding: 20px 24px; margin-bottom: 18px; display: flex; gap: 16px; align-items: flex-start;
}
.info-card i { color: var(--accent-ember); font-size: 20px; margin-top: 4px; }
.info-card h4 { font-size: 15px; margin-bottom: 3px; }
.info-card p { color: var(--text-muted); font-size: 14px; }
.attribution { font-style: italic; color: var(--text-muted); margin: 18px 0; }
.socials { display: flex; gap: 12px; margin-bottom: 24px; }
.socials a {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--bg-card); border: 1px solid var(--border-subtle); color: var(--text-primary); transition: all .25s;
}
.socials a:hover { color: var(--accent-ember); border-color: var(--accent-ember); transform: translateY(-3px); box-shadow: var(--glow-ember); }
.map-frame {
  background: linear-gradient(150deg, #201628, #16121e); border: 1px solid var(--border-subtle);
  border-radius: var(--radius); height: 200px; display: grid; place-items: center; text-align: center; color: var(--text-muted); position: relative;
}
.map-frame i { font-size: 34px; color: var(--accent-ember); margin-bottom: 8px; }

.form-wrap { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-card); }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: 14px; margin-bottom: 8px; letter-spacing: .03em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; background: var(--bg-field); border: 1px solid var(--border-subtle);
  border-radius: var(--radius); color: var(--text-primary); font-family: var(--font-body); font-size: 15px;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-ember); box-shadow: var(--glow-ember); }
.field .error { color: #e07a5f; font-size: 13px; margin-top: 6px; display: none; }
.field.invalid .error { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #e07a5f; }
.success-card {
  background: rgba(212,98,42,0.12); border: 1px solid var(--accent-ember); border-radius: var(--radius);
  padding: 20px; color: var(--text-primary); margin-top: 18px; display: none; text-align: center;
}
.success-card.show { display: block; }
.success-card i { color: var(--accent-sand); margin-right: 8px; }

/* ===== Footer ===== */
.footer { background: #110e18; border-top: 1px solid rgba(212,98,42,0.22); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 46px; }
.footer .logo { margin-bottom: 16px; }
.footer p { color: var(--text-muted); font-size: 15px; max-width: 320px; }
.footer .ftag { font-family: var(--font-display); font-style: italic; color: var(--accent-sand); margin-top: 14px; }
.footer h4 { font-family: var(--font-display); font-size: 16px; margin-bottom: 18px; color: var(--text-primary); letter-spacing: .04em; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-muted); font-size: 15px; transition: color .25s; }
.footer-links a:hover { color: var(--accent-ember); }
.footer .socials { margin-top: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(212,98,42,0.12); padding: 22px 0; text-align: center;
  color: var(--text-muted); font-size: 13.5px; line-height: 1.8;
}
.footer-bottom .addr { color: var(--text-muted); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-layout { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
}
@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .hamburger { display: block; }
  .nav-links {
    position: fixed; top: 74px; right: 0; width: 260px; height: calc(100vh - 74px);
    flex-direction: column; align-items: flex-start; gap: 8px; padding: 30px 26px;
    background: rgba(14,11,20,0.99); border-left: 1px solid var(--border-subtle);
    transform: translateX(100%); transition: transform .3s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links .nav-cta { margin-top: 10px; }
  .grid-3, .grid-2, .grid-4, .packages, .process, .games-grid, .contact-layout { grid-template-columns: 1fr; }
  .process::before { display: none; }
  .stats { grid-template-columns: 1fr; margin-top: 30px; }
  .stat { border-right: none; border-bottom: 1px solid rgba(232,169,74,0.18); }
  .stat:last-child { border-bottom: none; }
  .timeline::before { left: 8px; }
  .tl-item { width: 100%; left: 0 !important; text-align: left !important; padding: 0 0 40px 40px; }
  .tl-item .diamond { left: 0 !important; right: auto !important; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 120px 0 60px; }
}
