:root {
  --green-900: #0f3f2a;
  --green-800: #175a3b;
  --green-700: #217345;
  --green-100: #e7f4eb;
  --blue-600: #25285c;
  --ink: #15231b;
  --muted: #607067;
  --line: #dce8e0;
  --surface: #ffffff;
  --soft: #f5faf7;
  --shadow: 0 18px 50px rgba(15, 63, 42, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

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

.brand-logo {
  display: block;
  width: 190px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: #31483c;
  font-weight: 700;
  font-size: 0.94rem;
}

.nav a:hover,
.product-link:hover {
  color: var(--blue-600);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.header-cta,
.button-primary {
  color: #fff;
  background: var(--blue-600);
  box-shadow: 0 12px 28px rgba(37, 40, 92, 0.22);
}

.button-secondary {
  color: var(--green-900);
  background: #fff;
}

.header-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 74px));
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: clamp(60px, 10vw, 118px) clamp(18px, 4vw, 64px);
}

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

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(15, 63, 42, 0.9) 0%, rgba(15, 63, 42, 0.67) 44%, rgba(15, 63, 42, 0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-600);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.78rem;
}

.hero .eyebrow {
  color: #ffcecd;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.25rem;
}

.hero-copy {
  width: min(560px, 100%);
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
  color: #eef8f1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.section {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 4vw, 64px);
}

.intro {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  background: var(--green-900);
}

.intro-item {
  padding: 34px;
  background: var(--surface);
}

.intro-item span {
  color: var(--blue-600);
  font-weight: 800;
}

.intro-item strong {
  display: block;
  margin-top: 12px;
  font-size: 1.1rem;
}

.intro-item p,
.product-card p,
.location p,
.service-list {
  color: var(--muted);
  line-height: 1.65;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(21, 35, 27, 0.06);
}

.category-image {
  aspect-ratio: 1 / 1;
  background-image: url("assets/product-categories.png");
  background-repeat: no-repeat;
  background-size: 300% 200%;
  border-bottom: 1px solid var(--line);
}

.category-medicamentos {
  background-position: 0% 0%;
}

.category-dermocosmeticos {
  background-position: 50% 0%;
}

.category-vitaminas {
  background-position: 100% 0%;
}

.category-higiene {
  background-position: 0% 100%;
}

.category-beleza {
  background-position: 50% 100%;
}

.category-conveniencia {
  background-position: 100% 100%;
}

.product-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: 24px 28px 28px;
}

.product-link {
  margin-top: auto;
  color: var(--green-800);
  font-weight: 800;
}

.services {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr) auto;
  gap: 30px;
  align-items: center;
  padding: clamp(42px, 6vw, 70px) clamp(18px, 4vw, 64px);
  color: #fff;
  background: var(--green-900);
}

.services .eyebrow,
.services .service-list {
  color: #d7f2df;
}

.service-list {
  margin: 0;
  padding-left: 20px;
}

.location {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(280px, 1fr) minmax(260px, 0.75fr);
  gap: 30px;
  align-items: stretch;
}

.location-copy {
  display: grid;
  align-content: center;
}

.map-link {
  width: fit-content;
  margin-top: 16px;
  color: var(--green-800);
  font-weight: 800;
}

.map-link:hover {
  color: var(--blue-600);
}

.map-panel {
  min-height: 300px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.map-panel iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: block;
  border: 0;
}

.contact-panel {
  padding: 28px;
  color: var(--green-900);
  background: var(--green-100);
  border: 1px solid #cce5d5;
  border-radius: 8px;
}

.contact-panel strong {
  display: block;
  font-size: 1.3rem;
}

code {
  padding: 2px 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 64px);
  color: #d7f2df;
  background: #0b2f20;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: #25d366;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: var(--shadow);
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
  }

  .hero {
    min-height: 680px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(15, 63, 42, 0.94) 0%, rgba(15, 63, 42, 0.78) 56%, rgba(15, 63, 42, 0.32) 100%);
  }

  .intro,
  .product-grid,
  .services,
  .location,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .services {
    align-items: start;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 152px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 14px;
  }

  .hero {
    min-height: 620px;
    padding-inline: 16px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .intro-item,
  .product-card,
  .contact-panel {
    padding: 22px;
  }

  .footer {
    flex-direction: column;
  }
}
