@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Libre+Baskerville:ital,wght@0,700;1,400&display=swap');

:root {
  --bg: #f1f5f9;
  --paper: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --primary: #0f172a;
  --accent: #d97706;
  --accent-light: #fef3c7;
  --danger-bg: #450a0a;
  --danger-text: #fecaca;
  --line: #cbd5e1;
  --radius: 12px;
  --font: "Inter", system-ui, sans-serif;
  --serif: "Libre Baskerville", Georgia, serif;
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); font-size: 1.05rem; line-height: 1.75; color: var(--ink); background: var(--bg); }
a { color: #b45309; }
img { max-width: 100%; height: auto; display: block; }

.alert-gob {
  background: var(--danger-bg);
  color: var(--danger-text);
  font-size: .8125rem;
  text-align: center;
  padding: .65rem 1rem;
  line-height: 1.5;
  border-bottom: 3px solid var(--accent);
}
.alert-gob strong { color: #fff; }

.header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
}
.header__in {
  max-width: var(--max); margin: 0 auto; padding: .85rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); }
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; display: block; }
.brand__sub { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.nav { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; }
.nav a { text-decoration: none; font-size: .84rem; font-weight: 600; color: var(--muted); }
.nav a:hover { color: var(--accent); }
.nav__cta { background: var(--accent); color: #fff !important; padding: .4rem .85rem; border-radius: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.hero { padding: 2.5rem 0 3.5rem; background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.hero h1 { font-family: var(--serif); font-size: clamp(1.85rem, 4vw, 2.75rem); line-height: 1.15; margin: 0 0 1rem; }
.hero__lead { color: var(--muted); font-size: 1.1rem; max-width: 60ch; }
.hero__domain-note {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  padding: 1rem 1.15rem;
  margin: 1.5rem 0;
  font-size: .9rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.btn {
  display: inline-flex; padding: .75rem 1.3rem; border-radius: 8px;
  font-weight: 700; font-size: .9rem; text-decoration: none; border: none; cursor: pointer;
}
.btn--amber { background: var(--accent); color: #fff; }
.btn--amber:hover { background: #b45309; color: #fff; text-decoration: none; }
.btn--outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn--outline:hover { background: var(--primary); color: #fff; text-decoration: none; }
.hero__btns { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.5rem; }

.section { padding: 3.5rem 0; }
.section--white { background: var(--paper); }
.h2 { font-family: var(--serif); font-size: 1.75rem; color: var(--primary); margin: 0 0 1rem; }
.muted { color: var(--muted); }

.grid-3 { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem; background: var(--paper);
}
.card h3 { font-size: 1.05rem; margin: 0 0 .5rem; }
.card p { margin: 0; font-size: .92rem; color: var(--muted); }

.article { padding: 2.5rem 0 4rem; }
.article h1 { font-family: var(--serif); font-size: 2rem; }
.article h2 { font-family: var(--serif); font-size: 1.3rem; margin-top: 2rem; }
.breadcrumb { font-size: .8rem; color: var(--muted); margin-bottom: 1rem; }

.faq details { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .65rem; background: var(--paper); padding: .85rem 1rem; }
.faq summary { font-weight: 700; cursor: pointer; }

.footer { background: var(--primary); color: #94a3b8; padding: 2.5rem 0 1.25rem; font-size: .85rem; }
.footer a { color: #fcd34d; text-decoration: none; }
.footer__warn { border-top: 1px solid #334155; margin-top: 1.5rem; padding-top: 1rem; font-size: .78rem; color: #64748b; }

.cookie-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--paper);
  border-top: 2px solid var(--accent);
  padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 32px rgba(15, 23, 42, .12);
}
.cookie-bar.is-hidden { display: none; }
.cookie-bar__box {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  justify-content: space-between;
}
.cookie-bar__text { flex: 1 1 280px; }
.cookie-bar__text p { margin: 0 0 .35rem; font-size: .875rem; color: var(--muted); line-height: 1.55; }
.cookie-bar__text p:first-child { color: var(--ink); font-size: .95rem; margin-bottom: .4rem; }
.cookie-bar__btns { display: flex; flex-wrap: wrap; gap: .5rem; flex: 0 0 auto; }
body.cookie-bar-visible { padding-bottom: calc(7.5rem + env(safe-area-inset-bottom, 0px)); }

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
  margin: 1rem 0 1.5rem;
}
.cookie-table th, .cookie-table td {
  border: 1px solid var(--line);
  padding: .65rem .75rem;
  text-align: left;
  vertical-align: top;
}
.cookie-table th { background: var(--accent-light); font-weight: 700; }
.cookie-prefs {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  margin: 1.5rem 0;
}
.cookie-prefs__status { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.cookie-prefs__btns { display: flex; flex-wrap: wrap; gap: .5rem; }

@media (max-width: 720px) {
  .cookie-bar__btns { width: 100%; }
  .cookie-bar__btns .btn { flex: 1 1 calc(50% - .25rem); justify-content: center; font-size: .82rem; padding: .65rem .75rem; }
  .cookie-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); padding: 1rem; border-bottom: 1px solid var(--line); }
  .menu-btn { display: block; border: 1px solid var(--line); background: var(--bg); padding: .35rem .6rem; border-radius: 6px; }
}
