:root {
  --bg: #f5efe6;
  --bg-soft: #fbf7f1;
  --surface: rgba(255, 250, 242, 0.92);
  --surface-strong: #fffaf3;
  --text: #2b2019;
  --muted: #65574d;
  --line: rgba(82, 58, 43, 0.12);
  --accent: #a46a2c;
  --accent-deep: #7b4a18;
  --accent-soft: #d8bc93;
  --green: #5e7455;
  --green-deep: #46583f;
  --shadow: 0 20px 60px rgba(71, 46, 30, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: min(1180px, calc(100% - 48px));
  --hero-overlay: linear-gradient(120deg, rgba(28, 19, 13, 0.7), rgba(28, 19, 13, 0.12));
  --button-gradient: linear-gradient(135deg, #b87730, #8b5521);
  --button-gradient-hover: linear-gradient(135deg, #c98b43, #93541d);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(214, 194, 161, 0.34), transparent 34%),
    linear-gradient(180deg, #f7f1e8 0%, #f3ecdf 42%, #efe7d9 100%);
  line-height: 1.65;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  max-width: 100%;
  margin: 0 auto;
}

.container > * {
  min-width: 0;
}

.section {
  padding: 96px 0;
}

.section-tight {
  padding: 72px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-deep);
}

.eyebrow::before {
  content: "";
  width: 44px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3.4rem, 7vw, 6.2rem);
}

h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h3 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

p {
  margin: 0 0 18px;
  color: var(--muted);
}

.lead {
  font-size: 1.08rem;
  max-width: 620px;
}

.split-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 36px;
}

.btn,
.button-link,
.menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.btn-primary {
  color: #fff8f1;
  background: var(--button-gradient);
  box-shadow: 0 18px 36px rgba(137, 80, 29, 0.2);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--button-gradient-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 250, 244, 0.7);
  color: var(--text);
  border: 1px solid rgba(95, 71, 52, 0.12);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 0;
  transition: background 180ms ease, box-shadow 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-solid {
  background: rgba(245, 239, 230, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 40px rgba(51, 33, 19, 0.08);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  min-width: 0;
}

.brand img {
  width: 40px;
  height: 40px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 0.9;
}

.brand-tag {
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-deep);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav > a,
.nav-trigger {
  padding: 10px 0;
  font-size: 0.96rem;
  color: var(--text);
  background: transparent;
  border: none;
  cursor: pointer;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(100%, 920px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.8fr;
  gap: 26px;
  padding: 28px;
  background: rgba(255, 250, 244, 0.96);
  border: 1px solid rgba(95, 71, 52, 0.12);
  border-radius: 24px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.mega-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-card,
.info-card,
.feature-card,
.catalog-card,
.review-card,
.contact-card,
.faq-card,
.page-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.mega-card {
  padding: 24px;
}

.mega-card strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 1.55rem;
}

.mega-links {
  display: grid;
  gap: 14px;
}

.mega-links a {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.5);
}

.mega-links a:hover,
.mega-links a:focus-visible {
  background: rgba(94, 116, 85, 0.1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.burger {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 250, 244, 0.7);
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(37, 24, 16, 0.72);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-panel {
  margin-left: auto;
  width: min(90vw, 420px);
  max-width: 100%;
  height: 100%;
  padding: 24px;
  background: #fbf7f1;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transform: translateX(24px);
  transition: transform 180ms ease;
}

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

.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
}

.mobile-nav-top .brand {
  flex: 1 1 auto;
  max-width: calc(100% - 124px);
}

.mobile-close {
  min-width: 110px;
  height: 48px;
  padding: 0 16px;
  flex-shrink: 0;
  border: 1px solid rgba(123, 74, 24, 0.18);
  border-radius: 999px;
  background: linear-gradient(135deg, #fffaf3, #f1e5d4);
  position: relative;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--accent-deep);
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 26px rgba(90, 56, 24, 0.12);
}

.mobile-nav-top .mobile-close {
  width: auto;
  max-width: 110px;
  align-self: center;
  flex: 0 0 110px;
}

.mobile-close span {
  position: relative;
  width: 18px;
  height: 18px;
  display: inline-block;
}

.mobile-close span::before,
.mobile-close span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2.5px;
  background: currentColor;
  border-radius: 999px;
}

.mobile-close span::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-close span::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-close em {
  font-style: normal;
}

.mobile-nav a,
.mobile-nav button {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
}

.mobile-submenu {
  display: none;
  gap: 12px;
  padding-left: 10px;
}

.mobile-submenu.is-open {
  display: grid;
}

.hero {
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 150px 0 72px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay), url("../img/hero-home.jpg") center/cover no-repeat;
}

.hero.about-hero::before {
  background: var(--hero-overlay), url("../img/hero-about.jpg") center/cover no-repeat;
}

.hero.catalog-hero::before {
  background: var(--hero-overlay), url("../img/hero-catalog.jpg") center/cover no-repeat;
}

.hero.product-hero::before {
  background: var(--hero-overlay), url("../img/product-signature.jpg") center/cover no-repeat;
}

.hero.contact-hero::before {
  background: var(--hero-overlay), url("../img/contact-boutique.jpg") center/cover no-repeat;
}

.hero.reviews-hero::before {
  background: var(--hero-overlay), url("../img/review-lounge.jpg") center/cover no-repeat;
}

.hero.faq-hero::before {
  background: var(--hero-overlay), url("../img/faq-cups.jpg") center/cover no-repeat;
}

.hero-inner {
  position: relative;
  z-index: 1;
  color: #fff7ef;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: end;
}

.hero-copy p,
.hero-stat p {
  color: rgba(255, 248, 239, 0.82);
}

.hero-copy,
.hero-stat,
.page-card,
.form-card,
.contact-card,
.review-card,
.catalog-card-body,
.feature-card,
.info-card,
.cta-banner > * {
  min-width: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.hero-stat {
  margin-left: auto;
  max-width: 340px;
  padding: 28px;
  border: 1px solid rgba(255, 245, 233, 0.16);
  border-radius: 28px;
  background: rgba(255, 247, 237, 0.12);
  backdrop-filter: blur(10px);
}

.hero-stat strong {
  display: block;
  margin-bottom: 12px;
  font-size: 2.5rem;
  font-family: var(--font-display);
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 24px;
}

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

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

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

.info-card,
.feature-card,
.contact-card,
.page-card {
  padding: 28px;
}

.feature-card strong,
.info-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.3rem;
  font-family: var(--font-display);
}

.media-panel {
  position: relative;
  min-height: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.media-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-panel .overlay-note {
  position: absolute;
  right: 24px;
  bottom: 24px;
  max-width: 250px;
  padding: 18px 20px;
  background: rgba(255, 250, 244, 0.92);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.catalog-card {
  overflow: hidden;
}

.catalog-card img {
  height: 280px;
  width: 100%;
  object-fit: cover;
}

.catalog-card-body {
  padding: 24px;
}

.catalog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(94, 116, 85, 0.12);
  color: var(--green-deep);
  font-size: 0.85rem;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.product-gallery {
  display: grid;
  gap: 18px;
}

.product-specs {
  display: grid;
  gap: 14px;
  margin: 24px 0 28px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.review-card {
  padding: 30px;
}

.review-card blockquote {
  margin: 0 0 18px;
  font-size: 1.1rem;
  color: var(--text);
}

.review-card cite {
  color: var(--green-deep);
  font-style: normal;
}

.faq-list {
  display: grid;
  gap: 18px;
}

.faq-item {
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 244, 0.72);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: none;
  background: transparent;
  padding: 24px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 26px 24px;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 28px;
}

.form-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  gap: 16px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  padding: 15px 18px;
  border-radius: 16px;
  border: 1px solid rgba(82, 58, 43, 0.18);
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
}

.field-error {
  display: none;
  margin-top: 8px;
  color: #8f2d1f;
  font-size: 0.9rem;
}

.field.is-invalid .field-error {
  display: block;
}

.field.is-invalid input {
  border-color: #8f2d1f;
}

.cta-banner {
  padding: 34px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(94, 116, 85, 0.14), rgba(181, 125, 56, 0.16));
  border: 1px solid rgba(94, 116, 85, 0.18);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}

.site-footer {
  padding: 48px 0 120px;
  border-top: 1px solid var(--line);
  background: rgba(255, 251, 246, 0.48);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
  gap: 24px;
}

.footer-links {
  display: grid;
  gap: 12px;
}

.cookie-bar {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 70;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(36, 24, 16, 0.92);
  color: #fff7ef;
  box-shadow: 0 20px 50px rgba(22, 14, 10, 0.28);
}

.cookie-bar[hidden] {
  display: none !important;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-bar .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff7ef;
  border-color: rgba(255, 255, 255, 0.12);
}

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

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

.centered {
  text-align: center;
}

.meta-list {
  display: grid;
  gap: 10px;
}

.meta-list strong {
  color: var(--text);
}

.page-shell {
  padding-top: 40px;
}

.thanks-wrap {
  min-height: 75vh;
  display: grid;
  place-items: center;
}

.thanks-card {
  max-width: 720px;
  padding: 44px;
  text-align: center;
}

@media (max-width: 1080px) {
  .main-nav,
  .header-actions .button-link {
    display: none;
  }

  .burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero-inner,
  .split-heading,
  .grid-4,
  .contact-layout,
  .footer-grid,
  .product-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  h1 {
    font-size: clamp(2.5rem, 11vw, 3.6rem);
  }

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

  h3 {
    font-size: clamp(1.45rem, 6vw, 2rem);
  }

  .section {
    padding: 72px 0;
  }

  .container {
    width: min(100% - 28px, 100%);
  }

  .hero {
    min-height: 84vh;
    padding: 120px 0 56px;
  }

  .hero-actions,
  .cta-banner,
  .cookie-bar,
  .cookie-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .cookie-bar {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .brand-name {
    font-size: 1.4rem;
  }

  .brand-tag {
    letter-spacing: 0.14em;
  }
}
