/* ============================================================
   LE CARTOMANTI DI DEMETRA
   High-conversion template – mystical, urgent, trustworthy
   Domain: lecartomantididemetra.it
   ============================================================ */

:root {
  --bg: #0c0814;
  --surface: #15101f;
  --card: #1c1529;
  --card-hover: #241c35;
  --ink: #f3eef8;
  --ink-soft: #c4b8d4;
  --muted: #8a7a9e;
  --line: #2e243f;
  --deep: #6b21a8;
  --deep-2: #7e22ce;
  --gold: #d4af37;
  --gold-soft: #e8c547;
  --rose: #be123c;
  --rose-soft: #e11d48;
  --success: #10b981;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --glow: 0 0 30px rgba(212, 175, 55, 0.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}

a { text-decoration: none; color: inherit; transition: color .2s, opacity .2s; }
img { max-width: 100%; display: block; height: auto; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 22px;
}

header {
  background: rgba(12, 8, 20, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand em {
  font-style: normal;
  color: var(--gold);
}

.brand-badge {
  font-size: 0.65rem;
  background: var(--gold);
  color: #0c0814;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: 26px;
  align-items: center;
}

nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
}

nav a:hover { color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all .22s ease;
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, #d4af37, #e8c547) !important;
  color: #000000 !important;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
}
a.btn-gold, button.btn-gold, .btn.btn-gold {
  color: #000000 !important;
}
.btn-gold:hover, a.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
  color: #000000 !important;
}

.btn-rose {
  background: linear-gradient(135deg, var(--rose), var(--rose-soft));
  color: #fff;
  box-shadow: 0 4px 18px rgba(190, 18, 60, 0.4);
  animation: pulse-cta 2.2s infinite;
}
.btn-rose:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(190, 18, 60, 0.55);
}

@keyframes pulse-cta {
  0%, 100% { box-shadow: 0 4px 18px rgba(190, 18, 60, 0.4); }
  50% { box-shadow: 0 4px 28px rgba(190, 18, 60, 0.7); }
}

.btn-line {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
}
.btn-line:hover {
  background: var(--gold);
  color: #0c0814;
}

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

.hero {
  padding: 70px 0 60px;
  background: 
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(107, 33, 168, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
    var(--bg);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--gold);
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: var(--ink);
  margin-bottom: 18px;
  line-height: 1.15;
}

.hero h1 span {
  display: block;
  color: var(--gold);
  font-weight: 500;
  font-size: 0.68em;
  margin-top: 8px;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-meta {
  display: flex;
  gap: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.meta-item strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--gold);
  font-weight: 700;
}

.meta-item span {
  font-size: 0.82rem;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 480px;
  box-shadow: var(--shadow), var(--glow);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,8,20,0.85) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.hero-visual-overlay .live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid var(--success);
  color: var(--success);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  width: fit-content;
  margin-bottom: 12px;
}

.hero-visual-overlay .live::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: blink 1.4s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  margin-bottom: 12px;
}

.section-title p {
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 24px;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}

.card:hover {
  background: var(--card-hover);
  border-color: rgba(212, 175, 55, 0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card .icon {
  width: 48px;
  height: 48px;
  background: rgba(212, 175, 55, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--gold);
}

.card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  color: var(--ink);
}

.card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.card .price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: var(--gold);
  font-weight: 700;
}

.card .price small {
  font-size: 0.55em;
  color: var(--muted);
  font-weight: 500;
}

.price-box {
  background: linear-gradient(145deg, #1c1529, #241c35);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  position: relative;
}

.price-box.featured {
  border-color: var(--gold);
  box-shadow: var(--glow);
}

.price-box .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #0c0814;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 40px 0;
}

.trust-item {
  text-align: center;
}

.trust-item strong {
  display: block;
  font-size: 1.5rem;
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
}

.trust-item span {
  font-size: 0.85rem;
  color: var(--muted);
}

.cta-band {
  background: linear-gradient(135deg, #1a0a2e 0%, #2d1b4e 50%, #1a0a2e 100%);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
  margin: 50px 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212,175,55,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.cta-band h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.cta-band p {
  color: var(--ink-soft);
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 20px;
}

.phone-card {
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 22px;
  min-width: 200px;
  text-align: center;
}

.phone-card .label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.phone-card a {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}

.phone-card .val {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 4px;
}

.sticky-call {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: linear-gradient(90deg, #1a0a2e, #2d1b4e);
  border-top: 1px solid rgba(212, 175, 55, 0.4);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  box-shadow: 0 -8px 30px rgba(0,0,0,0.5);
}

.sticky-call .live-dot {
  width: 10px;
  height: 10px;
  background: var(--success);
  border-radius: 50%;
  animation: blink 1.2s infinite;
}

.sticky-call .text {
  font-size: 0.95rem;
  font-weight: 500;
}

.sticky-call .text strong {
  color: var(--gold);
}

footer {
  background: #08050e;
  border-top: 1px solid var(--line);
  padding: 60px 0 100px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.footer-brand em { color: var(--ink); font-style: normal; }

.footer-desc {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--muted);
}

.page-hero {
  padding: 50px 0 30px;
  text-align: center;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(107,33,168,0.15), transparent);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.page-hero .lead {
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 24px;
  font-size: 1.1rem;
}

.content-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 22px 60px;
}

.content-wrap p {
  margin-bottom: 1.25em;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.content-wrap h2 {
  font-size: 1.7rem;
  margin: 2em 0 0.8em;
  color: var(--ink);
}

.content-wrap h3 {
  font-size: 1.35rem;
  margin: 1.6em 0 0.6em;
  color: var(--gold);
}

.content-wrap ul, .content-wrap ol {
  margin: 1em 0 1.5em 1.4em;
  color: var(--ink-soft);
}

.content-wrap li { margin-bottom: 0.5em; }

.content-wrap a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-wrap a:hover { color: var(--gold-soft); }

.inline-cta {
  background: var(--card);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 14px;
  padding: 28px;
  margin: 36px 0;
  text-align: center;
}

.inline-cta h3 {
  color: var(--ink);
  margin-bottom: 8px;
}

.inline-cta p {
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.cookie-banner {
  position: fixed;
  bottom: 70px;
  left: 0;
  right: 0;
  z-index: 10000;
  background: #1a0a2e;
  color: #e0e7ff;
  padding: 16px 20px;
  box-shadow: 0 -4px 24px rgba(0,0,0,.4);
  display: none;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-visual { height: 340px; }
  nav { display: none; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .sticky-call {
    flex-direction: column;
    gap: 10px;
    padding: 14px;
  }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 2.1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-phones { flex-direction: column; align-items: stretch; }
  .phone-card { min-width: auto; }
}

.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.fw-700 { font-weight: 700; }
