/* =========================================================
   IGLESIA NUEVA IDEA — MAIN STYLESHEET
   ========================================================= */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:    #3b82f6;
  --blue-d:  #1d4ed8;
  --green:   #22c55e;
  --green-d: #15803d;
  --purple:  #8b5cf6;
  --purple-d:#6d28d9;
  --gold:    #f59e0b;
  --gold-d:  #b45309;
  --red:     #ef4444;
  --red-d:   #b91c1c;
  --dark:    #1e1e2e;
  --dark2:   #2a2a40;
  --text:    #374151;
  --text-sm: #6b7280;
  --border:  #e5e7eb;
  --white:   #ffffff;
  --bg:      #f9fafb;
  --shadow:  0 4px 24px rgba(0,0,0,.08);
  --radius:  14px;
  --radius-sm: 8px;
  font-size: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input, select, textarea { font-family: inherit; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.25; }
p { line-height: 1.7; }
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  text-align: center;
  color: var(--dark);
  margin-bottom: .5rem;
}
.section-subtitle {
  text-align: center;
  color: var(--text-sm);
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

/* ---------- UTILITIES ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { max-width: 860px; }
.section { padding: 5rem 0; }
.hidden { display: none !important; }
.mt-20 { margin-top: 1.25rem; }
.required { color: var(--red); }

/* ---------- HEADER ---------- */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--dark);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.logo {
  display: flex; align-items: center; gap: .6rem;
  color: var(--white); font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 700;
}
.logo-img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.25); flex-shrink: 0; }
.footer-logo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.2); margin-bottom: .3rem; }

.nav { display: flex; gap: .25rem; }
.nav a {
  color: rgba(255,255,255,.8);
  padding: .45rem .85rem;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: all .2s;
  display: flex; align-items: center; gap: .4rem;
}
.nav a:hover, .nav a.active {
  color: var(--white);
  background: rgba(255,255,255,.12);
}
.nav a.active { background: var(--blue); color: var(--white); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 26px; height: 2px;
  background: var(--white); border-radius: 2px; transition: .3s;
}

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0d0d28 0%, #1e1e50 100%);
  overflow: hidden;
}
.hero-video-wrap {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-video-wrap video {
  position: absolute;
  top: 50%; left: 50%;
  width: 177.78vh;
  min-width: 100%;
  height: 56.25vw;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(13,13,40,.80) 0%, rgba(30,30,80,.65) 100%);
}
.hero-content {
  position: relative; z-index: 2; text-align: center;
  max-width: 760px; padding: 2rem 1.5rem; color: var(--white);
}
.hero-subtitle {
  font-size: 1rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .5rem; font-weight: 700;
}
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.9); margin-bottom: 2.5rem;
  font-weight: 300;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.6); font-size: 1.2rem;
  animation: bounce 2s infinite; z-index: 2;
}
.hero-sound-btn {
  position: absolute; bottom: 2rem; right: 2rem; z-index: 3;
  background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,.35);
  color: var(--white); border-radius: 50px;
  padding: .5rem 1.1rem; font-size: .82rem; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; gap: .5rem;
  transition: all .25s;
  font-family: 'Lato', sans-serif;
}
.hero-sound-btn:hover { background: rgba(255,255,255,.28); transform: translateY(-2px); }
.hero-sound-btn.active { background: rgba(245,158,11,.25); border-color: var(--gold); color: var(--gold); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.6rem; border-radius: 50px;
  font-weight: 700; font-size: .95rem;
  cursor: pointer; border: 2px solid transparent;
  transition: all .22s; text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-d); border-color: var(--blue-d); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-outline:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.btn-whatsapp { background: #25d366; color: var(--white); border-color: #25d366; width: 100%; justify-content: center; margin-top: auto; }
.btn-whatsapp:hover { background: #128c7e; border-color: #128c7e; transform: translateY(-2px); }
.btn-danger { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-danger:hover { background: var(--red-d); }
.btn--full { width: 100%; justify-content: center; }
.btn--sm { padding: .4rem .9rem; font-size: .82rem; border-radius: var(--radius-sm); }

/* dark bg outline fix */
.bg-light .btn-outline { color: var(--blue); border-color: var(--blue); }

/* ---------- FEATURES ---------- */
.features { background: var(--white); }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.8rem;
}
.feature-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem 1.5rem;
  display: flex; flex-direction: column; gap: .8rem;
  cursor: pointer; transition: all .25s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blue); }
.feature-icon {
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.icon-blue   { background: #dbeafe; color: var(--blue); }
.icon-green  { background: #dcfce7; color: var(--green-d); }
.icon-purple { background: #ede9fe; color: var(--purple); }
.icon-gold   { background: #fef3c7; color: var(--gold-d); }
.feature-card h3 { font-size: 1.15rem; color: var(--dark); }
.feature-card p  { font-size: .9rem; color: var(--text-sm); flex: 1; }
.feature-link { color: var(--blue); font-weight: 700; font-size: .9rem; margin-top: .5rem; display: inline-flex; align-items: center; gap: .3rem; }
.feature-link:hover { gap: .6rem; }

/* ---------- VERSE SECTION ---------- */
.verse-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  color: var(--white); padding: 4rem 0; text-align: center;
}
.verse-container { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.verse-quote-icon { font-size: 2.5rem; color: var(--gold); opacity: .4; }
.verse-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  max-width: 700px; color: rgba(255,255,255,.95); quotes: none;
}
.verse-ref { color: var(--gold); font-weight: 700; letter-spacing: .05em; }

/* ---------- TESTIMONIALS ---------- */
.testimonials { background: var(--bg); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.8rem;
}
.testimonial-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.8rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.stars { color: var(--gold); font-size: .9rem; }
.testimonial-card > p { font-style: italic; color: var(--text-sm); font-size: .95rem; }
.testimonial-author { display: flex; align-items: center; gap: .9rem; margin-top: auto; }
.author-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem;
}
.testimonial-author strong { display: block; color: var(--dark); font-size: .95rem; }
.testimonial-author span  { font-size: .82rem; color: var(--text-sm); }

.page-hero--photo {
  background-size: cover;
  background-position: center 50%;
  background-repeat: no-repeat;
  position: relative;
  padding: 0;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-hero--photo .container { position: relative; z-index: 2; padding: 4rem 1.5rem; width: 100%; }
.page-hero-gif {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.page-hero-photo-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(120,53,15,.72) 0%, rgba(245,158,11,.45) 100%);
}
.page-hero-photo-overlay--blue {
  background: linear-gradient(135deg, rgba(29,78,216,.75) 0%, rgba(59,130,246,.50) 100%);
}
.page-hero-photo-overlay--green {
  background: linear-gradient(135deg, rgba(6,95,70,.78) 0%, rgba(34,197,94,.50) 100%);
}
.page-hero-photo-overlay--purple {
  background: linear-gradient(135deg, rgba(76,29,149,.80) 0%, rgba(139,92,246,.52) 100%);
}
.page-hero {
  padding: 4rem 1.5rem; text-align: center; color: var(--white);
  position: relative;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero--blue   { background: linear-gradient(135deg, #1d4ed8, #3b82f6); }
.page-hero--green  { background: linear-gradient(135deg, #065f46, #22c55e); }
.page-hero--purple { background: linear-gradient(135deg, #4c1d95, #8b5cf6); }
.page-hero--gold   { background: linear-gradient(135deg, #78350f, #f59e0b); }
.page-hero-icon { font-size: 3rem; margin-bottom: 1rem; opacity: .85; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .75rem; }
.page-hero p  { font-size: 1.05rem; opacity: .9; max-width: 600px; margin: 0 auto; }

/* ---------- STEPS BAR ---------- */
.steps-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin-bottom: 2.5rem; flex-wrap: nowrap;
}
.step {
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  cursor: default;
}
.step span {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--border); color: var(--text-sm);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .95rem; transition: all .3s;
}
.step small { font-size: .72rem; color: var(--text-sm); text-align: center; }
.step.active span, .step.done span { background: var(--blue); color: var(--white); }
.step.active small, .step.done small { color: var(--blue); font-weight: 700; }
.step-line { flex: 1; min-width: 32px; height: 2px; background: var(--border); margin-bottom: 18px; }

/* ---------- FORM STEPS ---------- */
.questionnaire-section { background: var(--bg); }
.form-step { display: none; }
.form-step.active { display: block; animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity:0; transform: translateY(10px); } to { opacity:1; transform: translateY(0); } }

.form-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
}
.form-card-title {
  font-size: 1.4rem; color: var(--dark); margin-bottom: .4rem;
  display: flex; align-items: center; gap: .6rem;
}
.form-card-title i { color: var(--blue); }
.form-card-desc { color: var(--text-sm); margin-bottom: 1.5rem; font-size: .9rem; }

/* ---------- EMOTION CHIPS ---------- */
.emotion-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: .75rem;
}
.emotion-chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.emotion-chip span {
  display: flex; align-items: center; gap: .5rem;
  padding: .65rem 1rem; border: 2px solid var(--border);
  border-radius: 50px; font-size: .9rem; cursor: pointer;
  transition: all .2s; background: var(--bg);
}
.emotion-chip input:checked + span {
  background: var(--blue); color: var(--white); border-color: var(--blue);
}
.emotion-chip span:hover { border-color: var(--blue); background: #eff6ff; }

/* ---------- RADIO OPTIONS ---------- */
.radio-group { display: flex; flex-direction: column; gap: .6rem; margin-top: .5rem; }
.radio-group--inline { flex-direction: row; gap: 1.5rem; }
.radio-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.radio-option span {
  display: flex; align-items: center; gap: .6rem;
  padding: .6rem 1rem; border: 2px solid var(--border);
  border-radius: var(--radius-sm); cursor: pointer;
  font-size: .9rem; transition: all .2s; background: var(--bg);
}
.radio-option input:checked + span { background: var(--blue); color: var(--white); border-color: var(--blue); }
.radio-option span:hover { border-color: var(--blue); }

/* ---------- CHECKBOX OPTIONS ---------- */
.checkbox-group { display: flex; flex-direction: column; gap: .6rem; margin-top: .5rem; }
.checkbox-option { display: flex; align-items: flex-start; gap: .7rem; cursor: pointer; }
.checkbox-option input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--blue); margin-top: 2px; flex-shrink: 0; }
.checkbox-option span { font-size: .95rem; color: var(--text); display: flex; align-items: center; gap: .5rem; }
.checkbox-option--terms span { font-size: .88rem; line-height: 1.5; }

/* ---------- URGENCY CARDS ---------- */
.urgency-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .8rem; margin-top: .5rem; }
.urgency-card input { position: absolute; opacity: 0; width: 0; height: 0; }
.urgency-card div {
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  padding: 1.2rem .8rem; border: 2px solid var(--border);
  border-radius: var(--radius); text-align: center; cursor: pointer; transition: all .2s;
}
.urgency-card div i { font-size: 1.4rem; color: var(--text-sm); }
.urgency-card div strong { font-size: .9rem; color: var(--dark); }
.urgency-card div small { font-size: .75rem; color: var(--text-sm); }
.urgency-card input:checked + div { border-color: var(--blue); background: #eff6ff; }
.urgency-card input:checked + div i { color: var(--blue); }
.urgency-card div:hover { border-color: var(--blue); }

/* ---------- FORM INPUTS ---------- */
.form-group { margin-bottom: 1.4rem; }
.form-label { display: block; font-weight: 700; margin-bottom: .5rem; font-size: .92rem; color: var(--dark); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: .75rem 1rem .75rem 2.8rem;
  border: 2px solid var(--border); border-radius: var(--radius-sm);
  font-size: .95rem; color: var(--text); background: var(--white);
  transition: border-color .2s;
}
.form-select { padding-left: 2.8rem; }
.form-textarea { padding-left: 1rem; resize: vertical; min-height: 100px; }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
.input-wrap { position: relative; }
.input-icon { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--text-sm); font-size: .95rem; }
.field-hint { font-size: .8rem; color: var(--text-sm); margin-top: .3rem; display: block; }
.field-error { font-size: .8rem; color: var(--red); margin-top: .3rem; display: block; min-height: 1rem; }
.form-input.error, .form-select.error { border-color: var(--red); }

/* ---------- RANGE SLIDER ---------- */
.form-range { width: 100%; accent-color: var(--blue); margin-top: .5rem; }
.range-labels { display: flex; justify-content: space-between; font-size: .75rem; color: var(--text-sm); margin-top: .25rem; }

/* ---------- FORM NAV ---------- */
.form-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }

/* ---------- CRISIS ALERT ---------- */
.crisis-alert {
  background: #fef3c7; border: 1px solid var(--gold);
  border-radius: var(--radius-sm); padding: 1rem 1.2rem;
  display: flex; gap: .8rem; align-items: flex-start; margin-top: .8rem;
}
.crisis-alert i { color: var(--gold-d); font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.crisis-alert p { font-size: .88rem; color: var(--text); margin: 0; }

/* ---------- RESULT CARD ---------- */
.result-card { text-align: center; }
.result-card .result-icon { font-size: 4rem; margin-bottom: 1rem; }
.result-card h2 { font-size: 1.8rem; color: var(--dark); margin-bottom: .8rem; }
.result-card p { color: var(--text-sm); margin-bottom: 1.5rem; }
.result-recommendations { background: var(--bg); border-radius: var(--radius-sm); padding: 1.5rem; margin: 1.5rem 0; text-align: left; }
.result-recommendations h4 { color: var(--dark); margin-bottom: 1rem; font-size: 1rem; }
.result-recommendations ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.result-recommendations li { display: flex; align-items: center; gap: .6rem; font-size: .9rem; }
.result-recommendations li i { color: var(--blue); width: 20px; }
.result-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

/* ---------- REGISTER LAYOUT ---------- */
.register-layout { display: grid; grid-template-columns: 280px 1fr; gap: 2.5rem; align-items: start; }
.register-sidebar {
  background: var(--dark); color: var(--white);
  border-radius: var(--radius); padding: 2rem 1.5rem;
  position: sticky; top: 90px;
}
.register-sidebar h3 { font-size: 1.1rem; margin-bottom: 1.2rem; color: var(--gold); display: flex; align-items: center; gap: .5rem; }
.benefits-list { list-style: none; display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1.8rem; }
.benefits-list li { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: rgba(255,255,255,.85); }
.benefits-list li i { color: var(--green); flex-shrink: 0; }
.sidebar-verse { border-top: 1px solid rgba(255,255,255,.15); padding-top: 1.2rem; }
.sidebar-verse i { color: var(--gold); opacity: .5; font-size: 1.2rem; }
.sidebar-verse p { font-style: italic; font-size: .88rem; color: rgba(255,255,255,.8); margin: .5rem 0; }
.sidebar-verse cite { font-size: .8rem; color: var(--gold); }
.form-row { }
.form-row--2col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ---------- SUCCESS CARD ---------- */
.success-card { text-align: center; background: var(--white); border-radius: var(--radius); padding: 3rem 2rem; box-shadow: var(--shadow); }
.success-icon { font-size: 4rem; color: var(--green); margin-bottom: 1rem; }
.success-card h2 { color: var(--dark); margin-bottom: .75rem; }
.success-card p { color: var(--text-sm); margin-bottom: 1rem; }
.success-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.success-actions .btn-outline { color: var(--green-d); border-color: var(--green-d); }

/* ---------- COUNSELORS GRID ---------- */
.chat-filters { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.filter-btn {
  padding: .45rem 1.1rem; border-radius: 50px; font-size: .85rem; font-weight: 700;
  border: 2px solid var(--border); background: var(--white); cursor: pointer; transition: all .2s;
}
.filter-btn:hover, .filter-btn.active { background: var(--green-d); color: var(--white); border-color: var(--green-d); }

.message-box {
  background: #f0fdf4; border: 1px solid #bbf7d0;
  border-radius: var(--radius-sm); padding: 1rem 1.2rem;
  display: flex; gap: .8rem; align-items: flex-start; margin-bottom: 2rem;
}
.message-box i { color: var(--green-d); font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.message-box p { font-size: .9rem; margin: 0; }

.counselors-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.8rem;
}
.counselor-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: all .25s; box-shadow: var(--shadow);
}
.counselor-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,.12); }
.counselor-card[style*="display: none"] { display: none; }
.counselor-avatar { position: relative; background: var(--bg); padding: 1.5rem 1.5rem 1rem; text-align: center; }
.counselor-avatar img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--white); box-shadow: 0 2px 10px rgba(0,0,0,.1); }
.online-badge {
  position: absolute; top: 1rem; right: 1rem;
  font-size: .72rem; font-weight: 700; padding: .25rem .6rem;
  border-radius: 50px; display: flex; align-items: center; gap: .3rem;
}
.online-badge.online  { background: #dcfce7; color: var(--green-d); }
.online-badge.offline { background: #f3f4f6; color: var(--text-sm); }
.online-badge i { font-size: .45rem; }
.counselor-info { padding: .5rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.counselor-info h3 { font-size: 1.1rem; color: var(--dark); }
.counselor-role, .counselor-location { font-size: .82rem; color: var(--text-sm); display: flex; align-items: center; gap: .4rem; }
.counselor-role i, .counselor-location i { width: 14px; }
.counselor-desc { font-size: .88rem; color: var(--text); line-height: 1.5; flex: 1; }
.counselor-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .3rem; }
.counselor-tags span {
  font-size: .72rem; font-weight: 700; padding: .2rem .6rem;
  background: #eff6ff; color: var(--blue); border-radius: 50px;
}

.crisis-cta {
  background: #fff1f2; border: 2px solid #fecdd3;
  border-radius: var(--radius); padding: 1.8rem 2rem;
  display: flex; gap: 1.2rem; align-items: flex-start; margin-top: 3rem;
}
.crisis-cta > i { font-size: 2rem; color: var(--red); flex-shrink: 0; margin-top: .2rem; }
.crisis-cta h3 { color: var(--dark); margin-bottom: .4rem; font-size: 1.05rem; }
.crisis-cta p { font-size: .9rem; color: var(--text-sm); margin-bottom: 1rem; }

/* ---------- EVENTS GRID ---------- */
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.8rem; margin-bottom: 3rem; }
.event-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.8rem;
  display: flex; flex-direction: column; gap: .8rem;
  position: relative; overflow: hidden; transition: all .25s;
  box-shadow: var(--shadow);
}
.event-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,.12); }
.event-card--live { border-top: 4px solid var(--red); }
.event-badge {
  font-size: .72rem; font-weight: 700; padding: .25rem .7rem;
  border-radius: 50px; display: inline-flex; align-items: center; gap: .3rem;
  width: fit-content;
}
.live-badge { background: #fee2e2; color: var(--red); }
.live-badge i { animation: pulse 1s infinite; font-size: .5rem; }
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity: .3; } }
.upcoming-badge { background: #f0fdf4; color: var(--green-d); }
.event-icon { font-size: 2rem; color: var(--purple); }
.event-info { display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.event-info h3 { font-size: 1.1rem; color: var(--dark); }
.event-info p { font-size: .85rem; color: var(--text-sm); display: flex; align-items: center; gap: .4rem; }
.event-info p i { width: 14px; color: var(--blue); }
.event-desc { color: var(--text) !important; font-size: .9rem !important; line-height: 1.5; margin-top: .3rem; }
.btn-join { margin-top: auto; }

/* ---------- MODAL ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.modal {
  background: var(--white); border-radius: var(--radius); padding: 2.5rem;
  max-width: 500px; width: 100%; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,.3);
  animation: modalIn .3s ease;
}
@keyframes modalIn { from { opacity:0; transform: translateY(-20px) scale(.97); } to { opacity:1; transform: translateY(0) scale(1); } }
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--bg); border: none; border-radius: 50%;
  width: 34px; height: 34px; cursor: pointer; font-size: .9rem; color: var(--text-sm);
  display: flex; align-items: center; justify-content: center; transition: .2s;
}
.modal-close:hover { background: var(--border); }
.modal-icon { font-size: 2.5rem; color: var(--purple); text-align: center; margin-bottom: 1rem; }
.modal h2 { text-align: center; margin-bottom: .5rem; font-size: 1.3rem; }
.modal p { text-align: center; color: var(--text-sm); font-size: .9rem; margin-bottom: 1.2rem; }
.platform-label { font-weight: 700; font-size: .88rem; color: var(--dark); margin-bottom: .6rem; }
.platform-options { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.4rem; }
.platform-card input { position: absolute; opacity: 0; width: 0; height: 0; }
.platform-card div {
  display: flex; align-items: center; gap: .8rem; padding: .75rem 1rem;
  border: 2px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; transition: all .2s;
}
.platform-card div i { font-size: 1.2rem; color: var(--purple); flex-shrink: 0; }
.platform-card div strong { font-size: .9rem; color: var(--dark); }
.platform-card div small { font-size: .78rem; color: var(--text-sm); display: block; }
.platform-card input:checked + div { border-color: var(--purple); background: #f5f3ff; }
.platform-card div:hover { border-color: var(--purple); }

/* ---------- VIDEO ROOM ---------- */
.video-room-container {
  background: #000; border-radius: var(--radius); overflow: hidden;
  margin-top: 2rem; box-shadow: 0 8px 40px rgba(0,0,0,.3);
}
.video-room-header {
  background: var(--dark); color: var(--white);
  padding: .8rem 1.2rem; display: flex; justify-content: space-between; align-items: center;
}
.video-room-header span { font-weight: 700; display: flex; align-items: center; gap: .5rem; }
.video-room-controls { display: flex; align-items: center; gap: .8rem; }
.control-btn {
  background: rgba(255,255,255,.1); border: none; color: var(--white);
  padding: .4rem .7rem; border-radius: var(--radius-sm); cursor: pointer; transition: .2s;
}
.control-btn:hover { background: rgba(255,255,255,.2); }
.video-frame { width: 100%; height: 620px; border: none; display: block; }

/* ---------- FOOTER ---------- */
.footer { background: var(--dark); color: rgba(255,255,255,.75); padding: 3.5rem 0 0; }
.footer-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.footer-brand { display: flex; flex-direction: column; gap: .3rem; }
.footer-brand .fa-dove { color: var(--gold); font-size: 1.5rem; }
.footer-brand span { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--white); display: block; margin: .4rem 0 .5rem; }
.footer-brand p { font-size: .85rem; }
.footer-links h4, .footer-contact h4 { color: var(--white); font-size: 1rem; margin-bottom: 1rem; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { font-size: .88rem; color: rgba(255,255,255,.65); transition: color .2s; }
.footer-links a:hover { color: var(--white); }
.footer-contact p { font-size: .88rem; display: flex; align-items: center; gap: .5rem; }
.footer-social { display: flex; gap: .8rem; margin-top: .6rem; }
.footer-social a { color: rgba(255,255,255,.5); font-size: 1.2rem; transition: color .2s; }
.footer-social a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.2rem 1.5rem; text-align: center; font-size: .82rem; color: rgba(255,255,255,.4); margin-top: 2.5rem; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .register-layout { grid-template-columns: 1fr; }
  .register-sidebar { position: static; }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 70px; left: 0; right: 0;
    background: var(--dark); padding: .5rem 0; box-shadow: 0 8px 20px rgba(0,0,0,.3);
  }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 1.5rem; border-radius: 0; font-size: .95rem; }
  .header { position: relative; }
  .hero { min-height: 90vh; }
  .features-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .form-row--2col { grid-template-columns: 1fr; }
  .video-frame { height: 380px; }
  .events-grid, .counselors-grid { grid-template-columns: 1fr; }
  .crisis-cta { flex-direction: column; }
  .steps-bar { display: grid; grid-template-columns: repeat(4, auto); gap: 4px; justify-content: center; }
  .step-line { display: none; }
  .emotion-grid { grid-template-columns: 1fr 1fr; }
  .urgency-options { grid-template-columns: 1fr; }
  .form-card { padding: 1.5rem 1rem; }
}
@media (max-width: 480px) {
  .btn { padding: .65rem 1.2rem; font-size: .88rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .modal { padding: 1.8rem 1.2rem; }
}
