/* Hora y Oro — v1 pública: página de presentación, sin catálogo.
   Dirección de arte: premium por espacio, tipografía y ritmo — no por dorado
   y serifas por todas partes (BRIEF §7). Playfair Display para titulares,
   Inter para el resto. El dorado se reserva a acentos grandes, botones e
   iconos: en texto pequeño sobre fondo claro no pasa AA, así que las
   etiquetas ("kicker") usan el bronce, más oscuro. */

/* Tipografía alojada en el propio repo (fuentes/), no en Google Fonts:
   BRIEF §11 pide "sin cookies de terceros", y no tenía sentido aplazar la
   carga del mapa por eso y mandar la IP de cada visitante a Google en toda
   petición de página. Ficheros descargados del CSS real que servía
   fonts.googleapis.com para estas familias/pesos, quedándonos solo con el
   subset "latin" (U+0000-00FF y compañía: cubre ñ/á/é/í/ó/ú/ü/¿/¡, que es
   todo lo que hace falta en español) — los subsets cyrillic/greek/
   vietnamese que también sirve Google no aportan nada aquí y solo pesan.
   Un mismo fichero .woff2 sirve varios pesos porque es una fuente variable
   y así lo servía ya el propio Google (comprobado en el CSS descargado):
   no es un error, es la misma estructura que ya estaba funcionando. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fuentes/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fuentes/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fuentes/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fuentes/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fuentes/playfair-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fuentes/playfair-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fuentes/playfair-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --marfil: #F7F3EC;
  --champan: #EFE6D8;
  --dorado: #C6A15B;
  --dorado-suave: #DCC48F;
  --bronce: #7C5E36;
  --carbon: #1C1A17;
  --bg: var(--marfil);
  --surface: #FFFFFF;
  --line: #E4D9C7;
  --text: var(--carbon);
  --muted: #6F685F;
  --accent: var(--dorado);
  --accent-deep: var(--bronce);
  --whatsapp-verde: #1F7A52;
  --radius: 4px;
  --container: min(1180px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
ul,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0.01em;
  font-weight: 600;
  line-height: 1.15;
}

ul {
  list-style: none;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.kicker {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-deep);
}

/* ---------- Cabecera ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.nav-y-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.menu {
  display: flex;
  gap: clamp(14px, 2.4vw, 30px);
  overflow-x: auto;
  scrollbar-width: none;
  font-size: 0.88rem;
  font-weight: 500;
}

.menu::-webkit-scrollbar {
  display: none;
}

.menu a {
  white-space: nowrap;
  padding-block: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.menu a:hover {
  border-color: var(--accent-deep);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--whatsapp-verde);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-whatsapp:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(31, 122, 82, 0.28);
}

.btn-whatsapp svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.menu-row {
  border-top: 1px solid var(--line);
  padding-block: 10px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-block: clamp(64px, 12vw, 128px);
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 85% 0%, rgba(198, 161, 91, 0.16), transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 100%, rgba(124, 94, 54, 0.10), transparent 60%);
}

.hero-inner {
  max-width: 720px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  margin-block: 18px 22px;
}

.hero p.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 34px;
}

.link-arrow {
  font-weight: 600;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--accent-deep);
  padding-bottom: 2px;
}

/* ---------- Secciones genéricas ---------- */

section {
  padding-block: clamp(56px, 9vw, 104px);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin-top: 12px;
}

.section-head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-alt {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

/* ---------- Alianzas ---------- */

.alianzas {
  background: var(--carbon);
  color: var(--marfil);
}

.alianzas .kicker {
  color: var(--dorado-suave);
}

.alianzas .section-head p {
  color: rgba(247, 243, 236, 0.78);
}

.alianzas-copy {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: end;
}

.alianzas-copy p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: rgba(247, 243, 236, 0.86);
}

.alianzas .btn-outline {
  margin-top: 28px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--dorado-suave);
  color: var(--marfil);
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-outline:hover {
  background: var(--dorado-suave);
  color: var(--carbon);
}

@media (max-width: 760px) {
  .alianzas-copy {
    grid-template-columns: 1fr;
  }
}

/* ---------- Marcas ---------- */

.marcas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.marca-item {
  background: var(--surface);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.marca-item strong {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
}

.marca-item span {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

@media (max-width: 760px) {
  .marcas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .marcas-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Taller ---------- */

.taller-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.taller-item {
  padding-top: 20px;
  border-top: 2px solid var(--accent);
}

.taller-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.taller-item p {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .taller-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .taller-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Joya aragonesa ---------- */

.aragon {
  background:
    linear-gradient(135deg, var(--champan), var(--marfil));
}

.aragon-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}

.aragon-body p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text);
}

.aragon .section-head {
  margin-bottom: 0;
}

.aragon-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.aragon-tags li {
  border: 1px solid var(--accent-deep);
  color: var(--accent-deep);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.86rem;
  font-weight: 600;
}

@media (max-width: 760px) {
  .aragon-body {
    grid-template-columns: 1fr;
  }
}

/* ---------- Tienda ---------- */

.tienda-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.tienda-foto {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  max-width: 420px;
}

.tienda-foto img {
  width: 100%;
  height: auto;
}

.tienda-info dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 20px;
  font-size: 1rem;
}

.tienda-info dt {
  font-weight: 600;
  color: var(--accent-deep);
}

.tienda-info dd {
  color: var(--text);
}

.mapa-card {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.mapa-placeholder {
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 24px;
  background:
    repeating-linear-gradient(0deg, var(--champan) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, var(--champan) 0 1px, transparent 1px 32px),
    var(--marfil);
}

.mapa-placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.mapa-nota {
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 32ch;
}

.btn-mapa {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--accent-deep);
  color: var(--accent-deep);
  background: transparent;
  font: inherit;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-mapa:hover {
  background: var(--accent-deep);
  color: #fff;
}

.como-llegar {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: 1px solid var(--accent-deep);
}

@media (max-width: 760px) {
  .tienda-grid {
    grid-template-columns: 1fr;
  }
  .tienda-foto {
    max-width: 320px;
  }
}

/* ---------- Pie ---------- */

.footer {
  padding-block: 48px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  height: 42px;
  width: auto;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-contact {
  font-size: 0.9rem;
  color: var(--muted);
  text-align: right;
}

.footer-contact a {
  color: var(--accent-deep);
  font-weight: 600;
}

@media (max-width: 640px) {
  .footer {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .footer-contact {
    text-align: left;
  }
}
