/*
Theme Name: HomeSphere3D
Theme URI: https://example.com/homesphere3d
Author: Codex
Description: Custom classic-editor WordPress theme for HomeSphere3D virtual staging and tour services.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: homesphere3d
*/

:root {
  --orange: #e8711f;
  --orange-dim: rgba(232, 113, 31, 0.1);
  --dark: #141414;
  --bg: #f3f1eb;
  --bg-alt: #eae8e1;
  --white: #ffffff;
  --text: #141414;
  --muted: #717171;
  --h: "Manrope", sans-serif;
  --s: "Libre Baskerville", serif;
  --b: "Inter", sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body {
  font-family: var(--b);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }

[id] { scroll-margin-top: 72px; }

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.site-shell {
  min-height: 100vh;
  background: var(--white);
}

.navbar {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.07);
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.125rem 3rem;
}
.nav-logo img { height: 65px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2.25rem; }
.nav-phone {
  font-family: var(--h);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
  margin-left: 0.5rem;
}
.nav-link, .nav-links .menu-item > a {
  font-family: var(--h);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--dark);
  padding: 0.5rem 0;
  position: relative;
}
.nav-link::after, .nav-links .menu-item > a::after {
  content: "";
  position: absolute;
  bottom: 0.25rem;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--dark);
  transition: width 0.35s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}
.nav-link:hover::after, .nav-links .menu-item > a:hover::after { width: 100%; }
.nav-links ul,
.mob-links ul,
.footer-menu {
  list-style: none;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.375rem;
  border: 1px solid transparent;
  border-radius: 100rem;
  font-family: var(--h);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--white);
  background: var(--orange);
  transition: all 0.3s ease;
}
.nav-cta:hover { box-shadow: inset 500px 0 0 0 #c45d17; }

.hero-section {
  height: 100vh;
  min-height: 640px;
  position: relative;
  z-index: 5;
  background: var(--white);
}
.hero {
  width: 100%;
  height: 100%;
  border-bottom-left-radius: 5rem;
  border-bottom-right-radius: 5rem;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0 8.125rem 7.5rem;
  overflow: hidden;
  background: var(--dark);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}
.hero-tint {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.37);
  z-index: 1;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.55) 100%);
  z-index: 2;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 3;
  color: var(--white);
  max-width: 680px;
}
.hero-h {
  font-family: var(--h);
  font-size: 5.5rem;
  font-weight: 800;
  line-height: 0.95em;
  letter-spacing: -0.035em;
  margin-bottom: 2rem;
}
.accent {
  font-family: var(--s);
  font-style: italic;
  font-weight: 400;
}
.accent.lg {
  font-size: 4.5rem;
  line-height: 0.8em;
}
.hero-sub {
  font-family: var(--b);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  max-width: 400px;
  margin-bottom: 2.5rem;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 100rem;
  font-family: var(--h);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.32s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}
.btn-white { background: var(--white); color: var(--dark); }
.btn-white:hover { box-shadow: inset 500px 0 0 0 var(--orange); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.8); }
.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1px solid rgba(20, 20, 20, 0.22);
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }
.btn-orange { background: var(--orange); color: var(--white); }
.btn-orange:hover { box-shadow: inset 500px 0 0 0 #c45d17; }
.btn-hero-cta {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(232, 113, 31, 0.35);
}
.btn-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232, 113, 31, 0.55), 0 2px 8px rgba(232, 113, 31, 0.25);
  background: #f07d2a;
}
.btn-hero-cta:active {
  transform: translateY(0);
  box-shadow: 0 4px 16px rgba(232, 113, 31, 0.4);
}
.arr { width: 13px; height: 13px; flex-shrink: 0; }

.main {
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 7.5rem;
  padding: 7.5rem 0;
  position: relative;
  overflow: hidden;
  z-index: 5;
}
.gridlines {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 8.125rem;
  pointer-events: none;
  z-index: 0;
}
.gl { width: 1px; background: rgba(0, 0, 0, 0.038); }
.container {
  width: 100%;
  padding: 0 8.125rem;
  position: relative;
  z-index: 1;
}
.container.col {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.featured-text {
  font-family: var(--h);
  font-size: 2.125rem;
  font-weight: 400;
  line-height: 1.35;
}
.featured-text .hl { color: var(--orange); }
.featured-img {
  width: 100%;
  height: 500px;
  border-radius: 0.75rem;
  overflow: hidden;
}
.featured-img img { width: 100%; height: 100%; object-fit: cover; }

.sf { position: relative; }
.sf.bg { background: var(--bg); overflow: hidden; }
.sf.dark {
  background: var(--dark);
  color: var(--white);
  overflow: hidden;
  margin-top: -7.5rem;
}
.bg-word {
  position: absolute;
  top: -4rem;
  left: -1.25rem;
  font-family: var(--h);
  font-size: 20rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(0, 0, 0, 0.06);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  white-space: nowrap;
}
.sf.bg .bg-word { -webkit-text-stroke-color: rgba(0, 0, 0, 0.084); }
.sf.dark .bg-word { -webkit-text-stroke-color: rgba(255, 255, 255, 0.048); }

.two-col {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  padding: 0 8.125rem;
  position: relative;
  z-index: 1;
}
.ic { grid-column: 1 / 4; }
.ic.r { grid-column: 3 / 6; }
.cc {
  grid-column: 4 / 6;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  padding-left: 3.5rem;
}
.cc.l {
  grid-column: 1 / 3;
  padding-left: 0;
  padding-right: 3.5rem;
}
.img-card {
  aspect-ratio: 1 / 1;
  border-radius: 0.75rem;
  width: 78%;
  overflow: hidden;
}
.img-card img { width: 100%; height: 100%; object-fit: cover; }
.img-card.push { margin-left: auto; }

.sec-t {
  font-family: var(--h);
  font-size: 2.375rem;
  font-weight: 700;
  line-height: 1.1;
}
.sec-t.sm { font-size: 1.875rem; font-weight: 600; }
.hflex { display: flex; align-items: center; gap: 1.625rem; margin-top: 0.25rem; }
.hline { width: 3.75rem; height: 2px; background: var(--orange); flex-shrink: 0; }
.sec-p {
  font-family: var(--b);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 34ch;
}
.sf.dark .sec-p { color: rgba(255, 255, 255, 0.55); }
.sec-pad { padding: 7.5rem 8.125rem; position: relative; }

.mosaic-hdr {
  font-family: var(--h);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.4;
  max-width: 52ch;
  position: relative;
  z-index: 1;
}
.mosaic {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}
.mc {
  background: var(--white);
  border-radius: 0.75rem;
  padding: 2rem 1.625rem;
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}
.mi { color: var(--orange); }
.mt {
  font-family: var(--h);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}
.md {
  font-family: var(--b);
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
}

.tour-wrap {
  padding: 0 8.125rem 7.5rem;
  position: relative;
  z-index: 1;
}
.tour-lbl {
  font-family: var(--h);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
.tour-hdr {
  font-family: var(--h);
  font-size: 2.375rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.tour-sub {
  font-family: var(--b);
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 50ch;
  margin-bottom: 2.5rem;
}
.tour-frame { border-radius: 0.75rem; overflow: hidden; aspect-ratio: 16 / 9; }
.tour-frame iframe { width: 100%; height: 100%; border: none; display: block; }

.cards3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}
.ac {
  background: var(--white);
  border-radius: 0.75rem;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.ac:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(232, 113, 31, 0.1);
}
.ai {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}
.at {
  font-family: var(--h);
  font-size: 1.25rem;
  font-weight: 700;
}
.ad {
  font-family: var(--b);
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.65;
}

.pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.5rem;
  margin-top: 3.5rem;
  position: relative;
  z-index: 1;
}
.ps { display: flex; flex-direction: column; gap: 1rem; }
.pn {
  font-family: var(--s);
  font-style: italic;
  font-size: 5.5rem;
  line-height: 1;
  color: var(--orange);
  opacity: 0.3;
}
.pt {
  font-family: var(--h);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}
.pd {
  font-family: var(--b);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

.tgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  position: relative;
  z-index: 1;
}
.tc {
  background: var(--white);
  border-radius: 0.75rem;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.stars { color: var(--orange); font-size: 1rem; letter-spacing: 2px; }
.tt {
  font-family: var(--b);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
  font-style: italic;
  flex: 1;
}
.ta {
  font-family: var(--h);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--dark);
}

.cgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}
.cc2 {
  background: var(--white);
  border-radius: 0.75rem;
  padding: 1.875rem;
  border: 1px solid rgba(0, 0, 0, 0.07);
}
.cn {
  font-family: var(--h);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 0.5rem;
}
.ci {
  font-family: var(--b);
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
}

.prgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  position: relative;
  z-index: 1;
}
.prcard {
  border-radius: 0.75rem;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s;
}
.prcard:hover { box-shadow: 0 16px 48px rgba(232, 113, 31, 0.1); }
.prcard.feat {
  background: var(--dark);
  border-color: transparent;
  color: var(--white);
}
.prtier {
  font-family: var(--h);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
}
.prname {
  font-family: var(--h);
  font-size: 1.375rem;
  font-weight: 700;
}
.pramt {
  font-family: var(--s);
  font-style: italic;
  font-size: 3.75rem;
  color: var(--orange);
  line-height: 1;
}
.prdesc {
  font-family: var(--b);
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}
.prcard.feat .prdesc { color: rgba(255, 255, 255, 0.55); }

.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-l {
  opacity: 0;
  transform: translateX(-2.5rem);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-l.in { opacity: 1; transform: none; }
.reveal-r {
  opacity: 0;
  transform: translateX(2.5rem);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-r.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }

.contact-sec {
  background: var(--bg);
  overflow: hidden;
  position: relative;
  padding: 8rem 8.125rem;
  z-index: 5;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 5.5rem;
  align-items: start;
}
.contact-hdr {
  position: sticky;
  top: 6rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-trust {
  font-family: var(--b);
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 34ch;
}
.contact-badges {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.c-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--b);
  font-size: 0.875rem;
  color: var(--muted);
}
.c-badge svg { color: var(--orange); flex-shrink: 0; }
.form-card {
  background: var(--white);
  border-radius: 1.25rem;
  padding: 2.75rem;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.06);
}
.form-card .wpcf7-spinner { display: none; }
.form-card .wpcf7-form p {
  margin: 0;
}
.frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.125rem;
  margin-bottom: 1.125rem;
}
.frow.full { grid-template-columns: 1fr; }
.fgrp { display: flex; flex-direction: column; gap: 0.4rem; }
.flabel {
  font-family: var(--h);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.01em;
}
.finput {
  width: 100%;
  padding: 0.8125rem 1rem;
  border: 1.5px solid rgba(0, 0, 0, 0.11);
  border-radius: 0.5rem;
  font-family: var(--b);
  font-size: 0.9375rem;
  color: var(--dark);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.finput:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232, 113, 31, 0.1);
}
.finput::placeholder { color: rgba(0, 0, 0, 0.28); }
textarea.finput { resize: vertical; min-height: 96px; line-height: 1.6; }
select.finput {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23717171' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
}
.fsec-label {
  font-family: var(--h);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.01em;
  display: block;
  margin-bottom: 0.625rem;
}
.pkg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 0.625rem;
  margin-bottom: 1.125rem;
}
.pkg-grid > p {
  display: contents;
  margin: 0;
}
.pkg-grid br {
  display: none;
}
.pkg-opt {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  min-width: 0;
}
.pkg-opt input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.pkg-label {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.2rem;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 10.25rem;
  padding: 0.875rem 1rem;
  border: 1.5px solid rgba(0, 0, 0, 0.11);
  border-radius: 0.625rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.pkg-label:hover {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232, 113, 31, 0.08);
}
.pkg-name {
  font-family: var(--h);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--dark);
}
.pkg-price {
  font-family: var(--s);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--orange);
  line-height: 1.2;
}
.pkg-desc {
  font-family: var(--b);
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 0.1rem;
}
.pkg-opt input:checked + .pkg-label,
.pkg-opt.is-selected .pkg-label {
  border-color: var(--orange);
  background: rgba(232, 113, 31, 0.05);
  box-shadow: 0 0 0 3px rgba(232, 113, 31, 0.12);
}
.pkg-opt input:checked + .pkg-label .pkg-name,
.pkg-opt.is-selected .pkg-label .pkg-name {
  color: var(--orange);
}
.form-submit {
  width: 100%;
  padding: 1.0625rem;
  border-radius: 100rem;
  background: var(--orange);
  color: var(--white);
  font-family: var(--h);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  margin-top: 1.5rem;
  letter-spacing: 0.01em;
  transition: box-shadow 0.3s;
}
.form-submit:hover { box-shadow: inset 500px 0 0 0 #c45d17; }
.form-trust-line {
  text-align: center;
  font-family: var(--b);
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 0.875rem;
}
.form-card .wpcf7-not-valid-tip,
.form-card .wpcf7-response-output {
  font-size: 0.8125rem;
  margin: 1rem 0 0;
}

.footer { background: var(--dark); color: var(--white); position: relative; z-index: 1; }
.fi { padding: 5rem 8.125rem 2rem; }
.fgrid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 1rem;
  margin-bottom: 5rem;
}
.fc { display: flex; flex-direction: column; gap: 0.75rem; }
.flogo img { height: 36px; width: auto; max-width: none; align-self: flex-start; }
.fh {
  font-family: var(--h);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.fl, .footer-menu .menu-item > a {
  font-family: var(--b);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  position: relative;
  transition: color 0.2s;
}
.fl::after, .footer-menu .menu-item > a::after {
  content: "";
  position: absolute;
  bottom: -0.2rem;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width 0.35s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}
.fl:hover, .footer-menu .menu-item > a:hover { color: var(--white); }
.fl:hover::after, .footer-menu .menu-item > a:hover::after { width: 100%; }
.nlrow {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 0.5rem;
  gap: 0.5rem;
}
.nlrow input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-family: var(--b);
  font-size: 0.875rem;
  flex: 1;
}
.nlrow input::placeholder { color: rgba(255, 255, 255, 0.3); }
.nlbtn {
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.nlbtn:hover { color: var(--orange); }
.newsletter-message {
  margin-top: 0.75rem;
  font-family: var(--b);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}
.newsletter-message.is-error { color: #ffb8b8; }
.fcopy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 1.5rem;
  font-family: var(--b);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.3);
}

.stats-bar {
  width: 100%;
  padding: 4rem 8.125rem 3.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 6;
  background: var(--white);
}
.stats-headline {
  font-family: var(--h);
  font-size: 2.375rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
  text-align: center;
  line-height: 1.1;
}
.stats-inner { display: flex; align-items: flex-start; justify-content: center; gap: 0; }
.stat-item {
  flex: 0 0 auto;
  width: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 7rem;
  position: relative;
  text-align: center;
}
.stat-item + .stat-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5%;
  height: 90%;
  width: 1px;
  background: rgba(0, 0, 0, 0.1);
}
.stat-big {
  font-family: var(--h);
  font-size: 6rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--orange);
}
.stat-lbl {
  font-family: var(--h);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 0.375rem;
  line-height: 1.1;
}
.stat-sub {
  font-family: var(--b);
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 0.625rem;
  max-width: 20ch;
  margin-left: auto;
  margin-right: auto;
}
.stats-source {
  text-align: center;
  font-family: var(--b);
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.28);
  margin-top: 2.5rem;
  letter-spacing: 0.02em;
}

.svc-examples { position: relative; z-index: 1; }
.svc-video-wrap {
  border-radius: 0.875rem;
  overflow: hidden;
  position: relative;
  background: var(--dark);
}
.svc-video-wrap video { width: 100%; display: block; max-height: 520px; object-fit: cover; }
.svc-video-label {
  position: absolute;
  top: 1.125rem;
  left: 1.25rem;
  font-family: var(--h);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--orange);
  padding: 0.3rem 0.75rem;
  border-radius: 100rem;
}
.svc-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}
.svc-pair-item {
  border-radius: 0.875rem;
  overflow: hidden;
  position: relative;
  background: var(--dark);
}
.svc-pair-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-pair-label {
  position: absolute;
  top: 1rem;
  left: 1.125rem;
  font-family: var(--h);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--orange);
  padding: 0.28rem 0.7rem;
  border-radius: 100rem;
}
.svc-pair-iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: none;
  display: block;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  border-radius: 0.375rem;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--dark);
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-nav.open { transform: none; }
.mob-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.75rem 3rem;
  overflow-y: auto;
}
.mob-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0.5rem;
}
.mob-logo img { height: 36px; width: auto; }
.mob-close {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  color: var(--white);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: border-color 0.2s;
}
.mob-close:hover { border-color: var(--white); }
.mob-links {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.mob-link, .mob-links .menu-item > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-family: var(--h);
  font-size: 1.375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
  text-decoration: none;
}
.mob-link:hover, .mob-links .menu-item > a:hover { color: var(--white); }
.mob-link:last-child { border-bottom: none; }
.mob-link.cta { color: var(--orange); margin-top: 1rem; font-size: 1.25rem; }
.mob-link.cta:hover { color: #c45d17; }
.mob-watermark {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  font-family: var(--h);
  font-size: 18rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.04);
  pointer-events: none;
  user-select: none;
  line-height: 1;
  white-space: nowrap;
}

.page-shell {
  padding: 10rem 8.125rem 6rem;
  min-height: 60vh;
}
.entry-header {
  max-width: 60rem;
  margin-bottom: 2rem;
}
.entry-title,
.archive-title {
  font-family: var(--h);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--dark);
}
.entry-meta,
.archive-description,
.search-subtitle {
  margin-top: 1rem;
  font-family: var(--b);
  color: var(--muted);
  line-height: 1.7;
}
.entry-content,
.archive-grid {
  max-width: 60rem;
}
.entry-content {
  font-family: var(--b);
  font-size: 1.0625rem;
  line-height: 1.9;
}
.entry-content > * + * { margin-top: 1.25rem; }
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-family: var(--h);
  line-height: 1.15;
  margin-top: 2rem;
}
.entry-content ul,
.entry-content ol {
  padding-left: 1.5rem;
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.archive-card {
  background: var(--bg);
  border-radius: 1rem;
  padding: 2rem;
}
.archive-card h2 {
  font-family: var(--h);
  font-size: 1.5rem;
  line-height: 1.15;
}
.archive-card p {
  margin-top: 0.75rem;
  color: var(--muted);
  line-height: 1.7;
}
.archive-card a { color: inherit; }
.pagination {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  font-family: var(--h);
}

@media (min-width: 768px) {
  .pkg-grid {
    grid-auto-rows: minmax(11.75rem, 1fr);
  }
  .pkg-label {
    min-height: 11.75rem;
  }
}

@media (max-width: 1023px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-inner { padding: 1rem 2rem; }
  .hero { padding: 0 3rem 5rem; border-bottom-left-radius: 3.5rem; border-bottom-right-radius: 3.5rem; }
  .hero-h { font-size: 4.25rem; }
  .accent.lg { font-size: 3.5rem; }
  .main { gap: 5rem; padding: 5rem 0; }
  .container, .page-shell { padding-left: 3rem; padding-right: 3rem; }
  .sec-pad { padding: 5rem 3rem; }
  .tour-wrap { padding: 0 3rem 5rem; }
  .two-col { grid-template-columns: 1fr; padding: 0 3rem; row-gap: 3rem; }
  .ic, .ic.r { grid-column: 1; }
  .cc, .cc.l { grid-column: 1; padding-left: 0; padding-right: 0; }
  .img-card { width: 100%; aspect-ratio: 16 / 10; }
  .img-card.push { margin-left: 0; }
  .mosaic { grid-template-columns: repeat(3, 1fr); }
  .cards3 { grid-template-columns: repeat(2, 1fr); }
  .tgrid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { padding: 3.5rem 3rem 3rem; }
  .stat-item { width: auto; flex: 1; padding: 0 3rem; }
  .stat-big { font-size: 4.5rem; }
  .svc-pair-iframe { min-height: 300px; }
  .prgrid { grid-template-columns: 1fr; }
  .contact-sec { padding: 5rem 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-hdr { position: static; }
  .fi { padding: 4rem 3rem 2rem; }
  .fgrid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .gridlines { display: none; }
  .archive-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .nav-inner { padding: 0.875rem 1.25rem; }
  .nav-logo img { height: 36px; }
  .hero { padding: 0 1.375rem 3.5rem; border-bottom-left-radius: 2rem; border-bottom-right-radius: 2rem; }
  .hero-h { font-size: 2.875rem; line-height: 0.95em; }
  .accent.lg { font-size: 2.5rem; line-height: 0.85em; }
  .hero-sub { font-size: 0.9375rem; max-width: 100%; }
  .main { gap: 3.5rem; padding: 3.5rem 0; }
  .container, .page-shell { padding-left: 1.375rem; padding-right: 1.375rem; }
  .sec-pad { padding: 3.5rem 1.375rem; }
  .tour-wrap { padding: 0 1.375rem 3.5rem; }
  .two-col { padding: 0 1.375rem; display: flex; flex-direction: column; gap: 1.25rem; }
  .two-col .cc, .two-col .cc.l { display: contents; }
  .two-col .cc-head { order: 1; }
  .two-col .ic, .two-col .ic.r { order: 2; }
  .two-col .sec-p { order: 3; }
  .two-col .btn { order: 4; }
  .featured-text { font-size: 1.5rem; line-height: 1.4; }
  .sec-t { font-size: 2rem; }
  .sec-t.sm { font-size: 1.625rem; }
  .hflex { gap: 1rem; }
  .hline { width: 2.5rem; }
  .bg-word { font-size: 10rem; top: -2rem; }
  .mosaic { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .mc { padding: 1.5rem 1.25rem; }
  .mosaic-hdr { font-size: 1.375rem; }
  .stats-bar { padding: 3rem 1.375rem 2.5rem; }
  .stats-inner { flex-direction: column; align-items: center; gap: 0; }
  .stat-item { width: 100%; max-width: 100%; padding: 2rem 0; border: none; text-align: center; }
  .stat-item + .stat-item::before { display: none; }
  .stat-item + .stat-item { border-top: 1px solid rgba(0, 0, 0, 0.07); }
  .stat-big { font-size: 4rem; }
  .svc-pair { grid-template-columns: 1fr; gap: 1rem; }
  .svc-pair-iframe { min-height: 260px; }
  .cards3 { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: 1fr; gap: 2rem; margin-top: 2.5rem; }
  .pn { font-size: 4rem; }
  .tgrid { grid-template-columns: 1fr; }
  .prgrid { gap: 1rem; }
  .pramt { font-size: 3rem; }
  .contact-sec { padding: 3.5rem 1.375rem; }
  .contact-grid { gap: 2.5rem; }
  .frow { grid-template-columns: 1fr !important; }
  .form-card { padding: 1.75rem 1.25rem; border-radius: 1rem; }
  .cgrid { grid-template-columns: 1fr; }
  .pkg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: 1fr;
    gap: 0.5rem;
  }
  .pkg-grid .pkg-opt,
  .form-card .pkg-grid .pkg-opt,
  .form-card .wpcf7 .pkg-grid .pkg-opt {
    width: 100%;
    min-width: 0;
  }
  .pkg-grid .pkg-label,
  .form-card .pkg-grid .pkg-label,
  .form-card .wpcf7 .pkg-grid .pkg-label {
    width: 100%;
    height: 100%;
  }
  .fi { padding: 3rem 1.375rem 1.5rem; }
  .fgrid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .fcopy { flex-direction: column; gap: 0.5rem; text-align: center; }
  .reveal { transform: translateY(1rem); }
  .reveal-l, .reveal-r { transform: translateY(1rem); }
}
