:root {
  --bg-main: #faf3e1;
  --bg-soft: #f5e7c6;
  --accent: #fa8112;
  --text-main: #222222;
  --text-muted: #5b5b5b;
  --border-soft: #e7d8b4;
  --shadow-soft: 0 8px 24px rgba(34, 34, 34, 0.08);
  --radius-pill: 999px;
  --radius-card: 18px;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --container: 1140px;
  --transition: 220ms ease;
  --ring: 0 0 0 3px rgba(250, 129, 18, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-main);
  background: var(--bg-main);
  line-height: 1.6;
}

.top-strip {
  background: #222222;
  color: #f9ecd0;
  font-size: 0.87rem;
}

.top-strip .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  flex-wrap: wrap;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-card);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 243, 225, 0.9);
  backdrop-filter: blur(7px);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: var(--space-lg);
}

.brand {
  display: block;
}

.brand img {
  width: 4rem;
  position: relative;
  z-index: 20;
}

.brand img {
  display: inline-block;
  transform: rotate(-5deg);
  transition: transform var(--transition-normal);
}

.brand:hover img {
  transform: rotate(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .brand img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 768px) {
  .brand img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 576px) {
  .brand img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 400px) {
  .brand img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.7rem;
  background: transparent;
  font-size: 1.15rem;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  border-color: var(--accent);
  background: var(--bg-soft);
  transform: translateY(-1px);
}

main {
  overflow: clip;
}

section,
.page-block {
  padding: var(--space-2xl) 0;
}

.hero {
  padding: 3.3rem 0 2.6rem;
}

.hero-panel {
  background: linear-gradient(145deg, #fff6e6 0%, #f6e7c4 100%);
  border: 1px solid #e7d4aa;
  border-radius: var(--radius-card);
  padding: var(--space-lg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.68rem;
  font-size: 0.82rem;
  background: #fffdf7;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-xl);
  align-items: center;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.lead {
  font-size: 1.06rem;
  color: var(--text-muted);
}

.actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}

.btn {
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  padding: 0.7rem 1.1rem;
  font-weight: 600;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  border-color: var(--border-soft);
}

.btn:hover {
  transform: translateY(-2px);
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: var(--space-xl);
  align-items: start;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-md);
}

.card {
  background: #fff9ec;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  padding: var(--space-lg);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  border-color: #efc17e;
}

.icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg-soft);
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.timeline {
  display: grid;
  gap: var(--space-md);
}

.timeline-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: var(--space-md);
  align-items: start;
}

.timeline-step {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  display: grid;
  place-items: center;
  font-weight: 700;
  background: #fff;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
}

.quote {
  font-size: 1.03rem;
}

.mini {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

form {
  display: grid;
  gap: var(--space-sm);
}

label {
  font-weight: 600;
  font-size: 0.95rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: #fffefb;
  padding: 0.68rem 0.8rem;
  font: inherit;
}

textarea {
  min-height: 128px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 2px solid #f8c386;
  border-color: var(--accent);
}

.error {
  color: #b23d00;
  font-size: 0.87rem;
  min-height: 1.1em;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: var(--space-xs);
}

.map-wrap iframe {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: var(--radius-card);
}

.compliance-banner {
  background: #fff9ed;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  padding: var(--space-lg);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
}

.stat-box {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 0.9rem 1rem;
}

.stat-box strong {
  display: block;
  font-size: 1.35rem;
}

.site-footer {
  background: #1f1f1f;
  color: #fef6e4;
  padding: 2.4rem 0;
  margin-top: var(--space-2xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-xl);
  align-items: center;
}

.footer-links {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.footer-links a {
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: #fff8e8;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  z-index: 80;
  padding: var(--space-md);
  display: none;
}

.cookie-banner.visible {
  display: block;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  place-items: center;
  z-index: 90;
}

.cookie-modal.open {
  display: grid;
}

.cookie-panel {
  width: min(95vw, 560px);
  background: #fffaf0;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-soft);
  padding: var(--space-lg);
}

.tab-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.tab-btn {
  border: 1px solid var(--border-soft);
  background: #fff;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  cursor: pointer;
}

.tab-btn.active {
  border-color: var(--accent);
  background: #fff4df;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeUp 360ms ease;
}

.accordion {
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  overflow: hidden;
  background: #fff9ef;
}

.accordion-item+.accordion-item {
  border-top: 1px solid var(--border-soft);
}

.accordion-btn {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 0.95rem 1rem;
  font: inherit;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 280ms ease;
}

.accordion-content p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--text-muted);
}

.interactive-card {
  position: relative;
  overflow: hidden;
}

.interactive-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -70% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(250, 129, 18, 0.14);
  transition: transform 350ms ease;
}

.interactive-card:hover::after {
  transform: scale(1.2);
}

.notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.notice-list li {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid #efdfbd;
}

.cookie-option:last-child {
  border-bottom: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 550ms ease, transform 550ms ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.legal h1 {
  margin-bottom: 0.8rem;
}

.legal article {
  background: #fff9ec;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
}

.legal-nav {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.legal-nav a {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.7rem;
  font-size: 0.9rem;
}

@media (max-width: 950px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .split,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 740px) {
  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    width: 100%;
  }

  .main-nav.open {
    display: block;
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 0.8rem 0;
  }

  .main-nav ul {
    justify-content: flex-start;
  }

  .cards,
  .testimonial-grid,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}