:root {
  --navy: #16205a;
  --navy-dark: #0e1640;
  --blue: #1e5fff;
  --orange: #f5821f;
  --whatsapp: #25d366;
  --whatsapp-dark: #1fb355;
  --bg: #f5f6fa;
  --card-bg: #ffffff;
  --text: #1c2033;
  --muted: #6b7080;
  --border: #e7e8ef;
  --radius: 14px;
  --shadow: 0 4px 16px rgba(22, 32, 90, 0.08);
  --shadow-hover: 0 10px 28px rgba(22, 32, 90, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

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

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

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top bar */
.top-bar {
  background: var(--navy-dark);
  color: #cbd2f0;
  text-align: center;
  font-size: 12.5px;
  padding: 7px 16px;
}

.top-bar p {
  margin: 0;
}

/* Header */
.site-header {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo img {
  height: 64px;
  width: auto;
}

.search-form {
  flex: 1;
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--bg);
}

.search-form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 16px;
  font-size: 14px;
  outline: none;
  color: var(--text);
}

.search-form button {
  border: none;
  background: var(--navy);
  color: #fff;
  padding: 0 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.header-cta {
  white-space: nowrap;
  padding: 10px 18px;
  font-size: 14px;
}

.main-nav {
  border-top: 1px solid var(--border);
  background: #fafbfd;
}

.main-nav ul {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  list-style: none;
  display: flex;
  gap: 28px;
}

.main-nav > ul > li {
  position: relative;
}

.main-nav a {
  display: inline-block;
  padding: 12px 0;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.main-nav a:hover {
  color: var(--orange);
}

.has-dropdown .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-hover);
  min-width: 240px;
  padding: 8px;
  z-index: 60;
  flex-direction: column;
  gap: 0;
}

.has-dropdown:hover .dropdown {
  display: flex;
}

.dropdown li a {
  display: block;
  padding: 9px 12px;
  font-weight: 600;
  border-radius: 8px;
}

.dropdown li a:hover {
  background: var(--bg);
}

.dropdown .dropdown-tag {
  font-size: 11px;
  color: var(--orange);
  font-weight: 700;
  margin-left: 6px;
}

/* Hero slider */
.hero-slider {
  position: relative;
  overflow: hidden;
  min-height: 380px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.6s ease;
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
  position: relative;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(14, 22, 64, 0.88) 0%, rgba(14, 22, 64, 0.55) 55%, rgba(14, 22, 64, 0.15) 100%);
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 24px;
  width: 100%;
  color: #fff;
}

.hero-slide-content .eyebrow {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.hero-slide-content h1 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  margin: 0 0 12px;
  max-width: 560px;
}

.hero-slide-content p {
  color: #cbd2f0;
  max-width: 460px;
  margin: 0 0 22px;
  font-size: 15.5px;
  line-height: 1.5;
}

.hero-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.hero-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
}

.hero-dots button.active {
  background: var(--orange);
}

/* Trust badges */
.trust-badges {
  padding: 40px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.trust-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-item svg {
  color: var(--orange);
  flex-shrink: 0;
}

.trust-item h4 {
  margin: 0 0 3px;
  font-size: 14px;
  color: var(--navy);
}

.trust-item p {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
}

/* Catalog heading */
.catalog-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-heading h2 {
  font-size: 22px;
  margin: 0;
  color: var(--navy);
}

.catalog-heading span {
  color: var(--muted);
  font-size: 14px;
}

/* Featured */
.featured {
  padding: 20px 0 10px;
}

/* Product grid (shared) */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
}

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

.card-img {
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  background: #f0f1f6;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.card-body h3 {
  font-size: 15px;
  margin: 0;
  line-height: 1.3;
  color: var(--text);
  min-height: 39px;
}

.card-price {
  margin-top: auto;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
}

.card-cta {
  font-size: 13px;
  color: var(--blue);
  font-weight: 600;
}

/* Placeholder "próximamente" card */
.card-placeholder {
  border: 2px dashed #c7cbe6;
  border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, #eef0f8, #eef0f8 10px, #e5e7f3 10px, #e5e7f3 20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px 16px;
  color: var(--muted);
  min-height: 260px;
  cursor: default;
}

.card-placeholder .ph-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--orange);
  margin-bottom: 12px;
}

.card-placeholder p {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
}

/* Filter tabs */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filter-tab {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
}

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

/* Promo collage */
.promo-collage {
  padding: 20px 0;
}

.collage-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-rows: auto auto;
  gap: 18px;
}

.collage-tile {
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  min-height: 180px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.collage-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 22, 64, 0.05) 0%, rgba(14, 22, 64, 0.88) 100%);
}

.collage-tile .tile-body {
  position: relative;
  z-index: 2;
  padding: 20px;
}

.collage-tile h3 {
  margin: 0 0 4px;
  font-size: 19px;
}

.collage-tile p {
  margin: 0;
  font-size: 13px;
  color: #dbe0f5;
}

.collage-big {
  grid-row: 1 / span 2;
  min-height: 100%;
}

.collage-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 780px) {
  .collage-grid {
    grid-template-columns: 1fr;
  }
  .collage-big {
    grid-row: auto;
  }
}

/* Info banners */
.info-banners {
  padding: 20px 0 40px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.info-banner {
  border-radius: var(--radius);
  padding: 34px 30px;
  color: #fff;
}

.info-banner h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.info-banner p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.55;
  color: #e4e7f7;
}

.info-about {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-dark) 100%);
}

.info-combos {
  background: linear-gradient(120deg, var(--orange) 0%, #d96c14 100%);
}

.btn-whatsapp-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  background: #fff;
  color: var(--navy);
}

@media (max-width: 780px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}

/* Catalog section */
.catalog {
  padding: 30px 0 80px;
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: #b9beda;
  padding-top: 44px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img {
  height: 40px;
  margin-bottom: 10px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 16px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.footer-social a:hover {
  background: var(--orange);
}

.footer-col h5 {
  color: #fff;
  font-size: 14px;
  margin: 0 0 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col a {
  font-size: 13px;
  color: #b9beda;
}

.footer-col a:hover {
  color: var(--orange);
}

.footer-col p {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

.footer-bottom {
  text-align: center;
  padding: 18px 24px;
  font-size: 12.5px;
}

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

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .header-inner {
    flex-wrap: wrap;
  }
  .search-form {
    order: 3;
    max-width: 100%;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: filter 0.15s ease;
}

.btn:hover {
  filter: brightness(1.08);
}

.btn-buy {
  background: var(--blue);
  color: #fff;
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}

.wa-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 22, 64, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}

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

.modal {
  background: #fff;
  border-radius: 18px;
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  z-index: 2;
}

.modal-img {
  background: #f0f1f6;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.modal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-body {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.modal-id {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.modal-body h2 {
  margin: 0 0 12px;
  font-size: 22px;
  color: var(--navy);
  line-height: 1.3;
}

.modal-desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 18px;
}

.modal-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 24px;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

@media (max-width: 640px) {
  .modal {
    grid-template-columns: 1fr;
  }
  .modal-img {
    aspect-ratio: 4 / 3;
  }
}
