/* ============================================================
   livrarialellotickets.eu
   Cormorant Garamond display + DM Sans body
   Crimson red #c81a3c + Cream paper + Wood brown
   Prefix: lll-
   ============================================================ */

:root {
  --lll-accent: #c81a3c;
  --lll-accent-bright: #e63854;
  --lll-accent-deep: #9b142f;
  --lll-accent-soft: #f4d8de;
  --lll-wood: #7a4e2e;
  --lll-wood-soft: #b08964;
  --lll-ink: #2a1d18;
  --lll-ink-soft: #4f3e36;
  --lll-paper: #fbf6ee;
  --lll-paper-warm: #f5ead7;
  --lll-card: #ffffff;
  --lll-line: #e8ddc7;
  --lll-line-soft: #f3ead6;
  --lll-shadow: 0 6px 24px -10px rgba(42, 29, 24, 0.22);
  --lll-shadow-strong: 0 14px 40px -16px rgba(42, 29, 24, 0.32);
  --lll-radius: 12px;
}

* { box-sizing: border-box; min-width: 0; }

html, body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  width: 100%;
}

body { overflow-x: clip; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 16.5px;
  line-height: 1.66;
  color: var(--lll-ink);
  background: var(--lll-paper);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--lll-accent);
  text-decoration: none;
}

a:hover { color: var(--lll-accent-deep); }

/* Typography ============================================ */

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', 'Garamond', Georgia, serif;
  font-weight: 500;
  color: var(--lll-ink);
  letter-spacing: -0.005em;
  line-height: 1.16;
  margin: 0 0 0.55em;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.75rem, 3.1vw, 2.4rem); margin-top: 0.4em; }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); }

strong, b { font-weight: 700; }

/* Header ============================================ */

.lll-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(251, 246, 238, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--lll-line);
  width: 100%;
  box-shadow: 0 2px 14px -6px rgba(42, 29, 24, 0.12);
}

.lll-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 13px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.lll-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-decoration: none;
  flex-shrink: 0;
}

.lll-logo-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--lll-ink);
  letter-spacing: -0.01em;
}

.lll-logo-mark::before {
  content: "❦ ";
  color: var(--lll-accent);
  font-size: 0.85em;
  margin-right: 2px;
}

.lll-logo-sub {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lll-accent-deep);
  margin-top: 2px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
}

.lll-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--lll-accent);
  color: #fff !important;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--lll-accent);
  cursor: pointer;
  transition: 0.2s;
  white-space: nowrap;
  box-shadow: 0 6px 18px -8px rgba(200, 26, 60, 0.55);
  font-family: 'DM Sans', sans-serif;
}

.lll-header-cta:hover {
  background: var(--lll-accent-deep);
  border-color: var(--lll-accent-deep);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -8px rgba(155, 20, 47, 0.65);
}

/* Hero ============================================ */

.lll-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.lll-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('img/foto-lll-1.jpg') center/cover no-repeat;
  z-index: -2;
}

.lll-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42, 29, 24, 0.2) 0%, rgba(42, 29, 24, 0.72) 70%, rgba(42, 29, 24, 0.88) 100%);
  z-index: -1;
}

.lll-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 70px 24px 50px;
  width: 100%;
}

.lll-hero h1 {
  color: #fff;
  margin-bottom: 0.4em;
  text-shadow: 0 2px 22px rgba(0,0,0,0.45);
  font-weight: 600;
}

.lll-hero-brand-en {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lll-accent-bright);
  margin-bottom: 14px;
  padding: 6px 20px;
  border: 1px solid rgba(230, 56, 84, 0.7);
  border-radius: 99px;
  background: rgba(42, 29, 24, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lll-hero-lead {
  max-width: 740px;
  font-size: 1.08rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.93);
  margin-bottom: 28px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.45);
}

.lll-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--lll-accent);
  color: #fff;
  padding: 16px 34px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 8px 24px -8px rgba(200, 26, 60, 0.5);
}

.lll-cta:hover {
  background: var(--lll-accent-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(155, 20, 47, 0.65);
}

.lll-cta::after { content: " →"; }

/* Containers ============================================ */

.lll-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.lll-section {
  padding: 56px 0 28px;
}

.lll-section + .lll-section {
  border-top: 1px dashed var(--lll-line);
}

.lll-section p {
  margin: 0 0 1.05em;
  max-width: none;
}

.lll-intro p {
  font-size: 1.05rem;
  line-height: 1.72;
  max-width: none;
}

/* Inline photos ============================================ */

.lll-photo-inline {
  margin: 30px 0 50px;
  border-radius: var(--lll-radius);
  overflow: hidden;
  width: 100%;
  aspect-ratio: 21/9;
  max-height: 480px;
}

.lll-photo-inline img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lll-photo-inline.tall {
  aspect-ratio: 4/3;
  max-height: 560px;
}

/* Widget frame ============================================ */

.lll-widget-frame {
  margin: 28px 0;
  padding: 24px;
  background: var(--lll-card);
  border: 1px solid var(--lll-line);
  border-radius: var(--lll-radius);
  box-shadow: var(--lll-shadow);
  width: 100%;
  max-width: 100%;
}

.lll-widget-frame > * {
  max-width: 100% !important;
  width: 100% !important;
}

/* Tables ============================================ */

.lll-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 22px 0;
  border-radius: var(--lll-radius);
  border: 1px solid var(--lll-line);
  max-width: 100%;
}

.lll-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--lll-card);
}

.lll-table th,
.lll-table td {
  text-align: left;
  padding: 13px 18px;
  border-bottom: 1px solid var(--lll-line);
  font-size: 0.96rem;
}

.lll-table th {
  background: var(--lll-ink);
  color: var(--lll-paper);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
}

.lll-table tr:last-child td { border-bottom: none; }
.lll-table tr:nth-child(even) td { background: var(--lll-line-soft); }

.lll-table td:last-child {
  font-weight: 700;
  color: var(--lll-accent);
  white-space: nowrap;
}

.lll-fact-table th,
.lll-fact-table td { font-size: 0.95rem; }

.lll-fact-table td:first-child {
  font-weight: 600;
  color: var(--lll-ink);
  width: 40%;
}

.lll-fact-table td:last-child {
  color: var(--lll-ink-soft);
  font-weight: 400;
  white-space: normal;
}

/* Gratis admission box ============================================ */

.lll-gratis {
  margin: 22px 0;
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--lll-paper-warm) 0%, var(--lll-card) 100%);
  border-left: 4px solid var(--lll-accent);
  border-radius: 0 var(--lll-radius) var(--lll-radius) 0;
}

.lll-gratis-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  margin: 0 0 6px;
  color: var(--lll-ink);
  font-weight: 600;
}

.lll-gratis p { margin: 0; font-size: 0.96rem; }

/* Provider cards ============================================ */

.lll-providers {
  display: grid;
  gap: 28px;
  margin-top: 28px;
}

.lll-provider {
  background: var(--lll-card);
  border: 1px solid var(--lll-line);
  border-radius: var(--lll-radius);
  padding: 30px;
  box-shadow: var(--lll-shadow);
}

.lll-provider-primary {
  border: 2px solid var(--lll-accent);
  box-shadow: var(--lll-shadow-strong);
  position: relative;
}

.lll-provider-primary::before {
  content: "★ TOP";
  position: absolute;
  top: -14px;
  left: 28px;
  background: var(--lll-accent);
  color: #fff;
  padding: 4px 14px;
  border-radius: 99px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-family: 'DM Sans', sans-serif;
}

.lll-provider h3 { margin-bottom: 0.25em; }

.lll-rating {
  font-size: 0.88rem;
  color: var(--lll-accent-deep);
  font-weight: 600;
  margin-bottom: 14px;
}

.lll-provider-bullets {
  list-style: none;
  padding: 0;
  margin: 18px 0 22px;
}

.lll-provider-bullets li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px dotted var(--lll-line);
  font-size: 0.97rem;
}

.lll-provider-bullets li:last-child { border-bottom: none; }

.lll-provider-bullets li::before {
  content: "❦";
  position: absolute;
  left: 0;
  top: 9px;
  color: var(--lll-accent);
  font-weight: 700;
  font-size: 1rem;
}

.lll-provider-bullets b { color: var(--lll-ink); }

/* Tips ============================================ */

.lll-tips {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  counter-reset: lll-tip;
  display: grid;
  gap: 14px;
}

.lll-tips li {
  position: relative;
  background: var(--lll-card);
  border: 1px solid var(--lll-line);
  border-radius: var(--lll-radius);
  padding: 22px 24px 22px 70px;
  counter-increment: lll-tip;
  box-shadow: var(--lll-shadow);
}

.lll-tips li::before {
  content: counter(lll-tip);
  position: absolute;
  left: 22px;
  top: 22px;
  width: 32px;
  height: 32px;
  background: var(--lll-accent);
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.lll-tips b {
  font-weight: 700;
  color: var(--lll-ink);
}

/* Entities grid ============================================ */

.lll-entities {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.lll-entity-card {
  background: var(--lll-card);
  border: 1px solid var(--lll-line);
  border-radius: var(--lll-radius);
  padding: 22px 22px 24px;
  transition: transform 0.25s, box-shadow 0.25s;
  min-width: 0;
}

.lll-entity-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--lll-shadow-strong);
  border-color: var(--lll-accent-soft);
}

.lll-entity-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.22rem;
  color: var(--lll-ink);
  margin: 0 0 2px;
  word-wrap: break-word;
  font-weight: 600;
}

.lll-entity-sub {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  color: var(--lll-accent-deep);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 600;
}

.lll-entity-card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--lll-ink-soft);
}

/* Content cards ============================================ */

.lll-content-card {
  background: var(--lll-card);
  border: 1px solid var(--lll-line);
  border-radius: var(--lll-radius);
  padding: 30px 32px;
  box-shadow: var(--lll-shadow);
}

.lll-content-card p:last-child { margin-bottom: 0; }

/* CTA banner ============================================ */

.lll-cta-banner {
  margin: 50px 0 20px;
  padding: 54px 32px;
  text-align: center;
  background: var(--lll-ink);
  color: var(--lll-paper);
  border-radius: var(--lll-radius);
  background-image: radial-gradient(circle at 20% 30%, rgba(200, 26, 60, 0.22) 0%, transparent 50%);
}

.lll-cta-banner h2 {
  color: var(--lll-accent-bright) !important;
  margin: 0 0 0.6em;
  font-size: clamp(1.9rem, 3.1vw, 2.5rem);
  letter-spacing: 0.005em;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  text-shadow: 0 2px 14px rgba(200, 26, 60, 0.3);
}

.lll-cta-banner p {
  color: rgba(251, 246, 238, 0.9) !important;
  margin-bottom: 1.6em;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
}

/* Footer ============================================ */

.lll-footer {
  margin-top: 60px;
  padding: 50px 24px 28px;
  background: var(--lll-ink);
  color: rgba(251, 246, 238, 0.8);
  font-size: 0.92rem;
  width: 100%;
}

.lll-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: 40px;
}

.lll-footer h4 {
  color: var(--lll-accent-bright);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  margin: 0 0 14px;
  letter-spacing: 0.01em;
  font-weight: 600;
}

.lll-footer a {
  color: rgba(251, 246, 238, 0.8);
  text-decoration: none;
}

.lll-footer a:hover { color: var(--lll-accent-bright); }

.lll-footer p { margin: 0 0 0.7em; line-height: 1.55; }

.lll-footer-link {
  color: var(--lll-accent-bright) !important;
  border-bottom: 1px dotted rgba(230, 56, 84, 0.5);
}

.lll-footer-link:hover { color: var(--lll-paper) !important; }

/* Language switcher ============================================ */

.lll-lang-select-wrap {
  position: relative;
  display: block;
  max-width: 280px;
  width: 100%;
}

.lll-lang-select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background: transparent;
  background-color: rgba(251, 246, 238, 0.08);
  color: var(--lll-paper);
  border: 1.5px solid var(--lll-accent-bright);
  border-radius: 8px;
  padding: 14px 44px 14px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.96rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  outline: none;
  transition: 0.2s;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.lll-lang-select:hover,
.lll-lang-select:focus {
  background-color: rgba(230, 56, 84, 0.18);
  border-color: var(--lll-accent-bright);
  color: var(--lll-accent-bright);
  box-shadow: 0 0 0 3px rgba(230, 56, 84, 0.22);
}

.lll-lang-select option {
  background: #2a1d18;
  color: #fbf6ee;
  padding: 10px;
  font-weight: 500;
}

.lll-lang-select-wrap::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--lll-accent-bright);
  border-bottom: 2px solid var(--lll-accent-bright);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
  transition: transform 0.2s;
}

.lll-lang-select-wrap:hover::after {
  transform: translateY(-30%) rotate(45deg);
}

/* Copyright ============================================ */

.lll-copy {
  max-width: 1180px;
  margin: 32px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(251, 246, 238, 0.14);
  font-size: 0.82rem;
  color: rgba(251, 246, 238, 0.55);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
}

/* 404 page ============================================ */

.lll-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.lll-404-inner { max-width: 720px; width: 100%; }

.lll-404 h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  margin-bottom: 0.2em;
}

.lll-404 h1::first-letter { color: var(--lll-accent); }

.lll-404-lead {
  font-size: 1.1rem;
  color: var(--lll-ink-soft);
  margin-bottom: 30px;
}

.lll-404-widget-wrap {
  margin: 40px auto;
  max-width: 900px;
}

/* Responsive ============================================ */

@media (max-width: 900px) {
  .lll-footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .lll-entities { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .lll-section { padding: 42px 0 18px; }
  .lll-header-inner { padding: 11px 14px; gap: 10px; }
  .lll-logo-mark { font-size: 1.35rem; }
  .lll-logo-sub { font-size: 0.58rem; letter-spacing: 0.18em; }

  .lll-header-cta {
    padding: 10px 18px;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
  }

  .lll-hero { min-height: 480px; }
  .lll-hero-inner { padding: 50px 20px 36px; }
  .lll-hero-brand-en {
    font-size: 0.74rem;
    letter-spacing: 0.18em;
    padding: 5px 14px;
  }

  .lll-content-card { padding: 22px 20px; }
  .lll-provider { padding: 24px 20px; }

  .lll-tips li { padding: 20px 18px 20px 58px; }
  .lll-tips li::before { left: 16px; top: 18px; }

  .lll-cta-banner { padding: 38px 22px; }
  .lll-photo-inline {
    aspect-ratio: 4/3;
    margin: 24px 0 36px;
  }

  .lll-cta { width: 100%; justify-content: center; }

  .lll-table th, .lll-table td {
    padding: 11px 13px;
    font-size: 0.92rem;
  }

  .lll-widget-frame { padding: 16px; }
  .lll-entities { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .lll-logo-mark { font-size: 1.2rem; }
  .lll-header-cta {
    padding: 9px 14px;
    font-size: 0.72rem;
  }
}
