:root {
  color-scheme: light;
  --cream: #fbf5e9;
  --paper: #fffaf2;
  --ink: #352319;
  --muted: #685043;
  --accent: #a44726;
  --line: #e4d2bb;
  --display: "Playfair Display", Georgia, serif;
  --body: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.55 var(--body); }
img { display: block; width: 100%; height: auto; }
figure, h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #da8b45; outline-offset: 4px; }
.wrap { width: min(1184px, calc(100% - 88px)); margin-inline: auto; }
.skip { position: absolute; top: 0; left: 1rem; z-index: 2; padding: .75rem; background: white; transform: translateY(-120%); }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 86px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 54px; border-radius: 50%; }
.brand strong, .brand small { display: block; }
.brand strong { font: 700 23px/1.1 var(--display); }
.brand small { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; margin-top: 5px; }
nav { display: flex; gap: clamp(18px, 4vw, 50px); font-size: 14px; font-weight: 700; }
nav a:hover, footer a:hover { color: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 15px; width: fit-content; min-height: 46px; padding: 10px 20px; border: 1px solid transparent; border-radius: 6px; font-size: 14px; font-weight: 700; transition: background .16s, color .16s, border-color .16s; }
.button span { font-size: 17px; line-height: 1; }
.button-outline { border-color: #c68a69; color: #84371f; }
.button-outline:hover { background: #f1e1cd; }
.button-primary { background: var(--accent); color: white; }
.button-primary:hover { background: #84371f; }
.button-whatsapp { background: #176447; color: white; white-space: nowrap; }
.button-whatsapp:hover { background: #104e37; }
.contact-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.contact-social { font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

.hero { display: grid; grid-template-columns: .91fr 1.09fr; align-items: center; gap: clamp(32px, 6vw, 92px); padding-block: 43px 50px; }
.hero-copy { padding-block: 22px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #8c3c24; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow span { width: 23px; height: 1px; background: currentColor; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; }
h1 { margin-top: 17px; font-size: clamp(68px, 7.4vw, 112px); line-height: .97; letter-spacing: -.063em; }
h1 em { color: var(--accent); font-weight: 500; white-space: nowrap; }
.hero-text { max-width: 35ch; margin-block: 27px 26px; color: var(--muted); font-size: clamp(16px, 1.45vw, 19px); }
.hero-photo { position: relative; height: clamp(365px, 39vw, 515px); border-radius: 15px; background: #b5804a; overflow: hidden; }
.hero-photo img, .product-image img, .team-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo img { object-position: center 40%; }
.hero-photo figcaption { position: absolute; right: 17px; bottom: 17px; }
.hero-photo figcaption a { display: flex; gap: 11px; padding: 8px 11px; border-radius: 4px; background: var(--paper); font-size: 11px; font-weight: 700; }
.hero-photo figcaption a:hover { background: #ffe7c2; }

.catalog { background: #f3e7d5; padding-block: 55px 70px; border-block: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
h2 { margin-top: 7px; font-size: clamp(35px, 4.1vw, 57px); line-height: 1.1; letter-spacing: -.045em; }
.section-heading > p { color: var(--muted); max-width: 29ch; font-size: 14px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 24px 22px; }
.filters button { cursor: pointer; min-height: 40px; padding: 6px 17px; border: 1px solid #ccae94; border-radius: 30px; color: var(--ink); background: transparent; font-size: 14px; font-weight: 700; }
.filters button:hover { background: #f8efdf; }
.filters button[aria-pressed="true"] { color: white; border-color: var(--accent); background: var(--accent); }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product { overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); display: flex; flex-direction: column; }
.product-image { display: block; aspect-ratio: 1.52; overflow: hidden; background: #e6cead; }
.product-image img { transition: transform .28s; }
.product-image:hover img { transform: scale(1.045); }
.bread-photo img { object-position: center 61%; }
.cake-photo img { object-position: center 57%; }
.snack-photo img { object-position: center 62%; }
.product-content { flex: 1; display: flex; flex-direction: column; padding: 19px 21px 22px; }
.category { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: #914327; }
h3 { margin-block: 4px 7px; font-size: clamp(25px, 2.6vw, 35px); letter-spacing: -.037em; line-height: 1.16; }
.product-content h3 + p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.product-link { width: fit-content; margin-top: auto; color: #84371f; font-size: 13px; font-weight: 700; }
.product-link:hover { text-decoration: underline; }
.product-link span { padding-left: 4px; }

.about { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: clamp(28px, 8vw, 110px); padding-block: 74px; }
.team-photo { height: clamp(310px, 35vw, 440px); border-radius: 12px; overflow: hidden; background: #dcc1a3; }
.team-photo img { object-position: center 55%; }
.about h2 + p { margin-block: 18px 23px; color: var(--muted); max-width: 44ch; }
.contact { color: #fff3e3; background: #44291f; }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 50px 55px; }
.contact .eyebrow { color: #f4be83; }
.contact h2 { font-size: clamp(34px, 3.8vw, 52px); }
.contact h2 + p { color: #f3dbca; margin-top: 13px; max-width: 49ch; }
.footer-inner { min-height: 92px; }
.footer-inner .brand img { width: 45px; }
.footer-inner > a:last-child { font-size: 14px; font-weight: 700; }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 48px); }
  .hero { gap: 28px; }
  h1 { font-size: clamp(57px, 9vw, 82px); }
  .products { gap: 13px; }
  .product-content { padding-inline: 15px; }
}

@media (max-width: 670px) {
  .wrap { width: calc(100% - 34px); }
  .header-inner { min-height: 70px; gap: 8px; }
  .header-inner nav { display: none; }
  .brand { gap: 7px; }
  .brand img { width: 42px; }
  .brand strong { font-size: 19px; }
  .brand small { font-size: 8px; }
  .header-cta { min-height: 38px; gap: 7px; padding: 5px 9px; font-size: 12px; }
  .hero { display: block; padding-block: 27px 32px; }
  .hero-copy { padding-block: 12px 25px; }
  h1 { font-size: clamp(53px, 14vw, 83px); }
  .hero-text { margin-block: 17px 19px; }
  .hero-photo { height: clamp(235px, 65vw, 365px); }
  .catalog, .about { padding-block: 38px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 9px; max-width: 100%; }
  .filters { gap: 6px; margin-block: 18px; }
  .filters button { min-height: 38px; padding-inline: 12px; font-size: 12px; }
  .products, .about { grid-template-columns: 1fr; gap: 17px; }
  .about > div { grid-row: 1; }
  .team-photo { height: clamp(275px, 70vw, 420px); }
  .contact-inner { align-items: flex-start; flex-direction: column; padding-block: 36px 40px; }
  .footer-inner { gap: 8px; min-height: 74px; }
  .footer-inner > a:last-child { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
