/* ═══════════════════════════════════════════════════════════
   DCC – Telehealth Page Styles
   File: public/css/telehealth.css
   ═══════════════════════════════════════════════════════════ */

/* ─── HERO ───────────────────────────────────────────────── */
.tele-hero {
  background:
    linear-gradient(135deg, rgba(13,31,60,.88) 0%, rgba(10,37,64,.82) 45%, rgba(15,61,46,.80) 100%),
    url('https://picsum.photos/seed/petparent/1600/800') center / cover no-repeat;
  padding: 5rem 0; position: relative; overflow: hidden;
}
.tele-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 65% 55% at 70% 50%, rgba(29,185,84,.15), transparent 70%); }
.tele-hero::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 35px 35px; pointer-events: none; }

.tele-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 2; }
.tele-hero__title { font-family: 'Lora', serif; font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; color: #fff; line-height: 1.12; margin-bottom: 1rem; }
.tele-hero__title em { color: var(--green); font-style: italic; }
.tele-hero__sub { color: rgba(255,255,255,.68); font-size: 1.05rem; line-height: 1.75; max-width: 440px; margin-bottom: 1.5rem; }

.tele-hero__highlights { display: flex; gap: 1.2rem; margin-bottom: 2rem; flex-wrap: wrap; }
.th-highlight { display: flex; align-items: center; gap: .4rem; background: rgba(29,185,84,.12); border: 1px solid rgba(29,185,84,.25); color: rgba(255,255,255,.85); padding: .4rem .9rem; border-radius: 9999px; font-size: .78rem; font-weight: 700; }
.th-icon { font-size: 1rem; }
.tele-hero__btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Video call mockup */
.tele-hero__visual { display: flex; justify-content: center; }
.tele-hero__mockup { perspective: 600px; }
.mockup-screen {
  width: 300px; background: var(--navy); border-radius: 24px;
  border: 3px solid rgba(29,185,84,.3); overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,.45); transition: var(--transition);
  transform: rotateY(-5deg); animation: mockupFloat 4s ease-in-out infinite;
}
@keyframes mockupFloat { 0%,100% { transform: rotateY(-5deg) translateY(0); } 50% { transform: rotateY(-5deg) translateY(-10px); } }
.mockup-screen:hover { transform: rotateY(0deg) scale(1.02); }

.mockup-header { display: flex; align-items: center; gap: .7rem; padding: 1rem 1.2rem; background: rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.08); }
.mockup-avatar { font-size: 2rem; }
.mockup-name { font-size: .78rem; font-weight: 700; color: #fff; }
.mockup-status { font-size: .65rem; color: var(--green); font-weight: 700; }
.mockup-video { font-size: 6rem; text-align: center; padding: 2.5rem 0; background: linear-gradient(180deg, rgba(29,185,84,.08) 0%, rgba(29,185,84,.02) 100%); }
.mockup-controls { display: flex; justify-content: center; gap: 1.2rem; padding: 1rem; background: rgba(0,0,0,.3); }
.mc-btn { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; cursor: pointer; transition: var(--transition); }
.mc-btn--mute { background: rgba(255,255,255,.15); }
.mc-btn--end { background: #ef4444; }
.mc-btn--cam { background: rgba(255,255,255,.15); }
.mc-btn:hover { transform: scale(1.1); }

/* ─── HOW IT WORKS ───────────────────────────────────────── */
.tele-how { padding: 5rem 0; background: var(--white); }
.tele-how__steps { display: flex; align-items: flex-start; justify-content: center; gap: 1rem; margin-top: 3rem; flex-wrap: wrap; }
.tele-step {
  text-align: center; flex: 1; min-width: 200px; max-width: 280px;
  padding: 2rem 1.5rem; background: var(--off-white); border-radius: 20px;
  border: 1px solid var(--gray-light); transition: var(--transition); position: relative;
}
.tele-step:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,.08); border-color: var(--green); }
.tele-step__num {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff;
  font-size: .72rem; font-weight: 800; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 8px rgba(29,185,84,.3);
}
.tele-step__icon { font-size: 2.5rem; margin-bottom: .8rem; }
.tele-step h4 { font-family: 'Lora', serif; font-weight: 700; font-size: 1rem; color: var(--navy); margin-bottom: .4rem; }
.tele-step p { font-size: .82rem; color: var(--gray); line-height: 1.6; }
.tele-step__arrow { font-size: 1.5rem; color: var(--green); font-weight: 800; align-self: center; margin-top: 2rem; }

/* ─── FEATURES GRID ──────────────────────────────────────── */
.tele-features-section { padding: 3rem 0; background: var(--off-white); }
.tele-feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.8rem; }
.tele-feat-card {
  background: var(--white); border-radius: 16px; padding: 1.4rem 1.2rem;
  border: 1px solid var(--gray-light); transition: var(--transition); text-align: center;
}
.tele-feat-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(0,0,0,.08); border-color: var(--green); }
.tfc-icon { font-size: 1.9rem; margin-bottom: .5rem; }
.tele-feat-card h4 { font-family: 'Lora', serif; font-weight: 700; font-size: .95rem; color: var(--navy); margin-bottom: .3rem; }
.tele-feat-card p { font-size: .8rem; color: var(--gray); line-height: 1.6; }

/* ─── CONDITIONS ─────────────────────────────────────────── */
.tele-conditions { padding: 5rem 0; background: var(--white); }
.tele-conditions__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; }
.tele-conditions__content .section-title { text-align: left; }
.conditions-list { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1.5rem; }
.cond-row { display: flex; align-items: center; gap: .5rem; font-size: .88rem; font-weight: 600; color: var(--navy); }
.cond-icon { color: var(--green); font-size: .85rem; }

.tele-conditions__box {
  background: linear-gradient(145deg, var(--navy), #0f3d2e); border-radius: 24px;
  min-height: 300px; display: flex; flex-direction: column; align-items: center;
  justify-content: center; position: relative; box-shadow: 0 20px 50px rgba(0,0,0,.18);
}
.tcb-emoji { font-size: 8rem; filter: drop-shadow(0 8px 24px rgba(29,185,84,.3)); }
.tcb-badge {
  position: absolute; top: 1.2rem; right: 1.2rem; background: var(--green);
  color: #fff; padding: .35rem .9rem; border-radius: 20px; font-size: .72rem;
  font-weight: 800; display: flex; align-items: center; gap: .4rem;
}
.tcb-dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 1.5s infinite; }

/* ─── TESTIMONIALS ───────────────────────────────────────── */
.tele-testimonials { padding: 3.5rem 0; background: var(--off-white); }
.tele-testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2rem; }

.testi-card {
  background: var(--white); border-radius: 18px; padding: 1.6rem 1.5rem;
  border: 1px solid var(--gray-light); transition: var(--transition);
  display: flex; flex-direction: column; gap: .8rem;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.09); border-color: var(--green); }
.testi-card--featured { border-color: var(--green); box-shadow: 0 6px 24px rgba(29,185,84,.14); }

.testi-stars { color: #f59e0b; font-size: 1rem; letter-spacing: .08rem; }
.testi-quote { font-size: .87rem; color: var(--gray-dark); line-height: 1.75; font-style: italic; flex: 1; }
.testi-author { display: flex; align-items: center; gap: .8rem; border-top: 1px solid var(--gray-light); padding-top: .9rem; }
.testi-avatar { font-size: 1.8rem; }
.testi-name { font-weight: 700; font-size: .88rem; color: var(--navy); }
.testi-meta { font-size: .74rem; color: var(--gray); }

/* ─── FAQ ACCORDION ──────────────────────────────────────── */
.tele-faq { padding: 3.5rem 0; background: var(--white); }
.faq-list { max-width: 750px; margin: 2rem auto 0; }
.faq-item { border-bottom: 1px solid var(--gray-light); }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 0; font-family: 'Inter', sans-serif; font-size: .95rem; font-weight: 700;
  color: var(--navy); background: none; border: none; cursor: pointer;
  text-align: left; transition: var(--transition);
}
.faq-question:hover { color: var(--green); }
.faq-arrow { font-size: 1.2rem; font-weight: 300; transition: transform .3s ease; color: var(--green); }
.faq-item.open .faq-arrow { transform: rotate(45deg); }

.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease;
}
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 1.2rem; }
.faq-answer p { font-size: .88rem; color: var(--gray); line-height: 1.7; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .tele-hero__grid { grid-template-columns: 1fr; text-align: center; }
  .tele-hero__sub { margin: 0 auto 1.5rem; }
  .tele-hero__highlights { justify-content: center; }
  .tele-hero__btns { justify-content: center; }
  .tele-hero__visual { display: none; }
  .tele-conditions__grid { grid-template-columns: 1fr; }
  .tele-conditions__visual { display: none; }
  .tele-feat-grid { grid-template-columns: repeat(2, 1fr); }
  .tele-testi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .tele-how__steps { flex-direction: column; align-items: center; }
  .tele-step__arrow { transform: rotate(90deg); margin: 0; }
  .tele-step { max-width: 100%; }
  .tele-feat-grid { grid-template-columns: 1fr; }
  .tele-testi-grid { grid-template-columns: 1fr; }
  .conditions-list { grid-template-columns: 1fr; }
  .tele-hero { padding: 4rem 0; }
  .tele-how, .tele-features-section, .tele-conditions, .tele-testimonials, .tele-faq { padding: 3rem 0; }
}
