:root {
  --navy: #1b1f3c;
  --cream: #f6f3ea;
  --paper: #f3f1ea;
  --ink: #1b1f3c;
  --muted: #5e647c;
  --line: #e3dfd4;
  --magenta: #e2187a;
  --cyan: #00a3df;
  --yellow: #f5c400;
  --white: #fff;
  --shadow: 0 18px 50px rgba(27, 31, 60, 0.12);
  --sans: "Segoe UI", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }

.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 28px;
  background: rgba(243, 241, 234, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { display: block; width: auto; height: 58px; }
.menu {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 10px 14px;
}
nav { display: flex; align-items: center; gap: 8px; }
nav a {
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
}
nav a:hover, nav a[aria-current="page"] { color: var(--ink); background: var(--white); }
nav .cta {
  background: var(--navy);
  color: var(--cream) !important;
  margin-left: 8px;
}
nav .cta:hover { opacity: 0.92; }

.hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; padding: 72px 0 40px; }
.kicker { color: var(--magenta); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; }
h1 { margin-top: 12px; font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: 0.98; letter-spacing: -0.045em; }
.lead { margin-top: 18px; max-width: 38rem; color: var(--muted); font-size: 1.12rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 18px;
  border: 1px solid transparent;
  font-weight: 650;
}
.button.primary { background: var(--navy); color: var(--cream); }
.button.ghost { background: transparent; border-color: #c9c5ba; }
.button.light { background: var(--yellow); color: var(--navy); }

.stage { position: relative; height: 460px; }
.card, .label, .roll {
  position: absolute;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.card {
  width: 230px;
  height: 140px;
  right: 18px;
  top: 36px;
  background: var(--white);
  padding: 18px;
  transform: rotate(8deg);
}
.card b { font-size: 1.2rem; }
.card span { display: block; margin-top: 28px; height: 8px; border-radius: 99px; background: var(--navy); }
.dots { display: flex; gap: 6px; margin-top: 14px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.dots i:nth-child(1) { background: var(--magenta); }
.dots i:nth-child(2) { background: var(--cyan); }
.dots i:nth-child(3) { background: var(--yellow); }
.label {
  width: 250px;
  height: 320px;
  left: 20px;
  top: 70px;
  background: var(--navy);
  color: var(--cream);
  padding: 28px 24px;
  transform: rotate(-6deg);
}
.label small { letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); }
.label strong { display: block; margin-top: 18px; font-size: 2rem; line-height: 1; }
.roll {
  width: 180px;
  height: 180px;
  right: 36px;
  bottom: 18px;
  background:
    radial-gradient(circle at 50% 50%, transparent 28px, var(--cream) 29px 46px, transparent 47px),
    repeating-linear-gradient(90deg, var(--cyan) 0 14px, var(--magenta) 14px 28px, var(--yellow) 28px 42px);
  border: 10px solid var(--white);
}

.band { padding: 28px 0 64px; }
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service, .panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  text-decoration: none;
}
.service:hover { border-color: var(--navy); }
.service span { color: var(--cyan); font-weight: 700; font-size: 0.8rem; }
.service h2, .panel h2, .page-head h1 { font-size: 1.35rem; letter-spacing: -0.03em; margin: 8px 0; }
.service p, .panel p, .page-head p { color: var(--muted); }

.page-head { padding: 64px 0 28px; }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1; max-width: 16ch; }
.page-head p { margin-top: 16px; max-width: 40rem; font-size: 1.08rem; }
.rule { height: 1px; background: var(--line); margin: 28px 0; }

.filters { display: flex; flex-wrap: wrap; gap: 6px; background: #e8e4da; padding: 6px; border-radius: 999px; width: fit-content; max-width: 100%; }
.filters button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--navy); color: var(--cream); }

.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 72px; }
.work a { display: block; position: relative; text-decoration: none; border-radius: 22px; overflow: hidden; min-height: 280px; background: var(--navy); }
.work img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.work a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%; background: linear-gradient(transparent, rgba(17, 20, 38, 0.72)); pointer-events: none; }
.work h3 { position: absolute; left: 18px; bottom: 16px; z-index: 1; color: white; font-size: 1.35rem; letter-spacing: -0.03em; }
.work em {
  position: absolute;
  right: 16px;
  top: 16px;
  font-style: normal;
  background: var(--white);
  color: var(--navy);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.85rem;
  z-index: 1;
  opacity: 0;
  transform: translateY(-6px);
  transition: 0.2s ease;
}
.work a:hover em, .work a:focus-visible em { opacity: 1; transform: none; }

.house { position: relative; margin-bottom: 36px; padding-bottom: 90px; }
.house figure { margin: 0; position: relative; }
.house-out { border-radius: 28px; overflow: hidden; }
.house-out img { width: 100%; height: min(62vh, 540px); object-fit: cover; display: block; }
.house .house-in {
  position: absolute;
  right: 28px;
  bottom: 0;
  width: min(42%, 440px);
  padding: 10px;
  background: var(--paper);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.house-in img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 14px; }
.house figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: var(--white);
  color: var(--navy);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 650;
}
.house-in figcaption { left: 22px; bottom: 22px; }
.about-copy { max-width: 42rem; padding-bottom: 36px; }
.about-copy h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); letter-spacing: -0.04em; }
.about-copy p { margin-top: 14px; color: var(--muted); font-size: 1.08rem; }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; padding-bottom: 72px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; }
.jump a { color: var(--navy); font-weight: 650; text-decoration: none; }
.jump a:hover { color: var(--magenta); }
.catalog { display: grid; gap: 48px; padding-bottom: 72px; }
.family-block { scroll-margin-top: 96px; }
.family-block h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.04em; margin-bottom: 16px; }
.piece-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.piece-grid.quad, .piece-grid.pair { grid-template-columns: repeat(2, 1fr); }
.piece {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
}
.piece:hover { border-color: var(--navy); }
.piece img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #ece7dc; }
.piece h3 { font-size: 1.15rem; letter-spacing: -0.03em; margin: 16px 18px 0; }
.piece p { margin: 6px 18px 18px; font-size: 0.95rem; color: var(--muted); }

.list { display: grid; gap: 14px; }
.list article h2 { font-size: 1.2rem; margin-bottom: 6px; }

.cta-band {
  background: var(--navy);
  color: var(--cream);
  border-radius: 28px;
  padding: 42px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 72px;
}
.cta-band h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.04em; max-width: 16ch; }

.contact-layout { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 22px; align-items: start; padding-bottom: 72px; }
.visit h2, .pedido h2 { font-size: 1.45rem; letter-spacing: -0.03em; margin-bottom: 10px; }
.visit > p, .pedido > p { color: var(--muted); }
.visit > p + p { margin-top: 10px; }
.visit > p a { color: var(--navy); font-weight: 650; }
.visit dl { display: grid; gap: 16px; margin: 22px 0 0; }
.visit dt { color: var(--magenta); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; }
.visit dd { margin: 4px 0 0; }
.visit dd a { color: inherit; }
.pedido { scroll-margin-top: 96px; }
.fields-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
form { display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-size: 0.92rem; }
input, select, textarea {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  padding: 12px 14px;
}
textarea { min-height: 140px; resize: vertical; }
.form-note { color: var(--navy); background: #e5f6ea; border-radius: 12px; padding: 12px 14px; }

.foot { background: var(--navy); color: #d9d6ea; padding: 42px 0 24px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; }
.foot a { color: var(--cream); }
.foot strong { color: white; display: block; margin-bottom: 8px; }
.legal { margin-top: 28px; color: #9aa0b8; font-size: 0.85rem; }

@media (max-width: 1100px) {
  .services, .piece-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .menu { display: inline-flex; }
  nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border-radius: 18px;
    padding: 10px;
    box-shadow: var(--shadow);
  }
  nav.is-open { display: flex; }
  nav .cta { margin: 4px 0 0; text-align: center; }
  .hero, .services, .works, .split, .contact-grid, .contact-layout, .foot-grid, .piece-grid, .piece-grid.quad, .piece-grid.pair, .fields-2 { grid-template-columns: 1fr; }
  .house { padding-bottom: 0; display: grid; gap: 14px; }
  .house .house-in { position: static; width: auto; }
  .stage { height: 380px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}
