@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --paper: #f5f3f9;
  --ink: #211b30;
  --muted: #514960;
  --rule: #d7d0e3;
  --accent: #e6e0fa;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 "Space Grotesk", Arial, sans-serif; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #6650a4; outline-offset: 5px; }
.wrap { width: min(1216px, calc(100% - 72px)); margin: auto; }
header, footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; }
header { border-bottom: 1px solid var(--rule); }
.brand, .brand img { display: block; }
.brand img { object-fit: contain; object-position: left center; }
nav { display: flex; gap: clamp(14px, 4vw, 42px); }
nav a, footer > a:last-child { text-decoration: none; font-size: 15px; font-weight: 600; }
nav a:hover, footer > a:last-child:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; padding: 64px 0 76px; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2 { line-height: .94; letter-spacing: -.072em; font-weight: 600; }
h1 { font-size: clamp(67px, 8.2vw, 125px); }
h1 em { font: italic 1.12em/.8 "Instrument Serif", Georgia, serif; letter-spacing: -.037em; color: #503b87; }
h2 { font-size: clamp(46px, 6vw, 79px); }
.hero-copy p { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 390px; margin: 27px 0 25px; }
.button { display: inline-flex; gap: 28px; align-items: center; padding: 13px 18px; border: 1px solid var(--ink); border-radius: 7px; background: var(--accent); font-weight: 700; text-decoration: none; }
.button:hover { background: var(--ink); color: var(--accent); }
.hero-art { min-height: 440px; display: grid; place-items: center; overflow: hidden; border-radius: 12px; background-color: #ebe4f8; background-image: radial-gradient(#b5a6cd 1px, transparent 1px); background-size: 18px 18px; padding: 38px; }
.art-window { width: min(100%, 440px); border: 1px solid #413555; border-radius: 12px; background: #241b3b; box-shadow: 0 18px 35px #261c4333; overflow: hidden; transform: rotate(-6deg); }
.window-bar { display: flex; align-items: center; padding: 10px 13px; gap: 5px; background: #372c4d; color: #ece5f8; font-size: 11px; }
.window-bar i { width: 6px; height: 6px; background: #baaccd; border-radius: 50%; }
.window-bar span { margin-left: auto; }
.grid-art { background-image: linear-gradient(#483962 1px, transparent 1px), linear-gradient(90deg,#483962 1px,transparent 1px); background-size: 31px 31px; }
.grid-art svg { display: block; width: 100%; }
.portfolio { border-top: 1px solid var(--rule); padding: 46px 0 65px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 26px; }
.section-head p, .card-copy p, dd { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.cards article { border: 1px solid var(--rule); background: #fdfcff; border-radius: 12px; overflow: hidden; }
.tile { height: clamp(170px, 22vw, 270px); display: grid; place-items: center; overflow: hidden; }
.bolso { background: #cfddbf; }
.phone { width: 116px; border: 4px solid #263c2a; border-radius: 17px; padding: 11px 9px; background: #f4f7eb; transform: rotate(-10deg) translateY(8px); box-shadow: 10px 13px 0 #56725740; }
.phone-title { font-weight: 700; font-size: 12px; }
.balance { padding: 7px; margin: 7px 0; background: #263c2a; color: white; border-radius: 5px; font-size: 8px; }
.balance span { display: block; width: 42px; height: 5px; border-radius: 3px; background: var(--accent); margin: 4px 0; }
.chart { height: 42px; display: flex; align-items: end; gap: 5px; }
.chart i { flex: 1; background: #769d61; height: 55%; border-radius: 3px 3px 0 0; }
.chart i:nth-child(2n) { height: 70%; }
.chart i:nth-child(5), .chart i:last-child { height: 94%; }
.stub { background: #dbe6d4; height: 6px; margin-top: 6px; border-radius: 5px; }
.pdv { background: #cbd5e6; }
.terminal { width: min(76%, 244px); overflow: hidden; border-radius: 8px; background: #eff3f9; transform: rotate(7deg); box-shadow: 8px 10px 0 #3a4b7050; }
.terminal-bar { background: #25324f; padding: 9px 12px; color: #f3f5fb; font-size: 12px; font-weight: 700; }
.terminal-body { display: grid; grid-template-columns: 1fr .66fr; gap: 8px; padding: 9px; }
.terminal-products { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.terminal-products div { min-height: 33px; border-radius: 4px; background: #c4cfee; }
.terminal-products div:nth-child(2n) { background: #d8dfef; }
.terminal-order { padding: 5px; border-radius: 4px; background: white; font-size: 8px; font-weight: 700; }
.terminal-order i, .terminal-order b { display: block; height: 4px; margin-top: 6px; border-radius: 3px; background: #e3e9f4; }
.terminal-order b { height: 12px; background: #4f63ad; }
.mel { background: #e8d5b5; }
.jewelry { width: min(74%, 220px); padding: 11px 14px; border: 1px solid #a38a68; background: #f8efe1; transform: rotate(-5deg); box-shadow: 8px 10px 0 #6b503931; }
.jewelry span { display: block; color: #5d4028; text-align: center; font: 27px "Instrument Serif", Georgia, serif; padding-bottom: 5px; }
.rings { height: 85px; position: relative; display: grid; place-items: center; background: #d9bea1; }
.rings i { display: block; border: 6px ridge #b68b51; width: 46px; height: 54px; border-radius: 50%; transform: translate(-12px, 1px) rotate(30deg); }
.rings i + i { position: absolute; transform: translate(16px, 1px) rotate(-36deg); }
.card-copy { padding: 16px 17px 20px; }
h3 { font-size: clamp(21px, 2.5vw, 29px); line-height: 1.15; letter-spacing: -.04em; margin-bottom: 6px; }
.services { display: grid; grid-template-columns: .8fr 1fr; gap: 35px; padding: clamp(24px, 5vw, 54px); background: #ede7f7; border-radius: 12px; }
.services dl div { border-top: 1px solid #aea2c6; padding: 13px 0; }
.services dt { font-size: 19px; font-weight: 700; }
footer { margin-top: 54px; border-top: 1px solid var(--rule); }
@media (max-width: 890px) {
  .wrap { width: calc(100% - 48px); }
  .hero-art { min-height: 345px; padding: 24px; }
  .hero { gap: 22px; }
}
@media (max-width: 670px) {
  .wrap { width: calc(100% - 32px); }
  header { padding: 16px 0; gap: 10px; }
  header img { width: 130px; height: 32px; }
  nav a { font-size: 14px; }
  .hero, .services, .cards { grid-template-columns: 1fr; }
  .hero { padding: 38px 0 48px; gap: 30px; }
  h1 { font-size: clamp(56px, 13vw, 86px); }
  .hero-art { min-height: 250px; }
  .section-head { display: grid; }
  .tile { height: 210px; }
  .services { gap: 25px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
