:root {
  --color-primary: #2C5F2E;
  --color-primary-light: #4A8A4C;
  --color-primary-dark: #1A3D1C;
  --color-accent: #D4730A;
  --color-accent-light: #F0A042;
  --color-bg: #FAF8F3;
  --color-bg-card: #FFFFFF;
  --color-bg-dark: #1C1C1A;
  --color-text: #1A1A18;
  --color-text-muted: #5C5C58;
  --color-text-light: #8C8C88;
  --color-border: #E4E0D6;
  --color-border-hover: #C0BBAE;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 6px 24px rgba(0, 0, 0, 0.14);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Source Sans 3", Arial, sans-serif;
  --transition: 0.22s ease;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-bg);
  padding-top: var(--header-h);
}

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

a {
  color: var(--color-primary-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--color-accent);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0 0 1em;
  padding-left: 1.25rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 0.75rem 1rem;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  outline: 2px solid var(--color-accent-light);
  outline-offset: 2px;
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

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

#cookie-banner {
  position: fixed;
  inset: auto 1rem 1rem 1rem;
  z-index: 9999;
  max-width: 520px;
  margin-inline: auto;
  padding: 1.25rem 1.5rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
}

#cookie-banner p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--color-text);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

#cookie-banner[hidden] {
  display: none !important;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 1px 0 var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.5rem 0;
}

.logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}

.logo:hover {
  color: var(--color-primary-dark);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

.nav-desktop a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
  text-decoration: none;
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--color-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-tel {
  display: none;
  font-weight: 600;
  white-space: nowrap;
}

.search-wrap {
  position: relative;
}

.search-toggle {
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}

.search-panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: min(280px, 85vw);
  padding: 0.5rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}

.search-panel.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.search-panel input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
}

.icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  text-decoration: none;
}

.icon-btn svg {
  overflow: visible;
}

.icon-btn path {
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-btn .badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  background: var(--color-accent);
  color: #fff;
  border-radius: 9px;
}

.hamburger {
  display: flex;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}

.nav-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(300px, 88vw);
  background: #fff;
  z-index: 1100;
  padding: 4.5rem 1.5rem 2rem;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform var(--transition);
}

.nav-drawer-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.nav-drawer-close:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--color-primary);
}

.nav-drawer-close:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.nav-drawer.is-open {
  transform: translateX(0);
}

.nav-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1090;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.nav-drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-drawer-links a {
  display: block;
  padding: 0.75rem 0;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
}

.nav-drawer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-drawer-extras {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.drawer-tel {
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}

.drawer-search-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.drawer-search-form input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
}

.drawer-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: flex-start;
}

.nav-drawer .drawer-actions-row .icon-btn {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  box-sizing: border-box;
}

.nav-drawer .drawer-actions-row .icon-btn svg {
  flex-shrink: 0;
  display: block;
}

.drawer-cta {
  margin-top: 0.25rem;
}

@media (min-width: 670px) {
  .nav-drawer-extras {
    display: none !important;
  }

  .header-tel {
    display: inline;
  }
}

@media (max-width: 670px) {
  .header-actions > *:not(.hamburger) {
    display: none !important;
  }
}

.site-footer {
  background: var(--color-bg-dark);
  color: #e8e6e0;
  padding: 3rem 0 2rem;
  margin-top: 3rem;
}

.site-footer a {
  color: #e8e6e0;
}

.site-footer a:hover {
  color: var(--color-accent-light);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.footer-payments {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.footer-payments img,
.footer-payments svg {
  height: 22px;
  width: auto;
  opacity: 0.9;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-legal a {
  font-size: 0.875rem;
}

@media (min-width: 1240px) {
  .nav-desktop {
    display: flex;
  }

  .hamburger {
    display: none;
  }
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  :root {
    --header-h: 76px;
  }
}
