/* ============================================================
   HGM - Hospital Geral do Moxico | Main Stylesheet
   ============================================================ */

:root {
  --primary:     #1B5E20;
  --primary-light: #2E7D32;
  --primary-mid: #388E3C;
  --primary-accent: #4CAF50;
  --primary-pale: #E8F5E9;
  --secondary:   #1565C0;
  --danger:      #C62828;
  --warning:     #F57F17;
  --text-dark:   #1A1A2E;
  --text-muted:  #6B7280;
  --text-light:  #F9FAFB;
  --bg-light:    #F8FAF9;
  --bg-white:    #FFFFFF;
  --border:      #E5E7EB;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08);
  --shadow-md:   0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.14);
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --transition:  .3s ease;
  --font-body:   'Inter', sans-serif;
  --font-heading:'Playfair Display', serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-heading); line-height: 1.3; }
h4, h5, h6 { font-weight: 600; }

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-light); }

img { max-width: 100%; height: auto; }

.container { max-width: 1240px; padding: 0 20px; }

/* ── Bootstrap Overrides ── */
.btn-primary { background: var(--primary); border-color: var(--primary); border-radius: 50px; font-weight: 600; padding: .6rem 1.6rem; transition: all var(--transition); }
.btn-primary:hover { background: var(--primary-light); border-color: var(--primary-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(27,94,32,.35); }
.btn-outline-primary { color: var(--primary); border-color: var(--primary); border-radius: 50px; font-weight: 600; padding: .6rem 1.6rem; }
.btn-outline-primary:hover { background: var(--primary); border-color: var(--primary); }
.btn-white { background: #fff; color: var(--primary); border: 2px solid #fff; border-radius: 50px; font-weight: 700; padding: .65rem 1.8rem; }
.btn-white:hover { background: transparent; color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); border-radius: 50px; font-weight: 600; padding: .65rem 1.8rem; }
.btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: #fff; color: #fff; }

.badge-primary { background: var(--primary-pale); color: var(--primary); font-size: .75rem; font-weight: 600; border-radius: 50px; padding: .3rem .8rem; }

.section-label {
  font-size: .8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--primary-accent); display: inline-block; margin-bottom: .5rem;
}
.section-title { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; color: var(--text-dark); margin-bottom: 1rem; }
.section-title span { color: var(--primary); }
.section-sub { color: var(--text-muted); max-width: 600px; }
.section-header { margin-bottom: 3rem; }

/* ── TOP BAR ── */
.topbar {
  background: var(--primary);
  color: rgba(255,255,255,.9);
  font-size: .8rem;
  padding: .4rem 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.topbar-left a, .topbar-left span {
  color: rgba(255,255,255,.9);
  margin-right: 1rem;
  font-size: .8rem;
}
.topbar-left a:hover { color: #fff; }
.topbar-left .divider { opacity: .4; }
.topbar-right a {
  color: rgba(255,255,255,.8);
  margin-left: .6rem;
  font-size: .85rem;
  transition: color var(--transition);
}
.topbar-right a:hover { color: #fff; }

/* ── NAVBAR ── */
.main-navbar {
  background: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  padding: .5rem 0;
  transition: all .3s;
  z-index: 1000;
}
.main-navbar.scrolled { padding: .3rem 0; box-shadow: 0 4px 30px rgba(0,0,0,.12); }
.logo-circle { display:inline-flex; align-items:center; justify-content:center; width:78px; height:78px; border-radius:50%; background:#fff; box-shadow:0 2px 10px rgba(0,0,0,.18); flex-shrink:0; transition:width var(--transition),height var(--transition); }
.navbar-logo { width:74%; height:auto; max-height:74%; object-fit:contain; }
.main-navbar.scrolled .logo-circle { width:64px; height:64px; }
.navbar-nav .nav-link {
  font-size: .9rem; font-weight: 500; color: var(--text-dark);
  padding: .5rem .9rem !important; border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--primary); background: var(--primary-pale); }
.navbar-nav .dropdown-menu {
  border: none; box-shadow: var(--shadow-lg); border-radius: var(--radius-md);
  padding: .5rem; animation: fadeDown .2s ease;
}
.navbar-nav .dropdown-item { border-radius: var(--radius-sm); padding: .55rem .9rem; font-size: .875rem; }
.navbar-nav .dropdown-item:hover { background: var(--primary-pale); color: var(--primary); }

.btn-appointment {
  background: var(--primary) !important; color: #fff !important;
  border-radius: 50px !important; padding: .5rem 1.3rem !important; font-size: .875rem !important;
  border: 2px solid var(--primary) !important;
}
.btn-appointment:hover { background: var(--primary-light) !important; transform: translateY(-1px); }

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

/* ── HERO / SLIDESHOW ── */
.hero-slider { position: relative; width: 100%; overflow: hidden; }
.hero-slider .swiper-slide {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
}
.hero-slide-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(12,40,15,.82) 0%, rgba(20,60,25,.55) 60%, transparent 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  color: #fff; max-width: 640px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50px; padding: .3rem 1rem; font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 1.2rem;
}
.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700;
  line-height: 1.15; margin-bottom: 1.2rem; color: #fff;
}
.hero-content p { font-size: 1.1rem; opacity: .9; margin-bottom: 2rem; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.swiper-button-next, .swiper-button-prev {
  background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.3);
  width: 48px !important; height: 48px !important;
  border-radius: 50%; color: #fff !important;
}
.swiper-button-next::after, .swiper-button-prev::after { font-size: .9rem !important; font-weight: 700; }
.swiper-pagination-bullet { background: #fff; opacity: .5; width: 10px; height: 10px; }
.swiper-pagination-bullet-active { opacity: 1; background: var(--primary-accent); width: 28px; border-radius: 5px; }

/* ── QUICK STATS ── */
.quick-stats { background: var(--primary); color: #fff; padding: 2rem 0; }
.stat-item { text-align: center; padding: 1rem; }
.stat-number { font-size: 2.4rem; font-weight: 800; font-family: var(--font-heading); line-height: 1; }
.stat-label { font-size: .85rem; opacity: .85; margin-top: .3rem; }

/* ── SECTIONS ── */
section { padding: 5rem 0; }
.section-bg { background: var(--bg-light); }

/* ── DEPARTMENT CARDS ── */
.dept-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 2rem 1.5rem; text-align: center;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: all var(--transition); height: 100%;
}
.dept-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--primary-pale); }
.dept-icon {
  width: 72px; height: 72px;
  background: var(--primary-pale); color: var(--primary);
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.7rem; margin-bottom: 1.2rem;
  transition: all var(--transition);
}
.dept-card:hover .dept-icon { background: var(--primary); color: #fff; transform: scale(1.1); }
.dept-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; font-family: var(--font-body); }
.dept-card p { font-size: .85rem; color: var(--text-muted); margin: 0; }

/* ── APPOINTMENT CTA ── */
.appointment-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #1565C0 100%);
  padding: 5rem 0;
  position: relative; overflow: hidden;
}
.appointment-section::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,.05); border-radius: 50%;
}
.appointment-section::after {
  content: ''; position: absolute; bottom: -80px; left: -40px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,.04); border-radius: 50%;
}

/* ── NEWS CARD ── */
.news-card {
  background: #fff; border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border); transition: all var(--transition); height: 100%;
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-card-img {
  width: 100%; height: 200px; object-fit: cover;
  transition: transform .5s ease;
}
.news-card:hover .news-card-img { transform: scale(1.04); }
.news-img-wrap { overflow: hidden; }
.news-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.news-meta { font-size: .78rem; color: var(--text-muted); margin-bottom: .6rem; }
.news-meta span { margin-right: .8rem; }
.news-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .6rem; font-family: var(--font-body); line-height: 1.4; }
.news-card h3 a { color: var(--text-dark); }
.news-card h3 a:hover { color: var(--primary); }
.news-card p { font-size: .875rem; color: var(--text-muted); flex: 1; }
.news-card .read-more { font-size: .85rem; font-weight: 600; color: var(--primary); margin-top: 1rem; display: inline-flex; align-items: center; gap: .3rem; }
.news-card .read-more:hover { gap: .6rem; }

/* ── DOCTOR CARD ── */
.doctor-card {
  background: #fff; border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border); transition: all var(--transition); height: 100%; text-align: center;
}
.doctor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.doctor-photo-wrap { position: relative; overflow: hidden; }
.doctor-photo { width: 100%; height: 260px; object-fit: cover; transition: transform .4s; }
.doctor-card:hover .doctor-photo { transform: scale(1.05); }
.doctor-overlay {
  position: absolute; inset: 0; background: rgba(27,94,32,.75);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition);
}
.doctor-card:hover .doctor-overlay { opacity: 1; }
.doctor-body { padding: 1.4rem; }
.doctor-body h4 { font-size: 1rem; font-weight: 700; margin-bottom: .2rem; font-family: var(--font-body); }
.doctor-specialty { font-size: .8rem; color: var(--primary); font-weight: 600; margin-bottom: .4rem; }
.doctor-dept { font-size: .78rem; color: var(--text-muted); }

/* ── TESTIMONIALS ── */
.testimonial-card {
  background: #fff; border-radius: var(--radius-md);
  padding: 2rem; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border); position: relative;
}
.testimonial-card::before {
  content: '\201C'; font-family: Georgia, serif; font-size: 5rem;
  color: var(--primary-pale); line-height: 1;
  position: absolute; top: -1rem; left: 1.5rem; z-index: 0;
}
.testimonial-text { position: relative; z-index: 1; font-style: italic; color: var(--text-muted); margin-bottom: 1.2rem; }
.testimonial-author { display: flex; align-items: center; gap: .8rem; }
.testimonial-avatar { width: 44px; height: 44px; background: var(--primary-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); font-weight: 700; font-size: 1.1rem; }
.testimonial-name { font-weight: 700; font-size: .9rem; }
.star-rating { color: #FFA000; font-size: .85rem; }

/* ── HERO QUICK ACCESS ── */
.quick-access { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 1.5rem; margin-top: -3rem; position: relative; z-index: 10; }
.quick-access-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 1.2rem; text-align: center; border-radius: var(--radius-md);
  transition: all var(--transition); color: var(--text-dark); gap: .5rem;
  border: 2px solid transparent;
}
.quick-access-item:hover { background: var(--primary-pale); border-color: var(--primary); color: var(--primary); }
.quick-access-item i { font-size: 1.8rem; color: var(--primary); }
.quick-access-item span { font-size: .8rem; font-weight: 600; }

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 5rem 0 3rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 45%;
  background: url('../images/pattern.svg') repeat;
  opacity: .05;
}
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.breadcrumb-item a { color: rgba(255,255,255,.8); }
.breadcrumb-item.active, .breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,.6); }

/* ── APPOINTMENT FORM ── */
.appointment-form-section { background: var(--bg-light); }
.form-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 2.5rem; }
.form-label { font-weight: 600; font-size: .875rem; color: var(--text-dark); margin-bottom: .4rem; }
.form-control, .form-select {
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: .65rem 1rem; font-size: .9rem; transition: all var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(27,94,32,.12); outline: none;
}
.form-step-indicator { display: flex; gap: .5rem; margin-bottom: 2rem; }
.step-dot { flex: 1; height: 4px; border-radius: 2px; background: var(--border); transition: background var(--transition); }
.step-dot.active { background: var(--primary); }

.info-sidebar { background: var(--primary); border-radius: var(--radius-lg); padding: 2rem; color: #fff; height: 100%; }
.info-sidebar h4 { color: #fff; font-family: var(--font-body); font-weight: 700; margin-bottom: 1.5rem; }
.info-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.info-item i { font-size: 1.2rem; opacity: .9; margin-top: .1rem; }
.info-item strong { display: block; font-size: .85rem; margin-bottom: .2rem; }
.info-item span { font-size: .8rem; opacity: .8; }

/* ── ABOUT PAGE ── */
.about-image-wrap { position: relative; height: 100%; }
.about-image-wrap img { border-radius: var(--radius-lg); }
.about-video { width: 100%; height: 100%; min-height: 460px; object-fit: cover; border-radius: var(--radius-lg); display: block; }
.about-badge-float {
  position: absolute; bottom: 2rem; right: -1.5rem;
  background: var(--primary); color: #fff;
  border-radius: var(--radius-md); padding: 1.2rem 1.5rem; text-align: center;
  box-shadow: var(--shadow-lg);
}
.about-badge-float .num { font-size: 2rem; font-weight: 800; display: block; line-height: 1; }
.about-badge-float .lbl { font-size: .75rem; opacity: .85; }

.value-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.value-icon { min-width: 44px; height: 44px; background: var(--primary-pale); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.1rem; }

/* ── CONTACT PAGE ── */
.contact-card { background: #fff; border-radius: var(--radius-md); padding: 1.5rem; box-shadow: var(--shadow-sm); border: 1px solid var(--border); text-align: center; height: 100%; transition: all var(--transition); }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary-pale); }
.contact-card-icon { width: 60px; height: 60px; background: var(--primary-pale); color: var(--primary); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1rem; }

/* ── FOOTER ── */
.footer { background: var(--text-dark); color: rgba(255,255,255,.8); }
.footer-top { padding: 4rem 0 2rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.2rem 0; font-size: .82rem; }
.footer-title { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 1.2rem; padding-bottom: .6rem; border-bottom: 2px solid var(--primary); display: inline-block; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: rgba(255,255,255,.75); font-size: .875rem; transition: color var(--transition); display: flex; align-items: center; gap: .4rem; }
.footer-links a::before { content: '›'; color: var(--primary-accent); font-size: 1.1rem; }
.footer-links a:hover { color: var(--primary-accent); padding-left: .3rem; }
.footer-contact-list { list-style: none; padding: 0; }
.footer-contact-list li { display: flex; gap: .8rem; margin-bottom: .9rem; font-size: .875rem; color: rgba(255,255,255,.8); }
.footer-contact-list i { color: var(--primary-accent); min-width: 16px; margin-top: .2rem; }
.footer-contact-list a { color: rgba(255,255,255,.8); }
.footer-contact-list a:hover { color: var(--primary-accent); }
.footer-social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.8); font-size: .85rem; transition: all var(--transition); }
.footer-social a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.footer-brand p { font-size: .875rem; color: rgba(255,255,255,.7); max-width: 280px; line-height: 1.7; }

/* ── FORMER DIRECTORS SLIDER (Liderança) ── */
.exdir-slider { padding: .5rem 0 3.5rem; }
.exdir-slider .swiper-slide { height: auto; }
.exdir-card {
  background: #fff; border-radius: var(--radius-md); text-align: center;
  padding: 1.6rem 1rem; box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  height: 100%; transition: all var(--transition);
}
.exdir-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.exdir-photo {
  width: 100px; height: 100px; object-fit: cover; border-radius: 50%;
  margin: 0 auto 1rem; display: block; border: 3px solid var(--primary-pale);
}
.exdir-card h5 { font-size: .92rem; font-weight: 700; color: var(--text-dark); margin-bottom: .3rem; font-family: var(--font-body); }
.exdir-period {
  display: inline-block; font-size: .72rem; font-weight: 700; color: var(--primary);
  background: var(--primary-pale); border-radius: 50px; padding: .2rem .8rem;
}
.exdir-slider .swiper-pagination { position: relative; margin-top: 1.5rem; }
.exdir-slider .swiper-pagination-bullet { background: var(--primary); opacity: .3; }
.exdir-slider .swiper-pagination-bullet-active { opacity: 1; width: 22px; border-radius: 5px; }
.exdir-slider .swiper-button-next, .exdir-slider .swiper-button-prev {
  background: #fff; box-shadow: var(--shadow-md); color: var(--primary) !important;
  width: 40px !important; height: 40px !important; top: 40%;
}
.exdir-slider .swiper-button-next::after, .exdir-slider .swiper-button-prev::after { font-size: .7rem !important; font-weight: 800; }

/* ── INFRASTRUCTURE SLIDER (Sobre) ── */
.infra-slider { padding: .5rem 0 3.5rem; position: relative; }
.infra-slider .swiper-slide { height: auto; }
.infra-slide-link {
  display: block; position: relative; overflow: hidden;
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
}
.infra-slide-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; display: block; }
.infra-slide-link:hover img { transform: scale(1.08); }
.infra-slide-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(27,94,32,.88), transparent);
  color: #fff; font-size: .85rem; font-weight: 600;
  padding: 2rem 1rem .8rem;
}
.infra-slider .swiper-pagination { position: relative; margin-top: 1.5rem; }
.infra-slider .swiper-pagination-bullet { background: var(--primary); opacity: .3; }
.infra-slider .swiper-pagination-bullet-active { opacity: 1; width: 22px; border-radius: 5px; }
.infra-slider .swiper-button-next, .infra-slider .swiper-button-prev {
  background: #fff; box-shadow: var(--shadow-md); color: var(--primary) !important;
  width: 42px !important; height: 42px !important; top: 42%;
}
.infra-slider .swiper-button-next::after, .infra-slider .swiper-button-prev::after { font-size: .75rem !important; font-weight: 800; }

/* ── LEADERSHIP ── */
.director-message {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.director-message::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 220px; height: 220px; background: rgba(255,255,255,.06); border-radius: 50%;
  z-index: 0;
}
.director-photo-col { position: relative; min-height: 360px; }
.director-message-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  border-radius: 0; border: none; box-shadow: none;
}
.director-message-body {
  padding: 2.8rem 2.5rem;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 1;
}
.director-message-label-wrap { margin-bottom: 1.2rem; }
.director-message-label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.7); margin-bottom: .2rem; }
.director-message-title { font-size: 1.35rem; font-weight: 700; color: #fff; letter-spacing: .06em; margin: 0; line-height: 1.2; }
.director-message-icon { font-size: 1.8rem; color: rgba(255,255,255,.35); margin-bottom: .5rem; display: block; }
.director-message-text { font-size: 1.05rem; line-height: 1.85; font-style: italic; color: rgba(255,255,255,.95); margin-bottom: 1.2rem; }
.director-message-author strong { display: block; font-size: 1.05rem; font-family: var(--font-body); }
.director-message-author span { font-size: .85rem; color: rgba(255,255,255,.75); }
@media (max-width: 768px) {
  .director-photo-col { min-height: 260px; }
  .director-message-body { padding: 2rem 1.5rem; }
}
.leader-card {
  display: block; background: #fff; border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: all var(--transition); height: 100%; text-decoration: none; color: inherit;
}
.leader-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: inherit; }
.leader-photo-wrap { position: relative; overflow: hidden; aspect-ratio: 4/4.2; }
.leader-photo { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.leader-card:hover .leader-photo { transform: scale(1.06); }
.leader-overlay {
  position: absolute; inset: 0; background: rgba(27,94,32,.82);
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 1rem;
  opacity: 0; transition: opacity var(--transition);
}
.leader-overlay span { color: #fff; font-weight: 600; font-size: .85rem; }
.leader-card:hover .leader-overlay { opacity: 1; }
.leader-body { padding: 1.2rem 1rem; text-align: center; }
.leader-body h4 { font-size: 1rem; font-weight: 700; margin-bottom: .25rem; font-family: var(--font-body); color: var(--text-dark); }
.leader-body p { font-size: .8rem; color: var(--primary); font-weight: 600; margin: 0; }

.cv-timeline { list-style: none; padding: 0; margin: 0; }
.cv-timeline li {
  position: relative; padding: 0 0 1rem 1.6rem; font-size: .9rem; color: var(--text-dark);
  border-left: 2px solid var(--primary-pale);
}
.cv-timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.cv-timeline li::before {
  content: ''; position: absolute; left: -7px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--primary); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--primary-pale);
}

/* ── GALLERY ── */
.gallery-item {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; display: block; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(27,94,32,.85), rgba(27,94,32,0) 60%);
  color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  gap: .3rem; padding: 1rem; text-align: center;
  opacity: 0; transition: opacity var(--transition); font-size: .85rem; font-weight: 600;
}
.gallery-item-overlay i { font-size: 1.3rem; opacity: 0; transform: translateY(8px); transition: all var(--transition); }
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item:hover .gallery-item-overlay i { opacity: 1; transform: translateY(0); }

.hgm-lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(10,20,12,.94);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  opacity: 0; visibility: hidden; transition: opacity .25s ease;
  padding: 2rem;
}
.hgm-lightbox.open { opacity: 1; visibility: visible; }
.hgm-lightbox img { max-width: min(90vw, 1100px); max-height: 80vh; border-radius: var(--radius-md); box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.hgm-lightbox-caption { color: #fff; margin-top: 1rem; font-size: .9rem; opacity: .85; text-align: center; }
.hgm-lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #fff;
  font-size: 1.1rem; cursor: pointer; transition: all var(--transition);
}
.hgm-lightbox-close:hover { background: rgba(255,255,255,.2); transform: rotate(90deg); }

/* ── SCROLL TOP ── */
.scroll-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--primary); color: #fff;
  border: none; border-radius: 50%; cursor: pointer;
  display: none; align-items: center; justify-content: center;
  font-size: .9rem; box-shadow: var(--shadow-md);
  transition: all var(--transition); z-index: 999;
}
.scroll-top:hover { background: var(--primary-light); transform: translateY(-3px); }
.scroll-top.visible { display: flex; }

/* ── ALERT / TOAST ── */
.alert-success-custom { background: #E8F5E9; border: 1px solid #A5D6A7; color: var(--primary); border-radius: var(--radius-md); padding: 1rem 1.5rem; }
.alert-error-custom { background: #FFEBEE; border: 1px solid #EF9A9A; color: #C62828; border-radius: var(--radius-md); padding: 1rem 1.5rem; }

/* ── UTILS ── */
.text-primary-custom { color: var(--primary) !important; }
.bg-primary-custom { background: var(--primary) !important; }
.bg-primary-pale { background: var(--primary-pale) !important; }
.rounded-custom { border-radius: var(--radius-lg) !important; }
.shadow-custom { box-shadow: var(--shadow-md) !important; }

/* ── LEADER PREVIEW CARD (homepage teaser) ── */
.leader-preview-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 2rem 1.2rem 1.5rem; background: #fff; border-radius: var(--radius-md);
  border: 2px solid var(--border); transition: all var(--transition); height: 100%;
}
.leader-preview-card:hover {
  border-color: var(--primary); transform: translateY(-5px); box-shadow: var(--shadow-lg);
}
.leader-preview-photo-wrap {
  width: 110px; height: 110px; border-radius: 50%; overflow: hidden;
  margin-bottom: 1.2rem; border: 3px solid var(--primary-pale);
  flex-shrink: 0; transition: border-color var(--transition);
}
.leader-preview-card:hover .leader-preview-photo-wrap { border-color: var(--primary-accent); }
.leader-preview-photo-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.leader-preview-name {
  font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: .3rem; line-height: 1.3;
}
.leader-preview-position {
  font-size: .8rem; color: var(--primary); font-weight: 600; line-height: 1.4; margin-bottom: .8rem;
}
.leader-preview-link {
  font-size: .75rem; font-weight: 700; color: var(--primary-accent);
  letter-spacing: .5px; text-transform: uppercase; margin-top: auto;
  transition: color var(--transition);
}
.leader-preview-card:hover .leader-preview-link { color: var(--primary); }

/* ── ARTICLE MINI CARD (homepage teaser) ── */
.article-mini-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden; display: flex; flex-direction: column; height: 100%;
  transition: all var(--transition);
}
.article-mini-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.article-mini-img { height: 180px; overflow: hidden; }
.article-mini-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; display: block; }
.article-mini-card:hover .article-mini-img img { transform: scale(1.05); }
.article-mini-body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.article-mini-cat {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--primary); background: var(--primary-pale);
  border-radius: 50px; padding: .2rem .75rem; margin-bottom: .7rem;
}
.article-mini-title {
  font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--text-dark);
  margin-bottom: .5rem; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-mini-excerpt {
  font-size: .85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: .75rem; flex: 1;
}
.article-mini-link {
  font-size: .82rem; font-weight: 700; color: var(--primary); transition: color var(--transition);
}
.article-mini-link:hover { color: var(--primary-light); }

/* ── HOME GALLERY GRID (homepage) ── */
.home-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 215px;
  gap: 10px;
}
.home-gallery-item {
  overflow: hidden; border-radius: var(--radius-sm); position: relative;
  display: block; cursor: pointer;
}
.home-gallery-item--tall { grid-row: span 2; }
.home-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; display: block; }
.home-gallery-item:hover img { transform: scale(1.06); }

/* ── WHATSAPP FLOATING BUTTON ── */
.whatsapp-float {
  position: fixed; bottom: 5.5rem; right: 2rem; z-index: 998;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25D366; color: #fff;
  align-items: center; justify-content: center;
  font-size: 1.5rem; box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: all var(--transition); text-decoration: none; display: none;
}
.whatsapp-float.visible { display: flex; }
.whatsapp-float:hover { background: #1DA851; color: #fff; transform: translateY(-3px) scale(1.08); box-shadow: 0 8px 30px rgba(37,211,102,.55); }
.whatsapp-float .wa-tooltip {
  position: absolute; right: 62px; white-space: nowrap;
  background: rgba(0,0,0,.72); color: #fff; font-size: .75rem;
  padding: .3rem .7rem; border-radius: 50px;
  opacity: 0; pointer-events: none; transition: opacity var(--transition);
}
.whatsapp-float:hover .wa-tooltip { opacity: 1; }

/* ── FAQ PAGE ── */
.faq-search-wrap { position: relative; }
.faq-search-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--primary); opacity: .55; pointer-events: none; }
.faq-search-input { padding-left: 2.8rem; border-radius: var(--radius-lg) !important; border: 2px solid var(--border); font-size: 1rem; height: 52px; transition: border-color var(--transition), box-shadow var(--transition); }
.faq-search-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(27,94,32,.1); }
.faq-category-pills { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.faq-pill { border: 1.5px solid var(--border); background: #fff; border-radius: 50px; padding: .35rem 1.1rem; font-size: .82rem; font-weight: 600; cursor: pointer; transition: all var(--transition); color: var(--text-muted); }
.faq-pill.active, .faq-pill:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.faq-category-title { font-size: 1rem; font-weight: 700; color: var(--primary); padding-left: .75rem; border-left: 3px solid var(--primary-accent); }
.accordion-item.faq-item { border-radius: var(--radius-sm) !important; margin-bottom: .4rem; border: 1px solid var(--border) !important; overflow: hidden; transition: box-shadow var(--transition); }
.accordion-item.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-question { font-weight: 600; font-size: .93rem; }
.faq-question:not(.collapsed) { color: var(--primary); background: var(--primary-pale); }
.faq-answer { color: var(--text-muted); line-height: 1.8; font-size: .93rem; background: #fafffe; }

/* ── RESPONSIVE ── */
@media (max-width: 992px) {
  .topbar-left span:not(.divider) { display: none; }
  .hero-slider .swiper-slide { min-height: 70vh; }
  .quick-access { margin-top: 0; margin-bottom: 2rem; }
  .about-badge-float { right: 0; }
}
@media (max-width: 768px) {
  section { padding: 3.5rem 0; }
  .hero-slider .swiper-slide { min-height: 60vh; }
  .hero-content h1 { font-size: 2rem; }
  .topbar { display: none; }
  .form-card { padding: 1.5rem; }
  .quick-stats .stat-number { font-size: 2rem; }
  .home-gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 148px; }
  .home-gallery-item--tall { grid-row: span 1; }
  .whatsapp-float { bottom: 5rem; right: 1.2rem; width: 46px; height: 46px; font-size: 1.3rem; }
}
@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .hero-content { text-align: center; }
}

/* ── PRINT ── */
@media print {
  .topbar, .main-navbar, .footer, .scroll-top, .btn { display: none !important; }
}
