:root {
  --bg: #e6cd93;
  --bg-panel: #dcc07f;
  --line: #b8935f;
  --orange: #c9540c;
  --orange-bright: #ff8a2e;
  --white: #211a12;
  --gray: #4a3b26;
}

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

html, body {
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--white);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ===================== FIXED 1080x1920 FRAME ===================== */
.frame {
  position: relative;
  width: 100vw;
  height: 100vh;
  max-width: calc(100vh * 9 / 16);
  max-height: calc(100vw * 16 / 9);
  margin: 0 auto;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ===================== HEADER ===================== */
.site-header {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  z-index: 20;
}

.header-left {
  width: 68px;
  height: 68px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--orange);
  flex-shrink: 0;
  background: #000;
}
.header-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.header-center .wordmark {
  max-width: 100%;
  height: auto;
  max-height: 34px;
  width: auto;
}
  font-weight: 700;
}

.phone-link {
  font-size: clamp(11px, 3vw, 13px);
  font-weight: 800;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.email-link {
  font-size: clamp(8px, 2.2vw, 10px);
  font-weight: 600;
  color: var(--gray);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.header-right {
  width: 56px;
  height: 56px;
  border: 1px solid var(--orange);
  border-radius: 8px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  flex-shrink: 0;
}
.header-right img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ===================== HORIZONTAL SCROLLER ===================== */
.scroller {
  flex: 1 1 auto;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.scroller::-webkit-scrollbar { display: none; }

.panel {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 26px;
  text-align: center;
  position: relative;
}

/* HERO PANEL */
.hero-panel {
  background: var(--bg);
  padding: 16px 26px 24px;
  justify-content: flex-start;
}

.hero-photo {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: 10px;
  border: 3px solid #fffaf2;
  box-shadow: 0 8px 24px rgba(80, 50, 10, 0.25);
  margin-bottom: 16px;
}

.hero-inner { max-width: 90%; }

.hero-panel h1 {
  font-family: 'Arial Black', Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(20px, 6.5vw, 28px);
  line-height: 1.05;
  color: #241a0d;
  text-shadow: 0 1px 2px rgba(255,255,255,0.4);
}
.hero-panel h1 .accent {
  display: block;
  color: #c9540c;
}

.tagline {
  margin-top: 6px;
  font-weight: 800;
  letter-spacing: 0.03em;
  font-size: clamp(11px, 3.4vw, 14px);
  color: #3a2a14;
}

.cta-row {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 260px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
  font-size: clamp(11px, 3.2vw, 13px);
  letter-spacing: 0.02em;
  border: 2px solid var(--orange);
  white-space: nowrap;
}
.btn-block { width: 100%; margin-top: 18px; }

.btn-primary { background: var(--orange); color: #fff8f0; }
.btn-primary:hover { background: var(--orange-bright); }

.btn-outline { background: rgba(255,255,255,0.55); color: #2a1c0e; border-color: #2a1c0e; }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }

.swipe-hint {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #5c4322;
  text-transform: uppercase;
}

/* SERVICE PANELS */
.service-panel {
  background: var(--bg-panel);
}

/* LEGAL / SETTINGS PANEL */
.legal-panel {
  background: var(--bg-panel);
}
.legal-panel h2 {
  font-family: 'Arial Black', Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(19px, 6vw, 24px);
  margin-bottom: 22px;
}
.legal-list {
  width: 100%;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 16px;
  background: rgba(0,0,0,0.12);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-align: left;
}
.legal-row .chev {
  color: var(--orange);
  font-size: 18px;
}
.cookie-row {
  cursor: default;
}
.toggle {
  position: relative;
  display: inline-block;
}
.toggle input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}
.toggle-track {
  display: block;
  width: 42px;
  height: 24px;
  background: rgba(0,0,0,0.25);
  border-radius: 12px;
  border: 1px solid var(--line);
  position: relative;
  transition: background 0.2s ease;
}
.toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  transition: transform 0.2s ease;
}
.toggle input:checked + .toggle-track {
  background: var(--orange);
}
.toggle input:checked + .toggle-track .toggle-thumb {
  transform: translateX(18px);
  background: #fff;
}
.legal-note {
  margin-top: 18px;
  font-size: 12px;
  color: var(--gray);
  max-width: 260px;
  text-align: center;
}

.ring-icon {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--orange);
  position: relative;
}
.ring-icon::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px dashed rgba(201,84,12,0.35);
}
.ring-icon svg { width: 42px; height: 42px; }

.service-panel h2 {
  font-family: 'Arial Black', Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(19px, 6vw, 24px);
  letter-spacing: 0.01em;
  color: var(--white);
}

.panel-sub {
  margin-top: 4px;
  color: var(--orange);
  font-weight: 800;
  font-size: clamp(10px, 3vw, 12px);
  letter-spacing: 0.06em;
}

.service-panel ul {
  margin-top: 18px;
  list-style: none;
  text-align: left;
  max-width: 260px;
}
.service-panel li {
  font-size: clamp(12px, 3.4vw, 14px);
  color: var(--gray);
  padding-left: 16px;
  position: relative;
  margin-bottom: 9px;
}
.service-panel li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

/* ===================== NAV ARROWS ===================== */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--orange);
  background: rgba(255,255,255,0.7);
  color: var(--orange);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 15;
}
.nav-left { left: 10px; }
.nav-right { right: 10px; }

/* ===================== DOTS ===================== */
.dots {
  position: absolute;
  bottom: 68px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 7px;
  z-index: 15;
  pointer-events: none;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(60,40,15,0.25);
  transition: background 0.2s ease;
  pointer-events: auto;
  cursor: pointer;
}
.dot.active { background: var(--orange); width: 18px; border-radius: 4px; }

/* ===================== FOOTER ===================== */
.site-footer {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 8px 12px;
  border-top: 1px solid var(--line);
  background: var(--bg);
  z-index: 20;
}

.footer-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--orange);
  flex-shrink: 0;
}
.footer-icon svg { width: 13px; height: 13px; }

.footer-qr {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  background: repeating-linear-gradient(90deg, #241a0d 0 2px, #fdf8f0 2px 4px);
  flex-shrink: 0;
  border: 1px solid var(--line);
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

