/* ================================================================
   TEFILOT PAGE – Premium Styles
   Fundación Or Hajaim
   ================================================================ */

/* ── HERO ──────────────────────────────────────────────────────── */
.tefilot-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,151,58,0.18) 0%, transparent 70%),
    linear-gradient(160deg, #04091a 0%, #0a1525 50%, #060e1c 100%);
}

.tefilot-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9973a' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.tefilot-hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.tefilot-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 20px 80px;
  max-width: 780px;
  margin: 0 auto;
}

.tefilot-hero-heb {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  background: var(--gold-gradient, linear-gradient(135deg, #f5d485 0%, #c9973a 50%, #e8c060 100%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.tefilot-hero-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  color: #fff;
  font-weight: 700;
  margin-bottom: 1.2rem;
  line-height: 1.3;
}

.tefilot-hero-title em {
  background: var(--gold-gradient, linear-gradient(135deg, #f5d485, #c9973a));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal;
}

.tefilot-hero-sub {
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.tefilot-hero-sub strong {
  color: var(--gold-light, #f5d485);
}

.tefilot-hero-scroll {
  margin-top: 2.5rem;
  animation: heroScrollBounce 2.5s ease-in-out infinite;
  color: rgba(201,151,58,0.7);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@keyframes heroScrollBounce {
  0%,100% { transform: translateY(0); opacity:0.7; }
  50%      { transform: translateY(8px); opacity:1; }
}

/* ── STEPS SECTION ─────────────────────────────────────────────── */
.tefilot-steps-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #060e1c 0%, #080f1e 100%);
  position: relative;
}

.tefilot-steps-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,151,58,0.4), transparent);
}

.tefilot-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 60px;
}

.tefilot-step-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(201, 151, 58, 0.2);
  border-radius: 20px;
  padding: 40px 28px;
  text-align: center;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.tefilot-step-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(201,151,58,0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

.tefilot-step-card:hover {
  transform: translateY(-10px);
  border-color: rgba(201,151,58,0.45);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 30px rgba(201,151,58,0.12);
}

.tefilot-step-card:hover::before {
  opacity: 1;
}

.step-number {
  font-family: 'Cinzel Decorative', serif;
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(201,151,58,0.25), rgba(201,151,58,0.08));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.step-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.tefilot-step-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--gold-light, #f5d485);
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.tefilot-step-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}

/* ── FORM SECTION ──────────────────────────────────────────────── */
.tefilot-form-section {
  padding: 100px 0;
  position: relative;
  background: linear-gradient(180deg, #080f1e 0%, #060e1c 100%);
}

.tefilot-form-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(201,151,58,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.tefilot-form-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: start;
  position: relative;
  z-index: 2;
}

/* ── INFO PANEL ─────────────────────────────────────────────────── */
.tefilot-info-panel {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(201, 151, 58, 0.25);
  border-radius: 24px;
  padding: 40px 32px;
  position: sticky;
  top: 120px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.info-panel-tag {
  display: inline-block;
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 0.95rem;
  color: var(--gold-light, #f5d485);
  border: 1px solid rgba(201,151,58,0.3);
  padding: 4px 14px;
  border-radius: 30px;
  margin-bottom: 1rem;
  background: rgba(201,151,58,0.05);
}

.info-panel-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.55rem;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 1rem;
}

.info-panel-title em {
  background: linear-gradient(135deg, #f5d485, #c9973a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal;
}

.info-panel-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

.info-cat-title {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(201,151,58,0.7);
  margin-bottom: 12px;
}

.cat-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 1.8rem;
}

.cat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cat-item:hover,
.cat-item.active {
  background: rgba(201,151,58,0.1);
  border-color: rgba(201,151,58,0.35);
}

.cat-item.active {
  box-shadow: 0 0 12px rgba(201,151,58,0.15);
}

.cat-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.cat-item strong {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
}

.cat-item small {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
}

.info-panel-quote {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201,151,58,0.15);
}

.info-panel-quote blockquote {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1rem;
  color: var(--gold-light, #f5d485);
  font-style: italic;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.info-panel-quote cite {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

/* ── FORM WRAP ───────────────────────────────────────────────────── */
.tefilot-form-wrap {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(201,151,58,0.2);
  border-radius: 24px;
  overflow: hidden;
}

.form-header-tefila {
  background: linear-gradient(135deg, rgba(201,151,58,0.12) 0%, rgba(201,151,58,0.04) 100%);
  border-bottom: 1px solid rgba(201,151,58,0.2);
  padding: 36px 40px 30px;
  text-align: center;
}

.form-header-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.form-header-tefila h3 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.5rem;
  color: var(--gold-light, #f5d485);
  margin-bottom: 0.5rem;
}

.form-header-tefila p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

/* ── TEFILA FORM ─────────────────────────────────────────────────── */
.tefila-form {
  padding: 32px 40px 40px;
}

.form-section-block {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(201,151,58,0.06);
  scroll-margin-top: 140px;
}

.form-section-block:last-of-type {
  border-bottom: none;
}

.form-section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-light, #f5d485);
}

.fs-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9973a, #f5d485);
  color: #04091a;
  font-size: 0.8rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.req {
  color: var(--gold-main, #c9973a);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 151, 58, 0.25);
  border-radius: 12px;
  padding: 12px 16px;
  color: #fff;
  font-size: 0.95rem;
  font-family: 'Assistant', sans-serif;
  transition: all 0.2s ease;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(201,151,58,0.6);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 3px rgba(201,151,58,0.1);
}

.form-group select option {
  background: #0a1525;
  color: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-hint {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.4);
  margin-top: -2px;
}

.input-error {
  border-color: #e53935 !important;
  box-shadow: 0 0 0 3px rgba(229,57,53,0.15) !important;
}

/* Checkbox custom */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  margin-top: 6px;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(201,151,58,0.4);
  border-radius: 5px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.03);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
  background: linear-gradient(135deg, #c9973a, #f5d485);
  border-color: transparent;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
  content: '✓';
  color: #04091a;
  font-size: 0.75rem;
  font-weight: 900;
}

/* ── SUBMIT BUTTON ──────────────────────────────────────────────── */
.form-submit-area {
  margin-top: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.btn-tefila-submit {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  padding: 20px 32px;
  background: linear-gradient(135deg, #c9973a 0%, #f5d485 50%, #c9973a 100%);
  background-size: 200% 100%;
  background-position: left center;
  color: #04091a;
  border: none;
  border-radius: 14px;
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 6px 30px rgba(201,151,58,0.4);
  position: relative;
  overflow: hidden;
}

.btn-tefila-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-tefila-submit:hover::before {
  transform: translateX(100%);
}

.btn-tefila-submit:hover:not(:disabled) {
  background-position: right center;
  box-shadow: 0 10px 40px rgba(201,151,58,0.55);
  transform: translateY(-2px);
}

.btn-tefila-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.submit-icon {
  font-size: 1.5rem;
}

.submit-text {
  font-size: 1rem;
  font-weight: 700;
}

.submit-heb {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 0.85rem;
  font-weight: 400;
  opacity: 0.75;
}

.back-link-tefila {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-main);
  text-decoration: none;
  font-family: 'Assistant', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.8;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.back-link-tefila:hover {
  opacity: 1;
  transform: translateX(-4px);
  color: var(--gold-light);
}

body.light-mode .back-link-tefila {
  color: #8a6d3b;
}

body.light-mode .back-link-tefila:hover {
  color: #5c3c0a;
}

.form-privacy-note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ── SUCCESS MESSAGE ────────────────────────────────────────────── */
.tefila-success {
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.success-icon {
  font-size: 4rem;
  animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.tefila-success h3 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.6rem;
  color: var(--gold-light, #f5d485);
}

.tefila-success p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 420px;
}

.success-sub {
  font-size: 0.85rem !important;
  color: rgba(255,255,255,0.45) !important;
}

.success-heb {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.5rem;
  color: var(--gold-light, #f5d485);
  margin-top: 8px;
}

/* ── TESTIMONIOS ────────────────────────────────────────────────── */
.tefilot-testimonios {
  padding: 100px 0;
  background: linear-gradient(180deg, #060e1c 0%, #04091a 100%);
  position: relative;
}

.tefilot-testimonios::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,151,58,0.35), transparent);
}

.tefilot-testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 60px;
}

.tefila-testi-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,151,58,0.15);
  border-radius: 20px;
  padding: 32px 28px;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tefila-testi-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201,151,58,0.4);
  background: rgba(201,151,58,0.04);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.te-star-row {
  color: var(--gold-main, #c9973a);
  font-size: 1rem;
  letter-spacing: 2px;
}

.te-text {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  flex: 1;
}

.te-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.te-author strong {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  color: var(--gold-light, #f5d485);
}

.te-author span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

.te-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(201,151,58,0.1);
  border: 1px solid rgba(201,151,58,0.25);
  border-radius: 30px;
  font-size: 0.78rem;
  color: rgba(201,151,58,0.9);
  font-weight: 600;
  width: fit-content;
}

/* ── SEGULOT CTA BUTTON (in index.html) ─────────────────────────── */
.btn-tefilot-portal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: transparent;
  border: 2px solid rgba(201,151,58,0.6);
  border-radius: 50px;
  color: var(--gold-light, #f5d485);
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.btn-tefilot-portal::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,151,58,0.15), rgba(201,151,58,0.05));
  opacity: 0;
  transition: opacity 0.35s;
}

.btn-tefilot-portal:hover {
  border-color: rgba(201,151,58,1);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(201,151,58,0.3);
}

.btn-tefilot-portal:hover::before {
  opacity: 1;
}

.btn-tefilot-portal span {
  position: relative;
  z-index: 1;
}

/* Light mode override for Tefilot CTA button */
body.light-mode .btn-tefilot-portal {
  color: #8a6d3b;
  border-color: rgba(138, 109, 59, 0.6);
  background: rgba(201, 151, 58, 0.05);
}

body.light-mode .btn-tefilot-portal:hover {
  background: rgba(201, 151, 58, 0.15);
  color: #5c3c0a;
  border-color: #8a6d3b;
  box-shadow: 0 8px 24px rgba(138, 109, 59, 0.2);
}


/* Segulot tefilot CTA wrapper */
.segulot-tefilot-cta {
  text-align: center;
  padding: 40px 20px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.segulot-tefilot-cta p {
  font-size: 0.95rem;
  color: var(--white-muted);
  max-width: 500px;
}

.segulot-tefilot-cta .cta-hint {
  font-size: 0.8rem;
  color: var(--white-dim);
  margin-top: 0;
}

/* Light mode: make text dark and legible */
body.light-mode .segulot-tefilot-cta p,
body.light-mode .segulot-tefilot-cta .cta-hint {
  color: var(--card-text);
}

/* ── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .tefilot-form-layout {
    grid-template-columns: 1fr;
  }

  .tefilot-info-panel {
    position: static;
  }

  .cat-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .tefilot-hero-content {
    padding: 100px 16px 60px;
  }

  .tefila-form {
    padding: 24px 20px 32px;
  }

  .form-header-tefila {
    padding: 28px 20px 22px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .tefilot-steps-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cat-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .tefilot-steps-grid {
    grid-template-columns: 1fr;
  }

  .tefilot-info-panel {
    padding: 28px 20px;
  }
}

/* Hebrew Specific Scaling for Tefilot Page */
html[lang="he"] .tefilot-hero-heb {
  font-size: clamp(2.5rem, 8vw, 4.8rem);
  font-weight: 900;
}

html[lang="he"] .tefilot-hero-title {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
}

html[lang="he"] .tefilot-hero-sub {
  font-size: 1.15rem;
  line-height: 1.6;
}

html[lang="he"] .tefilot-step-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
}

html[lang="he"] .tefilot-step-card p {
  font-size: 0.95rem;
}

html[lang="he"] .info-panel-title {
  font-size: 1.7rem;
  line-height: 1.3;
}

html[lang="he"] .info-panel-text {
  font-size: 1.05rem;
}

html[lang="he"] .cat-item strong {
  font-size: 1rem;
  font-weight: 700;
}

html[lang="he"] .form-header-tefila h3 {
  font-size: 1.7rem;
}

html[lang="he"] .form-section-label {
  font-size: 1rem;
  font-weight: 700;
}

html[lang="he"] .form-group label {
  font-size: 0.95rem;
}

html[lang="he"] .btn-tefila-submit .submit-text {
  font-size: 1.2rem;
  font-weight: 800;
}

html[lang="he"] .te-text {
  font-size: 1.1rem;
}


/* ── DEDICACION SECTION ── */
.dedicacion-special-section {
  background: rgba(201, 151, 58, 0.05);
  border: 1px solid rgba(201, 151, 58, 0.3);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 32px;
  animation: slideDownFade 0.4s ease-out;
}

@keyframes slideDownFade {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.payment-notice {
  margin-top: 20px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  text-align: center;
}

.payment-notice p {
  font-size: 0.9rem;
  color: var(--gold-light);
  margin-bottom: 12px;
}

/* ── LIGHT MODE OVERRIDES ── */
body.light-mode .tefilot-hero {
  padding-top: 0;
  background: 
    radial-gradient(circle at 50% 50%, rgba(255, 247, 224, 0.6) 0%, rgba(201, 151, 58, 0.15) 70%),
    url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 86c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm66-3c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm-46-45c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm54 0c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM57 7c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm-8 48c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM25 34c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm23 40c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-8-54c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm35 88c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM9 43c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm26 46c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm44-20c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm25-45c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM59 61c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm23 21c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM33 28c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm44 67c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-36-30c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm10-17c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm66-46c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-9 7c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm43 79c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM71 95c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM40 54c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm33-2c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM11 68c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm76-47c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM7 1c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm1 44c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm92 33c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM15 71c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm7-71c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm88 0c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM9 89c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM4 62c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm31 27c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm56 2c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm12-2c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-75-62c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm13 6c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm22-4c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-1-8c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-36 8c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm24 70c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm15 8c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm15 0c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-60-59c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm13 88c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm56-20c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm22-3c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM28 78c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm0-30c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM23 11c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm33 3c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM50 0c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-1 46c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-15 16c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm59 19c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM76 4c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM5 42c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-2 0c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm18 27c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm76 28c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-51-51c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-9 46c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm66 18c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm5-41c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM42 60c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-3-58c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1z' fill='%23c9973a' fill-opacity='0.08' fill-rule='evenodd'/%3E%3C/svg%3E"),
    linear-gradient(160deg, #fdf8e6 0%, #f9edc3 40%, #c9973a 100%);
}

body.light-mode .tefilot-hero-heb {
  background: linear-gradient(135deg, #5c3c0a 0%, #8a6d3b 50%, #5c3c0a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(61, 38, 5, 0.15));
}

body.light-mode .tefilot-hero-title {
  color: #1a1408;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

body.light-mode .tefilot-hero-sub {
  color: #2a1b04;
  font-weight: 700;
  text-shadow: none;
}

body.light-mode .tefilot-hero-sub strong {
  color: #8a6d3b;
  font-weight: 800;
}

body.light-mode .hero-badge {
  border-color: #8a6d3b;
  color: #5c3c0a;
  background: rgba(138, 109, 59, 0.1);
}

body.light-mode .hero-divider .divider-line {
  background: linear-gradient(90deg, transparent, #8a6d3b, transparent);
  opacity: 0.8;
}

body.light-mode .hero-divider .divider-icon {
  color: #5c3c0a;
}

body.light-mode .tefilot-steps-section {
  background: radial-gradient(circle at 50% 50%, #fdfbf7 0%, #e8dcc4 100%);
  position: relative;
}

body.light-mode .tefilot-steps-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9973a' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

body.light-mode .tefilot-step-card {
  background: rgba(255, 253, 250, 0.9);
  border: 1.5px solid #d4bc8d;
  box-shadow: 0 12px 30px rgba(67, 52, 34, 0.1);
}

body.light-mode .tefilot-step-card:hover {
  border-color: #8a6d3b;
  background: #ffffff;
  box-shadow: 0 25px 50px rgba(138, 109, 59, 0.2);
  transform: translateY(-10px);
}

body.light-mode .tefilot-step-card h3 {
  color: #8a6d3b;
  font-weight: 800;
}

body.light-mode .tefilot-step-card p {
  color: #2a1f0d;
  font-weight: 600;
}

body.light-mode .step-number {
  background: linear-gradient(135deg, #8a6d3b, #3d2605);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 1;
}

body.light-mode .tefilot-hero-scroll {
  color: #5c3c0a;
  font-weight: 800;
  text-shadow: 0 1px 1px rgba(255,255,255,0.8);
}

body.light-mode .scroll-top-btn {
  background: linear-gradient(135deg, #8a6d3b 0%, #c9973a 50%, #8a6d3b 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(61, 38, 5, 0.2);
}

body.light-mode .scroll-top-btn:hover {
  background: linear-gradient(135deg, #c9973a 0%, #f5d485 50%, #c9973a 100%);
}

body.light-mode .info-panel-quote cite {
  color: #5c3c0a;
  font-weight: 600;
  opacity: 0.8;
}

body.light-mode .tefilot-form-section {
  padding: 140px 0 100px;
  background: linear-gradient(180deg, #fdf8e6 0%, #f9edc3 50%, #fdf8e6 100%);
}

body.light-mode .tefilot-info-panel {
  top: 140px;
  background: rgba(255, 253, 240, 0.98);
  border: 2px solid #d4bc8d;
  box-shadow: 0 30px 70px rgba(61, 38, 5, 0.1);
}

body.light-mode .info-panel-title {
  color: #3d2605;
}

body.light-mode .info-panel-text {
  color: #433422;
  font-weight: 500;
}

body.light-mode .cat-item {
  background: #fffdfa;
  border: 1px solid #e8dec9;
}

body.light-mode .cat-item:hover,
body.light-mode .cat-item.active {
  background: #fdf8e6;
  border-color: #8a6d3b;
  box-shadow: 0 8px 20px rgba(138, 109, 59, 0.15);
}

body.light-mode .cat-item strong {
  color: #1a1408;
}

body.light-mode .cat-item small {
  color: #8a6d3b;
  font-weight: 600;
}

body.light-mode .tefilot-form-wrap {
  background: #ffffff;
  border: 2px solid #d4bc8d;
  box-shadow: 0 20px 60px rgba(67, 52, 34, 0.08);
}

body.light-mode .form-header-tefila {
  background: linear-gradient(135deg, rgba(201, 151, 58, 0.15) 0%, rgba(201, 151, 58, 0.05) 100%);
  border-bottom: 2px solid #d4bc8d;
}

body.light-mode .form-header-tefila h3 {
  color: #8a6d3b;
}

body.light-mode .form-header-tefila p {
  color: #433422;
  font-weight: 600;
}

body.light-mode .form-section-block {
  border-bottom-color: #d4bc8d;
}

body.light-mode .form-section-label {
  color: #8a6d3b;
  font-weight: 800;
}

body.light-mode .fs-num {
  background: linear-gradient(135deg, #c9973a, #8a6d3b);
  color: #fff;
  box-shadow: 0 4px 10px rgba(138, 109, 59, 0.3);
}

body.light-mode .form-group label {
  color: #1a1408;
  font-weight: 800;
}

body.light-mode .form-group input,
body.light-mode .form-group select,
body.light-mode .form-group textarea {
  background: #fdfcf9;
  border-color: #d4bc8d;
  color: #3d2605;
  font-weight: 500;
}

body.light-mode .form-group input:focus,
body.light-mode .form-group select:focus,
body.light-mode .form-group textarea:focus {
  border-color: #8a6d3b;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(201, 151, 58, 0.12);
}

body.light-mode .form-group input::placeholder,
body.light-mode .form-group textarea::placeholder {
  color: #b0a48e;
}

body.light-mode .checkbox-custom {
  border-color: #d4bc8d;
  background: #fdfcf9;
}

body.light-mode .checkbox-label {
  color: #433422;
  font-weight: 600;
}

body.light-mode .checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
  background: linear-gradient(135deg, #c9973a, #8a6d3b);
}

body.light-mode .form-privacy-note {
  color: #8a6d3b;
  font-weight: 600;
}

body.light-mode .tefilot-testimonios {
  background: radial-gradient(circle at 50% 0%, #fdfbf7 0%, #e8d0a0 100%);
  position: relative;
}

body.light-mode .tefilot-testimonios::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c9973a, transparent);
}

body.light-mode .tefila-testi-card {
  background: rgba(255, 253, 250, 0.95);
  border: 1.5px solid #d4bc8d;
  box-shadow: 0 15px 35px rgba(67, 52, 34, 0.08);
}

body.light-mode .tefila-testi-card:hover {
  background: #ffffff;
  border-color: #8a6d3b;
  box-shadow: 0 20px 50px rgba(138, 109, 59, 0.2);
}

body.light-mode .te-text {
  color: #3d2605;
  font-style: italic;
}

body.light-mode .te-author strong {
  color: #8a6d3b;
}

body.light-mode .te-author span {
  color: #433422;
}

body.light-mode .te-category-badge {
  background: rgba(201, 151, 58, 0.15);
  border-color: #c9973a;
  color: #8a6d3b;
  font-weight: 700;
}

body.light-mode .dedicacion-special-section {
  background: linear-gradient(135deg, rgba(253, 248, 230, 0.9), rgba(232, 208, 160, 0.5));
  border: 2px solid #c9973a;
  box-shadow: 0 20px 40px rgba(138, 109, 59, 0.15);
  position: relative;
  overflow: hidden;
}

body.light-mode .dedicacion-special-section::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Reveal Animations ── */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}



