:root {
  --bg: #fbf3ea;
  --surface: #ffffff;
  --surface-strong: #fff8ef;
  --ink: #061926;
  --muted: #5f696e;
  --line: #eaded1;
  --teal: #069a9a;
  --teal-dark: #047274;
  --coral: #ffb12b;
  --sun: #f6a313;
  --mint: #12bfc1;
  --blue: #0a3044;
  --shadow: 0 18px 45px rgba(6, 25, 38, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

h1,
h2,
h3,
.logo,
.button,
.filter-button {
  font-family: "Fredoka", "Inter", Arial, sans-serif;
}

body.modal-open {
  overflow: hidden;
}

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

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

button,
select {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 243, 234, 0.94);
  border-bottom: 1px solid rgba(234, 222, 209, 0.95);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.12rem;
  font-weight: 800;
}

.logo-image {
  width: 180px;
  height: 70px;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
}

.footer-logo .logo-image {
  padding: 6px;
  border-radius: var(--radius);
  background: #fbf3ea;
  mix-blend-mode: normal;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu a {
  color: var(--muted);
  font-weight: 700;
  transition: color 180ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--sun);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--ink);
}

.hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  padding: 56px 0 72px;
  background:
    radial-gradient(circle at 14% 18%, rgba(246, 163, 19, 0.16), transparent 22%),
    radial-gradient(circle at 88% 18%, rgba(18, 191, 193, 0.13), transparent 24%),
    linear-gradient(140deg, #fbf3ea 0%, #fff8ef 58%, #fdf0de 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(56px, 7vw, 104px);
}

.hero-content h1 {
  max-width: 760px;
  margin: 12px 0 18px;
  font-size: clamp(2.45rem, 5.5vw, 5.25rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-content p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 1.18rem;
}

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

.hero-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 540px);
  transform: translateX(18px);
  padding: clamp(12px, 2vw, 22px);
  border: 1px solid rgba(234, 222, 209, 0.92);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 248, 239, 0.92));
  box-shadow: var(--shadow);
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  z-index: 1;
  color: var(--sun);
  font-family: "Fredoka", "Inter", Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 700;
  line-height: 1;
}

.hero-visual::before {
  content: "♡";
  top: 5%;
  left: 6%;
  transform: rotate(-14deg);
}

.hero-visual::after {
  content: "✦";
  right: 7%;
  bottom: 8%;
  color: var(--ink);
}

.hero-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  mix-blend-mode: multiply;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--sun);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 14px 24px rgba(6, 25, 38, 0.2);
}

.button-whatsapp {
  background: #1fb868;
  color: #fff;
  box-shadow: 0 14px 24px rgba(32, 184, 109, 0.22);
}

.button-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.section-heading {
  max-width: 690px;
  margin-bottom: 34px;
}

.section-heading h2,
.custom-grid h2,
.about-grid h2,
.contact-panel h2 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.row-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  max-width: none;
  gap: 24px;
}

.row-heading p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
}

.category-grid,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.category-card,
.step-card,
.product-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(23, 36, 38, 0.06);
}

.category-card {
  min-height: 136px;
  padding: 18px;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.category-card:hover,
.category-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(246, 163, 19, 0.65);
  box-shadow: var(--shadow);
}

.category-icon {
  display: block;
  margin-bottom: 14px;
  font-size: 1.8rem;
}

.category-card strong {
  display: block;
  line-height: 1.2;
}

.category-card span:last-child {
  color: var(--muted);
  font-size: 0.88rem;
}

.products-section {
  background: #fff8ef;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.filter-button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

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

.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--surface-strong);
}

.product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.product-category {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff1d5;
  color: #8a5400;
  font-size: 0.78rem;
  font-weight: 800;
}

.product-card h3 {
  margin: 14px 0 8px;
  font-size: 1.12rem;
}

.product-card p {
  margin: 0 0 16px;
  color: var(--muted);
}

.product-price {
  display: block;
  margin: auto 0 16px;
  font-size: 1.05rem;
  font-weight: 800;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.custom-section {
  background:
    radial-gradient(circle at 86% 22%, rgba(246, 163, 19, 0.22), transparent 22%),
    linear-gradient(135deg, var(--ink) 0%, #092436 62%, #07494d 100%);
  color: #fff;
}

.custom-section .eyebrow,
.custom-section p {
  color: #ffe0a0;
}

.custom-grid,
.about-grid,
.contact-panel {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 42px;
}

.custom-grid p,
.about-grid p,
.contact-panel p {
  margin: 18px 0 28px;
  color: var(--muted);
  font-size: 1.05rem;
}

.custom-grid p {
  color: #d9fff3;
}

.idea-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.idea-list span {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

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

.step-card {
  padding: 22px;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--sun);
  color: var(--ink);
  font-weight: 900;
}

.step-card h3 {
  margin: 18px 0 8px;
}

.step-card p {
  margin: 0;
  color: var(--muted);
}

.about {
  background: #fff;
}

.about-grid p {
  margin: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}

.gallery-grid img.brand-art {
  grid-column: span 2;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  padding: 10px;
  background: #fbf3ea;
}

.contact {
  padding-top: 40px;
}

.contact-panel {
  padding: 42px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-links {
  display: grid;
  gap: 12px;
  font-style: normal;
}

.contact-links a {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--blue);
  font-weight: 800;
}

.footer {
  padding: 48px 0 28px;
  background: var(--ink);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.footer p {
  color: #cce0df;
}

.footer h2 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.footer a:not(.logo) {
  display: block;
  width: fit-content;
  margin: 8px 0;
  color: #d9fff3;
}

.copyright {
  width: min(1120px, calc(100% - 32px));
  margin: 36px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 86px;
  z-index: 45;
  min-height: 54px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: #20b86d;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 18px 36px rgba(32, 184, 109, 0.35);
  cursor: pointer;
  animation: softPulse 2.8s ease-in-out infinite;
}

@keyframes softPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 36, 38, 0.66);
}

.modal-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  width: min(960px, 100%);
  max-height: min(760px, calc(100vh - 32px));
  overflow: auto;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.modal-media img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  background: #f3fffb;
}

.modal-content {
  padding: 34px;
}

.modal-content h2 {
  margin: 14px 0 10px;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.05;
}

.modal-content p {
  color: var(--muted);
}

.modal-price {
  display: block;
  margin: 18px 0;
  font-size: 1.2rem;
}

.variation-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.variation-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 800;
}

.variation-form select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}

.full-button {
  width: 100%;
}

@media (max-width: 980px) {
  .hero-grid,
  .custom-grid,
  .about-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    justify-self: stretch;
    width: 100%;
    transform: none;
  }

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

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

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

  .gallery-grid img.brand-art {
    grid-column: span 3;
    aspect-ratio: auto;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 62px 0;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav-menu {
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

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

  .nav-menu a {
    display: block;
    padding: 13px;
  }

  .hero {
    min-height: auto;
    padding-top: 38px;
  }

  .hero-grid {
    gap: 28px;
  }

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

  .row-heading {
    display: block;
  }

  .row-heading p {
    margin-top: 12px;
  }

  .category-grid,
  .product-grid,
  .steps-grid,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img.brand-art {
    grid-column: span 1;
    aspect-ratio: auto;
  }

  .category-card {
    min-height: auto;
  }

  .product-grid {
    gap: 14px;
  }

  .product-card {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    min-height: 0;
  }

  .product-card:hover {
    transform: none;
  }

  .product-card img {
    width: 116px;
    height: 100%;
    min-height: 196px;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .product-card-body {
    min-width: 0;
    padding: 12px;
  }

  .product-category {
    padding: 3px 7px;
    font-size: 0.68rem;
  }

  .product-card h3 {
    margin: 8px 0 4px;
    font-size: 1rem;
    line-height: 1.08;
  }

  .product-card p {
    display: -webkit-box;
    margin-bottom: 8px;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .product-price {
    margin: 0 0 9px;
    font-size: 0.93rem;
    line-height: 1.2;
  }

  .product-actions {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .product-actions .button {
    min-height: 40px;
    padding: 0 8px;
    font-size: 0.82rem;
    line-height: 1.05;
  }

  .contact-panel {
    padding: 26px;
  }

  .modal-card {
    grid-template-columns: 1fr;
  }

  .modal-media img {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .modal-content {
    padding: 24px;
  }

  .variation-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 22px, 1120px);
  }

  .filter-button {
    width: 100%;
  }

  .filters {
    display: grid;
  }

  .idea-list {
    grid-template-columns: 1fr;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 82px;
  }
}

@media (max-width: 360px) {
  .product-card {
    grid-template-columns: 98px minmax(0, 1fr);
  }

  .product-card img {
    width: 98px;
    min-height: 190px;
  }

  .product-actions {
    grid-template-columns: 1fr;
  }
}
