/* ============================================================
   caminitodelreytickets.eu — style.css
   Minimal · Modern · Focused: entry tickets WITHOUT a guide
   Prefix: cdr-  ·  Fonts: Lora + Manrope
   Palette: terracotta + sandstone + warm white
   ============================================================ */

:root {
  --cdr-accent: #e36344;
  --cdr-accent-dark: #c54a2d;
  --cdr-accent-soft: #fbeae3;
  --cdr-paper: #ffffff;
  --cdr-bg: #faf6f0;
  --cdr-sandstone: #f3eadb;
  --cdr-ink: #1f1a18;
  --cdr-ink-soft: #6e6259;
  --cdr-line: #e8dec9;
  --cdr-shadow-sm: 0 1px 2px rgba(31, 26, 24, 0.05);
  --cdr-shadow: 0 4px 24px rgba(31, 26, 24, 0.08);
  --cdr-radius: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--cdr-ink);
  background: var(--cdr-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }

a {
  color: var(--cdr-accent-dark);
  text-decoration: none;
  transition: color 0.18s ease;
}
a:hover { color: var(--cdr-accent); }

strong { font-weight: 600; color: var(--cdr-ink); }

/* Typography ========================================================= */
h1, h2, h3, h4 {
  font-family: 'Lora', 'Georgia', serif;
  font-weight: 600;
  color: var(--cdr-ink);
  letter-spacing: -0.012em;
  line-height: 1.18;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.45rem, 2.8vw, 2rem); margin-top: 0.4em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }

p { margin: 0 0 1.1em; }

/* Layout ============================================================= */
.cdr-page { overflow-x: hidden; }

.cdr-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.cdr-section { padding: 4rem 0; }
.cdr-section--tight { padding: 3rem 0; }
.cdr-section--bg { background: var(--cdr-paper); }

/* Header (sticky CTA, no lang switcher) ============================== */
.cdr-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cdr-line);
}
.cdr-header__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cdr-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--cdr-ink);
  flex-shrink: 0;
}
.cdr-logo__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--cdr-accent);
  color: white;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.cdr-logo__icon svg {
  width: 22px;
  height: 22px;
  stroke: white;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cdr-logo__text { line-height: 1.15; }
.cdr-logo__name {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--cdr-ink);
  display: block;
}
.cdr-logo__sub {
  font-size: 0.72rem;
  color: var(--cdr-ink-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Buttons ============================================================ */
.cdr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  white-space: nowrap;
}
.cdr-btn--primary {
  background: var(--cdr-accent);
  color: white;
  box-shadow: 0 4px 14px rgba(227, 99, 68, 0.3);
}
.cdr-btn--primary:hover {
  background: var(--cdr-accent-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(197, 74, 45, 0.38);
}
.cdr-page a.cdr-btn--primary { color: white; }

.cdr-btn--small {
  padding: 0.55rem 1.1rem;
  font-size: 0.83rem;
}

.cdr-btn--big {
  padding: 1.05rem 2.2rem;
  font-size: 1rem;
}

/* Hero =============================================================== */
.cdr-hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  color: white;
  padding: 5rem 0 4rem;
  background:
    linear-gradient(135deg,
      rgba(31, 26, 24, 0.72) 0%,
      rgba(31, 26, 24, 0.42) 50%,
      rgba(197, 74, 45, 0.65) 100%),
    url("img/foto-cdr-1.jpg") center/cover no-repeat;
}
.cdr-hero__wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}
.cdr-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: white;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.cdr-hero__pill::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--cdr-accent);
  border-radius: 50%;
}
.cdr-hero__h1 {
  color: white;
  max-width: 880px;
  margin-bottom: 1.3rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}
.cdr-hero__lead {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  max-width: 720px;
  color: rgba(255, 255, 255, 0.94);
  margin-bottom: 2.2rem;
  line-height: 1.6;
}
.cdr-hero__cta-row {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  align-items: center;
}
.cdr-hero__cta-hint {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.cdr-hero__cta-hint::before {
  content: "✓";
  color: var(--cdr-accent);
  font-weight: 700;
}

/* Intro ============================================================== */
.cdr-intro {
  background: var(--cdr-paper);
  padding: 3.5rem 0;
}
.cdr-intro__lead {
  max-width: 820px;
  font-size: 1.08rem;
  color: var(--cdr-ink);
}
.cdr-intro__lead p { margin-bottom: 1.2em; }

.cdr-widget {
  margin: 2rem 0;
  padding: 0.5rem;
  background: var(--cdr-bg);
  border-radius: var(--cdr-radius);
  border: 1px solid var(--cdr-line);
  max-width: 980px;
}

/* Section content (paragraphs) =======================================*/
.cdr-prose {
  max-width: 820px;
}
.cdr-prose p { margin-bottom: 1.15em; }

/* Prices table ========================================================*/
.cdr-pricetable-wrap {
  max-width: 880px;
  margin: 1.8rem 0;
  background: var(--cdr-paper);
  border: 1px solid var(--cdr-line);
  border-radius: var(--cdr-radius);
  overflow: hidden;
  box-shadow: var(--cdr-shadow);
}
.cdr-pricetable {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97rem;
}
.cdr-pricetable th {
  background: var(--cdr-ink);
  color: white;
  text-align: left;
  padding: 1rem 1.2rem;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cdr-pricetable th:nth-child(3) {
  background: var(--cdr-accent);
}
.cdr-pricetable td {
  padding: 0.95rem 1.2rem;
  border-bottom: 1px solid var(--cdr-line);
  vertical-align: middle;
}
.cdr-pricetable tr:last-child td { border-bottom: none; }
.cdr-pricetable td:first-child {
  font-weight: 500;
  color: var(--cdr-ink);
}
.cdr-pricetable td:nth-child(3) {
  background: var(--cdr-accent-soft);
  font-weight: 600;
  color: var(--cdr-ink);
}

/* GYG callout card ====================================================*/
.cdr-gyg {
  margin: 2rem 0 0.5rem;
  background: var(--cdr-paper);
  border: 1px solid var(--cdr-line);
  border-radius: var(--cdr-radius);
  padding: 2rem 1.8rem;
  max-width: 880px;
  box-shadow: var(--cdr-shadow);
  position: relative;
  overflow: hidden;
}
.cdr-gyg::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cdr-accent), var(--cdr-accent-dark));
}
.cdr-gyg__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.4rem;
}
.cdr-gyg__title {
  font-size: 1.3rem;
  margin: 0;
}
.cdr-gyg__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--cdr-accent-soft);
  color: var(--cdr-accent-dark);
  font-size: 0.74rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}
.cdr-gyg__badge::before { content: "★"; }
.cdr-gyg__rating {
  color: var(--cdr-ink-soft);
  font-size: 0.9rem;
  padding-bottom: 1.1rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--cdr-line);
}

.cdr-bullets {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1.5rem;
}
.cdr-bullets li {
  padding: 0.45rem 0 0.45rem 1.7rem;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.5;
}
.cdr-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78rem;
  width: 16px;
  height: 16px;
  background: var(--cdr-accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}
.cdr-bullets li strong { display: block; color: var(--cdr-ink); font-weight: 600; }

/* Tips ================================================================*/
.cdr-tips {
  list-style: none;
  counter-reset: cdr-tip;
  padding: 0;
  margin: 1.5rem 0;
  max-width: 880px;
}
.cdr-tips li {
  counter-increment: cdr-tip;
  background: var(--cdr-paper);
  border: 1px solid var(--cdr-line);
  border-radius: var(--cdr-radius);
  padding: 1.1rem 1.4rem 1.1rem 3.6rem;
  margin-bottom: 0.7rem;
  position: relative;
  box-shadow: var(--cdr-shadow-sm);
}
.cdr-tips li::before {
  content: counter(cdr-tip);
  position: absolute;
  left: 1.1rem;
  top: 1.15rem;
  width: 1.8rem;
  height: 1.8rem;
  background: var(--cdr-accent-soft);
  color: var(--cdr-accent-dark);
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.cdr-tips li strong { color: var(--cdr-ink); }

/* What to see — 3 wide bullets ========================================*/
.cdr-what {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}
.cdr-what li {
  background: var(--cdr-paper);
  border: 1px solid var(--cdr-line);
  border-radius: var(--cdr-radius);
  padding: 1.4rem 1.3rem;
  position: relative;
  box-shadow: var(--cdr-shadow-sm);
}
.cdr-what li::before {
  content: "";
  display: block;
  width: 32px;
  height: 3px;
  background: var(--cdr-accent);
  border-radius: 2px;
  margin-bottom: 0.85rem;
}
.cdr-what li strong {
  display: block;
  color: var(--cdr-ink);
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

/* Practical facts =====================================================*/
.cdr-facts {
  width: 100%;
  max-width: 880px;
  border-collapse: collapse;
  margin: 1.4rem 0;
  background: var(--cdr-paper);
  border: 1px solid var(--cdr-line);
  border-radius: var(--cdr-radius);
  overflow: hidden;
  box-shadow: var(--cdr-shadow-sm);
}
.cdr-facts td {
  padding: 0.75rem 1.1rem;
  border-bottom: 1px solid var(--cdr-line);
  font-size: 0.94rem;
  vertical-align: middle;
}
.cdr-facts tr:last-child td { border-bottom: none; }
.cdr-facts td:first-child {
  font-weight: 600;
  color: var(--cdr-ink-soft);
  width: 38%;
  background: var(--cdr-sandstone);
  font-size: 0.88rem;
}

/* Sticky bottom CTA (mobile + tablet small) ==========================*/
.cdr-stickybar {
  display: none;
}

/* Footer ==============================================================*/
.cdr-footer {
  background: var(--cdr-ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 3.5rem 0 1.8rem;
  margin-top: 3rem;
}
.cdr-footer__top {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2.5rem;
}
.cdr-footer h4 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
  font-family: 'Lora', serif;
  letter-spacing: 0.01em;
}
.cdr-footer p {
  font-size: 0.88rem;
  margin-bottom: 0.7rem;
  line-height: 1.6;
}
.cdr-footer__unofficial {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.81rem;
}
.cdr-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}
.cdr-footer a:hover { color: var(--cdr-accent); }
.cdr-footer__langs {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.9rem;
}
.cdr-footer__langs a.is-active {
  color: var(--cdr-accent);
  font-weight: 600;
}
.cdr-footer__bottom {
  max-width: 1180px;
  margin: 2.5rem auto 0;
  padding: 1.4rem 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}
.cdr-footer__bottom p { margin-bottom: 0.35rem; }

/* 404 =================================================================*/
.cdr-404 {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
}
.cdr-404 h1 { font-size: 2.2rem; margin-bottom: 1rem; }
.cdr-404 p { max-width: 480px; margin-bottom: 1.5rem; color: var(--cdr-ink-soft); }

/* Mobile ==============================================================*/
@media (max-width: 880px) {
  .cdr-bullets { grid-template-columns: 1fr; }
  .cdr-what { grid-template-columns: 1fr; gap: 0.8rem; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .cdr-section { padding: 2.8rem 0; }
  .cdr-section--tight { padding: 2.2rem 0; }
  .cdr-hero { min-height: 480px; padding: 3rem 0 2.5rem; }

  .cdr-btn { width: 100%; }
  .cdr-hero__cta-row { flex-direction: column; align-items: stretch; }
  .cdr-hero__cta-hint { justify-content: center; }

  .cdr-header__inner { padding: 0.7rem 1rem; gap: 0.5rem; }
  .cdr-logo__name { font-size: 0.95rem; }
  .cdr-logo__sub { font-size: 0.68rem; }
  .cdr-logo__icon { width: 36px; height: 36px; }

  .cdr-footer__top { grid-template-columns: 1fr; gap: 1.6rem; }

  /* Mobile price table: stacked */
  .cdr-pricetable thead { display: none; }
  .cdr-pricetable tr {
    display: block;
    border-bottom: 1px solid var(--cdr-line);
    padding: 0.5rem 0;
  }
  .cdr-pricetable tr:last-child { border-bottom: none; }
  .cdr-pricetable td {
    display: flex;
    justify-content: space-between;
    padding: 0.55rem 1rem;
    border-bottom: none;
  }
  .cdr-pricetable td:first-child {
    background: var(--cdr-sandstone);
    font-weight: 600;
  }
  .cdr-pricetable td:nth-child(2)::before { content: "Official: "; color: var(--cdr-ink-soft); font-weight: 500; }
  .cdr-pricetable td:nth-child(3)::before { content: "GYG: "; color: var(--cdr-accent-dark); font-weight: 600; }
  .cdr-pricetable td:nth-child(3) { background: var(--cdr-accent-soft); }

  .cdr-facts td { font-size: 0.9rem; padding: 0.65rem 0.85rem; }
  .cdr-facts td:first-child { width: 42%; font-size: 0.83rem; }

  .cdr-tips li { padding: 0.95rem 1rem 0.95rem 3.1rem; }
  .cdr-tips li::before {
    left: 0.85rem; top: 0.95rem;
    width: 1.6rem; height: 1.6rem;
    font-size: 0.88rem;
  }

  .cdr-gyg { padding: 1.5rem 1.3rem; }
  .cdr-gyg__title { font-size: 1.15rem; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.3rem; }
}
