/* Parra Joyeros — estilos. Sin dependencias externas: fuentes alojadas en /assets/fonts */

@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: italic; font-display: swap; src: url("fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 300; font-style: normal; font-display: swap; src: url("fonts/jost-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/jost-latin-500-normal.woff2") format("woff2"); }

:root {
  --paper: #ffffff;
  --paper-2: #f8f6f3;
  --ink: #1f1c19;
  --ink-soft: #57514b;
  --line: #e7e2db;
  --orange: #ff914d;      /* naranja del logotipo: solo decorativo */
  --gold: #e07a2e;        /* naranja medio: cifras y titulares grandes */
  --gold-deep: #b5561a;   /* naranja oscuro: textos pequeños (contraste AA) */
  --night: #1b1814;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--orange); color: var(--ink); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 10; }

/* Tipografía */
body, h1, h2, h3, .lead, .big-number, .contact-list .value { font-variant-numeric: lining-nums; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -0.005em; }
h1 { font-size: clamp(44px, 7.5vw, 92px); font-weight: 400; }
h2 { font-size: clamp(34px, 4.6vw, 54px); }
h3 { font-size: clamp(25px, 2.6vw, 30px); }
p { margin: 0 0 1em; }
.eyebrow {
  font-family: var(--sans); font-weight: 500; font-size: 12px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold-deep); margin: 0 0 18px; display: block;
}
.lead { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.45; color: var(--ink); }
em.gold { font-style: italic; color: var(--gold-deep); }

/* Cabecera */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 52px; width: auto; }
.brand span { font-family: var(--serif); font-size: 24px; font-weight: 500; letter-spacing: 0.02em; }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); }
@media (max-width: 760px) { .nav { display: none; } }

/* Botones */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 400; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; padding: 14px 26px; border: 1px solid var(--ink); color: var(--ink);
  transition: background .25s, color .25s;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn.solid { background: var(--ink); color: var(--paper); }
.btn.solid:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.site-footer { border-top: 4px solid var(--orange); }
.btn.light { border-color: var(--paper); color: var(--paper); }
.btn.light:hover { background: var(--paper); color: var(--ink); }

/* Hero */
.hero { padding: clamp(48px, 9vw, 110px) 0 clamp(56px, 8vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 em { font-style: italic; color: var(--gold-deep); }
.hero .lead { margin: 28px 0 36px; max-width: 30ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero figure { margin: 0; position: relative; }
.hero figure img { width: 100%; aspect-ratio: 4 / 5; max-height: 76vh; object-fit: cover; }
.hero .frame { position: relative; z-index: 0; }
.hero .frame::before {
  content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid var(--orange); z-index: -1;
}
@media (max-width: 860px) { .hero .frame::before { inset: -10px 10px 10px -10px; } }
figcaption { font-size: 13px; color: var(--ink-soft); margin-top: 12px; font-style: italic; font-family: var(--serif); font-size: 17px; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero figure { order: -1; }
  .hero figure img { aspect-ratio: 4 / 3; }
}

/* Secciones */
section { scroll-margin-top: 80px; }
.section { padding: clamp(72px, 10vw, 130px) 0; }
.section.alt { background: var(--paper-2); }
.section-head { max-width: 680px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head p { color: var(--ink-soft); margin-top: 20px; }

/* Cifra / oficio */
.oficio .wrap { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 7vw, 96px); align-items: start; }
.big-number { font-family: var(--serif); font-size: clamp(110px, 16vw, 200px); line-height: .85; color: var(--gold); font-weight: 400; }
.big-number small { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); margin-top: 18px; line-height: 1.5; }
@media (max-width: 760px) { .oficio .wrap { grid-template-columns: 1fr; } }

/* Servicios */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.service { padding: clamp(32px, 4vw, 48px) clamp(0px, 3vw, 40px) clamp(32px, 4vw, 48px) 0; border-bottom: 1px solid var(--line); }
.service:nth-child(odd) { border-right: 1px solid var(--line); }
.service:nth-child(even) { padding-left: clamp(24px, 3vw, 40px); padding-right: 0; }
.service .num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 20px; display: block; margin-bottom: 14px; }
.service h3 { margin-bottom: 8px; }
.service .tag { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--ink-soft); margin-bottom: 16px; line-height: 1.35; }
.service p:last-child { margin-bottom: 0; }
@media (max-width: 760px) {
  .services { grid-template-columns: 1fr; }
  .service, .service:nth-child(even) { padding-left: 0; padding-right: 0; border-right: 0; }
}

/* Proceso (galería) */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 32px); }
.process figure { margin: 0; }
.process img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #fff; }
.process .step { font-family: var(--sans); font-weight: 500; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); margin-top: 16px; display: block; }
.process figcaption { margin-top: 4px; font-style: normal; font-size: 20px; color: var(--ink); }
@media (max-width: 760px) { .process { grid-template-columns: 1fr; } }

/* Dos caminos */
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.way img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #fff; margin-bottom: 22px; }
.way .step { font-weight: 500; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); display: block; margin-bottom: 10px; }
.way h3 { margin-bottom: 12px; }
.way p { color: var(--ink-soft); margin: 0; }
.ways-note { font-family: var(--serif); font-style: italic; font-size: clamp(21px, 2.2vw, 25px); color: var(--ink); text-align: center; margin: clamp(40px, 6vw, 64px) auto 0; max-width: 40ch; }
@media (max-width: 760px) { .ways { grid-template-columns: 1fr; } }

/* Banda gratuita */
.band { background: var(--night); color: var(--paper); padding: clamp(56px, 8vw, 96px) 0; }
.band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.band h2 { color: var(--paper); max-width: 22ch; }
.band h2 em { color: var(--orange); font-style: italic; }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 26px 48px 26px 0; position: relative;
  font-family: var(--serif); font-size: clamp(21px, 2.2vw, 25px); font-weight: 500; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px;
  border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  transform: translateY(-75%) rotate(45deg); transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq .answer { padding: 0 0 26px; color: var(--ink-soft); max-width: 70ch; }
.faq summary:focus-visible, a:focus-visible, .btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Contacto */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.contact-list li { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 120px 1fr; gap: 16px; }
.contact-list .label { font-weight: 500; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); padding-top: 6px; }
.contact-list .value { font-family: var(--serif); font-size: 23px; line-height: 1.35; }
.contact-list .value a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-list .value a:hover { border-color: var(--orange); }
.contact-list .value small { display: block; font-family: var(--sans); font-size: 14px; color: var(--ink-soft); }
.contact figure { margin: 0; }
.contact figure img { width: 100%; aspect-ratio: 4 / 5; max-height: 640px; object-fit: cover; object-position: 50% 20%; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .contact-list li { grid-template-columns: 1fr; gap: 4px; } }

/* Pie */
.site-footer { background: var(--night); color: #cfc5b4; padding: 56px 0 40px; font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; align-items: flex-end; }
.site-footer .name { font-family: var(--serif); font-size: 26px; color: var(--paper); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { color: #cfc5b4; text-decoration: none; }
.site-footer a:hover { color: var(--paper); text-decoration: underline; }

/* Páginas legales */
.legal { padding: clamp(56px, 8vw, 96px) 0 clamp(72px, 10vw, 120px); }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 12px; }
.legal .updated { color: var(--ink-soft); font-size: 14px; margin-bottom: 48px; }
.legal h2 { font-size: 28px; margin: 44px 0 14px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal strong { color: var(--ink); font-weight: 500; }
.legal dl { display: grid; grid-template-columns: 140px 1fr; gap: 10px 20px; margin: 0 0 1em; }
.legal dt { font-weight: 500; color: var(--ink); }
.legal dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 480px) { .legal dl { grid-template-columns: 1fr; gap: 2px; } .legal dd { margin-bottom: 10px; } }
.back { display: inline-block; margin-bottom: 32px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); text-decoration: none; }
.back:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media (max-width: 480px) { .brand img { height: 42px; } }
