:root {
  --wine: #7a003f;
  --wine-dark: #35041d;
  --ink: #211822;
  --muted: #716574;
  --line: #eadfe6;
  --soft: #f8f3f6;
  --white: #ffffff;
  --gold: #b88a44;
  --green: #19b85b;
  --shadow: 0 18px 45px rgba(56, 10, 35, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

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

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

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

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px clamp(18px, 4vw, 56px);
  color: var(--wine-dark);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.topbar p {
  margin: 0;
}

.topbar__links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(234, 223, 230, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  font-weight: 800;
  color: var(--wine-dark);
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--white);
  background: var(--wine);
}

.menu {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 800;
  color: var(--wine-dark);
}

.menu a,
.topbar a {
  transition: color 0.2s ease;
}

.menu a:hover,
.topbar a:hover {
  color: var(--wine);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--solid {
  color: var(--white);
  background: var(--wine);
  box-shadow: 0 12px 26px rgba(122, 0, 63, 0.24);
}

.button--ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: transparent;
}

.button--light {
  color: var(--wine);
  background: var(--white);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--wine-dark);
}

.hero-slider {
  position: relative;
  min-height: calc(100vh - 122px);
  overflow: hidden;
  color: var(--white);
  background: var(--wine-dark);
}

.hero-slide {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  align-items: center;
  gap: 40px;
  min-height: calc(100vh - 122px);
  width: 100%;
  padding: clamp(64px, 8vw, 116px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(45, 4, 25, 0.9), rgba(122, 0, 63, 0.72)),
    var(--slide-image) center / cover;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: opacity 0.55s ease, visibility 0.55s ease, transform 0.7s ease;
}

.hero-slide:not(.is-active) {
  position: absolute;
  inset: 0;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 1;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  align-items: center;
  gap: 40px;
  min-height: calc(100vh - 122px);
  padding: clamp(64px, 8vw, 116px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(45, 4, 25, 0.9), rgba(122, 0, 63, 0.72)),
    url("https://images.unsplash.com/photo-1510812431401-41d2bd2722f3?auto=format&fit=crop&w=1800&q=80") center / cover;
  color: var(--white);
}

.hero-slide h1,
.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(40px, 6.5vw, 82px);
  line-height: 0.98;
}

.hero-slide p,
.hero p {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 21px);
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero__panel {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border-radius: 8px;
}

.hero__panel div {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.hero__panel div:last-child {
  border-bottom: 0;
}

.hero__panel strong {
  font-size: 42px;
  line-height: 1;
}

.hero__panel span {
  text-align: right;
  font-weight: 700;
}

.slider-controls {
  position: absolute;
  left: clamp(18px, 5vw, 72px);
  right: clamp(18px, 5vw, 72px);
  bottom: 28px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.slider-arrow {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  pointer-events: auto;
}

.slider-dots {
  display: flex;
  gap: 9px;
  pointer-events: auto;
}

.slider-dot {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.slider-dot.is-active {
  background: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
}

.section {
  padding: clamp(64px, 9vw, 104px) clamp(18px, 5vw, 72px);
}

.section--muted {
  background: var(--soft);
}

.section--dark {
  color: var(--white);
  background: var(--wine-dark);
}

.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

.section--dark p,
.section--dark span {
  color: rgba(255, 255, 255, 0.74);
}

.section__head {
  max-width: 780px;
  margin-bottom: 34px;
}

.section__head--wide {
  max-width: 920px;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  color: var(--wine-dark);
}

h3 {
  margin: 0 0 10px;
  line-height: 1.2;
  color: var(--wine-dark);
}

p {
  color: var(--muted);
}

.split,
.quote {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.rich-text p:first-child {
  margin-top: 0;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.mini-grid span {
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--wine-dark);
  background: var(--white);
  font-weight: 700;
}

.grid {
  display: grid;
  gap: 22px;
}

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

.solution {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  border-radius: 8px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(180deg, rgba(21, 6, 14, 0.16), rgba(21, 6, 14, 0.82));
  background-size: cover;
  background-position: center;
}

.solution h3,
.solution p {
  color: var(--white);
}

.solution p {
  margin-bottom: 0;
}

.solution--photo-1 {
  background-image: linear-gradient(180deg, rgba(21, 6, 14, 0.08), rgba(21, 6, 14, 0.82)), url("https://images.unsplash.com/photo-1553361371-9b22f78e8b1d?auto=format&fit=crop&w=900&q=80");
}

.solution--photo-2 {
  background-image: linear-gradient(180deg, rgba(21, 6, 14, 0.08), rgba(21, 6, 14, 0.82)), url("https://images.unsplash.com/photo-1516594915697-87eb3b1c14ea?auto=format&fit=crop&w=900&q=80");
}

.solution--photo-3 {
  background-image: linear-gradient(180deg, rgba(21, 6, 14, 0.08), rgba(21, 6, 14, 0.82)), url("https://images.unsplash.com/photo-1568213816046-0ee1c42bd559?auto=format&fit=crop&w=900&q=80");
}

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

.card,
.contact-card,
.product,
.quote-form,
.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.card {
  padding: 28px;
}

.card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: var(--white);
  background: var(--wine);
  font-weight: 800;
}

.filterbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 28px;
}

.filter {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--wine-dark);
  background: var(--white);
  cursor: pointer;
  font-weight: 800;
}

.filter.is-active {
  color: var(--white);
  background: var(--wine);
  border-color: var(--wine);
}

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

.product {
  overflow: hidden;
}

.product[hidden] {
  display: none;
}

.product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 18px;
  background: #fff;
}

.product div {
  padding: 18px 20px 22px;
}

.product span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.product h3 {
  min-height: 64px;
  font-size: 17px;
}

.product p {
  margin-bottom: 0;
  font-size: 14px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: var(--white);
}

th,
td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--wine-dark);
  background: var(--soft);
}

tr:last-child td {
  border-bottom: 0;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline div {
  position: relative;
  padding: 22px 22px 22px 76px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.timeline strong {
  position: absolute;
  left: 22px;
  top: 22px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--white);
  background: var(--wine);
}

.timeline p {
  margin-bottom: 0;
}

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

.grid--features div {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.grid--features strong,
.grid--features span {
  display: block;
}

.grid--features span {
  margin-top: 8px;
}

.faq {
  display: grid;
  gap: 14px;
  max-width: 980px;
}

.faq details {
  padding: 20px 22px;
}

.faq summary {
  cursor: pointer;
  color: var(--wine-dark);
  font-weight: 800;
}

.faq p {
  margin-bottom: 0;
}

.quote__links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.quote__links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--wine);
  background: var(--white);
  font-weight: 800;
}

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

.quote-form label {
  display: grid;
  gap: 7px;
  color: var(--wine-dark);
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
}

.contact {
  padding-bottom: 64px;
}

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

.contact-card {
  padding: 26px;
}

.contact-card a {
  color: var(--wine);
  font-weight: 700;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--wine-dark);
}

.footer strong {
  display: block;
  color: var(--white);
  margin-bottom: 6px;
}

.footer p {
  margin: 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
}

.whatsapp {
  align-self: center;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--white);
  background: var(--green);
  font-weight: 800;
}

@media (max-width: 1120px) {
  .grid--services,
  .grid--products,
  .grid--features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .topbar {
    display: none;
  }

  .navbar {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
  }

  .menu {
    display: none;
    width: 100%;
    padding: 14px 0 0;
    flex-direction: column;
    align-items: stretch;
  }

  .menu.is-open {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hero-slide,
  .hero,
  .split,
  .quote {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .navbar {
    padding: 14px 18px;
  }

  .brand span:last-child {
    font-size: 15px;
  }

  .hero-slider,
  .hero-slide,
  .hero {
    min-height: auto;
  }

  .hero-slide,
  .hero {
    padding-top: 64px;
    padding-bottom: 96px;
  }

  .hero__panel div {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero__panel span {
    text-align: left;
  }

  .slider-controls {
    bottom: 18px;
  }

  .hero__actions,
  .filterbar,
  .quote__links {
    flex-direction: column;
  }

  .button,
  .filter {
    width: 100%;
  }

  .mini-grid,
  .grid--services,
  .grid--products,
  .grid--features,
  .grid--contact {
    grid-template-columns: 1fr;
  }

  .product h3 {
    min-height: auto;
  }

  .footer {
    flex-direction: column;
  }
}
