:root {
  color-scheme: light;
  --bg: #f8f5ed;
  --paper: #fffdf7;
  --ink: #2a241e;
  --muted: #6f665c;
  --line: #ded4c4;
  --green: #2f6f3f;
  --green-dark: #1f4e2f;
  --gold: #bd8542;
  --rust: #9c5134;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(42, 36, 30, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--white);
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 2rem;
  color: var(--white);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 253, 247, 0.95);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(42, 36, 30, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(47, 111, 63, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  opacity: 0.9;
}

.nav-links a:hover {
  opacity: 1;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.header-cta {
  padding: 0.72rem 1.15rem;
  background: var(--white);
  color: var(--green-dark);
}

.site-header.is-scrolled .header-cta {
  background: var(--green);
  color: var(--white);
}

.btn {
  padding: 1rem 1.35rem;
  min-width: 156px;
}

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

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(47, 111, 63, 0.24);
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.22);
}

.btn-whatsapp:hover {
  background: #1fb75a;
}

.hero-section {
  position: relative;
  min-height: 92svh;
  display: grid;
  place-items: center;
  padding: 7.5rem 1rem 5.5rem;
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  z-index: -3;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.48)),
    linear-gradient(0deg, rgba(31, 78, 47, 0.35), rgba(31, 78, 47, 0.05));
}

.hero-content {
  width: min(900px, 100%);
  text-align: center;
  color: var(--white);
  margin-inline: auto;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.85rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-content .eyebrow {
  display: inline-flex;
  color: #ffe0a8;
  padding: 0.58rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3rem, 9vw, 6.9rem);
  max-width: 880px;
  margin-inline: auto;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

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

h3 {
  font-size: 1.45rem;
}

.hero-copy {
  width: min(680px, 100%);
  margin: 1.35rem auto 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.2rem;
}

.section {
  padding: 6rem 0;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 5rem);
}

.image-stack {
  position: relative;
  min-height: 520px;
}

.stack-main,
.stack-overlap,
.product-card,
.gallery-grid img,
.contact-panel,
.inquiry-form {
  border-radius: var(--radius);
}

.stack-main {
  width: min(78%, 420px);
  height: 520px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.stack-overlap {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(58%, 320px);
  height: 320px;
  object-fit: cover;
  border: 8px solid var(--bg);
  box-shadow: var(--shadow);
}

.section-copy p,
.section-heading p,
.contact-panel p,
.trust-item p,
.product-card p,
.site-footer p {
  color: var(--muted);
}

.section-copy p {
  margin: 1.15rem 0 0;
  font-size: 1.05rem;
}

.products-section,
.contact-section {
  background: #f0eadf;
}

.section-heading {
  width: min(720px, 100%);
  margin: 0 auto 3.5rem;
  text-align: center;
}

.section-heading p:last-child {
  margin: 1rem auto 0;
  font-size: 1.05rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.product-card {
  background: var(--paper);
  border: 1px solid rgba(222, 212, 196, 0.75);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(42, 36, 30, 0.07);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 111, 63, 0.35);
  box-shadow: var(--shadow);
}

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

.product-card div {
  padding: 1.25rem;
}

.product-card p {
  margin: 0.55rem 0 0;
}

.trust-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(31, 78, 47, 0.96), rgba(47, 111, 63, 0.94)),
    url("/assets/gallery-4.png") center / cover;
}

.section-heading.light {
  color: var(--white);
}

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

.trust-item {
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.trust-number {
  display: inline-flex;
  margin-bottom: 1rem;
  color: #ffe0a8;
  font-size: 0.82rem;
  font-weight: 800;
}

.trust-item p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: repeat(2, 280px);
  gap: 1rem;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 12px 32px rgba(42, 36, 30, 0.08);
}

.gallery-tall {
  grid-row: span 2;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.74fr);
  gap: 1.5rem;
  align-items: stretch;
}

.contact-panel,
.inquiry-form {
  background: var(--paper);
  border: 1px solid rgba(222, 212, 196, 0.85);
  box-shadow: var(--shadow);
}

.contact-panel {
  padding: clamp(1.5rem, 4vw, 3rem);
}

.contact-panel p {
  font-size: 1.08rem;
}

.owner-block {
  display: grid;
  gap: 0.25rem;
  margin: 2rem 0;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8f5ed;
}

.owner-block span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.owner-block strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.8rem;
}

.owner-block a {
  color: var(--green);
  font-weight: 800;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.inquiry-form {
  display: grid;
  gap: 0.75rem;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.inquiry-form h3 {
  margin-bottom: 0.35rem;
}

.inquiry-form label {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 0.82rem 0.9rem;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(47, 111, 63, 0.12);
}

.inquiry-form textarea {
  resize: vertical;
}

.inquiry-form .btn {
  margin-top: 0.4rem;
  width: 100%;
}

.site-footer {
  padding: 2rem 0;
  background: #171412;
  color: var(--white);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.footer-brand .brand-mark {
  box-shadow: none;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

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

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media (max-width: 960px) {
  .site-header {
    padding-inline: 1rem;
  }

  .nav-links {
    display: none;
  }

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

  .image-stack {
    min-height: 460px;
  }

  .stack-main {
    height: 460px;
  }

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

@media (max-width: 680px) {
  .site-header {
    height: 66px;
  }

  .brand {
    font-size: 0.95rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0.65rem 0.9rem;
    font-size: 0.9rem;
  }

  .hero-section {
    min-height: 88svh;
    padding-top: 6.5rem;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 4rem 0;
  }

  .image-stack {
    min-height: auto;
  }

  .stack-main,
  .stack-overlap {
    position: static;
    width: 100%;
    height: auto;
    border: 0;
  }

  .stack-overlap {
    margin-top: 1rem;
  }

  .product-grid,
  .trust-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-rows: none;
  }

  .gallery-grid img {
    height: 280px;
  }

  .gallery-tall {
    grid-row: auto;
  }

  .footer-content {
    align-items: flex-start;
    flex-direction: column;
  }
}
