/* Argentino Jeweler - plain static CSS. Palette: ivory ground, near-black ink,
   one deep green accent sampled from the logo (6.2:1 on ivory), silver hairlines. */

@font-face {
  font-family: "Marcellus";
  src: url("/assets/fonts/marcellus.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ivory: #FAFAF7;
  --panel: #FFFFFF;
  --ink: #16181A;
  --muted: #4F5457;
  --quiet: #6F7573;
  --hair: #C9CCCB;
  --accent: #1F6B3A;
  --accent-dark: #17582F;
  --display: "Marcellus", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* language switching: show only the span/div matching <html lang> */
html[lang="es"] [data-l="en"],
html[lang="en"] [data-l="es"] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
@media (min-width: 760px) { .wrap { padding: 0 32px; } }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--ink); color: var(--ivory); padding: 10px 16px; border-radius: 2px;
}
.skip:focus { top: 12px; color: var(--ivory); }

/* ------------------------------ header ------------------------------ */
.site-header { border-bottom: 1px solid var(--hair); background: var(--ivory); }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: block; line-height: 0; }
.brand img { border-radius: 4px; }
.nav { order: 3; width: 100%; }
.nav ul { display: flex; justify-content: space-between; list-style: none; margin: 0; padding: 0; }
.nav a { display: inline-block; padding: 10px 2px; color: var(--ink); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.nav a:hover { color: var(--accent); }
.lang-toggle {
  font: inherit; font-size: 0.9rem; font-weight: 500; color: var(--ink);
  background: transparent; border: 1px solid var(--hair); border-radius: 2px;
  min-height: 44px; padding: 0 16px; cursor: pointer;
}
.lang-toggle:hover { border-color: var(--ink); }
@media (min-width: 760px) {
  .nav { order: 0; width: auto; margin-left: auto; }
  .nav ul { gap: 32px; }
  .bar { flex-wrap: nowrap; padding-top: 14px; padding-bottom: 14px; }
}

/* ------------------------------ buttons ------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px; border-radius: 2px;
  font-weight: 600; font-size: 1rem; text-decoration: none; letter-spacing: 0.01em;
  border: 1.5px solid var(--accent); transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-text { border-color: transparent; padding: 0 8px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; color: var(--accent); }
.btn-text:hover { color: var(--accent-dark); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 28px 0 0; }

/* ------------------------------ hero ------------------------------ */
.hero { padding: 40px 0 56px; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero-mark {
  order: -1; background: var(--panel); border: 1px solid var(--hair);
  padding: 28px 24px;
}
.hero-mark img { width: min(100%, 460px); margin: 0 auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: 0.005em; margin: 0; }
h1 { font-size: clamp(2rem, 6.2vw, 3.35rem); line-height: 1.12; text-wrap: balance; }
.lead { font-size: 1.1875rem; color: var(--muted); max-width: 34em; margin: 20px 0 0; }
.hero-meta { margin: 22px 0 0; color: var(--quiet); font-size: 0.95rem; }
@media (min-width: 900px) {
  .hero { padding: 88px 0 104px; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 72px; }
  .hero-mark { order: 0; padding: 56px 40px; }
}

/* ------------------------------ sections ------------------------------ */
.sec { padding: 64px 0; border-top: 1px solid var(--hair); }
@media (min-width: 900px) { .sec { padding: 96px 0; } }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.2; }
h3 { font-size: 1.25rem; line-height: 1.3; }
.split { display: grid; gap: 28px; }
.split-head p { color: var(--muted); margin: 14px 0 0; max-width: 28em; }
@media (min-width: 900px) {
  .split { grid-template-columns: 0.8fr 1.2fr; gap: 72px; }
}
.prose p { margin: 0 0 1em; max-width: 36em; }
.prose p:last-child { margin-bottom: 0; }

.svc-list { list-style: none; margin: 0; padding: 0; }
.svc { padding: 20px 0; border-bottom: 1px solid var(--hair); }
.svc:first-child { padding-top: 0; }
.svc:last-child { border-bottom: 0; padding-bottom: 0; }
.svc p { margin: 6px 0 0; color: var(--muted); }

.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 28px; }
.step { border-top: 1px solid var(--ink); padding-top: 16px; }
.step .num { display: block; font-family: var(--display); font-size: 2.4rem; line-height: 1; color: var(--quiet); margin-bottom: 14px; }
.step p { margin: 8px 0 0; color: var(--muted); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 32px; } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.visit dl { margin: 0; }
.visit dl > div { padding: 18px 0; border-bottom: 1px solid var(--hair); display: grid; gap: 4px; }
.visit dl > div:first-child { padding-top: 0; }
.visit dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.visit dt { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.visit dd { margin: 0; }
@media (min-width: 600px) {
  .visit dl > div { grid-template-columns: 11rem 1fr; gap: 24px; }
  .visit dt { padding-top: 0.3em; }
}

/* ------------------------------ footer ------------------------------ */
.site-footer { border-top: 1px solid var(--hair); padding: 48px 0 28px; font-size: 0.95rem; color: var(--muted); }
.foot { display: grid; gap: 28px; }
.foot p { margin: 0 0 12px; }
.foot-name { font-family: var(--display); font-size: 1.2rem; color: var(--ink); }
.foot-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.foot-links a { display: inline-block; padding: 10px 0; }
.legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--hair); }
.legal p { margin: 0; font-size: 0.875rem; }
@media (min-width: 760px) {
  .foot { grid-template-columns: 1fr auto; align-items: start; }
}

/* ------------------------------ documents / 404 ------------------------------ */
.doc { max-width: 760px; padding-top: 48px; padding-bottom: 72px; }
.doc h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); }
.doc .meta { color: var(--quiet); font-size: 0.95rem; margin: 10px 0 32px; }
.doc h2 { font-size: 1.4rem; margin: 36px 0 10px; }
.doc p, .doc li { max-width: 40em; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: 8px; }
.nf { padding-top: 56px; padding-bottom: 88px; max-width: 640px; }
.nf img { width: min(300px, 70%); margin-bottom: 36px; }
.nf p { color: var(--muted); }

/* ------------------------------ mobile call bar ------------------------------ */
.callbar { display: none; }
@media (max-width: 759px) {
  .callbar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--ivory); border-top: 1px solid var(--hair);
  }
  .callbar .btn { flex: 1; }
  body { padding-bottom: 76px; }
}

/* ------------------------------ motion ------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  html.motion-ready .rv { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
  html.motion-ready .rv.in { opacity: 1; transform: none; }
  html.motion-ready .steps .rv:nth-child(2) { transition-delay: .08s; }
  html.motion-ready .steps .rv:nth-child(3) { transition-delay: .16s; }
  html.motion-ready .steps .rv:nth-child(4) { transition-delay: .24s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
