:root {
  --bg: #f6f7f2;
  --surface: #ffffff;
  --surface-soft: #eef0e7;
  --text: #18211d;
  --muted: #68716d;
  --line: #dfe3dc;
  --primary: #d9ff4a;
  --primary-dark: #bde71a;
  --dark: #132019;
  --accent: #ff6b35;
  --shadow: 0 18px 50px rgba(27, 42, 34, 0.11);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(223, 227, 220, 0.8);
  background: rgba(246, 247, 242, 0.88);
  backdrop-filter: blur(16px);
}

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

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

.brand-mark {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--dark);
  background: var(--primary);
  font-weight: 800;
  letter-spacing: -0.06em;
  transform: rotate(-4deg);
}

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

.brand strong {
  font-size: 0.97rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #46504b;
  font-size: 0.88rem;
  font-weight: 700;
}

.desktop-nav a {
  transition: color 0.2s ease;
}

.desktop-nav a:hover {
  color: var(--accent);
}

.primary-button,
.secondary-button,
.light-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: var(--dark);
  background: var(--primary);
  box-shadow: 0 10px 30px rgba(189, 231, 26, 0.22);
}

.primary-button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.secondary-button {
  color: var(--dark);
  border: 1px solid var(--line);
  background: var(--surface);
}

.secondary-button:hover {
  box-shadow: 0 12px 28px rgba(26, 40, 33, 0.08);
  transform: translateY(-2px);
}

.primary-button.compact {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.84rem;
}

.light-button {
  color: var(--dark);
  background: var(--surface);
}

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

.full-width {
  width: 100%;
}

.hero {
  padding: 72px 0 86px;
  overflow: hidden;
}

.hero-grid {
  min-height: 570px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 58px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: #6d782f;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.eyebrow.light {
  color: var(--primary);
}

.hero h1,
.section-heading h2,
.info-section h2,
.contact-box h2,
.modal-panel h2 {
  margin: 0;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.hero h1 {
  max-width: 690px;
  font-size: clamp(3rem, 7vw, 6.2rem);
}

.hero-copy > p {
  max-width: 630px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

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

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 32px 0 0;
  padding: 0;
  color: #59625e;
  font-size: 0.82rem;
  font-weight: 700;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 17px;
}

.hero-points li::before {
  content: "";
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-visual {
  position: relative;
  min-height: 470px;
  border-radius: 48% 52% 44% 56% / 52% 38% 62% 48%;
  background:
    radial-gradient(circle at 70% 20%, rgba(255,255,255,0.65) 0 8%, transparent 9%),
    linear-gradient(145deg, #eaff9a, var(--primary));
  box-shadow: 0 40px 100px rgba(136, 164, 30, 0.2);
}

.visual-orbit {
  position: absolute;
  border: 1px solid rgba(19, 32, 25, 0.17);
  border-radius: 50%;
}

.orbit-one {
  inset: 13%;
  transform: rotate(-11deg);
}

.orbit-two {
  inset: 27% 11%;
  transform: rotate(24deg);
}

.floating-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px;
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.floating-card small,
.floating-card strong {
  display: block;
}

.floating-card small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
}

.floating-card strong {
  margin-top: 2px;
  font-size: 0.9rem;
}

.floating-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--dark);
  color: var(--primary);
  font-size: 1.4rem;
}

.card-main {
  top: 21%;
  left: -8%;
}

.card-secondary {
  right: -7%;
  bottom: 22%;
}

.hero-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 148px;
  height: 148px;
  display: grid;
  place-content: center;
  text-align: center;
  color: white;
  border: 11px solid rgba(255,255,255,0.58);
  border-radius: 50%;
  background: var(--dark);
  transform: translate(-50%, -50%) rotate(5deg);
  box-shadow: var(--shadow);
}

.hero-badge strong,
.hero-badge span {
  display: block;
}

.hero-badge strong {
  font-size: 2rem;
  line-height: 1;
}

.hero-badge span {
  margin-top: 7px;
  font-size: 0.72rem;
  font-weight: 700;
}

.catalog-section {
  padding: 96px 0;
  background: var(--surface);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.section-heading h2,
.info-section h2,
.contact-box h2 {
  font-size: clamp(2.2rem, 4.8vw, 4.2rem);
}

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

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 46px;
}

.search-box {
  width: min(100%, 440px);
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
}

.search-box span {
  color: var(--muted);
  font-size: 1.4rem;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.filter-button {
  min-height: 43px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 17px;
  color: #505a55;
  background: transparent;
  font-size: 0.82rem;
  font-weight: 800;
}

.filter-button.active {
  color: white;
  border-color: var(--dark);
  background: var(--dark);
}

.catalog-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 23px 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

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

.product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.product-visual {
  position: relative;
  min-height: 230px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, var(--product-soft), #ffffff);
}

.product-visual::before,
.product-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.product-visual::before {
  width: 170px;
  height: 170px;
  right: -40px;
  top: -45px;
  border: 1px solid rgba(19, 32, 25, 0.12);
}

.product-visual::after {
  width: 120px;
  height: 120px;
  left: -26px;
  bottom: -46px;
  background: rgba(255,255,255,0.45);
}

.product-icon {
  position: relative;
  z-index: 1;
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  border-radius: 32px;
  color: var(--product-color);
  background: rgba(255,255,255,0.9);
  box-shadow: 0 18px 40px rgba(31, 45, 37, 0.12);
  font-size: 3.7rem;
  transform: rotate(-4deg);
}

.category-chip {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--dark);
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(8px);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-body {
  padding: 22px;
}

.product-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.product-title-row h3 {
  margin: 0;
  font-size: 1.08rem;
  letter-spacing: -0.025em;
}

.product-price {
  flex: 0 0 auto;
  font-size: 0.93rem;
  font-weight: 800;
}

.product-description {
  min-height: 44px;
  margin: 12px 0 17px;
  color: var(--muted);
  font-size: 0.84rem;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 21px;
}

.product-tags span {
  border-radius: 999px;
  padding: 6px 9px;
  color: #59625d;
  background: var(--bg);
  font-size: 0.65rem;
  font-weight: 700;
}

.card-button {
  width: 100%;
  min-height: 43px;
  border: 1px solid var(--dark);
  border-radius: 999px;
  color: var(--dark);
  background: transparent;
  font-size: 0.8rem;
  font-weight: 800;
  transition: color 0.2s ease, background 0.2s ease;
}

.card-button:hover {
  color: white;
  background: var(--dark);
}

.empty-state {
  padding: 70px 20px;
  text-align: center;
  color: var(--muted);
}

.empty-state > span {
  font-size: 2.5rem;
}

.empty-state h3 {
  margin: 14px 0 5px;
  color: var(--text);
}

.empty-state p {
  margin: 0;
}

.info-section {
  padding: 100px 0;
}

.info-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: start;
}

.info-section p {
  max-width: 540px;
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 14px;
}

.steps article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.steps article > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
}

.steps h3,
.steps p {
  margin: 0;
}

.steps p {
  margin-top: 5px;
  font-size: 0.84rem;
}

.contact-section {
  padding: 0 0 96px;
}

.contact-box {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 58px;
  color: white;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 90% 10%, rgba(217,255,74,0.18), transparent 30%),
    var(--dark);
}

.contact-box p {
  max-width: 580px;
  margin: 18px 0 0;
  color: #b9c5bd;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.footer-grid {
  min-height: 70px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
  color: var(--muted);
  font-size: 0.74rem;
}

.footer-brand strong {
  color: var(--text);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}

.modal.visible {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 14, 0.72);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(650px, calc(100% - 30px));
  max-height: calc(100vh - 30px);
  overflow-y: auto;
  padding: 38px;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 40px 100px rgba(0,0,0,0.3);
  transform: translate(-50%, -50%);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: var(--text);
  background: var(--bg);
  font-size: 1.45rem;
  line-height: 1;
}

.modal-panel h2 {
  padding-right: 40px;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.modal-intro {
  margin: 16px 0 26px;
  color: var(--muted);
  font-size: 0.88rem;
}

form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

form label:not(.checkbox-label) {
  display: grid;
  gap: 7px;
  color: #3e4843;
  font-size: 0.76rem;
  font-weight: 800;
}

form input,
form select,
form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: 0;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

form input,
form select {
  min-height: 48px;
  padding: 0 14px;
}

form textarea {
  resize: vertical;
  padding: 13px 14px;
}

form input:focus,
form select:focus,
form textarea:focus {
  border-color: #a9bd42;
  box-shadow: 0 0 0 4px rgba(217, 255, 74, 0.2);
}

form .invalid {
  border-color: #e94f37;
}

.field-error {
  min-height: 13px;
  color: #c83723;
  font-size: 0.65rem;
  font-weight: 700;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.73rem;
}

.checkbox-label input {
  width: 17px;
  min-height: auto;
  height: 17px;
  margin-top: 2px;
}

.success-message {
  padding: 24px 0 4px;
  text-align: center;
}

.success-message > span {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: var(--dark);
  background: var(--primary);
  font-size: 2rem;
  font-weight: 800;
}

.success-message h3 {
  margin: 0;
  font-size: 1.6rem;
}

.success-message p {
  max-width: 470px;
  margin: 12px auto 24px;
  color: var(--muted);
}

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

  .hero-grid {
    min-height: auto;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy > p,
  .hero-points {
    margin-inline: auto;
    justify-content: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    width: min(620px, 100%);
    margin-inline: auto;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }

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

  .info-grid {
    gap: 44px;
  }

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

  .footer-grid > :last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 26px, 1180px);
  }

  .desktop-nav {
    display: none;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-grid {
    gap: 52px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 15vw, 4.4rem);
  }

  .hero-visual {
    min-height: 390px;
  }

  .card-main {
    top: 17%;
    left: 3%;
  }

  .card-secondary {
    right: 2%;
    bottom: 17%;
  }

  .hero-badge {
    width: 126px;
    height: 126px;
  }

  .catalog-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .search-box {
    width: 100%;
  }

  .filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 3px;
  }

  .catalog-meta {
    align-items: start;
    flex-direction: column;
    gap: 4px;
  }

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

  .contact-box {
    align-items: flex-start;
    flex-direction: column;
    padding: 38px 27px;
  }

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

  .footer-grid > :last-child {
    grid-column: auto;
  }

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

  .modal-panel {
    padding: 32px 22px;
  }
}

@media (max-width: 470px) {
  .nav .compact {
    display: none;
  }

  .hero-visual {
    min-height: 355px;
  }

  .floating-card {
    max-width: 210px;
    padding: 13px;
  }

  .floating-icon {
    width: 42px;
    height: 42px;
    font-size: 1.15rem;
  }

  .card-main {
    left: 0;
  }

  .card-secondary {
    right: 0;
  }

  .hero-points {
    align-items: center;
    flex-direction: column;
    gap: 9px;
  }
}


/* Pulso Sur: imágenes reales/hotlink */
.photo-hero {
  background:
    linear-gradient(145deg, rgba(217,255,74,0.88), rgba(217,255,74,0.45)),
    url("https://images.unsplash.com/photo-1552674605-db6ffd4facb5?auto=format&fit=crop&w=1400&q=85") center/cover;
}

.product-visual {
  min-height: 255px;
  display: block;
  background: #eef0e7;
}

.product-image {
  width: 100%;
  height: 255px;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.product-card:hover .product-image {
  transform: scale(1.045);
}

.product-brand {
  display: block;
  margin-bottom: 8px;
  color: #7a843a;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.product-price {
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--dark);
  background: var(--primary);
  font-size: 0.67rem;
  white-space: nowrap;
}

.product-visual::before,
.product-visual::after {
  display: none;
}
