/* ==========================================================================
   PORTAL OFICIAL DE LA EMBAJADA DEL ESTADO DE PALESTINA EN EL PERÚ
   Sistema de Diseño Institucional & Estilos Visuales Diplomáticos
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Amiri:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  /* Paleta Cromática de Estado */
  --pal-green: #007A3D;
  --pal-green-hover: #006030;
  --pal-green-soft: rgba(0, 122, 61, 0.08);
  --pal-green-glow: rgba(0, 122, 61, 0.25);
  
  --pal-red: #CE1126;
  --pal-red-hover: #A80D1E;
  --pal-red-soft: rgba(206, 17, 38, 0.08);
  
  --pal-gold: #C59B27;
  --pal-gold-light: #E8C862;
  --pal-gold-soft: rgba(197, 155, 39, 0.12);

  --pal-black: #0F172A;
  --pal-dark-surface: #1E293B;
  --pal-dark-header: #090E17;

  /* Fondos y Superficies Neutras */
  --bg-body: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-subtle: #F1F5F9;
  --bg-glass: rgba(255, 255, 255, 0.85);

  /* Jerarquía de Texto */
  --text-title: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-inverted: #FFFFFF;

  /* Bordes y Sombras */
  --border-light: #E2E8F0;
  --border-gold: rgba(197, 155, 39, 0.35);
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 10px 30px -5px rgba(15, 23, 42, 0.06), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
  --shadow-hover: 0 20px 35px -8px rgba(15, 23, 42, 0.12), 0 8px 12px -4px rgba(0, 122, 61, 0.08);
  --shadow-elevated: 0 25px 50px -12px rgba(9, 14, 23, 0.25);

  /* Tipografías */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Cinzel', serif;
  --font-arabic: 'Amiri', serif;

  /* Transiciones y Dimensiones */
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease-in-out;
  --container-max: 1240px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

/* Reset y base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img, svg {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   BARRA PROTOCOLAR SUPERIOR (TOPBAR DIPLOMÁTICA)
   ========================================================================== */
.topbar {
  background: var(--pal-dark-header);
  color: #CBD5E1;
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 100;
}

.topbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  gap: 16px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

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

.flag-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.flag-icon {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  box-shadow: 0 0 1px rgba(0,0,0,0.5);
}

.topbar-motto {
  color: #94A3B8;
  font-weight: 400;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  padding-left: 16px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(0, 122, 61, 0.15);
  color: #4ADE80;
  font-weight: 500;
  font-size: 0.75rem;
  border: 1px solid rgba(74, 222, 128, 0.25);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #4ADE80;
  box-shadow: 0 0 8px #4ADE80;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-link {
  color: #94A3B8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-link:hover {
  color: var(--text-inverted);
}

/* ==========================================================================
   SELECTOR OFICIAL DE IDIOMAS (DROPDOWN CON MAPAMUNDI)
   ========================================================================== */
.lang-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
}

.lang-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm, 6px);
  padding: 4px 10px;
  color: #FFFFFF;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  line-height: 1;
}

.lang-dropdown-btn:hover,
.lang-dropdown.open .lang-dropdown-btn,
.lang-dropdown:hover .lang-dropdown-btn {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(74, 222, 128, 0.45);
  color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.lang-globe-icon {
  color: #4ADE80;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.lang-dropdown:hover .lang-globe-icon,
.lang-dropdown.open .lang-globe-icon {
  transform: rotate(18deg) scale(1.08);
}

.lang-current-name {
  color: #F8FAFC;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.lang-chevron-icon {
  color: #94A3B8;
  margin-left: 2px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.lang-dropdown.open .lang-chevron-icon,
.lang-dropdown:hover .lang-chevron-icon {
  transform: rotate(180deg);
  color: #4ADE80;
}

/* Menú Desplegable hacia abajo */
.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 155px;
  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md, 8px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5), 0 4px 10px rgba(0, 0, 0, 0.3);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
  z-index: 1050;
  pointer-events: none;
}

.lang-dropdown:hover .lang-dropdown-menu,
.lang-dropdown.open .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Elemento del Menú Desplegable */
.lang-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: 5px;
  color: #CBD5E1;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  transition: all 0.15s ease;
  gap: 8px;
}

.lang-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.lang-dropdown-item.active {
  background: rgba(0, 122, 61, 0.25);
  border: 1px solid rgba(74, 222, 128, 0.35);
  color: #4ADE80;
  font-weight: 700;
}

.lang-item-code {
  font-size: 0.6875rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.12);
  color: #E2E8F0;
  padding: 1px 5px;
  border-radius: 3px;
  letter-spacing: 0.5px;
}

.lang-dropdown-item.active .lang-item-code {
  background: var(--pal-green, #007A3D);
  color: #FFFFFF;
}

.lang-item-name {
  flex: 1;
  text-align: left;
}

.lang-check {
  color: #4ADE80;
  margin-left: auto;
  flex-shrink: 0;
}



/* ==========================================================================
   ENCABEZADO PRINCIPAL (NAVBAR INSTITUCIONAL)
   ========================================================================== */
.header-main {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  z-index: 99;
  transition: var(--transition-smooth);
}

.header-main.scrolled {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-emblem {
  width: auto;
  height: 58px;
  max-width: 58px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.15));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand-wrapper:hover .brand-emblem {
  transform: scale(1.06);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-title);
  line-height: 1.25;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 0.8125rem;
  color: var(--pal-green);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand-arabic {
  font-family: var(--font-arabic);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1;
  margin-top: 2px;
  letter-spacing: 0;
}

/* Menú de Navegación */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.9125rem;
  font-weight: 600;
  color: var(--text-body);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pal-green), var(--pal-gold));
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
  color: var(--pal-green);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pal-green);
  color: var(--text-inverted);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 4px 14px var(--pal-green-glow);
  transition: var(--transition-smooth);
}

.nav-cta:hover {
  background: var(--pal-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 122, 61, 0.35);
  color: var(--text-inverted);
}

.mobile-toggle {
  display: none;
  padding: 8px;
  color: var(--text-title);
  font-size: 1.5rem;
}

/* ==========================================================================
   TICKER PROTOCOLAR / AVISOS URGENTES
   ========================================================================== */
.alert-ticker {
  background: linear-gradient(90deg, #CE1126 0%, #A80D1E 100%);
  color: #FFFFFF;
  padding: 10px 0;
  font-size: 0.875rem;
  position: relative;
  overflow: hidden;
}

.ticker-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ticker-badge {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ticker-text {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.ticker-link {
  color: #FEF08A;
  font-weight: 600;
  text-decoration: underline;
  margin-left: 8px;
}

/* ==========================================================================
   HERO INSTITUCIONAL (PORTADA DE ESTADO)
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #0A0F1D 0%, #151E32 60%, #0F172A 100%);
  color: var(--text-inverted);
  padding: 90px 0 110px 0;
  overflow: hidden;
}

/* Patrón geométrico de fondo sutil con animación */
.hero-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.04;
  background-image: radial-gradient(#ffffff 1px, transparent 1px), radial-gradient(#d4af37 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  pointer-events: none;
}

.hero-glow-green {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 122, 61, 0.25) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-glow-red {
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(206, 17, 38, 0.2) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 56px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-gold);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  color: var(--pal-gold-light);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: fit-content;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 2.85rem;
  line-height: 1.15;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.hero-title span {
  background: linear-gradient(120deg, #FFFFFF 40%, var(--pal-gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-arabic-quote {
  font-family: var(--font-arabic);
  font-size: 1.35rem;
  color: #94A3B8;
  direction: rtl;
  margin-top: -6px;
}

.hero-desc {
  font-size: 1.1rem;
  color: #CBD5E1;
  line-height: 1.7;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--pal-green);
  color: #FFFFFF;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 18px var(--pal-green-glow);
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  background: var(--pal-green-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 122, 61, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  padding: 14px 26px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
}

/* Tarjeta del Embajador / Credenciales en el Hero */
.hero-card-ambassador {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-elevated);
  transition: var(--transition-smooth);
}

.hero-card-ambassador::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  background: linear-gradient(90deg, var(--pal-green), var(--pal-gold), var(--pal-red));
  border-radius: 3px;
}

.ambassador-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--pal-gold-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.ambassador-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: #FFFFFF;
  font-weight: 700;
  margin-bottom: 6px;
}

.ambassador-title {
  color: #94A3B8;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 20px;
}

.ambassador-quote {
  font-style: italic;
  color: #E2E8F0;
  font-size: 0.925rem;
  line-height: 1.6;
  border-left: 2px solid var(--pal-gold);
  padding-left: 16px;
  margin-bottom: 24px;
}

.ambassador-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
}

.credential-date {
  color: #94A3B8;
}

.credential-verify {
  color: var(--pal-gold-light);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   BARRA DE ACCESOS DIRECTOS CONSULARES
   ========================================================================== */
.quick-services-bar {
  margin-top: -45px;
  position: relative;
  z-index: 10;
}

.quick-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.quick-card {
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition-smooth);
}

.quick-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--pal-green);
}

.quick-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--pal-green-soft);
  color: var(--pal-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.quick-card:hover .quick-icon-wrapper {
  background: var(--pal-green);
  color: #FFFFFF;
}

.quick-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 4px;
}

.quick-info p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   SECCIONES Y ENCABEZADOS COMUNES
   ========================================================================== */
.section-padding {
  padding: 96px 0;
}

.section-padding-alt {
  padding: 96px 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px auto;
}

.section-subtitle {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pal-green);
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   SECCIÓN DE NOTICIAS & COMUNICADOS CON MOTION GRAPHIC
   ========================================================================== */
.news-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-body);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  transition: var(--transition-fast);
}

.filter-tab:hover {
  border-color: var(--pal-green);
  color: var(--pal-green);
}

.filter-tab.active {
  background: var(--pal-green);
  color: #FFFFFF;
  border-color: var(--pal-green);
  box-shadow: 0 2px 10px var(--pal-green-glow);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  min-height: 480px;
  transition: min-height 0.3s ease;
}

.news-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
  position: relative;
  will-change: transform, opacity;
}

.news-card.filtering-out {
  opacity: 0 !important;
  transform: scale(0.94) translateY(12px) !important;
  pointer-events: none;
}

.news-card.filtering-in {
  animation: cardFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.95) translateY(14px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Noticia Destacada Horizontal en Prensa (Editorial Layout) */
.featured-news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  margin-bottom: 36px;
  transition: var(--transition-smooth);
}

.featured-news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 122, 61, 0.35);
}

.featured-news-thumb {
  position: relative;
  min-height: 360px;
  background: #0F172A;
  overflow: hidden;
}

.featured-news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-news-card:hover .featured-news-img {
  transform: scale(1.04);
}

.featured-news-body {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-news-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.35;
  margin: 12px 0 16px 0;
}

.featured-news-excerpt {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.featured-news-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .featured-news-card {
    grid-template-columns: 1fr;
  }
  .featured-news-thumb {
    min-height: 250px;
  }
  .featured-news-body {
    padding: 24px;
  }
  .featured-news-title {
    font-size: 1.35rem;
  }
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 122, 61, 0.3);
}

.news-thumb-wrapper {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: #1E293B;
}

.news-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-card:hover .news-thumb-img {
  transform: scale(1.06);
}

.news-category-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--pal-green);
}

.news-category-badge.urgente {
  border-left-color: var(--pal-red);
}

.news-category-badge.cultural {
  border-left-color: var(--pal-gold);
}

.news-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.news-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.news-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.4;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

.news-card:hover .news-title {
  color: var(--pal-green);
}

.news-excerpt {
  font-size: 0.9125rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.news-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--pal-green);
  margin-top: auto;
}

.news-link-btn:hover {
  gap: 12px;
  color: var(--pal-green-hover);
}

/* ==========================================================================
   SECCIÓN CONSULAR INTERACTIVA & TRÁMITES
   ========================================================================== */
.consular-search-box {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 8px 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 540px;
  margin: 0 auto 36px auto;
}

.consular-search-box input {
  border: none;
  outline: none;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-title);
  width: 100%;
}

.consular-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.consular-service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.consular-service-card:hover {
  border-color: var(--pal-gold);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--pal-gold-soft);
  color: var(--pal-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-requirements-list {
  list-style: none;
  font-size: 0.8125rem;
  color: var(--text-body);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

.service-requirements-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.service-requirements-list li svg {
  color: var(--pal-green);
  flex-shrink: 0;
  margin-top: 3px;
}

.btn-open-procedure {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-card-subtle);
  color: var(--text-title);
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition-fast);
  margin-top: auto;
}

.consular-service-card:hover .btn-open-procedure {
  background: var(--pal-green);
  color: #FFFFFF;
}

/* ==========================================================================
   INSTITUCIONES VINCULADAS & COOPERACIÓN
   ========================================================================== */
.institutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.institution-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  text-decoration: none;
  position: relative;
}

.institution-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: var(--pal-green);
}

.institution-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-card-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
  transition: var(--transition-fast);
}

.institution-card:hover .institution-icon-box {
  background: var(--pal-green-soft);
  color: var(--pal-green);
}

.institution-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 6px;
}

.institution-role {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 16px;
}

.institution-link-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pal-green);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: rgba(0, 122, 61, 0.08);
  transition: var(--transition-fast);
}

.institution-card:hover .institution-link-btn {
  background: var(--pal-green);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.institution-link-btn svg {
  transition: transform 0.2s ease;
}

.institution-card:hover .institution-link-btn svg {
  transform: translateX(4px);
}

/* ==========================================================================
   UBICACIÓN, CONTACTO & SEDE DIPLOMÁTICA EN LIMA
   ========================================================================== */
.contact-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.contact-card-info {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--pal-green-soft);
  color: var(--pal-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item-text h5 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-item-text p, .contact-item-text a {
  font-size: 1rem;
  color: var(--text-title);
  font-weight: 600;
}

.contact-item-text a:hover {
  color: var(--pal-green);
}

/* Mapa simulado / ficha protocolar de ubicación */
.location-map-card {
  background: #1E293B;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  color: #FFFFFF;
}

.map-visual-placeholder {
  height: 320px;
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.map-grid-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  background-image: 
    linear-gradient(#38BDF8 1px, transparent 1px),
    linear-gradient(90deg, #38BDF8 1px, transparent 1px);
  background-size: 30px 30px;
}

.map-pin-pulse {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pin-circle {
  width: 50px;
  height: 50px;
  background: var(--pal-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 0 20px var(--pal-red);
  position: relative;
}

.pin-circle::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--pal-red);
  animation: ping-pin 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping-pin {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

.map-card-footer {
  padding: 24px 30px;
  background: #0F172A;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   PIE DE PÁGINA DIPLOMÁTICO (FOOTER)
   ========================================================================== */
.footer-diplomatic {
  background: var(--pal-dark-header);
  color: #94A3B8;
  padding: 70px 0 30px 0;
  border-top: 4px solid var(--pal-green);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-col h5 {
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--pal-gold);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.875rem;
}

.footer-links-list a:hover {
  color: var(--pal-gold-light);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

/* ==========================================================================
   MOTION GRAPHICS & SCROLL REVEAL (EFECTOS DINÁMICOS)
   ========================================================================== */
.reveal-init {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-init.revealed {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Modal Protocolar para Cita / Trámites */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  box-shadow: var(--shadow-elevated);
  overflow: hidden;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-window {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 24px 28px;
  background: var(--pal-dark-header);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
}

.modal-close-btn {
  color: #94A3B8;
  font-size: 1.5rem;
  line-height: 1;
  transition: color 0.2s;
}

.modal-close-btn:hover {
  color: #FFFFFF;
}

.modal-body {
  padding: 28px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-card-ambassador {
    max-width: 600px;
  }
  .quick-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .consular-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .institutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-section-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .topbar-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .topbar-right {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
  }
  .topbar-links {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
  }
  .nav-menu {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    padding: 30px 24px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-card);
    transform: translateY(-120%);
    transition: transform 0.35s ease;
    opacity: 0;
    pointer-events: none;
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .quick-services-grid {
    grid-template-columns: 1fr;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .consular-services-grid {
    grid-template-columns: 1fr;
  }
  .institutions-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ==========================================================================
   SECCIÓN DE CULTURA, PATRIMONIO, ARTES & MÚSICA PALESTINA
   ========================================================================== */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.culture-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.culture-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--pal-gold);
}

.culture-thumb {
  height: 200px;
  background: #111827;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.culture-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.culture-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pal-gold-light);
  margin-bottom: 8px;
}

.culture-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-title);
  margin-bottom: 10px;
  line-height: 1.35;
}

.culture-desc {
  font-size: 0.8875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

/* ==========================================================================
   GESTOR DE PUBLICACIONES / CMS DE NOTICIAS DE LA EMBAJADA
   ========================================================================== */
.floating-publisher-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: linear-gradient(135deg, var(--pal-green) 0%, #004D26 100%);
  color: #FFFFFF;
  padding: 14px 22px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 10px 25px rgba(0, 122, 61, 0.4);
  z-index: 990;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-smooth);
}

.floating-publisher-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 30px rgba(0, 122, 61, 0.5);
  color: #FFFFFF;
}

.form-group-diplomatic {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group-diplomatic label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-title);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-control-diplomatic {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.925rem;
  color: var(--text-title);
  background: #FFFFFF;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control-diplomatic:focus {
  outline: none;
  border-color: var(--pal-green);
  box-shadow: 0 0 0 3px rgba(0, 122, 61, 0.12);
}

/* ==========================================================================
   PERFIL Y RETRATO PROTOCOLAR DE LA EMBAJADORA (HERO)
   ========================================================================== */
.ambassador-profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .ambassador-profile-header {
    flex-direction: column;
    text-align: center;
  }
}

.ambassador-avatar-wrapper {
  position: relative;
  width: 108px;
  height: 108px;
  flex-shrink: 0;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--pal-gold), var(--pal-green), var(--pal-red));
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.ambassador-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
  background: #1E293B;
  border: 2px solid #0F172A;
}

.ambassador-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(197, 155, 39, 0.2);
  border: 1px solid rgba(232, 200, 98, 0.45);
  color: var(--pal-gold-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* ==========================================================================
   SECCIÓN DE LUGARES & PATRIMONIO HISTÓRICO DE PALESTINA
   ========================================================================== */
.landmarks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 992px) {
  .landmarks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .landmarks-grid {
    grid-template-columns: 1fr;
  }
}

.landmark-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.landmark-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(197, 155, 39, 0.4);
}

.landmark-thumb {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: #0F172A;
}

.landmark-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.landmark-card:hover .landmark-img {
  transform: scale(1.08);
}

.landmark-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  border-left: 3px solid var(--pal-gold);
}

.landmark-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.landmark-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-title);
  margin-bottom: 4px;
}

.landmark-arabic {
  font-family: var(--font-arabic);
  font-size: 1.05rem;
  color: var(--pal-green);
  margin-bottom: 12px;
  direction: rtl;
}

.landmark-desc {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
  flex: 1;
}

.landmark-footer {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  font-size: 0.8125rem;
  color: var(--pal-gold);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   CABECERA PROTOCOLAR PARA PÁGINAS INDEPENDIENTES (SUBPAGE HERO & BREADCRUMBS)
   ========================================================================== */
.subpage-hero {
  position: relative;
  background: linear-gradient(135deg, #090E17 0%, #111C2E 50%, #0F172A 100%);
  padding: 64px 0 54px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.subpage-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 85% 20%, rgba(0, 122, 61, 0.22) 0%, transparent 60%),
              radial-gradient(circle at 15% 90%, rgba(206, 17, 38, 0.16) 0%, transparent 60%);
  pointer-events: none;
}

.subpage-hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.subpage-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: #94A3B8;
  margin-bottom: 16px;
}

.subpage-breadcrumb a {
  color: var(--pal-gold-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.subpage-breadcrumb a:hover {
  color: #FFFFFF;
}

.subpage-breadcrumb span {
  color: #64748B;
}

.subpage-hero-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 14px;
}

.subpage-hero-subtitle {
  font-size: 1.1rem;
  color: #CBD5E1;
  line-height: 1.65;
}

@media (max-width: 768px) {
  .subpage-hero {
    padding: 44px 0 36px 0;
  }
  .subpage-hero-title {
    font-size: 1.85rem;
  }
}




.map-visual-placeholder iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
