:root {
  --green-950: #062f25;
  --green-900: #0a4434;
  --green-700: #176a45;
  --green-100: #e7f2e8;
  --rose-600: #d85067;
  --rose-100: #ffe8ec;
  --cream: #fff8ef;
  --paper: #fffdf8;
  --ink: #1d211c;
  --muted: #687166;
  --line: #e8ded1;
  --shadow: 0 22px 60px rgba(18, 31, 21, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(232, 222, 209, 0.8);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-900);
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 17px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--green-950);
  font-weight: 800;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a,
.header-cta,
.secondary-btn,
.primary-btn,
.order-btn {
  min-height: 44px;
  border-radius: 8px;
  font-weight: 800;
}

.nav a {
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: var(--green-950);
  font-size: 14px;
}

.nav a:hover {
  background: var(--green-100);
}

.header-cta,
.primary-btn,
.order-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 0;
  background: var(--green-900);
  color: #fff;
  cursor: pointer;
  font: inherit;
  box-shadow: 0 12px 28px rgba(10, 68, 52, 0.18);
}

.header-cta:hover,
.primary-btn:hover,
.order-btn:hover {
  background: var(--green-700);
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--green-900);
  color: var(--green-950);
  cursor: pointer;
  font: inherit;
  background: #fff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  min-height: calc(100vh - 75px);
  padding: clamp(32px, 5vw, 72px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(255, 248, 239, 0.98), rgba(255, 248, 239, 0.72)),
    url("./assets/folder-informativo.jpeg") center/cover;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--rose-600);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2 {
  margin: 0;
  color: var(--green-950);
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(44px, 7vw, 86px);
}

h2 {
  font-size: clamp(34px, 5vw, 58px);
}

h3 {
  margin: 0;
  color: var(--green-950);
  font-size: 22px;
  line-height: 1.15;
}

.hero-text {
  max-width: 650px;
  margin: 22px 0 0;
  color: #3f483c;
  font-size: 19px;
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.trust-row span,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--green-900);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 1px 0 rgba(10, 68, 52, 0.12);
}

.hero-media {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: min(72vh, 720px);
  object-fit: cover;
  object-position: center;
}

.product-band,
.care-band {
  padding: clamp(54px, 7vw, 96px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-heading p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.44fr);
  gap: 20px;
  align-items: start;
}

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

.product-card,
.custom-order {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-card.featured {
  background: var(--rose-100);
  border-color: #f3bfca;
}

.product-card.dark {
  background: var(--green-900);
  border-color: var(--green-900);
  color: #fff;
}

.product-card.dark h3,
.product-card.dark p {
  color: #fff;
}

.product-card.dark .price {
  color: #fff;
}

.product-card.dark .order-btn {
  background: #fff;
  color: var(--green-950);
}

.product-top p,
.custom-order p,
.quality-copy p,
.care-item p,
.cta-section p {
  color: var(--muted);
}

.product-card.dark .product-top p {
  color: rgba(255, 255, 255, 0.82);
}

.price {
  color: var(--rose-600);
  font-size: 34px;
  font-weight: 900;
}

.order-btn {
  width: 100%;
}

.quantity-control {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 10px;
  min-height: 52px;
}

.quantity-control button {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--green-900);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 24px;
  font-weight: 900;
}

.quantity-control button:hover {
  background: var(--green-700);
}

.quantity-control output {
  display: grid;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--green-950);
  font-weight: 900;
}

.quantity-control.light button {
  background: #fff;
  color: var(--green-950);
}

.quantity-control.light output {
  border-color: rgba(255, 255, 255, 0.34);
}

.order-panel {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.order-panel h2 {
  font-size: 36px;
}

.order-list {
  display: grid;
  gap: 10px;
  min-height: 54px;
}

.empty-order {
  margin: 0;
  padding: 14px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.order-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.order-item strong,
.order-item span {
  display: block;
}

.order-item span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.order-item b {
  color: var(--green-900);
  white-space: nowrap;
}

.order-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.order-total span {
  color: var(--muted);
  font-weight: 700;
}

.order-total strong {
  color: var(--rose-600);
  font-size: 24px;
  font-weight: 900;
}

.checkout-form {
  display: grid;
  gap: 12px;
}

.checkout-form label {
  display: grid;
  gap: 6px;
  color: var(--green-950);
  font-size: 14px;
  font-weight: 800;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  font: inherit;
  resize: vertical;
  background: #fffdf8;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
  border-color: var(--green-700);
  outline: 3px solid rgba(23, 106, 69, 0.14);
}

.field-status {
  min-height: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.field-status.success {
  color: var(--green-700);
}

.field-status.error {
  color: var(--rose-600);
}

.payment-box {
  padding: 14px;
  border-radius: 8px;
  background: var(--green-100);
}

.payment-box strong {
  color: var(--green-950);
}

.payment-box p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.checkout-actions {
  display: grid;
  gap: 10px;
}

.checkout-actions .primary-btn,
.checkout-actions .secondary-btn {
  width: 100%;
}

.custom-order {
  grid-column: span 2;
  background: var(--cream);
}

.custom-order .primary-btn {
  align-self: flex-start;
}

.quality-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(54px, 7vw, 96px) clamp(18px, 5vw, 72px);
  background: var(--green-950);
}

.quality-image {
  max-height: 720px;
  border-radius: 8px;
  overflow: hidden;
}

.quality-image img {
  width: 100%;
  height: 100%;
  max-height: 720px;
  object-fit: cover;
  object-position: top center;
}

.quality-copy h2,
.quality-copy p,
.quality-copy li {
  color: #fff;
}

.quality-copy p {
  max-width: 720px;
  font-size: 18px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.care-band {
  background: #fff;
}

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

.care-item {
  min-height: 220px;
  padding: 24px;
  border-left: 4px solid var(--rose-600);
  background: var(--cream);
}

.care-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--green-900);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.cta-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: clamp(42px, 6vw, 72px) clamp(18px, 5vw, 72px);
  background: var(--rose-100);
}

.cta-section h2 {
  max-width: 860px;
}

.large {
  min-height: 56px;
  padding-inline: 24px;
}

.float-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  background: #22c55e;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero,
  .quality-section,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media img {
    height: auto;
  }

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

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .order-panel {
    position: static;
  }

  .custom-order {
    grid-column: span 2;
  }

  .cta-section .primary-btn {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
    padding: 10px 14px;
  }

  .brand span:last-child {
    display: none;
  }

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

  .header-cta {
    min-height: 42px;
    padding-inline: 12px;
    font-size: 13px;
  }

  .hero {
    padding-top: 28px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-text,
  .section-heading p:not(.eyebrow),
  .quality-copy p {
    font-size: 16px;
  }

  .hero-actions,
  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .products,
  .care-grid {
    grid-template-columns: 1fr;
  }

  .catalog {
    grid-template-columns: 1fr;
  }

  .order-panel {
    padding: 18px;
  }

  .order-panel h2 {
    font-size: 31px;
  }

  .order-item {
    grid-template-columns: 1fr;
  }

  .order-total {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-card,
  .custom-order,
  .care-item {
    min-height: auto;
  }

  .custom-order {
    grid-column: auto;
  }

  .custom-order .primary-btn,
  .cta-section .primary-btn {
    width: 100%;
  }

  .float-whatsapp {
    right: 12px;
    bottom: 12px;
  }
}
