/* ============================================
   Sections — Page-specific Styles
   Cyber Blue Theme
   ============================================ */

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-height);
  background: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  z-index: var(--z-navbar);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 30px rgba(10, 36, 99, 0.06);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-xl);
}

.navbar__logo {
  height: 48px;
  width: auto;
  flex-shrink: 0;
}

.navbar__logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.navbar__link {
  padding: var(--space-sm) var(--space-md);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--color-text-secondary);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  white-space: nowrap;
  position: relative;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: all var(--transition-base);
  transform: translateX(-50%);
  border-radius: var(--radius-full);
}

.navbar__link:hover,
.navbar__link.active {
  color: var(--color-primary);
}

.navbar__link:hover::after,
.navbar__link.active::after {
  width: 60%;
}

/* ── Navbar Dropdown ── */
.navbar__dropdown {
  position: relative;
}

.navbar__dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.dropdown-chevron {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  opacity: 0.7;
}

.navbar__dropdown.open .dropdown-chevron {
  transform: rotate(180deg);
}

.navbar__dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px) scale(0.97);
  min-width: 240px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 180, 216, 0.12);
  border-radius: 16px;
  box-shadow:
    0 20px 60px rgba(0, 36, 99, 0.12),
    0 4px 16px rgba(0, 180, 216, 0.1),
    0 0 0 1px rgba(255,255,255,0.8) inset;
  padding: 10px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 999;
  overflow: hidden;
}

/* gradient accent bar at top */
.navbar__dropdown-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 16px 16px 0 0;
}

/* little arrow pointing up */
.navbar__dropdown-menu::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: white;
  border: 1px solid rgba(0, 180, 216, 0.12);
  border-bottom: none;
  border-right: none;
  border-radius: 2px 0 0 0;
  transform: translateX(-50%) rotate(45deg);
}

.navbar__dropdown.open .navbar__dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.navbar__dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 22px;
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--color-text-secondary);
  transition: all 0.18s ease;
  position: relative;
  text-decoration: none;
  white-space: nowrap;
}

/* Bullet dot */
.navbar__dropdown-item::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient-accent);
  flex-shrink: 0;
  opacity: 0.45;
  transition: opacity 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.navbar__dropdown-item:hover {
  color: var(--color-primary);
  background: linear-gradient(90deg, rgba(0, 180, 216, 0.05) 0%, transparent 100%);
  padding-left: 26px;
}

.navbar__dropdown-item:hover::before {
  opacity: 1;
  transform: scale(1.25);
  box-shadow: 0 0 6px rgba(0, 180, 216, 0.5);
}

/* divider between groups */
.navbar__dropdown-item:last-child {
  border-top: 1px solid rgba(0, 180, 216, 0.08);
  margin-top: 4px;
  padding-top: 14px;
}

.navbar__dropdown-item--soon {
  opacity: 0.5;
  pointer-events: none;
  cursor: default;
}

.navbar__dropdown-item--soon::after {
  content: 'Yakında';
  font-size: 10px;
  font-weight: var(--fw-semibold);
  color: var(--color-accent-dark);
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.2);
  border-radius: 4px;
  padding: 1px 6px;
  margin-left: auto;
  letter-spacing: 0.02em;
}

.mobile-menu__sublink--soon {
  opacity: 0.45;
  pointer-events: none;
  cursor: default;
}

/* ── Mobile Submenu ── */
.mobile-menu__group {
  display: flex;
  flex-direction: column;
}

.mobile-menu__group-trigger {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.mobile-menu__submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: rgba(0, 180, 216, 0.04);
  border-left: 2px solid rgba(0, 180, 216, 0.2);
  margin-left: var(--space-md);
  border-radius: 0 0 8px 8px;
}

.mobile-menu__group.open .mobile-menu__submenu {
  max-height: 400px;
}

.mobile-menu__group.open .dropdown-chevron {
  transform: rotate(180deg);
}

.mobile-menu__sublink {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--color-text-secondary);
  transition: color 0.18s ease;
  text-decoration: none;
}

.mobile-menu__sublink::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gradient-accent);
  flex-shrink: 0;
  opacity: 0.5;
}

.mobile-menu__sublink:hover {
  color: var(--color-primary);
}

/* ── Navbar Action Buttons — shared base ── */
.navbar__opinion,
.navbar__appointment {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.52rem 1.15rem;
  font-size: 13px;
  font-weight: 600;
  border-radius: 50px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.025em;
  font-family: inherit;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

/* Görüş Al — glass outline */
.navbar__opinion {
  color: var(--color-primary);
  background: rgba(0, 180, 216, 0.06);
  border: 1.5px solid rgba(0, 180, 216, 0.3);
  box-shadow: none;
}

.navbar__opinion:hover {
  background: rgba(0, 180, 216, 0.12);
  border-color: var(--color-primary);
  box-shadow: 0 4px 14px rgba(0, 180, 216, 0.2);
  transform: translateY(-1px);
  color: var(--color-primary);
}

.navbar__opinion svg,
.navbar__appointment svg {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
}

/* ── GÖRÜŞ AL MODAL ──
   Stiller css/lab-theme.css → "14. OPINION MODAL" bölümüne taşındı. */

/* Randevu Al — solid gradient (overrides shared base) */
.navbar__appointment {
  color: #fff;
  background: linear-gradient(135deg, #0077b6 0%, #00b4d8 100%);
  border: 1.5px solid transparent;
  box-shadow: 0 3px 14px rgba(0, 180, 216, 0.35);
}

.navbar__appointment::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.navbar__appointment:hover {
  color: #fff;
  box-shadow: 0 6px 22px rgba(0, 180, 216, 0.5);
  transform: translateY(-1px);
}

.navbar__appointment:hover::before { opacity: 1; }

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* divider between buttons and lang picker */
.navbar__actions-divider {
  width: 1px;
  height: 22px;
  background: var(--color-border);
  margin: 0 4px;
  flex-shrink: 0;
}

/* ── Language Switcher Dropdown ── */
.lang-switcher {
  position: relative;
  z-index: 1001;
}

.lang-switcher__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.52rem 0.9rem 0.52rem 0.75rem;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-secondary);
  background: var(--color-bg-alt);
  border: 1.5px solid var(--color-border);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.03em;
  font-family: inherit;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
}

.lang-switcher__trigger:hover {
  border-color: rgba(0, 180, 216, 0.5);
  color: var(--color-primary);
  background: rgba(0, 180, 216, 0.05);
}

.lang-switcher.open .lang-switcher__trigger {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(0, 180, 216, 0.06);
}

.lang-switcher__flag {
  font-size: 16px;
  line-height: 1;
  display: flex;
}

.lang-switcher__code {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.lang-switcher__chevron {
  opacity: 0.55;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.lang-switcher.open .lang-switcher__chevron {
  transform: rotate(180deg);
}

/* ── Dropdown Menu ── */
.lang-switcher__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 160px;
  background: #fff;
  border: 1px solid rgba(0, 180, 216, 0.12);
  border-radius: 14px;
  box-shadow:
    0 16px 48px rgba(0, 36, 99, 0.12),
    0 4px 12px rgba(0, 180, 216, 0.08),
    0 0 0 1px rgba(255,255,255,0.9) inset;
  padding: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px) scale(0.97);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1000;
  overflow: hidden;
}

/* top accent bar */
.lang-switcher__menu::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2.5px;
  background: var(--gradient-accent);
  border-radius: 14px 14px 0 0;
}

.lang-switcher.open .lang-switcher__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.lang-switcher__option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 14px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: var(--fw-medium);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
  background: none;
  border: none;
  font-family: inherit;
  text-align: left;
}

.lang-switcher__option span:first-child {
  font-size: 17px;
  line-height: 1;
  flex-shrink: 0;
}

.lang-switcher__option:hover {
  background: rgba(0, 180, 216, 0.07);
  color: var(--color-primary);
}

.lang-switcher__option.active {
  background: rgba(0, 180, 216, 0.1);
  color: var(--color-primary);
  font-weight: var(--fw-semibold);
}


/* ── Hamburger Menu ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  cursor: pointer;
  z-index: calc(var(--z-navbar) + 1);
}

.hamburger__line {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger.active .hamburger__line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger__line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Mobile Menu Overlay ── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(3, 12, 32, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: var(--z-navbar);
  padding-top: calc(var(--navbar-height) + var(--space-2xl));
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-slow);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-xl);
}

.mobile-menu__link {
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  color: var(--color-text-on-dark);
  padding: var(--space-md);
  transition: color var(--transition-base);
  position: relative;
}

.mobile-menu__link:hover {
  color: var(--color-accent);
}

.mobile-menu__link::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: all var(--transition-base);
  transform: translateX(-50%);
}

.mobile-menu__link:hover::after {
  width: 80%;
}

/* ── Appointment CTA Button (Mobile) ── */
.mobile-menu__appointment {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: var(--space-lg);
  padding: 0.875rem 2rem;
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  color: #fff;
  background: var(--gradient-accent);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  box-shadow: 0 4px 20px rgba(0, 180, 216, 0.35);
  letter-spacing: 0.02em;
}

.mobile-menu__appointment:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 28px rgba(0, 180, 216, 0.5);
  color: #fff;
}

.mobile-menu__appointment svg {
  flex-shrink: 0;
}

/* ── HERO SECTION ──
   Eski Vesper hero (video + grain) kaldırıldı.
   Yeni hero stilleri: css/lab-theme.css → "3. HERO" */

/* ── ABOUT SECTION ── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.about__text {
  font-size: var(--fs-body-lg);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
}

.about__text p {
  margin-bottom: var(--space-lg);
}

.about__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.about__stat-card {
  background: var(--gradient-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.about__stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: transform var(--transition-base);
  transform-origin: left;
}

.about__stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.about__stat-card:hover::before {
  transform: scaleX(1);
}

/* ── SPECIALTIES SECTION ── */
.specialties__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.specialty-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 0;
  text-align: left;
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.specialty-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: transform var(--transition-base);
  transform-origin: left;
  z-index: 1;
}

.specialty-card:hover {
  box-shadow: var(--shadow-card-hover), 0 0 20px rgba(0, 180, 216, 0.08);
  transform: translateY(-6px);
}

.specialty-card:hover::before {
  transform: scaleX(1);
}

.specialty-card__visual {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  flex-shrink: 0;
}

.specialty-card__visual img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.specialty-card:hover .specialty-card__visual img {
  transform: scale(1.07);
}

.specialty-card__body {
  padding: var(--space-lg) var(--space-lg) var(--space-xl);
  flex: 1;
}

.specialty-card__title {
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.specialty-card__desc {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  line-height: var(--lh-normal);
}

/* ── DISEASES SECTION (Accordion) ── */
.diseases {
  max-width: var(--container-narrow);
  margin-inline: auto;
}

/* ── ACADEMIC SECTION (Timeline) ── */
.academic__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.academic__section-title {
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: var(--color-text);
  margin-bottom: var(--space-2xl);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.academic__section-title svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
}

/* ── Certificates List ── */
.cert-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.cert-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  transition: background var(--transition-base);
}

.cert-item:hover {
  background: rgba(0, 180, 216, 0.04);
}

.cert-item__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  margin-top: 8px;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(0, 180, 216, 0.4);
}

.cert-item__text {
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
  line-height: var(--lh-normal);
}

/* ── PUBLICATIONS SECTION ── */
/* Uses .tabs component + .pub-item component */

/* ── MEMBERSHIPS SECTION ── */
.memberships__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

/* ── CONTACT SECTION ── */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
}

.contact__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: rgba(0, 180, 216, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent-dark);
}

.contact__icon svg {
  width: 22px;
  height: 22px;
}

.contact__label {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: var(--fw-medium);
}

.contact__value {
  font-size: var(--fs-body);
  color: var(--color-text);
  font-weight: var(--fw-medium);
}

.contact__address-link {
  display: inline-block;
  text-decoration: none;
  color: var(--color-text);
  transition: color var(--transition-base);
  border-bottom: 1px dashed rgba(0, 180, 216, 0.4);
  padding-bottom: 1px;
}

.contact__address-link:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.contact__map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 350px;
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: none;
  display: block;
}

/* ── Profil kartı overlay ── */
.map__profile-card {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 180, 216, 0.3);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(255,255,255,0.5);
  text-decoration: none;
  color: #1a1a1a;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  max-width: 300px;
}

.map__profile-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(0, 180, 216, 0.4);
}

.map__profile-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2.5px solid rgba(0, 180, 216, 0.6);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.map__profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.map__profile-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.map__profile-info strong {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
}

.map__profile-info > span {
  font-size: 11px;
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.map__profile-addr {
  display: flex !important;
  align-items: center;
  gap: 3px;
  font-size: 10.5px !important;
  color: #555 !important;
  font-weight: 400 !important;
  margin-top: 2px;
}

.map__profile-addr svg {
  width: 11px;
  height: 11px;
  color: var(--color-accent-dark);
  flex-shrink: 0;
}

.map__profile-cta {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
  padding: 4px 8px;
  background: rgba(0, 180, 216, 0.08);
  border-radius: 8px;
  border: 1px solid rgba(0, 180, 216, 0.15);
  transition: background 0.2s ease;
}

.map__profile-card:hover .map__profile-cta {
  background: rgba(0, 180, 216, 0.14);
}

/* ── FOOTER ── */
.footer {
  background: var(--gradient-dark);
  color: var(--color-text-on-dark);
  padding: var(--space-3xl) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-accent);
  opacity: 0.5;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--fs-small);
  line-height: var(--lh-relaxed);
  margin-top: var(--space-md);
  max-width: 350px;
}

.footer__logo {
  height: 50px;
  width: auto;
  filter: brightness(1.8) drop-shadow(0 0 8px rgba(0, 180, 216, 0.3));
  opacity: 1;
}

.footer__title {
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-lg);
  color: var(--color-text-on-primary);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__link {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-base);
}

.footer__link:hover {
  color: var(--color-accent);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-xl);
  padding-bottom: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.footer__copyright {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.4);
}

.footer__social {
  display: flex;
  gap: var(--space-md);
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  color: rgba(255, 255, 255, 0.6);
  position: relative;
  z-index: 10;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(255,255,255,0.2);
}

.footer__social-link:hover {
  background: var(--color-accent);
  color: var(--color-text-on-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 180, 216, 0.3);
}

.footer__social-link svg {
  width: 16px;
  height: 16px;
  pointer-events: none;
}

/* ── WHATSAPP FLOATING BUTTON ── */
.whatsapp-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: var(--z-whatsapp);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-sm);
  pointer-events: none; /* container doesn't block clicks on elements underneath */
}

.whatsapp-fab__tooltip {
  background: var(--color-surface);
  color: var(--color-text);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-base);
  pointer-events: none;
}

.whatsapp-fab:hover .whatsapp-fab__tooltip {
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-fab__btn {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--color-whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(26, 141, 78, 0.25);
  transition: all var(--transition-base);
  position: relative;
  pointer-events: auto;
  animation: wa-glow 3s ease-in-out infinite;
}

@keyframes wa-glow {
  0%, 100% {
    box-shadow: 0 4px 16px rgba(26, 141, 78, 0.25);
  }
  50% {
    box-shadow: 0 4px 24px rgba(26, 141, 78, 0.5), 0 0 40px rgba(37, 211, 102, 0.2);
  }
}

.whatsapp-fab__btn:hover {
  background: var(--color-whatsapp-hover);
  transform: scale(1.08);
  animation: none;
  box-shadow: 0 6px 28px rgba(26, 141, 78, 0.45), 0 0 48px rgba(37, 211, 102, 0.25);
}

.whatsapp-fab__btn svg {
  width: 30px;
  height: 30px;
}

/* ── Back to Top ── */
.back-to-top {
  position: fixed;
  bottom: 7rem;
  right: 2.15rem;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: calc(var(--z-whatsapp) - 1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gradient-cyber);
  color: var(--color-text-on-primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}
