:root {
  --cream: #fff7e8;
  --cream-strong: #f7e1bd;
  --gold: #c78a18;
  --gold-light: #f0c66c;
  --brown: #2a160d;
  --brown-soft: #4b2d1b;
  --red: #8b1714;
  --ink: #16100c;
  --white: #fffdf7;
  --shadow: 0 20px 60px rgba(42, 22, 13, 0.14);
  --radius: 18px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(91, 51, 25, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, var(--cream), #fffaf0 46%, #f5dfbd);
  background-size: 42px 42px, auto;
  overflow-x: hidden;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 10px 16px;
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 247, 232, 0.94);
  box-shadow: 0 10px 30px rgba(42, 22, 13, 0.12);
  backdrop-filter: blur(14px);
  padding-block: 6px;
}

.nav-shell {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--brown);
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.brand span {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  white-space: nowrap;
}

.site-header:not(.is-scrolled) .brand,
.site-header:not(.is-scrolled) .nav-links a:not(.nav-cta) {
  color: #fff7e8;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 11px 14px;
  border-radius: 999px;
  color: var(--brown);
  font-weight: 750;
  font-size: 0.94rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  background: rgba(199, 138, 24, 0.14);
  transform: translateY(-1px);
}

.nav-links .nav-cta,
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red), #3a100a);
  box-shadow: 0 12px 28px rgba(139, 23, 20, 0.24);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--brown);
  padding: 11px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--gold-light);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 112px 18px 72px;
  isolation: isolate;
}

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

.hero-media {
  background-image: url("assets/images/hero-bakery-bg.png");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.hero-overlay {
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(22, 12, 8, 0.78) 0%,
    rgba(22, 12, 8, 0.62) 35%,
    rgba(22, 12, 8, 0.28) 70%,
    rgba(22, 12, 8, 0.1) 100%
  );
}

.hero-content {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  color: #fffaf0;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.36);
}

.hero-content.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: heroFadeUp 0.75s ease 0.12s forwards;
}

.hero-logo {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 22px;
  border: 3px solid rgba(240, 198, 108, 0.9);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 8px;
  max-width: 620px;
  font-size: clamp(3.5rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero-slogan {
  margin-bottom: 14px;
  max-width: 660px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 850;
  line-height: 1.15;
  color: var(--gold-light);
}

.hero-copy {
  max-width: 660px;
  font-size: clamp(1.06rem, 1.4vw, 1.18rem);
  line-height: 1.7;
  color: #fff3dc;
}

.hero-contact-line {
  margin: 16px 0 0;
  color: rgba(255, 243, 220, 0.9);
  font-size: 0.98rem;
  font-weight: 800;
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn,
.contact-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.contact-actions a:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  color: var(--brown);
  background: rgba(255, 250, 240, 0.9);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.section {
  padding: clamp(64px, 7vw, 96px) 18px;
}

.section-head {
  width: 100%;
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-head h2,
.fresh-inner h2,
.contact-card h2 {
  margin-bottom: 12px;
  color: var(--brown);
  font-size: clamp(1.85rem, 4.2vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-head p,
.fresh-inner > div > p,
.contact-card p {
  color: #6d4b31;
  line-height: 1.7;
  font-size: 1.02rem;
}

.product-grid {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.9);
  box-shadow: var(--shadow);
  border: 1px solid rgba(199, 138, 24, 0.18);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 70px rgba(42, 22, 13, 0.2);
}

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

.product-card div {
  padding: 21px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.product-card h3,
.feature-card h3 {
  color: var(--brown);
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.product-card p,
.feature-card p {
  color: #6d4b31;
  line-height: 1.62;
  margin-bottom: 0;
}

.fresh-band {
  padding: clamp(64px, 7vw, 96px) 18px;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.96), rgba(248, 224, 184, 0.92)),
    linear-gradient(90deg, rgba(199, 138, 24, 0.08) 1px, transparent 1px);
  background-size: auto, 42px 42px;
}

.fresh-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
}

.fresh-inner h2,
.fresh-inner > div > p {
  color: var(--brown);
}

.feature-grid {
  display: grid;
  gap: 14px;
}

.feature-card {
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.92);
  box-shadow: 0 16px 42px rgba(42, 22, 13, 0.1);
  border: 1px solid rgba(199, 138, 24, 0.18);
}

.feature-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--red);
  font-weight: 950;
}

.price-menu {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(22px, 5vw, 44px);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.97), rgba(255, 244, 219, 0.97)),
    linear-gradient(90deg, rgba(199, 138, 24, 0.06) 1px, transparent 1px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(199, 138, 24, 0.28);
}

.price-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 10px;
  padding: 8px 0;
  color: var(--brown);
  font-weight: 760;
}

.price-row::after {
  content: "";
  grid-column: 2;
  grid-row: 1;
  border-bottom: 2px dotted rgba(199, 138, 24, 0.42);
  transform: translateY(-4px);
}

.price-row span {
  grid-column: 1;
  min-width: 0;
}

.price-row strong {
  grid-column: 3;
  color: var(--red);
  font-size: 1.13rem;
  white-space: nowrap;
}

.price-note {
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(199, 138, 24, 0.25);
  color: #7a5537;
  font-size: 0.95rem;
}

.gallery-grid {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery-item {
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--brown);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.08);
}

.contact-section {
  padding: clamp(64px, 7vw, 96px) 18px;
}

.contact-card {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(28px, 6vw, 56px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(240, 198, 108, 0.34), transparent 34%),
    linear-gradient(135deg, rgba(255, 253, 247, 0.98), rgba(247, 225, 189, 0.94));
  box-shadow: var(--shadow);
  border: 1px solid rgba(199, 138, 24, 0.24);
}

.contact-actions {
  max-width: 270px;
}

.contact-actions a {
  width: 100%;
  color: #fff;
  background: var(--brown);
}

.contact-actions a:last-child {
  background: linear-gradient(135deg, #247d41, #14572a);
}

.phone-list {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.phone-list span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--brown);
  font-weight: 900;
}

.site-footer {
  padding: 54px 18px 24px;
  color: #f9ead0;
  background: #170c07;
}

.footer-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}

.footer-brand img {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 14px;
}

.footer-brand p {
  margin-bottom: 6px;
  font-size: 1.3rem;
  font-weight: 950;
}

.footer-brand span,
.footer-bottom {
  color: #cdb99a;
}

.site-footer h3 {
  margin-bottom: 12px;
  color: var(--gold-light);
}

.site-footer a {
  display: block;
  margin-bottom: 10px;
  color: #f9ead0;
}

.footer-bottom {
  width: 100%;
  max-width: var(--max);
  margin: 34px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.92rem;
}

.footer-bottom p {
  margin: 0;
}

.floating-whatsapp {
  display: inline-flex;
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 95;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #247d41, #14572a);
  font-weight: 950;
  box-shadow: 0 12px 28px rgba(20, 87, 42, 0.35);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.floating-whatsapp svg {
  fill: currentColor;
}

.floating-whatsapp.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(14, 8, 5, 0.86);
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-height: 86svh;
  width: min(980px, 100%);
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: var(--brown);
  background: var(--cream);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 86px;
    display: grid;
    gap: 6px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 247, 232, 0.98);
    box-shadow: var(--shadow);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    border-radius: 14px;
  }

  .nav-links.is-open a:not(.nav-cta),
  .site-header:not(.is-scrolled) .nav-links.is-open a:not(.nav-cta) {
    color: var(--brown);
    text-shadow: none;
  }

  .product-grid,
  .fresh-inner,
  .contact-card,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    max-width: none;
  }

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

}

@media (max-width: 620px) {
  .site-header {
    padding: 8px 12px;
  }

  .nav-shell {
    min-height: 56px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: 82svh;
    padding: 94px 16px 48px;
  }

  .hero-media {
    background-position: 64% center;
  }

  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(22, 12, 8, 0.88) 0%,
      rgba(22, 12, 8, 0.76) 52%,
      rgba(22, 12, 8, 0.38) 100%
    );
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.38rem, 11vw, 2.85rem);
    line-height: 1.02;
  }

  .hero-slogan {
    max-width: 330px;
    font-size: clamp(1.25rem, 6vw, 1.48rem);
    line-height: 1.2;
  }

  .hero-copy {
    max-width: 350px;
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .hero-contact-line {
    max-width: 310px;
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 310px);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section,
  .fresh-band {
    padding: 56px 16px;
  }

  .contact-section {
    padding: 56px 16px 118px;
  }

  .section-head {
    margin-bottom: 26px;
  }

  .section-head h2,
  .fresh-inner h2,
  .contact-card h2 {
    font-size: 1.58rem;
    line-height: 1.16;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    overflow-wrap: break-word;
  }

  .product-grid {
    gap: 16px;
  }

  .product-card img {
    aspect-ratio: 16 / 10;
  }

  .price-menu {
    border-radius: 20px;
  }

  .price-row {
    grid-template-columns: auto 1fr auto;
    gap: 7px;
    font-size: 0.95rem;
  }

  .price-row strong {
    font-size: 1rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery-item {
    aspect-ratio: 16 / 10;
  }

  .footer-bottom {
    padding-bottom: 52px;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
}

@media (max-width: 390px) {
  .brand span {
    font-size: 0.95rem;
  }

  .price-row {
    font-size: 0.9rem;
  }
}
