:root {
  --rose: #f3dcd1;
  --rose-soft: #faeee8;
  --cream: #fffaf7;
  --brown: #5a4238;
  --brown-dark: #3f2b24;
  --brown-muted: #826b61;
  --line: rgba(90, 66, 56, 0.16);
  --white: #fffdfb;
  --shadow: 0 24px 70px rgba(76, 48, 37, 0.12);
  --radius-lg: 32px;
  --radius-md: 22px;
  --sans: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Playfair Display", Georgia, serif;
}

* { box-sizing: border-box; }

html { width: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  width: 100%;
  overflow-x: clip;
  margin: 0;
  background: var(--rose-soft);
  color: var(--brown);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { width: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  transform: translateY(-160%);
  background: var(--brown-dark);
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
}
.skip-link:focus { transform: translateY(0); }

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 14px clamp(20px, 6vw, 90px);
  border-bottom: 1px solid rgba(90, 66, 56, 0.1);
  background: rgba(250, 238, 232, 0.87);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--brown);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
}
.brand strong { display: block; font-family: var(--serif); font-size: 18px; line-height: 1.1; }
.brand small { display: block; margin-top: 4px; color: var(--brown-muted); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { font-size: 14px; font-weight: 600; text-decoration: none; }
.main-nav > a:not(.nav-cta) { position: relative; }
.main-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  content: "";
  transform: scaleX(0);
  background: var(--brown);
  transition: transform 180ms ease;
}
.main-nav > a:hover::after, .main-nav > a:focus-visible::after { transform: scaleX(1); }
.nav-cta { padding: 12px 20px; border-radius: 999px; background: var(--brown); color: var(--white); }
.menu-toggle { display: none; }

main { overflow: hidden; }

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 82px);
  padding: clamp(70px, 9vw, 130px) clamp(20px, 7vw, 110px);
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.72fr);
  align-items: center;
  gap: clamp(48px, 8vw, 130px);
  background:
    radial-gradient(circle at 70% 20%, rgba(255,255,255,.76), transparent 32%),
    linear-gradient(145deg, var(--rose) 0%, #f8e8e0 55%, var(--rose-soft) 100%);
}

.petals { position: absolute; width: 220px; height: 220px; opacity: .26; pointer-events: none; }
.petals::before, .petals::after {
  position: absolute;
  width: 88px;
  height: 42px;
  border: 1px solid var(--brown);
  border-radius: 100% 0 100% 0;
  content: "";
  transform: rotate(-28deg);
}
.petals::after { left: 48px; top: 58px; transform: rotate(52deg) scale(.8); }
.petals-left { left: -40px; bottom: 5%; transform: rotate(-20deg); }
.petals-right { top: 12%; right: -80px; transform: rotate(160deg) scale(1.15); }

.hero-copy { max-width: 710px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow span { width: 34px; height: 1px; background: currentColor; }
.hero h1 { max-width: 700px; margin: 0; font-family: var(--serif); font-size: clamp(54px, 7vw, 96px); font-weight: 600; letter-spacing: -.045em; line-height: .98; }
.hero-text { max-width: 620px; margin: 28px 0 0; color: var(--brown-muted); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.75; }

.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .filter:focus-visible, .icon-button:focus-visible, .menu-toggle:focus-visible { outline: 3px solid rgba(90, 66, 56, .25); outline-offset: 3px; }
.button-primary { background: var(--brown); color: var(--white); box-shadow: 0 12px 28px rgba(90, 66, 56, .22); }
.button-primary:hover { box-shadow: 0 16px 34px rgba(90, 66, 56, .28); }
.button-ghost { border-color: rgba(90, 66, 56, .3); background: rgba(255,255,255,.26); }

.trust-list { display: flex; flex-wrap: wrap; gap: 14px 25px; padding: 0; margin: 34px 0 0; list-style: none; color: var(--brown-muted); font-size: 13px; }
.trust-list li { display: flex; align-items: center; gap: 7px; }
.trust-list span { display: grid; width: 20px; height: 20px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--brown); font-size: 11px; }

.hero-card { position: relative; overflow: hidden; padding: clamp(26px, 4vw, 46px); border: 1px solid rgba(90,66,56,.12); border-radius: var(--radius-lg); background: rgba(255,253,251,.72); box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.hero-card::after { position: absolute; width: 160px; height: 160px; right: -74px; top: -74px; border: 1px solid var(--line); border-radius: 50%; content: ""; box-shadow: 0 0 0 24px rgba(90,66,56,.025), 0 0 0 48px rgba(90,66,56,.018); }
.hero-card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.hero-card-top p { margin: 0; font-family: var(--serif); font-size: 25px; font-weight: 600; }
.hero-card-top span { position: relative; z-index: 1; padding: 7px 10px; border-radius: 999px; background: var(--rose); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero-card ol { display: grid; gap: 0; padding: 10px 0; margin: 0; list-style: none; }
.hero-card li { display: grid; padding: 20px 0; grid-template-columns: 42px 1fr; gap: 14px; border-bottom: 1px solid var(--line); }
.hero-card li > span { color: #ad8979; font-family: var(--serif); font-size: 18px; }
.hero-card strong { display: block; margin-bottom: 4px; font-size: 15px; }
.hero-card small { color: var(--brown-muted); font-size: 13px; }
.delivery-note { display: flex; align-items: center; gap: 12px; padding-top: 14px; color: var(--brown-muted); font-size: 12px; line-height: 1.5; }
.delivery-note svg { flex: 0 0 auto; }

.catalog-section { padding: clamp(80px, 10vw, 140px) clamp(20px, 7vw, 110px); background: var(--cream); }
.section-heading { display: grid; max-width: 1360px; margin: 0 auto 42px; grid-template-columns: 1fr minmax(260px, 420px); align-items: end; gap: 40px; }
.section-heading h2, .contact-card h2 { margin: 0; font-family: var(--serif); font-size: clamp(42px, 5vw, 72px); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; }
.section-heading > p { margin: 0 0 8px; color: var(--brown-muted); font-size: 16px; line-height: 1.7; }

.catalog-tools { display: grid; max-width: 1360px; margin: 0 auto 28px; grid-template-columns: minmax(260px, 360px) 1fr; align-items: center; gap: 18px; }
.search-box { display: flex; min-height: 52px; align-items: center; gap: 10px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.search-box svg { color: var(--brown-muted); }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--brown); }
.search-box input::placeholder { color: #a58f85; }
.search-box:focus-within { border-color: rgba(90,66,56,.5); box-shadow: 0 0 0 4px rgba(90,66,56,.06); }
.filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.filter { min-height: 42px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--brown); cursor: pointer; font-size: 12px; font-weight: 700; transition: 180ms ease; }
.filter:hover, .filter.is-active { border-color: var(--brown); background: var(--brown); color: var(--white); }

.catalog-grid { display: grid; max-width: 1360px; margin: 0 auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.catalog-card { position: relative; display: grid; min-height: 270px; overflow: hidden; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto; column-gap: 22px; box-shadow: 0 10px 30px rgba(90,66,56,.045); transition: transform 220ms ease, box-shadow 220ms ease, opacity 180ms ease; }
.catalog-card:hover { transform: translateY(-5px); box-shadow: 0 20px 42px rgba(90,66,56,.1); }
.catalog-card[hidden] { display: none; }
.catalog-number { color: #b59a8e; font-family: var(--serif); font-size: 14px; }
.brand-monogram { display: grid; width: 80px; height: 80px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--rose-soft); font-family: var(--serif); font-size: 35px; font-weight: 600; grid-row: 1 / 3; grid-column: 2; }
.monogram-wide { font-family: var(--sans); font-size: 16px; font-weight: 700; letter-spacing: .06em; }
.catalog-card-copy { align-self: center; padding: 18px 0 24px; }
.catalog-card-copy p { margin: 0 0 6px; color: #9a7768; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.catalog-card-copy h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 34px; font-weight: 600; }
.catalog-card-copy span { color: var(--brown-muted); font-size: 13px; }
.catalog-actions { display: flex; align-items: center; gap: 8px; grid-column: 1 / -1; }
.button-outline { flex: 1; min-height: 46px; border-color: rgba(90,66,56,.28); background: transparent; }
.button-outline:hover { background: var(--rose-soft); }
.icon-button { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; border-radius: 50%; background: var(--brown); color: var(--white); text-decoration: none; transition: transform 180ms ease; }
.icon-button:hover { transform: translateY(-2px) scale(1.02); }

.empty-state { max-width: 1360px; padding: 52px 20px; margin: 18px auto 0; border: 1px dashed var(--line); border-radius: var(--radius-md); text-align: center; }
.empty-state span { display: block; margin-bottom: 8px; font-family: var(--serif); font-size: 44px; }
.empty-state strong { font-family: var(--serif); font-size: 24px; }
.empty-state p { margin: 5px 0 0; color: var(--brown-muted); }

.products-section { padding: clamp(80px, 10vw, 140px) clamp(20px, 7vw, 110px); background: var(--white); }
.product-tools { display: grid; max-width: 1360px; margin: 0 auto 30px; grid-template-columns: minmax(260px, 390px) 1fr; align-items: center; gap: 18px; }
.product-grid { display: grid; max-width: 1360px; margin: 0 auto; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--cream); box-shadow: 0 12px 34px rgba(90,66,56,.07); transition: transform 220ms ease, box-shadow 220ms ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 22px 50px rgba(90,66,56,.13); }
.product-media { position: relative; display: grid; overflow: hidden; aspect-ratio: 1 / .86; place-items: center; background: linear-gradient(145deg, var(--rose), #f8e9e2); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.product-card:hover .product-media img { transform: scale(1.025); }
.product-placeholder { display: grid; width: 90px; height: 90px; place-items: center; border: 1px solid rgba(90,66,56,.18); border-radius: 50%; background: rgba(255,255,255,.44); font-family: var(--serif); font-size: 44px; }
.featured-badge { position: absolute; top: 14px; left: 14px; padding: 7px 11px; border-radius: 999px; background: var(--brown-dark); color: white; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.product-body { padding: 24px; }
.product-brand { margin: 0 0 7px; color: #9a7768; font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.product-body h3 { margin: 0; font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1.15; }
.product-description { min-height: 45px; margin: 12px 0 20px; color: var(--brown-muted); font-size: 13px; line-height: 1.65; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.product-footer strong { font-family: var(--serif); font-size: 22px; }
.product-order { min-height: 44px; padding: 10px 16px; font-size: 12px; }
.products-more-wrap { display: grid; max-width: 1360px; justify-items: center; gap: 8px; margin: 30px auto 0; }
.products-more-wrap[hidden] { display: none; }
.products-more { min-width: 220px; cursor: pointer; background: var(--rose-soft); }
.products-count-hint { margin: 0; color: var(--brown-muted); font-size: 12px; }
.loading-state { display: flex; max-width: 1360px; min-height: 190px; align-items: center; justify-content: center; gap: 12px; margin: 0 auto; color: var(--brown-muted); }
.loading-state[hidden] { display: none; }
.spinner { width: 22px; height: 22px; border: 2px solid var(--line); border-top-color: var(--brown); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.products-section .empty-state .button { margin-top: 18px; }
.compact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.compact-grid .catalog-card { min-height: 285px; }

.contact-section { display: grid; padding: clamp(70px, 9vw, 120px) clamp(20px, 7vw, 110px); background: var(--rose); grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 18px; }
.contact-card { display: flex; min-height: 480px; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(36px, 6vw, 76px); border-radius: var(--radius-lg); background: var(--brown-dark); color: var(--white); }
.eyebrow-light { color: #e9cfc2; }
.contact-card h2 { max-width: 760px; }
.contact-card > p:not(.eyebrow) { max-width: 670px; margin: 24px 0 0; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.75; }
.button-light { background: var(--rose); color: var(--brown-dark); }
.instagram-link { display: inline-flex; min-height: 50px; align-items: center; padding: 0 12px; color: rgba(255,255,255,.86); font-size: 13px; font-weight: 700; text-underline-offset: 4px; }
.service-info { display: grid; padding: clamp(28px, 4vw, 46px); border: 1px solid rgba(90,66,56,.12); border-radius: var(--radius-lg); background: rgba(255,253,251,.66); align-content: center; }
.info-block { display: grid; padding: 30px 0; grid-template-columns: 50px 1fr; gap: 16px; border-bottom: 1px solid var(--line); }
.info-block:last-child { border: 0; }
.info-icon { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-family: var(--serif); font-size: 20px; }
.info-block p { margin: 0 0 6px; color: var(--brown-muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.info-block strong { display: block; font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1.35; }

footer { display: grid; padding: 40px clamp(20px, 7vw, 110px); background: var(--cream); grid-template-columns: 1fr auto auto; align-items: center; gap: 36px; border-top: 1px solid var(--line); }
footer p { margin: 0; color: var(--brown-muted); font-size: 12px; }
.footer-brand .brand-mark { width: 40px; height: 40px; font-size: 15px; }

.mobile-whatsapp { display: none; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .site-header { min-height: 74px; }
  .menu-toggle { display: grid; width: 44px; height: 44px; place-content: center; gap: 6px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--brown); }
  .menu-toggle .menu-line { display: block; width: 18px; height: 1.5px; background: currentColor; transform-origin: center; transition: transform 180ms ease; }
  .menu-toggle[aria-expanded="true"] .menu-line-top { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-line-bottom { transform: translateY(-3.75px) rotate(-45deg); }
  .main-nav { position: absolute; top: calc(100% + 1px); right: 16px; left: 16px; display: none; padding: 14px; border: 1px solid var(--line); border-radius: 20px; background: var(--cream); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 3px; }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 15px; }
  .main-nav > a::after { display: none; }
  .nav-cta { margin-top: 5px; text-align: center; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { max-width: 780px; }
  .hero-card { max-width: 720px; }
  .catalog-tools { grid-template-columns: 1fr; }
  .product-tools { grid-template-columns: 1fr; }
  .product-grid, .compact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters { justify-content: flex-start; overflow-x: auto; padding: 2px 0 6px; flex-wrap: nowrap; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: 0 0 auto; }
  .contact-section { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr 1fr; }
  footer p:first-of-type { text-align: right; }
  footer p:last-child { grid-column: 1 / -1; text-align: center; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 82px; }
  body { padding-bottom: 78px; }
  .brand small { display: none; }
  .site-header { padding-inline: 18px; }
  .hero { padding: 64px 20px 74px; gap: 40px; }
  .hero h1 { font-size: clamp(49px, 15vw, 68px); }
  .hero-text { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .trust-list { display: grid; gap: 10px; }
  .hero-card { padding: 24px; border-radius: 26px; }
  .hero-card-top span { display: none; }
  .catalog-section { padding: 74px 18px; }
  .products-section { padding: 74px 18px; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .section-heading h2, .contact-card h2 { font-size: 44px; }
  .catalog-grid { grid-template-columns: 1fr; }
  .product-grid, .compact-grid { grid-template-columns: 1fr; }
  .product-media { aspect-ratio: 1 / .82; }
  .product-body { padding: 22px; }
  .catalog-card { min-height: 252px; padding: 24px; }
  .brand-monogram { width: 64px; height: 64px; font-size: 28px; }
  .catalog-card-copy h3 { font-size: 30px; }
  .catalog-actions { align-items: stretch; }
  .button-outline { padding-inline: 14px; font-size: 12px; }
  .contact-section { padding: 64px 18px; }
  .contact-card { min-height: 430px; padding: 34px 26px; border-radius: 26px; }
  .contact-actions { align-items: stretch; flex-direction: column; width: 100%; }
  .contact-actions .button { width: 100%; }
  .instagram-link { justify-content: center; }
  .service-info { padding: 18px 24px; border-radius: 26px; }
  .info-block { grid-template-columns: 44px 1fr; }
  .info-block strong { font-size: 17px; }
  footer { padding: 34px 20px; grid-template-columns: 1fr; text-align: center; }
  footer .brand { justify-content: center; }
  footer p:first-of-type { text-align: center; }
  footer p:last-child { grid-column: auto; }
  .mobile-whatsapp { position: fixed; z-index: 60; right: 14px; bottom: 14px; left: 14px; display: flex; min-height: 54px; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; background: var(--brown-dark); color: white; box-shadow: 0 14px 34px rgba(63,43,36,.28); font-size: 14px; font-weight: 700; text-decoration: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
