:root {
  --bg-deep: #04131c;
  --bg-mid: #0a2433;
  --bg-panel: rgba(8, 36, 52, 0.72);
  --teal: #2ec4b6;
  --teal-soft: #7ee8dc;
  --cyan: #4fd1ff;
  --coral: #ff6b4a;
  --sand: #e8f4f2;
  --muted: #9bb6c2;
  --line: rgba(126, 232, 220, 0.18);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --font-display: "Sora", sans-serif;
  --font-body: "Manrope", sans-serif;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--sand);
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(46, 196, 182, 0.22), transparent 60%),
    radial-gradient(900px 600px at -10% 20%, rgba(79, 209, 255, 0.12), transparent 55%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 45%, #061820 100%);
  min-height: 100vh;
  line-height: 1.55;
}

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

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

button,
input,
select {
  font: inherit;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(4, 19, 28, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  height: 42px;
  width: auto;
  filter: drop-shadow(0 0 18px rgba(46, 196, 182, 0.35));
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--teal-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--teal), #1fa896);
  color: #032028;
  box-shadow: 0 10px 30px rgba(46, 196, 182, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--sand);
  border: 1px solid var(--line);
}

.btn-whatsapp {
  background: #25d366;
  color: #062416;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--sand);
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  animation: drift 18s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 18, 28, 0.55) 0%, rgba(3, 18, 28, 0.45) 35%, rgba(3, 18, 28, 0.94) 100%),
    linear-gradient(100deg, rgba(3, 18, 28, 0.88) 0%, rgba(3, 18, 28, 0.35) 52%, rgba(3, 18, 28, 0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 7rem 0 4.5rem;
  max-width: 720px;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin: 0 0 1rem;
  color: #ffffff;
  text-shadow: 0 2px 0 rgba(0,0,0,0.25), 0 12px 40px rgba(0, 0, 0, 0.65);
  animation: rise 0.9s ease both;
}

.hero-brand span {
  display: inline-block;
  color: var(--teal-soft);
}

.hero p {
  margin: 0 0 1.75rem;
  color: #e7f7f3;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  max-width: 36ch;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.7);
  animation: rise 1s ease 0.12s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: rise 1.05s ease 0.22s both;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.04em;
  margin: 0;
}

.section-head p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  max-width: 42ch;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.chip {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  cursor: pointer;
  transition: 0.2s ease;
}

.chip:hover,
.chip.is-active {
  color: var(--bg-deep);
  background: var(--teal);
  border-color: var(--teal);
}

.search-wrap {
  margin-bottom: 1.5rem;
}

.search-wrap input {
  width: 100%;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--sand);
  padding: 0.9rem 1rem;
  outline: none;
}

.search-wrap input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(46, 196, 182, 0.18);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  text-align: left;
  color: inherit;
  padding: 0;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(46, 196, 182, 0.45);
}

.product-card .thumb {
  aspect-ratio: 1;
  background: #081820;
  overflow: hidden;
}

.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.product-card:hover .thumb img {
  transform: scale(1.06);
}

.product-card .body {
  padding: 1rem 1rem 1.15rem;
  display: grid;
  gap: 0.45rem;
}

.product-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.product-card .price {
  color: var(--teal-soft);
  font-weight: 700;
  font-size: 1.05rem;
}

.product-card .cat {
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* About */
.about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.about-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
}

.about-copy p {
  color: var(--muted);
  margin: 0 0 1rem;
}

.about-panel {
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(46, 196, 182, 0.16), transparent 50%),
    rgba(8, 36, 52, 0.65);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.about-panel strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

/* Contact */
.contact-box {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: rgba(8, 36, 52, 0.55);
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.contact-box h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

.contact-box p {
  margin: 0;
  color: var(--muted);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Modal product */
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

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

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  width: min(920px, 100%);
  max-height: min(90vh, 820px);
  overflow: auto;
  background: #071c28;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.modal-dialog img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.modal-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.modal-body h2 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  font-size: 1.55rem;
}

.modal-body .price {
  color: var(--teal-soft);
  font-size: 1.4rem;
  font-weight: 700;
}

.modal-body p {
  margin: 0;
  color: var(--muted);
  flex: 1;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  color: white;
  cursor: pointer;
}

.empty {
  color: var(--muted);
  padding: 2rem 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 50;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #25d366;
  color: #062416;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
  animation: pulse 2.8s ease-in-out infinite;
}

.wa-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: rgba(4, 19, 28, 0.96);
    border-bottom: 1px solid var(--line);
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links.is-open {
    display: flex;
  }

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

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