:root {
  --brand-primary: #20b8aa;
  --brand-primary-dark: #14988d;
  --brand-secondary: #f28d49;
  --brand-brown: #4a382d;
  --brand-cream: #f8f3ea;
  --brand-cream-2: #fffaf3;
  --brand-sand: #ecdac5;
  --brand-dark: #1f2a2a;
  --brand-white: #ffffff;
  --brand-shadow: 0 16px 45px rgba(36, 47, 45, 0.12);
  --brand-radius: 1.5rem;
  --nav-height: 84px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito", sans-serif;
  color: var(--brand-brown);
  background: var(--brand-cream-2);
  overflow-x: hidden;
}

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

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.btn,
.eyebrow,
.badge,
.method-number {
  font-family: "Montserrat", sans-serif;
}

p {
  font-size: 1.05rem;
  line-height: 1.75;
}

.section-space {
  padding: 6rem 0;
}

.section-space-sm {
  padding: 4rem 0;
}

.section-light {
  background: linear-gradient(180deg, rgba(255,255,255,0.68), rgba(255,255,255,0.9));
}

.section-dark {
  background:
    radial-gradient(circle at top left, rgba(32, 184, 170, 0.2), transparent 30%),
    linear-gradient(135deg, #243433, #112322 70%);
}

.topbar {
  background: var(--brand-brown);
  color: rgba(255,255,255,0.85);
}

.navbar {
  top: 36px;
  min-height: var(--nav-height);
  transition: all 0.3s ease;
  background: rgba(248, 243, 234, 0.65);
  backdrop-filter: blur(12px);
}

.navbar.scrolled {
  background: rgba(255, 250, 243, 0.94);
  box-shadow: 0 12px 30px rgba(34, 30, 25, 0.08);
}

.navbar-brand {
  color: var(--brand-brown);
  line-height: 1;
}

.navbar-brand strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.navbar-brand small {
  display: block;
  font-size: 0.72rem;
  color: rgba(74, 56, 45, 0.8);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.navbar .nav-link {
  color: rgba(74, 56, 45, 0.9);
  font-weight: 700;
  padding-inline: 0.9rem !important;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: var(--brand-primary-dark);
}

.navbar-toggler {
  border: 0;
  box-shadow: none !important;
}

.btn-brand {
  background: linear-gradient(135deg, var(--brand-secondary), #f39d61);
  border: 0;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(242, 141, 73, 0.28);
}

.btn-brand:hover {
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-brand {
  border: 2px solid var(--brand-primary);
  color: var(--brand-primary-dark);
  font-weight: 700;
}

.btn-outline-brand:hover {
  background: var(--brand-primary);
  color: #fff;
}

.border-brand-subtle {
  border-color: rgba(32, 184, 170, 0.24) !important;
}

.hero {
  position: relative;
  padding-top: calc(var(--nav-height) + 7rem);
  background:
    radial-gradient(circle at 10% 20%, rgba(32, 184, 170, 0.12), transparent 20%),
    radial-gradient(circle at 90% 10%, rgba(242, 141, 73, 0.13), transparent 22%),
    linear-gradient(180deg, var(--brand-cream) 0%, #fff7ee 100%);
}

.hero-pattern {
  position: absolute;
  width: 240px;
  height: 240px;
  opacity: 0.18;
  pointer-events: none;
  background:
    linear-gradient(135deg, transparent 25%, var(--brand-primary) 25%, var(--brand-primary) 50%, transparent 50%, transparent 75%, var(--brand-primary) 75%);
  background-size: 36px 36px;
  clip-path: polygon(50% 0%, 100% 35%, 100% 100%, 0 100%, 0 35%);
}

.hero-pattern-left {
  left: -50px;
  top: 140px;
}

.hero-pattern-right {
  right: -60px;
  bottom: 30px;
  transform: rotate(18deg);
}

.hero h1 {
  color: var(--brand-brown);
  line-height: 1.08;
}

.hero .lead {
  max-width: 640px;
}

.hero-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.mini-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1rem;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(74, 56, 45, 0.08);
  border-radius: 1rem;
  box-shadow: 0 10px 24px rgba(74, 56, 45, 0.05);
}

.mini-card i {
  font-size: 1.25rem;
  color: var(--brand-primary-dark);
}

.mini-card span {
  font-weight: 700;
  font-size: 0.95rem;
}

.hero-visual {
  position: relative;
  border-radius: calc(var(--brand-radius) + 0.25rem);
  background: rgba(255,255,255,0.76);
}

.hero-illustration {
  border: 1px solid rgba(74, 56, 45, 0.08);
}

.floating-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  background: rgba(255,255,255,0.92);
  color: var(--brand-brown);
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: var(--brand-shadow);
}

.floating-tag::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-primary);
  flex-shrink: 0;
}

.floating-tag-1 {
  top: 1rem;
  left: -0.5rem;
}

.floating-tag-2 {
  right: -0.5rem;
  top: 42%;
}

.floating-tag-3 {
  left: 10%;
  bottom: 1rem;
}

.trust-strip {
  background: linear-gradient(90deg, rgba(32, 184, 170, 0.12), rgba(242, 141, 73, 0.12));
  border-top: 1px solid rgba(32, 184, 170, 0.1);
  border-bottom: 1px solid rgba(32, 184, 170, 0.1);
}

.trust-item {
  height: 100%;
  padding: 1.2rem 1rem;
  background: rgba(255,255,255,0.8);
  border-radius: 1rem;
  border: 1px solid rgba(74, 56, 45, 0.08);
}

.trust-item strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  color: var(--brand-brown);
}

.trust-item span {
  display: block;
  font-size: 0.96rem;
  color: rgba(74, 56, 45, 0.8);
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
#contacto h2,
.cta-box h2,
.section-dark h2 {
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--brand-primary-dark);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 800;
}

.eyebrow-dark {
  color: rgba(255,255,255,0.72);
}

.feature-box {
  height: 100%;
  display: flex;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 1.2rem;
  background: #fff;
  box-shadow: 0 10px 28px rgba(58, 54, 49, 0.06);
}

.feature-box i {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  border-radius: 1rem;
  background: rgba(32, 184, 170, 0.12);
  color: var(--brand-primary-dark);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.feature-box h3,
.service-card h3,
.method-card h3,
.product-card h3 {
  font-size: 1.06rem;
  font-weight: 800;
  margin-bottom: 0.45rem;
}

.feature-box p,
.service-card p,
.method-card p,
.product-card p,
.gallery-card figcaption,
.about-list span {
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.about-card,
.contact-form-wrap,
.nepo-showcase {
  border-radius: calc(var(--brand-radius) + 0.2rem);
}

.about-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-bottom: 0.9rem;
}

.about-list i {
  color: var(--brand-primary-dark);
  font-size: 1.2rem;
  line-height: 1.2;
}

.service-card {
  position: relative;
  padding: 1.8rem;
  background: #fff;
  border-radius: 1.35rem;
  box-shadow: 0 12px 30px rgba(45, 39, 31, 0.08);
  border: 1px solid rgba(74, 56, 45, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
}

.service-card:hover,
.method-card:hover,
.product-card:hover,
.gallery-card:hover {
  transform: translateY(-6px);
}

.featured-service {
  background: linear-gradient(180deg, #ffffff, #fff4eb);
}

.service-icon,
.product-thumb {
  width: 68px;
  height: 68px;
  display: inline-grid;
  place-items: center;
  border-radius: 1.2rem;
  background: rgba(32, 184, 170, 0.12);
  color: var(--brand-primary-dark);
  font-size: 1.7rem;
  margin-bottom: 1rem;
}

.service-link {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  margin-top: 1rem;
  text-decoration: none;
  color: var(--brand-primary-dark);
  font-weight: 800;
}

.service-link:hover {
  color: var(--brand-secondary);
}

.pill-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  border-radius: 1rem;
}

.pill-box i {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
}

.method-card {
  height: 100%;
  padding: 1.7rem;
  background: #fff;
  border-radius: 1.35rem;
  box-shadow: 0 12px 30px rgba(45, 39, 31, 0.07);
  transition: transform 0.25s ease;
}

.method-number {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--brand-secondary);
}

.gallery-card {
  height: 100%;
  overflow: hidden;
  border-radius: 1.35rem;
  background: #fff;
  box-shadow: 0 12px 30px rgba(45, 39, 31, 0.08);
  transition: transform 0.25s ease;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-card figcaption {
  padding: 1rem 1.2rem 1.3rem;
}

.product-card {
  height: 100%;
  padding: 1.4rem;
  background: #fff;
  border-radius: 1.3rem;
  box-shadow: 0 10px 26px rgba(46, 41, 33, 0.07);
  transition: transform 0.25s ease;
}

.product-card-accent {
  background: linear-gradient(180deg, #fff8f0, #ffffff);
}

.cta-box {
  position: relative;
  padding: 3rem 1.5rem;
  background: linear-gradient(135deg, rgba(32, 184, 170, 0.14), rgba(242, 141, 73, 0.14));
  border: 1px solid rgba(74, 56, 45, 0.08);
  border-radius: 2rem;
  overflow: hidden;
}

.cta-box::before,
.cta-box::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  opacity: 0.18;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, var(--brand-primary), transparent);
  z-index: 0;
}

.cta-box::before {
  left: -60px;
  top: -60px;
  transform: rotate(12deg);
}

.cta-box::after {
  right: -70px;
  bottom: -70px;
  transform: rotate(35deg);
}

.cta-box > * {
  position: relative;
  z-index: 1;
}

.contact-stack {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 1.15rem;
  border-radius: 1.1rem;
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 26px rgba(45, 39, 31, 0.06);
}

.contact-card i {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  border-radius: 1rem;
  background: rgba(32, 184, 170, 0.12);
  color: var(--brand-primary-dark);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-card strong,
.contact-card span {
  display: block;
}

.contact-form-wrap {
  padding: 1.6rem;
  background: #fff;
  box-shadow: 0 16px 36px rgba(45, 39, 31, 0.08);
}

.form-control,
.form-select {
  border-radius: 0.95rem;
  border-color: rgba(74, 56, 45, 0.13);
  padding: 0.95rem 1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(32, 184, 170, 0.56);
  box-shadow: 0 0 0 0.25rem rgba(32, 184, 170, 0.14);
}

.site-footer {
  background: linear-gradient(180deg, #233231, #16211f);
  color: #fff;
}

.footer-links a,
.social-link {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
}

.footer-links a:hover,
.social-link:hover {
  color: #fff;
}

.social-link {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}

.footer-divider {
  border-color: rgba(255,255,255,0.08);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left {
  transform: translateX(-30px);
}

.reveal-right {
  transform: translateX(30px);
}

.reveal.visible {
  opacity: 1;
  transform: translate(0, 0);
}

@media (max-width: 991.98px) {
  .navbar {
    top: 36px;
    background: rgba(255, 250, 243, 0.96);
  }

  .hero {
    padding-top: calc(var(--nav-height) + 5.5rem);
  }

  .floating-tag-1,
  .floating-tag-2,
  .floating-tag-3 {
    position: static;
    margin-top: 0.75rem;
    display: inline-flex;
  }

  .hero-visual .card-body {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 767.98px) {
  .section-space {
    padding: 4.5rem 0;
  }

  .section-space-sm {
    padding: 3rem 0;
  }

  .topbar {
    font-size: 0.8rem;
  }

  .navbar {
    top: 32px;
  }

  .hero-mini-grid {
    grid-template-columns: 1fr;
  }

  .display-4 {
    font-size: calc(1.75rem + 1.6vw);
  }

  .cta-box {
    padding: 2.4rem 1.2rem;
  }
}

.store-card {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}

.store-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
}

.store-card.featured {
  background: #f8f4eb;
}

.store-thumb {
  width: 100%;
  height: 170px;
  border-radius: 1rem;
  overflow: hidden;
  background: #eef7f5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.store-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.store-card:hover .store-thumb img {
  transform: scale(1.04);
}

.store-card h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: #3d2b1f;
  margin-bottom: 0.75rem;
}

.store-card p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #5b4638;
  margin-bottom: 0;
}

.store-thumb-btn {
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.store-thumb-btn:focus {
  outline: none;
  box-shadow: 0 0 0 0.25rem rgba(35, 174, 169, 0.18);
}

.product-modal-content {
  border: 0;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.16);
}

.product-modal-image-wrap {
  width: 100%;
  background: #f6f2ea;
  border-radius: 1.25rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.product-modal-image-wrap img {
  max-height: 72vh;
  width: 100%;
  object-fit: contain;
  background: #f6f2ea;
}

#productModalLabel {
  color: #3d2b1f;
  font-weight: 700;
  font-size: 1.5rem;
}

#productModalDescription {
  color: #5b4638;
  font-size: 1.05rem;
  line-height: 1.8;
}