:root {
  --bg: #f7f5f1;
  --bg-2: #ffffff;
  --panel: #ffffff;
  --line: #ddd8ce;
  --text: #161616;
  --muted: #3d3b38;
  --yellow: #e6b000;
  --yellow-2: #8a6a00;
  --ink: #111111;
  --header-h: 84px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Barlow", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.12;
  margin: 0 0 0.6em;
  text-transform: uppercase;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  background: var(--yellow);
  color: #111;
  padding: 8px 12px;
  z-index: 100;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.skip-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  clip-path: none;
  overflow: visible;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--yellow-2);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: #000;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 168px;
  height: auto;
  transition: transform 0.35s ease;
}

.brand:hover img {
  transform: scale(1.04);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #f3f3f3;
}

.site-nav a:not(.nav-cta) {
  position: relative;
  padding-bottom: 4px;
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width 0.28s ease;
}

.site-nav a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  padding: 8px 14px;
  background: var(--yellow);
  color: #111;
  transition: transform 0.25s ease, background 0.25s ease;
}

.nav-cta:hover {
  background: #ffd445;
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 5px 0;
}

.hero {
  position: relative;
  height: calc(100vh - var(--header-h));
  min-height: 560px;
  overflow: hidden;
  background: #111;
}

.hero-photos {
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 7s ease;
}

.slide.is-active img {
  transform: scale(1);
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.42) 48%, rgba(0, 0, 0, 0.12) 100%);
}

.slide-copy {
  position: absolute;
  z-index: 2;
  left: max(20px, calc((100vw - 1180px) / 2));
  top: 50%;
  transform: translateY(-50%);
  width: min(640px, calc(100% - 96px));
  color: #fff;
}

.slide.is-active .slide-copy {
  animation: copyIn 0.7s ease both;
}

.slide .eyebrow {
  color: var(--yellow);
}

.slide h1 {
  max-width: 16ch;
  font-size: clamp(2.1rem, 5vw, 4rem);
  color: #fff;
}

.slide .lead {
  max-width: 46ch;
  color: #e8e8e8;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: var(--yellow);
  color: #111;
}

.btn-primary:hover {
  background: #ffd445;
}

.btn-ghost {
  border: 1px solid #fff;
  color: #fff;
}

.btn-ghost:hover {
  background: #fff;
  color: #111;
}

.slider-ui {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.slider-btn {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.slider-btn:hover {
  background: var(--yellow);
  color: #111;
  transform: translateY(-50%) scale(1.06);
}

.slider-btn.prev {
  left: 24px;
}

.slider-btn.next {
  right: 24px;
}

.slider-dots {
  pointer-events: auto;
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}

.slider-dots button.is-active {
  width: 28px;
  border-radius: 8px;
  background: var(--yellow);
}

.strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 8px;
  background: var(--bg);
}

.strip img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.strip img:hover {
  transform: scale(1.06);
  filter: brightness(1.08);
}

.about,
.products,
.gallery,
.vision,
.contact,
.hero {
  scroll-margin-top: var(--header-h);
}

.about,
.products,
.gallery,
.vision,
.contact {
  padding: 88px 0;
}

.about {
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.about-copy p {
  color: var(--muted);
}

.about-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 22px;
  margin-top: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.panel-kicker {
  margin: 0 0 8px;
  color: var(--yellow-2);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.panel-title {
  margin: 0;
  font-weight: 600;
}

.about-photos {
  display: grid;
  gap: 12px;
}

.about-photos img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-photos img:hover {
  transform: scale(1.03);
}

.products {
  background: var(--bg-2);
}

.section-head {
  margin-bottom: 36px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-card {
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover img {
  transform: scale(1.08);
}

.product-body {
  padding: 22px;
}

.product-card .index {
  display: block;
  color: var(--yellow-2);
  font-family: "Oswald", sans-serif;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.product-card p,
.vision-cards p,
.contact-lead {
  color: var(--muted);
}

.gallery {
  background: var(--bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 12px;
}

.gallery-grid figure {
  margin: 0;
  position: relative;
  overflow: hidden;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.1);
}

.gallery-grid .tall {
  grid-row: span 2;
}

.gallery-grid .wide {
  grid-column: span 2;
}

.gallery-grid figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  background: rgba(22, 22, 22, 0.82);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  transform: translateY(8px);
  transition: transform 0.3s ease;
}

.gallery-grid figure:hover figcaption {
  transform: translateY(0);
}

.vision {
  background: var(--bg);
  color: var(--text);
}

.vision-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}

.vision-grid > img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.vision-grid > img:hover {
  transform: scale(1.03);
}

.vision-cards {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.vision-cards article {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 20px 22px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.vision-cards article:hover {
  transform: translateX(8px);
  border-color: var(--yellow);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
}

.contact {
  background: var(--bg-2);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.contact-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-top: 24px;
  transition: transform 0.45s ease;
}

.contact-photo:hover {
  transform: scale(1.03);
}

.contact-cards {
  display: grid;
  gap: 12px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 24px;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

a.contact-card:hover {
  border-color: var(--yellow);
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}

.contact-card span {
  color: var(--yellow-2);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.contact-card strong {
  font-size: 1.25rem;
}

.contact-card em {
  font-style: normal;
  color: var(--muted);
}

.contact-card.whatsapp {
  background: #e9f8ee;
  border-color: #b7e3c4;
}

.site-footer {
  padding: 48px 0 120px;
  background: #000;
  color: #cfcfcf;
  text-align: center;
}

.footer-inner img {
  margin: 0 auto 16px;
  width: 132px;
}

.copy {
  font-size: 0.88rem;
}

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  background: #25d366;
  color: #06210d;
  font-weight: 700;
  padding: 12px 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: pulse 2.4s ease infinite;
  transition: transform 0.25s ease;
}

.wa-float:hover {
  transform: scale(1.08);
  animation: none;
}

@keyframes copyIn {
  from {
    opacity: 0;
    transform: translateY(-40%);
  }
  to {
    opacity: 1;
    transform: translateY(-50%);
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
  }
}

@media (max-width: 980px) {
  .about-grid,
  .contact-grid,
  .product-grid,
  .vision-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    height: 78vh;
    min-height: 560px;
  }

  .slide-copy {
    left: 20px;
    width: calc(100% - 40px);
  }

  .slider-btn {
    display: none;
  }

  .slide h1 {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }

  .vision-grid > img {
    height: 320px;
    min-height: 0;
  }

  .strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .strip img:nth-child(n + 4) {
    display: none;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }

  .gallery-grid .wide,
  .gallery-grid .tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #000;
    padding: 8px 20px 16px;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 560px;
  }

  .about,
  .products,
  .gallery,
  .vision,
  .contact {
    padding: 64px 0;
  }

  .about-photos img,
  .contact-photo {
    height: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .slide img,
  .slide.is-active img {
    transform: none;
  }
}
