:root {
  --bg: #fffaf5;
  --bg-soft: #f7efe6;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: rgba(255, 255, 255, 0.95);

  --text: #241c18;
  --muted: #6f6258;
  --line: rgba(36, 28, 24, 0.08);

  --accent: #d49a64;
  --accent-dark: #a16d42;
  --accent-soft: #f1ddc9;

  --success: #46c96a;

  --shadow-soft: 0 14px 34px rgba(36, 28, 24, 0.07);
  --shadow-medium: 0 24px 60px rgba(36, 28, 24, 0.11);
  --shadow-strong: 0 42px 110px rgba(36, 28, 24, 0.16);

  --radius-sm: 16px;
  --radius: 28px;
  --radius-lg: 42px;
  --radius-xl: 56px;

  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--accent) #f2e6d9;
}

body {
  margin: 0;
  color: var(--text);
  line-height: 1.7;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.92), transparent 28%),
    radial-gradient(circle at bottom right, rgba(241,221,201,0.26), transparent 28%),
    linear-gradient(180deg, #fffdfb 0%, var(--bg) 40%, var(--bg-soft) 100%);
  overflow-x: hidden;
}

body::-webkit-scrollbar {
  width: 12px;
}

body::-webkit-scrollbar-track {
  background: #f2e6d9;
}

body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
  border-radius: 999px;
  border: 2px solid #f2e6d9;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(100% - 44px, var(--container));
  margin: 0 auto;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ticker */

.ticker {
  position: relative;
  overflow: hidden;
  height: 42px;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #fff0e2 0%, #f6dcc4 100%);
  border-bottom: 1px solid rgba(161, 109, 66, 0.14);
  z-index: 140;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
  min-width: max-content;
  padding-left: 100%;
  animation: tickerMove 24s linear infinite;
  font-size: 0.92rem;
  color: #8a6243;
}

.ticker-track span:nth-child(2n) {
  color: var(--accent-dark);
}

@keyframes tickerMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 130;
  backdrop-filter: blur(14px);
  background: rgba(255, 250, 245, 0.84);
  border-bottom: 1px solid rgba(36, 28, 24, 0.06);
  transition: background 0.22s ease, box-shadow 0.22s ease;
}

.nav-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: var(--shadow-soft);
}

.brand-text {
  color: var(--accent-dark);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  font-size: 0.9rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav a {
  color: var(--muted);
  transition: color 0.18s ease;
}

.main-nav a:hover {
  color: var(--text);
}

.menu-button {
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(36, 28, 24, 0.08);
  border-radius: 14px;
  background: rgba(255,255,255,0.7);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-button.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button.open span:nth-child(2) {
  opacity: 0;
}

.menu-button.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-drawer {
  display: none;
  padding: 0 22px 20px;
  background: rgba(255, 250, 245, 0.98);
  border-top: 1px solid rgba(36, 28, 24, 0.06);
}

.site-drawer.open {
  display: grid;
  gap: 12px;
}

.site-drawer a {
  color: var(--text);
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.72);
}

/* shared */

.eyebrow,
.section-tag,
.hero-card-kicker,
.contact-panel-kicker {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow,
.hero-card-kicker {
  color: #8a6243;
}

.section-tag,
.contact-panel-kicker {
  color: var(--accent-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 600;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
  box-shadow: var(--shadow-medium);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--line);
}

.section-head {
  margin-bottom: 34px;
}

.section-head.center {
  text-align: center;
}

.section-head h2,
.section-copy h2,
.contact-copy h2 {
  font-size: clamp(2rem, 3vw, 3.15rem);
  line-height: 1.04;
}

.section-copy p,
.contact-copy p {
  color: var(--muted);
}

/* hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 92px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02)),
    linear-gradient(135deg, #fff7ef 0%, #fde8d7 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(50px);
  opacity: 0.42;
}

.hero-glow-a {
  width: 280px;
  height: 280px;
  top: 0;
  right: 8%;
  background: rgba(212, 154, 100, 0.28);
}

.hero-glow-b {
  width: 220px;
  height: 220px;
  bottom: 10%;
  left: -40px;
  background: rgba(70, 201, 106, 0.14);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 44px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  max-width: 760px;
}

.hero-text {
  margin: 22px 0 34px;
  max-width: 670px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-pills {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-pills span {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--line);
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: 680px;
}

.hero-frame {
  position: absolute;
  inset: 0;
  padding: 18px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255,255,255,0.78), rgba(212,154,100,0.12));
  box-shadow: var(--shadow-strong);
}

.hero-image {
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius-xl) - 8px);
  background:
    linear-gradient(rgba(36,28,24,0.08), rgba(36,28,24,0.06)),
    url("https://images.unsplash.com/photo-1519823551278-64ac92734fb1?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
}

.hero-card {
  position: absolute;
  max-width: 250px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255,255,255,0.76);
  border: 1px solid var(--line);
  color: var(--text);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-medium);
}

.hero-card strong {
  display: block;
  line-height: 1.35;
}

.hero-card-a {
  top: 24px;
  left: -16px;
}

.hero-card-b {
  right: 12px;
  bottom: 24px;
}

/* intro strip */

.intro-strip {
  padding: 28px 0;
  background: linear-gradient(180deg, #fff4e7 0%, #fbe6d3 100%);
  border-top: 1px solid rgba(161, 109, 66, 0.08);
  border-bottom: 1px solid rgba(161, 109, 66, 0.08);
}

.intro-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.intro-pill {
  padding: 24px 22px;
  border-radius: 22px;
  background: rgba(255,255,255,0.74);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.intro-pill h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
}

.intro-pill p {
  margin: 0;
  color: var(--muted);
}

/* sections */

.about-section,
.services-section,
.highlight-section,
.contact-section,
.route-section {
  padding: 104px 0;
}

.section-grid {
  display: grid;
  grid-template-columns: 0.98fr 1.02fr;
  gap: 34px;
  align-items: center;
}

.section-grid.reverse {
  grid-template-columns: 1.02fr 0.98fr;
}

.section-copy p {
  margin-top: 14px;
  max-width: 620px;
}

.section-visual {
  min-height: 520px;
}

.about-image {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-strong);
  background:
    linear-gradient(rgba(36,28,24,0.08), rgba(36,28,24,0.05)),
    url("https://images.unsplash.com/photo-1522335789203-aabd1fc54bc9?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
}

/* services */

.services-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr 0.92fr;
  gap: 20px;
}

.service-card {
  position: relative;
  overflow: hidden;
  padding: 32px 28px;
  border-radius: 30px;
  background: linear-gradient(180deg, var(--surface-strong), var(--surface));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent), transparent);
}

.service-card-large {
  min-height: 100%;
}

.service-number {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.32rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

/* highlight */

.highlight-box {
  display: grid;
  grid-template-columns: 1fr 0.96fr;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(241,221,201,0.34) 0%, transparent 28%),
    linear-gradient(180deg, var(--surface-strong), rgba(255,255,255,0.82));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-strong);
}

.highlight-copy p {
  margin-top: 14px;
  color: var(--muted);
}

.highlight-stats {
  display: grid;
  gap: 16px;
}

.stat-card {
  min-height: 96px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-card strong {
  margin-bottom: 4px;
  font-size: 1.12rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-card span {
  color: var(--muted);
}

/* contact */

.contact-box {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(241,221,201,0.34) 0%, transparent 28%),
    linear-gradient(180deg, var(--surface-strong), rgba(255,255,255,0.82));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-strong);
}

.contact-panel {
  padding: 28px 26px;
  border-radius: 30px;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--line);
}

.contact-panel ul {
  margin: 0;
  padding-left: 20px;
}

.contact-panel li {
  margin-bottom: 10px;
  color: var(--muted);
}

/* route */

.route-map {
  width: 100%;
  min-height: 420px;
  border-radius: var(--radius-xl);
  padding: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,0.8), rgba(212,154,100,0.14));
  box-shadow: var(--shadow-strong);
}

.route-map-inner {
  width: 100%;
  height: 100%;
  min-height: 384px;
  border-radius: calc(var(--radius-xl) - 8px);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  background:
    linear-gradient(rgba(255,255,255,0.12), rgba(255,255,255,0.08)),
    repeating-linear-gradient(
      45deg,
      #f9efe4 0px,
      #f9efe4 16px,
      #f4e5d6 16px,
      #f4e5d6 32px
    );
  border: 1px dashed rgba(161, 109, 66, 0.18);
}

/* footer */

.site-footer {
  padding: 26px 0 36px;
  background: #fff1e3;
  color: #8a6243;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.footer-wrap p {
  margin: 0;
}

.footer-nav {
  display: flex;
  gap: 18px;
}

.footer-nav a {
  color: #8a6243;
}

/* reveal */

.reveal {
  opacity: 1;
  transform: none;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.js-ready .reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* responsive */

@media (max-width: 1180px) {
  .hero-grid,
  .section-grid,
  .section-grid.reverse,
  .highlight-box,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .intro-strip-grid {
    grid-template-columns: 1fr 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-card-large {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .ticker {
    height: 36px;
  }

  .ticker-track {
    font-size: 0.78rem;
    gap: 12px;
    animation-duration: 20s;
  }

  .site-header {
    position: relative;
  }

  .nav-wrap {
    min-height: auto;
    padding: 14px 0;
  }

  .main-nav {
    display: none;
  }

  .hero,
  .about-section,
  .services-section,
  .highlight-section,
  .contact-section,
  .route-section {
    padding: 72px 0;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 10vw, 3.9rem);
  }

  .hero-visual {
    min-height: 420px;
  }

  .hero-frame {
    padding: 12px;
    border-radius: 30px;
  }

  .hero-image {
    border-radius: 22px;
  }

  .hero-card {
    position: static;
    max-width: none;
    margin-top: 14px;
  }

  .intro-strip-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    min-height: 320px;
  }

  .route-map {
    min-height: 320px;
  }

  .route-map-inner {
    min-height: 284px;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-nav {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ticker-track {
    animation: none !important;
  }

  .reveal,
  .js-ready .reveal,
  .js-ready .reveal.reveal-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  * {
    transition: none !important;
  }
}

/* =========================
   TEST16 MOBILE OVERFLOW FIX
   ========================= */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .ticker {
    height: 34px;
  }

  .ticker-track {
    font-size: 0.76rem;
    gap: 10px;
    animation-duration: 18s;
  }

  .nav-wrap {
    min-height: auto;
    padding: 12px 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
  }

  .brand {
    min-width: 0;
    width: 100%;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
  }

  .brand-text {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    font-size: 0.72rem;
    line-height: 1.05;
    letter-spacing: 0.04em;
  }

  .main-nav {
    display: none !important;
  }

  .menu-button {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }

  .site-drawer {
    padding: 0 0 18px;
  }

  .site-drawer a {
    width: 100%;
  }

  .hero,
  .about-section,
  .services-section,
  .highlight-section,
  .contact-section,
  .route-section {
    padding: 64px 0;
  }

  .hero-grid,
  .section-grid,
  .section-grid.reverse,
  .highlight-box,
  .contact-box {
    grid-template-columns: 1fr !important;
  }

  .hero-copy,
  .section-copy,
  .contact-copy {
    min-width: 0;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 9vw, 3.2rem);
    line-height: 0.96;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .hero-text,
  .section-copy p,
  .contact-copy p {
    font-size: 0.98rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-pills {
    gap: 8px;
  }

  .hero-pills span {
    font-size: 0.8rem;
    padding: 8px 12px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-frame {
    padding: 10px;
    border-radius: 26px;
  }

  .hero-image {
    border-radius: 18px;
  }

  .hero-card {
    position: static;
    max-width: none;
    margin-top: 12px;
  }

  .intro-strip-grid,
  .services-grid {
    grid-template-columns: 1fr !important;
  }

  .about-image {
    min-height: 280px;
  }

  .route-map {
    min-height: 280px;
    padding: 10px;
  }

  .route-map-inner {
    min-height: 240px;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 10px 14px;
  }
}

/* =========================
   TEST16 MOBILE HEADER POLISH
   ========================= */

@media (max-width: 760px) {
  .site-header {
    background: rgba(255, 250, 245, 0.96) !important;
    box-shadow: 0 8px 22px rgba(36, 28, 24, 0.06);
  }

  .nav-wrap {
    border-radius: 0;
  }

  .brand {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
  }

  .brand-text {
    display: block;
    max-width: 100%;
    padding-right: 2px;
  }

  .menu-button {
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(36, 28, 24, 0.06);
    box-shadow: 0 8px 18px rgba(36, 28, 24, 0.06);
  }

  .menu-button span {
    background: #5f4634;
  }

  .site-drawer {
    margin-top: 2px;
  }

  .site-drawer.open {
    gap: 8px;
  }

  .site-drawer a {
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(36, 28, 24, 0.05);
    box-shadow: 0 6px 14px rgba(36, 28, 24, 0.04);
  }
}