:root {
  --color-bg: #0d1f1a;
  --color-bg-card: #122a24;
  --color-primary: #0aa574;
  --color-primary-light: #12d492;
  --color-gold: #d4a853;
  --color-gold-light: #f0d78c;
  --color-text: #f5f5f0;
  --color-text-muted: #b8cfc6;
  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 24px rgba(10, 165, 116, 0.25);
  --radius: 14px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Alata', sans-serif;
}

html, body {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  background: var(--color-bg) url(../img/pattern.jpg) repeat;
  background-blend-mode: overlay;
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.6;
}

h1, h2, h3, .tituloPrincipal {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.sticky-cta .btn {
  border-radius: 50px;
  padding: 12px 20px;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.sticky-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.btn-cta-phone {
  background: linear-gradient(135deg, #c41e3a, #e63950) !important;
  border: none !important;
  color: #fff !important;
}

.btn-cta-whatsapp {
  background: linear-gradient(135deg, #128c7e, #25d366) !important;
  border: none !important;
  color: #fff !important;
}

/* Hero */
.background1 {
  background-image: url("../img/portada.jpg");
  background-size: cover;
  background-position: center;
  padding: 120px 24px 100px;
  min-height: 70vh;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
}

.customGradient {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(13, 31, 26, 0.3) 0%,
    rgba(13, 31, 26, 0.75) 55%,
    rgba(13, 31, 26, 0.95) 100%
  );
}

.tituloPrincipal {
  color: var(--color-gold-light);
  line-height: 1.1;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
  margin-top: 0;
  font-size: clamp(2.5rem, 8vw, 5rem);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  max-width: 720px;
  margin: 0 auto 1rem;
}

.hero-tagline {
  color: var(--color-gold);
  font-size: 1.15rem;
}

.blue-shadow {
  text-shadow: 0 2px 12px rgba(10, 165, 116, 0.5);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 2rem;
}

.hero-ctas .btn {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: 50px;
  min-width: 200px;
}

.mt-100 {
  margin-top: 0;
}

/* Sections */
.site-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.section-block {
  padding: 48px 0;
}

.section-title {
  text-align: center;
  color: var(--color-gold-light);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Gallery */
.galeria-tarot {
  padding: 0 8px;
  align-items: flex-start;
}

.galeria-tarot > [class*="col-"] {
  display: flex;
}

.galeria-tarot .galeria-item {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 2px solid rgba(212, 168, 83, 0.35);
  transition: transform 0.3s, box-shadow 0.3s;
  background: rgba(0, 0, 0, 0.2);
}

.galeria-tarot .galeria-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.galeria-tarot img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center top;
  display: block;
  border-radius: calc(var(--radius) - 2px);
}

/* Service cards */
.service-card {
  background: linear-gradient(160deg, var(--color-bg-card) 0%, #0a1f1a 100%);
  border: 1px solid rgba(10, 165, 116, 0.35);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  box-shadow: var(--shadow-soft);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-glow);
}

.service-card .card-img-top {
  height: 180px;
  object-fit: cover;
  border-bottom: 2px solid rgba(212, 168, 83, 0.2);
}

.service-card .card-body {
  padding: 1.25rem;
}

.service-card .card-title {
  color: var(--color-gold-light);
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.service-card .card-text {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.service-card .btn-service {
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 50px;
  width: 100%;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #0a2e26 0%, #122a24 50%, #1a3d32 100%);
  border: 1px solid rgba(212, 168, 83, 0.4);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  margin: 32px 0;
  box-shadow: var(--shadow-soft);
}

.cta-banner h2 {
  color: var(--color-gold-light);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.cta-banner .cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.cta-banner .btn {
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
}

/* Payment section */
.payment-section {
  background: linear-gradient(160deg, #0a1f1a 0%, var(--color-bg-card) 100%);
  border: 1px solid rgba(212, 168, 83, 0.35);
  border-radius: var(--radius);
  padding: 40px 28px;
  box-shadow: var(--shadow-soft);
}

.payment-section h2 {
  color: var(--color-gold-light);
  font-size: 1.8rem;
  margin-bottom: 0.25rem;
}

.payment-section .payment-subtitle {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  align-items: center;
  justify-items: center;
  margin-bottom: 2rem;
}

.payment-grid img {
  max-height: 56px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.05);
  transition: transform 0.2s;
}

.payment-grid img:hover {
  transform: scale(1.08);
}

.payment-highlight {
  background: rgba(10, 165, 116, 0.15);
  border-left: 4px solid var(--color-gold);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}

.payment-highlight h3 {
  color: var(--color-gold-light);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.payment-highlight .nombre-destacado {
  color: var(--color-primary-light);
  font-size: 1.75rem;
  font-family: var(--font-display);
}

/* Buttons */
.btn-warning2,
.btn-cta-primary {
  background: linear-gradient(135deg, #c41e3a, #e63950) !important;
  border: none !important;
  color: #fff !important;
  border-radius: 50px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-warning2:hover,
.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(196, 30, 58, 0.4);
  color: #fff !important;
}

.btn-outline-gold {
  background: transparent;
  border: 2px solid var(--color-gold);
  color: var(--color-gold-light);
  border-radius: 50px;
  font-weight: 600;
  padding: 12px 24px;
  transition: all 0.2s;
}

.btn-outline-gold:hover {
  background: var(--color-gold);
  color: var(--color-bg);
}

.btn-success {
  background: linear-gradient(135deg, #128c7e, #25d366) !important;
  border: none !important;
}

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid rgba(212, 168, 83, 0.2);
  margin-top: 48px;
}

footer .footer-cta {
  padding: 32px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}

footer .footer-cta h3 {
  color: var(--color-gold-light);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Legacy overrides */
.container {
  width: 100%;
  max-width: 1200px;
  padding-right: 16px;
  padding-left: 16px;
  margin-right: auto;
  margin-left: auto;
}

.row {
  padding: 8px;
}

.lead {
  color: var(--color-text);
  font-weight: 600;
}

.text-warning {
  color: var(--color-gold) !important;
}

.bg-dark2 {
  background: transparent !important;
  border: none !important;
}

/* Responsive */
@media (max-width: 768px) {
  .sticky-cta {
    bottom: 16px;
    right: 16px;
    left: 16px;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
  }

  .sticky-cta .btn {
    flex: 1;
    font-size: 0.9rem;
    padding: 10px 14px;
  }

  .hero-ctas .btn {
    min-width: 100%;
  }

  .background1 {
    padding: 100px 16px 80px;
    min-height: 60vh;
  }
}
