:root {
  --orange: #e85d04;
  --orange-deep: #c2410c;
  --orange-dark: #9a3412;
  --ink: #24160f;
  --muted: #6b5346;
  --paper: #fff7f1;
  --card: #fff;
  --line: rgba(154, 52, 18, 0.16);
  --header: 78px;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Literata", Georgia, serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(232, 93, 4, 0.18), transparent 60%),
    linear-gradient(180deg, #fff1e6 0%, var(--paper) 280px);
  font-family: var(--font-body);
  line-height: 1.75;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input { font: inherit; }

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(36, 22, 15, 0.94);
  color: #fff8f3;
  backdrop-filter: blur(14px);
  border-bottom: 3px solid var(--orange);
}

.header-row {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  margin-right: auto;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.25));
}

.brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 0.2rem;
  color: #fdba74;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a {
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 0.98rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
}

.site-nav a[aria-current="page"],
.site-nav a:hover { background: rgba(232, 93, 4, 0.22); }

.nav-quiet { opacity: 0.72; }

.nav-drop { position: relative; }
.nav-sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 460px;
  padding: 0.45rem;
  background: #2b1a12;
  border: 1px solid rgba(251, 146, 60, 0.35);
  border-radius: 16px;
  grid-template-columns: 1fr 1fr;
  max-height: 70vh;
  overflow: auto;
}
.nav-drop:hover .nav-sub,
.nav-drop:focus-within .nav-sub { display: grid; }
.nav-sub a { border-radius: 10px; }

.header-phone {
  font-family: var(--font-display);
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(100deg, var(--orange-dark), var(--orange));
  color: white;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem 0 1rem;
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-deep);
  font-size: 0.78rem;
  margin: 0 0 0.6rem;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.2rem, 4vw, 4rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 0.8rem; }

.hero-lead { font-size: 1.12rem; color: #3f2b22; margin-top: 0; }

.hero-photo {
  border-radius: 28px 72px 28px 28px;
  overflow: hidden;
  box-shadow: 18px 18px 0 var(--orange);
  background: #ffd7b8;
}

.hero-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.hero-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1.2rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  border-radius: 999px;
  padding: 0.85rem 1.15rem;
}

.btn-primary { background: var(--orange-dark); color: white; }
.btn-ghost { border: 1.5px solid var(--orange-dark); color: var(--orange-dark); }

.section { padding: 2.2rem 0; }
.section-head { display: flex; justify-content: space-between; gap: 1rem; align-items: end; margin-bottom: 1rem; }
.section-head p { margin: 0; color: var(--muted); max-width: 42ch; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.device-band {
  margin-top: 0.4rem;
  background:
    linear-gradient(90deg, rgba(154, 52, 18, 0.08), transparent 18%),
    #2b1a12;
  color: #fff7f1;
}
.device-band .eyebrow { color: #fdba74; padding-top: 1.1rem; }
.device-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding-bottom: 1.15rem;
}
.device-row a {
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 650;
  border: 1px solid rgba(251, 146, 60, 0.45);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
}
.device-row a:hover { background: #e85d04; border-color: #e85d04; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.1rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: 0 10px 30px rgba(154, 52, 18, 0.05);
}

.card h3 { margin: 0.35rem 0; font-size: 1.3rem; }
.card p { margin: 0; color: var(--muted); }
.card .more {
  margin-top: auto;
  padding-top: 0.9rem;
  color: var(--orange-deep);
  font-family: var(--font-display);
  font-weight: 800;
}

.card-quiet { background: transparent; }

.districts { display: grid; grid-template-columns: 1.2fr 1.2fr 0.8fr; gap: 1rem; }
.district {
  border-radius: 24px;
  padding: 1.2rem;
  background: #2b1a12;
  color: #fff7f1;
  text-decoration: none;
}
.district:nth-child(2) { background: var(--orange-dark); }
.district:nth-child(3) { background: #6d564b; }
.district span { font-family: var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.75rem; opacity: 0.8; }
.district strong { display: block; font-family: var(--font-display); font-size: 1.8rem; margin: 0.3rem 0; }

.prose {
  max-width: 74ch;
}
.prose p { font-size: 1.08rem; }
.article-photo {
  margin: 1.3rem 0 1.6rem;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: white;
}
.article-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.related { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.4rem; }
.related a {
  text-decoration: none;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 0.92rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1rem;
  padding-bottom: 2.5rem;
}
.contact-panel, .map-wrap {
  background: white;
  border-radius: 24px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.contact-panel { padding: 1.3rem; }
.contact-panel a { color: var(--orange-deep); font-weight: 700; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }

.site-footer {
  background: #24160f;
  color: #f8e7db;
  padding-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.2fr 0.8fr;
  gap: 1rem;
}
.footer-label {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: #fdba74;
  margin-bottom: 0.35rem;
}
.site-footer a { color: white; }
.footer-legal {
  margin-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.legal-row {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.swt {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #fff7f1;
  padding: 0.28rem 0.85rem 0.28rem 0.28rem;
  border-radius: 999px;
  border: 1px solid rgba(251, 146, 60, 0.5);
  background: linear-gradient(110deg, rgba(232, 93, 4, 0.28), rgba(255, 255, 255, 0.03) 58%);
}
.swt-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(145deg, #fb923c, #9a3412);
  position: relative;
  flex: none;
}
.swt-mark::before,
.swt-mark::after {
  content: "";
  position: absolute;
  background: #fff7f1;
}
.swt-mark::before {
  width: 14px;
  height: 2px;
  left: 11px;
  top: 13px;
  box-shadow: 0 8px 0 #fff7f1;
}
.swt-mark::after {
  width: 2px;
  height: 14px;
  left: 17px;
  top: 11px;
}
.swt-copy { display: flex; flex-direction: column; line-height: 1.05; }
.swt-copy small {
  font-family: var(--font-display);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.58rem;
  color: #fdba74;
}
.swt-copy strong {
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.03em;
  font-size: 0.98rem;
}
.swt:hover { border-color: #fb923c; }

.mobile-bar { display: none; }

@media (max-width: 900px) {
  .hero, .cards, .districts, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: #2b1a12;
    padding: 0.8rem;
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav.is-open { display: flex; }
  .nav-sub { position: static; display: grid; grid-template-columns: 1fr; min-width: 0; max-height: none; background: transparent; border: 0; padding-left: 0.6rem; }
  .header-phone { display: none; }
}

@media (max-width: 760px) {
  body { padding-bottom: 62px; }
  .legal-row { flex-direction: column; align-items: flex-start; padding: 0.85rem 0 1rem; }
  .hero-actions { display: none; }
  .mobile-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    height: 62px;
  }
  .mobile-wa,
  .mobile-tel {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
  }
  .mobile-wa {
    width: 33%;
    background: #3f4a44;
    color: rgba(255, 255, 255, 0.72);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
  }
  .mobile-tel {
    width: 66.99%;
    color: white;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.18rem;
    letter-spacing: 0.01em;
    background: linear-gradient(105deg, #9a3412 0%, #e85d04 48%, #fb923c 100%);
    animation: telHop 5.4s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
  }
  .mobile-tel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 32%, rgba(255, 255, 255, 0.38) 50%, transparent 68%);
    transform: translateX(-130%);
    animation: telShine 5.4s ease-in-out infinite;
  }
}

@keyframes telHop {
  0%, 72%, 100% { transform: translateY(0); filter: saturate(1); }
  78% { transform: translateY(-9px); filter: saturate(1.15) brightness(1.08); }
  84% { transform: translateY(0); }
  89% { transform: translateY(-4px); }
  94% { transform: translateY(0); }
}

@keyframes telShine {
  0%, 68% { transform: translateX(-130%); }
  86%, 100% { transform: translateX(130%); }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-tel,
  .mobile-tel::after { animation: none; }
}
