:root {
  color-scheme: dark;
  --dark: #10100f;
  --light: #f7f5f1;
  --accent: #ff9c38;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--light);
  background: var(--dark);
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}
* { box-sizing: border-box; }
body, h1, h2, p, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.top {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #10100ff0;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #ffffff16;
}
nav, footer .wrap { display: flex; align-items: center; gap: 30px; min-height: 65px; }
.brand { margin-right: auto; }
.nav-link, footer a { font-size: .85rem; color: #d4d0cb; }
.nav-link:hover, footer a:hover { color: white; }
.contact span { color: var(--accent); margin-left: 3px; }
.hero { overflow: clip; }
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  min-height: min(840px, calc(100svh - 65px));
}
.intro { position: relative; z-index: 1; padding-block: 64px 84px; }
h1, h2 { letter-spacing: -.072em; line-height: .98; text-wrap: balance; }
h1 { font-size: clamp(4rem, 8vw, 8rem); max-width: 9ch; }
h1 span, .closing h2 span { color: var(--accent); }
.intro p { color: #ded9d1; font-size: clamp(1.18rem, 2.3vw, 1.8rem); margin: 24px 0 32px; }
.button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--accent);
  color: #1a1108;
  font-weight: 700;
  padding: 14px 19px;
  border-radius: 100px;
  transition: background .2s ease;
}
.button:hover { background: #ffb768; }
.product {
  align-self: stretch;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.product::before {
  content: "";
  position: absolute;
  inset: 7% -26%;
  z-index: -1;
  background: radial-gradient(ellipse at center, #9b471742, transparent 65%);
}
.product img {
  width: min(100%, 455px, 51svh);
  border-radius: clamp(16px, 3vw, 32px);
  object-fit: contain;
  filter: drop-shadow(0 30px 35px #0009);
  animation: appear .85s cubic-bezier(.2,.65,.25,1) both;
}
@keyframes appear {
  from { opacity: 0; transform: translateY(18px) scale(.965); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@supports (animation-timeline: view()) {
  .product {
    animation: approach linear both;
    animation-timeline: view();
    animation-range: exit 0% exit 85%;
  }
  @keyframes approach { to { transform: scale(1.1); } }
}
.explore { position: absolute; bottom: 25px; left: 0; font-size: .85rem; color: #ccc4ba; }
.explore span { color: var(--accent); margin-right: 7px; }
.service { background: var(--light); color: #171612; padding-block: clamp(70px, 11vw, 150px); }
h2 { font-size: clamp(2.9rem, 7vw, 6.6rem); }
.service h2 span { color: #5d5650; }
dl { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; margin-top: clamp(42px, 7vw, 84px); }
dl div { border-top: 1px solid #c9c2b9; padding-top: 18px; }
dt { font-size: clamp(1.3rem, 2vw, 1.75rem); font-weight: 750; }
dd { max-width: 34ch; color: #514a42; font-size: 1.12rem; line-height: 1.55; margin-top: 11px; }
.closing { text-align: center; padding-block: clamp(72px, 11vw, 145px); }
.closing p, .closing .button { margin-top: 30px; }
.closing p { color: #ccc4ba; }
footer { border-top: 1px solid #ffffff20; }
footer .wrap { justify-content: space-between; min-height: 78px; }
@media (max-width: 740px) {
  .wrap { width: calc(100% - 36px); }
  nav { gap: 15px; min-height: 58px; }
  .brand img { width: 95px; }
  .nav-link { font-size: .76rem; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; text-align: center; }
  .intro { padding-block: 52px 12px; }
  h1 { max-width: none; font-size: clamp(3.1rem, 12vw, 5.5rem); }
  .intro p { margin: 15px 0 22px; }
  .product img { width: min(63vw, 300px); }
  .explore { position: relative; bottom: auto; padding: 12px 0 24px; }
  dl { grid-template-columns: 1fr; gap: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .product, .product img { animation: none; }
  .button { transition: none; }
}

.machine {
  --machine-paper: #eeebe6;
  background: var(--machine-paper);
  color: #171612;
  padding-block: clamp(56px, 9vw, 112px);
}
.machine-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
}
.machine-copy h2 span { color: #a74500; }
.machine-copy p {
  max-width: 30ch;
  margin-top: 24px;
  color: #514a42;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.55;
}
.machine-photo {
  margin: 0;
  overflow: hidden;
  border-radius: clamp(16px, 3vw, 34px);
  background: #fff;
}
.machine-photo img { width: min(100%, 520px); margin-inline: auto; }
@media (max-width: 740px) {
  .machine-grid { grid-template-columns: 1fr; }
  nav { gap: clamp(8px, 2.1vw, 15px); }
  .brand img { width: clamp(68px, 23vw, 95px); }
}

.nav-links { display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); }
.nav-links .contact { color: var(--accent); }
.measurements { background: #e6e3de; }
.measurements dl { grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.measurements dt { font-size: .88rem; }
.measurements dd { font-size: clamp(1.25rem, 3vw, 2rem); }
@media (max-width: 480px) {
  :root { scroll-padding-top: 112px; }
  .top nav { flex-wrap: wrap; gap: 0; padding-block: 6px; }
  .nav-links { width: 100%; justify-content: space-between; gap: 6px; }
  .nav-links .nav-link { padding-block: 10px; white-space: nowrap; }
}

.machine-photo-labeled { position: relative; width: min(100%, 520px); justify-self: center; }
.machine-pin {
  position: absolute;
  display: grid;
  place-items: center;
  width: 2.25rem;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 2px solid white;
  border-radius: 50%;
  background: #10100f;
  color: white;
  font-weight: 750;
  box-shadow: 0 2px 10px #0006;
}
.machine-pin:is(:hover, :focus-visible) { background: #a74500; }
.machine-pin-deposits { left: 37%; top: 34%; }
.machine-pin-cups { left: 73%; top: 23%; }
.machine-pin-tray { left: 48%; top: 59%; }
.machine-pin-delivery { left: 73%; top: 50%; }
.machine-legend { margin: 28px 0 0; padding-inline-start: 1.7rem; }
.machine-legend li { padding: 10px 8px; }
.machine-legend li::marker { color: #a74500; font-weight: 750; }
.machine-legend li:target { background: #dfd7cd; border-radius: 8px; }
.machine-legend span { display: block; margin-top: 4px; color: #514a42; line-height: 1.4; }

.machine-features {
  margin: 20px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid #c9c2b9;
  list-style: none;
  display: grid;
  gap: 10px;
  line-height: 1.45;
}

.contact-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.closing .contact-actions .button { margin-top: 0; }
.button.instagram { background: transparent; color: var(--light); border: 1px solid #ffffff66; }
.button.instagram:hover { background: #ffffff16; }

.process { padding-block: clamp(64px, 10vw, 125px); }
.process h2 span, .questions h2 span { color: var(--accent); }
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.process-steps article { border-top: 1px solid #ffffff40; padding-top: 22px; }
.process-steps h3 { font-size: 1.5rem; letter-spacing: -.03em; margin: 0 0 12px; }
.process-steps p { color: #d4d0cb; line-height: 1.65; max-width: 33ch; }
.questions { background: #f7f5f1; color: #171612; padding-block: clamp(64px, 10vw, 125px); }
.questions h2 span { color: #a74500; }
.faq-list { margin-top: 48px; max-width: 850px; }
.faq-list details { border-bottom: 1px solid #c9c2b9; }
.faq-list summary { cursor: pointer; padding: 24px 4px; font-size: 1.15rem; font-weight: 650; }
.faq-list summary:focus-visible { outline: 2px solid #a74500; outline-offset: 4px; }
.faq-list details p { padding: 0 4px 24px; color: #514a42; max-width: 65ch; line-height: 1.65; }
.contact-details { display: grid; justify-items: center; gap: 16px; margin-top: 36px; }
.contact-details a { text-decoration: underline; text-underline-offset: 4px; }
.closing .contact-details p { margin: 0; font-size: .875rem; }
.nav-link, footer a { font-size: .875rem; }
@media (max-width: 900px) {
  .top nav { flex-wrap: wrap; gap: 0; padding-block: 8px; }
  .nav-links { width: 100%; justify-content: flex-start; gap: 22px; overflow-x: auto; }
  .nav-links .nav-link { flex-shrink: 0; padding-block: 12px; font-size: .875rem; white-space: nowrap; }
  :root { scroll-padding-top: 118px; }
}
@media (max-width: 740px) {
  .process-steps { grid-template-columns: 1fr; gap: 28px; margin-top: 36px; }
  .process-steps p { max-width: 60ch; }
}

.feedback { background: var(--light); color: #171612; padding-block: clamp(64px, 10vw, 125px); }
.feedback h2 span { color: #a74500; }
.feedback-quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 48px; }
.feedback blockquote { margin: 0; border-top: 1px solid #c9c2b9; padding-top: 26px; }
.feedback blockquote p { font-size: clamp(1.25rem, 2.4vw, 1.9rem); line-height: 1.45; letter-spacing: -.025em; max-width: 31ch; }
@media (max-width: 740px) {
  .feedback-quotes { grid-template-columns: 1fr; gap: 30px; }
}

.screen-journey { display: none; }
.has-scroll-intro .screen-journey { display: block; height: 300svh; position: relative; background: #10100f; }
.screen-stage { height: 100svh; position: sticky; top: 0; overflow: hidden; isolation: isolate; }
.machine-shot { position: absolute; inset: 0; display: grid; place-items: center; will-change: transform, opacity; }
.machine-shot img { width: auto; height: 90svh; max-width: 94vw; object-fit: contain; }
.scroll-invitation { position: absolute; left: 7%; bottom: 12%; font-size: clamp(1.5rem, 3vw, 3rem); font-weight: 650; letter-spacing: -.04em; text-shadow: 0 2px 16px #000; }
.scroll-invitation span { display: block; font-size: 1rem; font-weight: 400; margin-top: 12px; letter-spacing: 0; }
.screen-world { position: absolute; inset: 0; display: grid; place-items: center; background: #10100f; opacity: 0; clip-path: polygon(35% 25%, 58% 23%, 58% 35%, 35% 37%); }
.screen-message { width: min(100% - 36px, 1050px); text-align: center; }
.screen-brand { color: var(--accent); font-size: 1.2rem; margin-bottom: 24px; font-weight: 700; }
.screen-message h1 { max-width: none; font-size: clamp(3.2rem, 8vw, 7.5rem); }
.screen-message > p:not(.screen-brand) { font-size: clamp(1.2rem, 3vw, 2rem); margin: 24px 0 32px; color: #ded9d1; }
.skip-intro { position: absolute; top: 25px; right: 6%; font-size: .875rem; padding: 12px 18px; border: 1px solid #ffffff55; border-radius: 50px; background: #10100faa; }
#inicio { scroll-margin-top: 75px; }
@media (prefers-reduced-motion: reduce) {
  .has-scroll-intro .screen-journey { height: 100svh; }
  .screen-world { opacity: 1; clip-path: none; }
  .machine-shot, .scroll-invitation { display: none; }
}
