:root {
  --color-bg: #f7fbf7;
  --color-bg-soft: #eef8f2;
  --color-surface: #ffffff;
  --color-primary: #3f9f91;
  --color-primary-soft: #8ed8be;
  --color-primary-dark: #1f6f66;
  --color-text: #1e3430;
  --color-muted: #5f746f;
  --color-border: #d8e9e2;
  --shadow-soft: 0 24px 70px rgba(31, 111, 102, 0.12);
  --content-width: 1180px;
  --max-width: var(--content-width);
  --page-gutter: 18px;
  --page-gutter-mobile: 14px;
  --font-body: "Inter", sans-serif;
  --font-display: "Barlow Condensed", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 10%, rgba(142, 216, 190, 0.22), transparent 32rem),
    linear-gradient(180deg, #fbfdf9 0%, var(--color-bg) 42%, #ffffff 100%);
  color: var(--color-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

.site-shell {
  width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(247, 251, 247, 0.24) 44%, rgba(255, 255, 255, 0.42)),
    rgba(255, 255, 255, 0.18);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  border-bottom: 1px solid rgba(216, 233, 226, 0.42);
  background: rgba(247, 251, 247, 0.58);
  backdrop-filter: blur(14px);
}

.site-header .brand {
  display: flex;
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding: 6px var(--page-gutter);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(63, 159, 145, 0.22);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(31, 111, 102, 0.11);
  overflow: hidden;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(2.45);
}

.brand-name {
  color: var(--color-primary-dark);
  font-size: 1.06rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-name strong {
  font-weight: 800;
}

.brand-name span {
  font-weight: 300;
}

.section,
.section-band {
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding-right: var(--page-gutter);
  padding-left: var(--page-gutter);
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  min-height: 0;
  padding: 28px 0 15px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--color-primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 5.9vw, 5.15rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.2vw, 3.45rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  line-height: 1.15;
}

.hero-card {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
  overflow: hidden;
}

.hero-logo {
  display: block;
  width: min(426px, 100%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(31, 111, 102, 0.08));
}

.section {
  padding-top: 72px;
  padding-bottom: 72px;
}

#sobre {
  padding-top: 34px;
}

.section.muted {
  width: min(100%, var(--content-width));
  max-width: var(--content-width);
  padding: 72px var(--page-gutter);
  background: transparent;
}

#pilares {
  padding-top: 34px;
  padding-bottom: 34px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(240px, 0.48fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  margin-bottom: 38px;
}

.section-heading.compact {
  display: block;
  width: min(100%, 760px);
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 0;
}

.text-mockup {
  max-width: 840px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 64px);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
  box-shadow: 0 18px 54px rgba(31, 111, 102, 0.08);
}

.text-mockup h2 {
  margin-bottom: 24px;
}

.text-mockup p:last-child {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 1.08rem;
  text-align: justify;
  text-justify: inter-word;
}

.product-carousel {
  --carousel-gap: 18px;
  --carousel-visible: 3;
  margin-top: 10px;
  margin-right: auto;
  margin-left: auto;
  width: min(100%, 760px);
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid rgba(63, 159, 145, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(142, 216, 190, 0.08)),
    rgba(255, 255, 255, 0.34);
  box-shadow: 0 20px 56px rgba(31, 111, 102, 0.08);
}

.carousel-viewport {
  overflow: hidden;
  padding: 10px;
  border: 1px solid rgba(63, 159, 145, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.28);
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--carousel-gap) * (var(--carousel-visible) - 1))) / var(--carousel-visible));
  gap: var(--carousel-gap);
  transition: transform 260ms ease;
  will-change: transform;
}

.info-card {
  aspect-ratio: 3 / 4;
  min-height: 0;
  height: auto;
  padding: 26px;
  border: 1px solid rgba(63, 159, 145, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.42)),
    rgba(255, 255, 255, 0.56);
  box-shadow: 0 14px 34px rgba(31, 111, 102, 0.08);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.carousel-slide {
  width: 100%;
}

.image-card {
  overflow: hidden;
  padding: 0;
  background: transparent;
}

.product-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card-link {
  display: block;
  width: 100%;
  height: 100%;
}

.info-card:hover,
.info-card:focus-within {
  border-color: rgba(63, 159, 145, 0.38);
  box-shadow: 0 18px 40px rgba(31, 111, 102, 0.12);
  transform: translateY(-2px);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.carousel-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(63, 159, 145, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-primary-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  line-height: 1;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  border-color: rgba(63, 159, 145, 0.5);
  background: #ffffff;
  color: var(--color-primary);
}

.carousel-button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.carousel-indicators {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.carousel-indicator {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(63, 159, 145, 0.25);
  cursor: pointer;
}

.carousel-indicator.is-active {
  width: 28px;
  background: var(--color-primary);
}

@media (prefers-reduced-motion: reduce) {
  .carousel-track,
  .carousel-button,
  .info-card {
    transition: none;
  }
}

.card-number {
  display: inline-flex;
  margin-bottom: 38px;
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.info-card p,
.mission p {
  color: var(--color-muted);
}

.mission {
  margin-bottom: 0;
  padding: 74px clamp(24px, 7vw, 86px);
  border: 1px solid rgba(63, 159, 145, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(31, 111, 102, 0.94), rgba(63, 159, 145, 0.88)),
    var(--color-primary-dark);
  color: #ffffff;
}

.mission .eyebrow,
.mission p {
  color: rgba(255, 255, 255, 0.82);
}

.mission-content {
  max-width: 800px;
}

.mission-content p:last-child {
  margin-bottom: 0;
  font-size: 1.1rem;
}

.site-footer.footer {
  width: 100%;
  margin: 28px auto 0;
  padding: 0;
  border-top: 1px solid var(--color-border);
  color: var(--color-text);
  font-family: var(--font-body);
  background: transparent;
  box-shadow: none;
}

.footer-shell {
  display: grid;
  width: min(100%, var(--content-width));
  margin: 0 auto;
  grid-template-columns: minmax(210px, 0.76fr) minmax(130px, 0.55fr) minmax(220px, 0.85fr) minmax(260px, 0.95fr);
  align-items: start;
  gap: 10px 20px;
  padding: 12px 18px 10px;
}

.footer-brand {
  min-width: 0;
  align-self: start;
  padding: 8px 10px;
  border: 1px solid rgba(63, 159, 145, 0.18);
  background: rgba(255, 255, 255, 0.34);
}

.footer-brand-link,
.footer-brand-logo {
  display: block;
}

.footer-brand-logo {
  width: min(100%, 220px);
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  object-position: center;
}

.footer-column {
  display: grid;
  gap: 5px;
  align-content: start;
  min-width: 0;
}

.footer-column h3 {
  margin: 0 0 4px;
  color: var(--color-primary-dark);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-column--centered-title h3,
.footer-contact h3 {
  justify-self: stretch;
  text-align: center;
}

.footer-column a {
  width: fit-content;
  max-width: 100%;
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

.footer-contact {
  justify-items: start;
  font-style: normal;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.38em;
}

.footer-contact-icon {
  width: 2.3em;
  height: 2.3em;
  flex: 0 0 auto;
  object-fit: contain;
}

.footer-subgroup {
  display: grid;
  gap: 4px;
}

.footer-subgroup p,
.footer-bottom p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: grid;
  justify-items: center;
  width: 100%;
  margin: 0 auto;
  padding: 6px 18px 7px;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer-bottom p {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (min-width: 900px) {
  .footer-shell {
    gap: 10px 20px;
    padding: 12px var(--page-gutter) 10px;
  }

  .footer-brand {
    padding: 8px 10px;
  }

  .footer-brand-logo {
    width: min(100%, 220px);
  }

  .footer-column h3 {
    font-size: 1.08rem;
  }

  .footer-column a,
  .footer-subgroup p {
    font-size: 0.84rem;
    line-height: 1.42;
  }
}

@media (max-width: 920px) {
  .site-header {
    align-items: center;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 24px;
    padding-bottom: 11px;
  }

  .product-carousel {
    --carousel-visible: 2;
  }
}

@media (max-width: 620px) {
  .site-header,
  .section,
  .section-band,
  .site-footer.footer {
    width: 100%;
  }

  .site-header .brand {
    padding-right: var(--page-gutter-mobile);
    padding-left: var(--page-gutter-mobile);
  }

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

  .hero {
    padding-bottom: 16px;
  }

  .hero-logo {
    width: min(314px, 92vw);
  }

  .section,
  .section.muted {
    padding-top: 64px;
    padding-right: var(--page-gutter-mobile);
    padding-bottom: 64px;
    padding-left: var(--page-gutter-mobile);
  }

  #pilares {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  #sobre {
    padding-top: 28px;
  }

  .section-heading.compact {
    width: min(100%, 360px);
  }

  .product-carousel {
    --carousel-visible: 1;
    width: min(100%, 360px);
    padding: 12px;
  }

  .info-card {
    min-height: 0;
  }
}

@media (max-width: 920px) {
  .footer-shell {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .site-footer.footer {
    margin-bottom: 0;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    padding: 22px 12px 18px;
  }

  .footer-brand-logo {
    width: min(100%, 220px);
  }

  .footer-contact,
  .footer-column {
    justify-items: start;
  }

  .footer-column--centered-title h3,
  .footer-contact h3 {
    text-align: left;
  }
}
