:root {
  --bs-primary: #9c3535;
  --bs-primary-rgb: 156, 53, 53;
  --bs-link-color: #9c3535;
  --bs-link-hover-color: #7e2a2a;
  --kuquie-cream: #f7f1ea;
  --kuquie-cream-deep: #efe6db;
  --kuquie-ink: #4a3a34;
  --kuquie-muted: #7d6b63;
  --kuquie-script: "Great Vibes", cursive;
  --kuquie-hand: "Dancing Script", cursive;
  --kuquie-note: "Caveat", cursive;
  --kuquie-serif: "Lora", Georgia, serif;
  --kuquie-sans: "Nunito", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  font-family: var(--kuquie-sans);
  color: var(--kuquie-ink);
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
}

/* ---------- Brand ---------- */
.brand-logo {
  display: block;
  height: 3.4rem;
  width: auto;
}

.footer-brand .brand-logo {
  height: 3.2rem;
}

/* ---------- Navbar ---------- */
.site-nav {
  background: var(--bs-primary);
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.site-nav .nav-link {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem !important;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active {
  color: #fff;
}

.site-nav .nav-link.active {
  text-decoration: underline;
  text-underline-offset: 0.35rem;
  text-decoration-thickness: 1px;
}

.btn-order-nav {
  border-width: 1.5px;
  font-weight: 500;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.45);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.92%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---------- Buttons ---------- */
.btn-primary {
  --bs-btn-bg: #9c3535;
  --bs-btn-border-color: #9c3535;
  --bs-btn-hover-bg: #7e2a2a;
  --bs-btn-hover-border-color: #7e2a2a;
  --bs-btn-active-bg: #6d2424;
  --bs-btn-active-border-color: #6d2424;
  --bs-btn-color: #fff;
}

.btn-hero,
.btn-pedir {
  font-weight: 600;
  letter-spacing: 0.01em;
}

.btn-pedir {
  padding-left: 1.35rem;
  padding-right: 1.35rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 78% 42%;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(42, 22, 16, 0.58) 0%,
    rgba(42, 22, 16, 0.28) 38%,
    rgba(42, 22, 16, 0.05) 62%,
    rgba(42, 22, 16, 0) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 34rem;
  padding-top: 4.5rem;
  padding-bottom: 5rem;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 0.35rem;
}

.hero-title {
  font-family: var(--kuquie-hand);
  font-size: clamp(2.6rem, 6vw, 4.35rem);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 1.1rem;
}

.hero-text {
  max-width: 24rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.heart {
  display: inline-block;
  color: #f3d6d2;
  font-size: 1.15rem;
  transform: rotate(-12deg);
}

.heart-lg {
  font-size: 1.45rem;
}

/* ---------- Features ---------- */
.features {
  background: var(--kuquie-cream);
}

.feature-icon {
  display: block;
  margin-inline: auto;
  font-size: 2.15rem;
  line-height: 1;
  color: var(--bs-primary);
}

.feature-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--bs-primary);
  margin: 0.85rem 0 0.35rem;
}

.feature-text {
  font-size: 0.92rem;
  color: var(--kuquie-muted);
  max-width: 13.5rem;
  margin-inline: auto;
}

/* ---------- Sabores ---------- */
.section-kicker {
  color: var(--bs-primary);
}

.section-cookie {
  display: block;
  margin-inline: auto;
  height: 2.6rem;
  width: auto;
}

.section-title {
  font-family: var(--kuquie-script);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  color: var(--bs-primary);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.section-subtitle {
  color: var(--kuquie-muted);
  font-size: 1rem;
}

.cookie-doodle {
  width: 2rem;
  height: 2rem;
  color: var(--bs-primary);
}

.product-card {
  border-radius: 1.15rem;
  background: #fff;
  box-shadow: 0 10px 30px rgba(90, 40, 30, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(90, 40, 30, 0.12);
}

.product-card img {
  height: 210px;
  object-fit: cover;
  border-radius: 0.9rem;
}

.product-card .card-body {
  padding: 1rem 1rem 1.35rem;
  flex: 1 1 auto;
}

.product-card h3 {
  color: var(--kuquie-ink);
  font-weight: 700;
}

.product-card p {
  color: var(--kuquie-muted);
}

/* ---------- Sobre ---------- */
.about {
  background: var(--bs-primary);
  color: #f8ece8;
}

.about-inner {
  max-width: 34rem;
  padding-top: 1.8rem;
  padding-bottom: 1.8rem;
}

.about-title {
  font-family: var(--kuquie-hand);
  font-size: clamp(2.3rem, 4.5vw, 3.3rem);
  color: #fff;
  margin-bottom: 1rem;
}

.about-copy p {
  font-family: var(--kuquie-serif);
  font-size: 0.98rem;
  line-height: 1.65;
}

.about-quote {
  font-family: var(--kuquie-serif);
  font-style: italic;
  font-size: 1.08rem;
  margin-top: 1.1rem;
}

.about-photo-col {
  aspect-ratio: 16 / 9;
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (min-width: 992px) {
  .about-copy,
  .about-photo-col {
    min-height: clamp(16rem, 32vw, 26rem);
    aspect-ratio: auto;
  }
}

/* ---------- Pedido ---------- */
.order-bar {
  background: var(--kuquie-cream);
}

.order-title {
  font-family: var(--kuquie-hand);
  font-size: clamp(2rem, 4vw, 2.7rem);
  color: var(--bs-primary);
  margin: 0;
}

.order-item {
  color: var(--bs-primary);
}

.order-item .bi {
  font-size: 1.55rem;
}

.order-item strong {
  display: block;
  font-size: 1rem;
}

.order-item span {
  display: block;
  font-size: 0.88rem;
  color: var(--kuquie-muted);
  font-weight: 400;
}

@media (min-width: 768px) {
  .order-split {
    border-left: 1px solid rgba(156, 53, 53, 0.28);
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bs-primary);
  color: #fff;
}

.footer-label {
  font-size: 0.92rem;
  opacity: 0.9;
}

.social-link {
  color: #fff;
  font-size: 1.25rem;
  text-decoration: none;
}

.social-link:hover {
  color: #f3d6d2;
}

.footer-note {
  font-family: var(--kuquie-note);
  font-size: 1.55rem;
  margin: 0;
}

@media (max-width: 991.98px) {
  .brand-logo {
    height: 2.9rem;
  }
}

@media (max-width: 767.98px) {
  .hero {
    min-height: 62vh;
  }

  .hero-photo {
    object-position: 72% center;
  }

  .hero-copy {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .feature-title {
    font-size: 0.95rem;
  }

  .feature-text {
    font-size: 0.82rem;
    padding-inline: 0.2rem;
  }

  .product-card img {
    height: 150px;
  }

  .about-inner {
    padding-top: 3.2rem;
    padding-bottom: 3.2rem;
  }
}
