:root {
  --ink: #22211d;
  --muted: #6f6d63;
  --paper: #fffdf8;
  --cream: #f4efe5;
  --sage: #59644d;
  --leaf: #7f9a83;
  --coral: #c96e5a;
  --rose: #f7ddd5;
  --white: #ffffff;
  --line: rgba(34, 33, 29, 0.14);
  --shadow: 0 24px 70px rgba(34, 33, 29, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-140%);
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(26, 26, 22, 0.68);
  color: var(--white);
  backdrop-filter: blur(16px);
}

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

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--white);
}

.brand-logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

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

.brand strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 650;
}

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

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 10px 13px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  outline: none;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
}

.hero {
  min-height: 88vh;
  display: grid;
  align-items: end;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(24, 24, 20, 0.88), rgba(24, 24, 20, 0.52) 54%, rgba(24, 24, 20, 0.16)),
    url("assets/hero-interior.jpg") center / cover;
  padding: 132px 0 64px;
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
}

.kicker,
.section-kicker {
  margin: 0 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--coral);
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .kicker {
  color: rgba(255, 255, 255, 0.78);
}

.hero h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 740px;
  font-size: clamp(3.2rem, 8vw, 7rem);
  line-height: 0.96;
}

.hero-copy {
  width: min(650px, 100%);
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--white);
  color: var(--ink);
  padding: 12px 18px;
  font-weight: 900;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  outline: none;
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-light {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.quick-section {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border-inline: 1px solid var(--line);
  background: var(--line);
}

.quick-card {
  min-height: 162px;
  display: grid;
  align-content: space-between;
  gap: 20px;
  background: var(--white);
  padding: 24px;
  text-decoration: none;
}

.quick-card svg {
  width: 30px;
  height: 30px;
  color: var(--sage);
}

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

.quick-card strong {
  margin-bottom: 5px;
  font-size: 1.04rem;
}

.quick-card span {
  color: var(--muted);
  font-size: 0.94rem;
}

.quick-card:hover,
.quick-card:focus-visible {
  outline: 3px solid rgba(201, 110, 90, 0.22);
  outline-offset: -3px;
}

section {
  padding: 86px 0;
}

.section-head,
.section-copy {
  width: min(760px, 100%);
}

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

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.06;
}

.section-head p,
.section-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 46px;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.feature {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
}

.feature span,
.pin {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cream);
  color: var(--sage);
}

.feature h3,
.location-card h3,
.product-card h3 {
  margin: 0 0 6px;
}

.feature p,
.location-card p,
.product-card p {
  margin: 0;
  color: var(--muted);
}

.photo-mosaic {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  grid-template-rows: 230px 230px;
  gap: 14px;
}

.photo-mosaic img,
.product-card img,
.cake-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.photo-tall {
  grid-row: span 2;
}

.menu-preview,
.contact {
  background: var(--cream);
}

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

.product-card {
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}

.product-card img {
  aspect-ratio: 4 / 5;
}

.product-card div {
  padding: 20px;
}

.locations {
  background: var(--paper);
}

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

.location-card {
  min-height: 285px;
  display: grid;
  align-content: start;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 24px;
}

.location-card .btn {
  align-self: end;
  width: 100%;
  margin-top: auto;
}

.wholesale {
  min-height: 560px;
  display: grid;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(28, 29, 24, 0.9), rgba(28, 29, 24, 0.58) 54%, rgba(28, 29, 24, 0.2)),
    url("assets/sede-interior.jpg") center / cover;
}

.wholesale-inner {
  width: min(1180px, calc(100% - 32px));
}

.wholesale h2 {
  max-width: 640px;
  color: var(--white);
}

.wholesale p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.cakes {
  background: var(--white);
}

.cake-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 42px;
  align-items: center;
}

.cake-gallery {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  grid-template-rows: 250px 250px;
  gap: 14px;
}

.cake-large {
  grid-row: span 2;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: 42px;
  align-items: center;
}

.social-list {
  display: grid;
  gap: 12px;
}

.social-list a {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 15px 16px;
  font-weight: 900;
  text-decoration: none;
}

.social-list span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.social-list a:hover,
.social-list a:focus-visible {
  outline: 3px solid rgba(127, 154, 131, 0.28);
  outline-offset: -3px;
}

.footer {
  background: var(--ink);
  color: var(--white);
  padding: 28px 0 90px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.mobile-bar {
  position: fixed;
  inset: auto 14px 14px;
  z-index: 45;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mobile-bar .btn {
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.24);
}

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

  .nav-links {
    position: absolute;
    inset: 86px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(26, 26, 22, 0.96);
    padding: 12px;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
  }

  .quick-grid,
  .split,
  .product-grid,
  .location-grid,
  .cake-layout,
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .wrap,
  .hero-inner,
  .wholesale-inner {
    width: min(100% - 24px, 1180px);
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 84vh;
    padding: 118px 0 46px;
    background:
      linear-gradient(0deg, rgba(24, 24, 20, 0.84), rgba(24, 24, 20, 0.36)),
      url("assets/hero-interior.jpg") center / cover;
  }

  .hero-actions .btn-light {
    display: none;
  }

  section {
    padding: 58px 0;
  }

  .quick-grid,
  .split,
  .product-grid,
  .location-grid,
  .cake-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .quick-card {
    min-height: 128px;
  }

  .photo-mosaic,
  .cake-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 190px 190px;
  }

  .wholesale {
    min-height: 520px;
  }

  .button-row {
    flex-direction: column;
  }

  .button-row .btn {
    width: 100%;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-bar {
    display: grid;
  }
}
