:root {
  --bg: #f7efe4;
  --surface: rgba(255, 250, 244, 0.78);
  --surface-strong: #fffaf2;
  --ink: #1b130f;
  --muted: #6b584f;
  --accent: #d85f2f;
  --accent-2: #1f6c63;
  --accent-3: #f0b63a;
  --line: rgba(27, 19, 15, 0.08);
  --shadow: 0 24px 60px rgba(54, 31, 18, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(240, 182, 58, 0.28), transparent 34%),
    radial-gradient(circle at 85% 15%, rgba(31, 108, 99, 0.18), transparent 28%),
    linear-gradient(180deg, #fbf6ee 0%, #f7efe4 48%, #f3eadf 100%);
  min-height: 100vh;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

.page-shell {
  position: relative;
  overflow: clip;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  z-index: -1;
  inset: auto;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.55;
  pointer-events: none;
}

.page-shell::before {
  width: 20rem;
  height: 20rem;
  top: 8rem;
  right: -6rem;
  background: rgba(216, 95, 47, 0.14);
}

.page-shell::after {
  width: 16rem;
  height: 16rem;
  left: -4rem;
  bottom: 20rem;
  background: rgba(31, 108, 99, 0.16);
}

.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='%23000000' fill-opacity='0.5'%3E%3Ccircle cx='22' cy='28' r='1.3'/%3E%3Ccircle cx='74' cy='41' r='1'/%3E%3Ccircle cx='120' cy='58' r='1.2'/%3E%3Ccircle cx='44' cy='124' r='1.1'/%3E%3Ccircle cx='132' cy='134' r='1.4'/%3E%3Ccircle cx='92' cy='152' r='1'/%3E%3C/g%3E%3C/svg%3E");
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
  backdrop-filter: blur(18px);
  background: rgba(247, 239, 228, 0.78);
  box-shadow: 0 16px 45px rgba(54, 31, 18, 0.1);
}

.header-frame {
  width: min(1180px, calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(27, 19, 15, 0.08);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.76);
  box-shadow: 0 12px 36px rgba(54, 31, 18, 0.08);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-badge {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 1.25rem;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, #f28f3d 48%, var(--accent-3) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.brand-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-subtitle {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-link,
.mobile-link {
  position: relative;
  color: rgba(27, 19, 15, 0.82);
  transition: color 0.25s ease;
}

.nav-link::after,
.mobile-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: var(--ink);
}

.nav-link:hover::after,
.nav-link.active::after,
.mobile-link:hover::after,
.mobile-link.active::after {
  transform: scaleX(1);
}

.menu-panel {
  border-radius: 1.6rem;
  border: 1px solid rgba(27, 19, 15, 0.08);
  background: rgba(255, 250, 244, 0.95);
  box-shadow: var(--shadow);
}

.hero-card,
.glass-card,
.paint-card,
.article-card,
.info-card,
.faq-item,
.quote-card,
.timeline-card,
.contact-card,
.map-card,
.cookie-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

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

.hero-card::before {
  content: "";
  position: absolute;
  inset: auto auto -2rem -2rem;
  width: 9rem;
  height: 9rem;
  border-radius: 2rem;
  background: linear-gradient(135deg, rgba(240, 182, 58, 0.18), rgba(216, 95, 47, 0.06));
  transform: rotate(18deg);
}

.brush-stroke {
  position: relative;
}

.brush-stroke::after {
  content: "";
  position: absolute;
  left: -0.15rem;
  right: -0.25rem;
  bottom: 0.15rem;
  height: 0.8rem;
  border-radius: 999px;
  background: rgba(240, 182, 58, 0.42);
  z-index: -1;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(27, 19, 15, 0.08);
  background: rgba(255, 250, 244, 0.9);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-kicker::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.paint-swipe {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.9;
}

.paint-swipe.one {
  width: 10rem;
  height: 2.4rem;
  top: 10%;
  right: 14%;
  background: linear-gradient(90deg, rgba(216, 95, 47, 0.42), rgba(240, 182, 58, 0.26));
  transform: rotate(18deg);
}

.paint-swipe.two {
  width: 7rem;
  height: 2rem;
  bottom: 18%;
  left: 10%;
  background: linear-gradient(90deg, rgba(31, 108, 99, 0.34), rgba(240, 182, 58, 0.18));
  transform: rotate(-16deg);
}

.paint-number {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
}

.swiper-shell {
  overflow: hidden;
}

.swiper-pagination-bullet {
  background: rgba(27, 19, 15, 0.24);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: var(--accent);
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.faq-item {
  border-radius: 1.5rem;
  overflow: hidden;
}

.faq-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.25rem;
  font-weight: 700;
  text-align: left;
}

.faq-answer {
  display: none;
  max-height: 0;
  overflow: hidden;
  padding: 0 1.25rem;
  color: var(--muted);
  transition: max-height 0.3s ease, padding-bottom 0.3s ease;
}

.faq-item.open .faq-answer {
  display: block;
  max-height: 16rem;
  padding-bottom: 1.2rem;
}

.faq-icon {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(27, 19, 15, 0.06);
  transition: transform 0.25s ease, background 0.25s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: rgba(216, 95, 47, 0.14);
}

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: linear-gradient(135deg, rgba(216, 95, 47, 0.2), rgba(240, 182, 58, 0.18), rgba(31, 108, 99, 0.2));
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.page-transition.is-active {
  opacity: 1;
  pointer-events: auto;
}

.cookie-panel {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  width: min(24rem, calc(100% - 2rem));
  padding: 1.15rem;
  border-radius: 1.6rem;
}

.cookie-panel.hidden {
  display: none;
}

.footer-grid {
  border-top: 1px solid rgba(27, 19, 15, 0.08);
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .header-frame {
    border-radius: 1.6rem;
  }

  .cookie-panel {
    left: 1rem;
    right: 1rem;
    width: auto;
  }
}
