/* =============================================
   SCUOLA ECOGRAFIA - Design System
   ============================================= */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors */
  --color-primary: #0a1628;
  --color-primary-light: #141f35;
  --color-accent: #0891b2;
  --color-accent-light: #22d3ee;
  --color-accent-dark: #0e7490;
  --color-gold: #f59e0b;
  --color-gold-light: #fbbf24;
  --color-surface: #ffffff;
  --color-surface-alt: #f0f4f8;
  --color-surface-dark: #0f1a2e;
  --color-text: #1e293b;
  --color-text-light: #64748b;
  --color-text-inverse: #f1f5f9;
  --color-border: #e2e8f0;
  --color-success: #10b981;
  --color-error: #ef4444;

  /* Typography */
  --font-heading: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 40px rgba(8, 145, 178, 0.15);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Layout */
  --max-width: 1200px;
  --header-height: 72px;
  --banner-height: 0px;
}

:root:has(.announcement-banner) {
  --banner-height: 48px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + var(--banner-height));
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-surface);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent-light);
}

ul, ol {
  list-style: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  line-height: 1.2;
  color: var(--color-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: var(--space-md);
}

.text-accent {
  color: var(--color-accent);
}

.text-gold {
  color: var(--color-gold);
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-4xl) 0;
}

.section-dark {
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--color-text-inverse);
}

.section-alt {
  background-color: var(--color-surface-alt);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header .section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

.section-dark .section-subtitle {
  color: #94a3b8;
}

.badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: #fff;
  font-size: 0.8rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}

.badge-gold {
  background: linear-gradient(135deg, var(--color-gold), #d97706);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: #fff;
  box-shadow: 0 4px 15px rgba(8, 145, 178, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(8, 145, 178, 0.4);
  color: #fff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-gold), #d97706);
  color: #fff;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(245, 158, 11, 0.4);
  color: #fff;
}

/* ---------- Announcement Banner ---------- */
.announcement-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--banner-height);
  z-index: 1001;
  background: linear-gradient(135deg, #0e7490, #0891b2 40%, #0d9488);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.announcement-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  animation: banner-shimmer 6s ease-in-out infinite;
}

@keyframes banner-shimmer {
  0%, 100% { transform: translateX(-30%); }
  50% { transform: translateX(30%); }
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  width: 100%;
}

.announcement-text {
  color: #fff;
  font-size: 0.85rem;
  font-weight: var(--fw-medium);
  margin: 0;
  line-height: 1.3;
}

.announcement-text strong {
  color: #fbbf24;
}

.announcement-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 1rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 0.8rem;
  font-weight: var(--fw-semibold);
  white-space: nowrap;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.announcement-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  transform: translateY(-1px);
}

/* ---------- Header & Navigation ---------- */
.header {
  position: fixed;
  top: var(--banner-height);
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-base);
}

.header-transparent {
  background: transparent;
}

.header-scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  font-size: 1.1rem;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo:hover {
  color: var(--color-accent-light);
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.nav-list {
  display: flex;
  gap: var(--space-xs);
  align-items: center;
}

.nav-separator {
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.1rem;
  font-weight: 300;
  padding: 0 var(--space-xs);
  user-select: none;
  list-style: none;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  font-weight: var(--fw-medium);
  padding: var(--space-sm) 0.625rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
  color: var(--color-accent-light);
}

.nav-separator {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.9rem;
  user-select: none;
  display: flex;
  align-items: center;
}

/* ---------- Nav Dropdown ("Altro") ---------- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 200px;
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  padding: var(--space-sm) 0;
  z-index: 100;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu li {
  list-style: none;
}

.nav-dropdown-menu .nav-link {
  display: block;
  padding: var(--space-sm) var(--space-lg);
  font-size: 0.875rem;
  border-radius: 0;
}

.nav-dropdown-menu .nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 40, 0.92) 0%,
    rgba(10, 22, 40, 0.75) 50%,
    rgba(8, 145, 178, 0.3) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding-top: calc(var(--header-height) + var(--banner-height));
}

.hero-content h1 {
  color: #fff;
  margin-bottom: var(--space-lg);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
}

.hero-content h1 .highlight {
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  color: #cbd5e1;
  font-size: 1.15rem;
  margin-bottom: var(--space-xl);
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
}

.hero-stats {
  display: flex;
  gap: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  display: block;
  font-size: 2rem;
  font-weight: var(--fw-bold);
  color: var(--color-accent-light);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.hero-stat-label {
  font-size: 0.85rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Course Section ---------- */
.course-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.course-info h3 {
  margin-bottom: var(--space-md);
  color: var(--color-accent);
}

.course-details-list {
  margin-bottom: var(--space-xl);
}

.course-detail-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
}

.course-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.1), rgba(8, 145, 178, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: var(--color-accent);
}

.course-detail-text strong {
  display: block;
  font-weight: var(--fw-semibold);
  margin-bottom: 2px;
}

.course-detail-text span {
  font-size: 0.95rem;
  color: var(--color-text-light);
}

.dates-card {
  background: var(--color-primary);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  color: var(--color-text-inverse);
  position: relative;
  overflow: hidden;
}

.dates-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.15), transparent 70%);
  pointer-events: none;
}

.dates-card h3 {
  color: var(--color-accent-light);
  margin-bottom: var(--space-lg);
}

.date-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.date-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  transition: background var(--transition-fast);
}

.date-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.date-item .date-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

.date-item .date-text {
  font-weight: var(--fw-medium);
}

.dates-footer {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dates-footer p {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: var(--space-sm);
}

.dates-footer .venue-highlight {
  color: var(--color-accent-light);
  font-weight: var(--fw-semibold);
}

/* ---------- Program / Accordion ---------- */
.program-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}

.accordion-item:hover {
  box-shadow: var(--shadow-md);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  background: var(--color-surface);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  color: var(--color-text);
  text-align: left;
  transition: background var(--transition-fast);
}

.accordion-trigger:hover {
  background: var(--color-surface-alt);
}

.accordion-trigger .acc-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: var(--fw-bold);
  margin-right: var(--space-md);
  flex-shrink: 0;
}

.accordion-trigger .acc-title {
  flex: 1;
}

.accordion-trigger .acc-icon {
  width: 24px;
  height: 24px;
  transition: transform var(--transition-base);
  flex-shrink: 0;
  color: var(--color-accent);
}

.accordion-item.active .accordion-trigger .acc-icon {
  transform: rotate(180deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.accordion-panel-content {
  padding: 0 var(--space-xl) var(--space-lg);
  padding-left: calc(var(--space-xl) + 32px + var(--space-md));
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* ---------- Schedule / Programma Detailed ---------- */
.schedule-accordion {
  max-width: 900px;
}

.schedule-accordion .acc-number {
  font-size: 0.7rem;
  letter-spacing: 0.02em;
}

.schedule-accordion .acc-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.schedule-panel {
  padding-left: var(--space-xl) !important;
}

.schedule-block {
  margin-bottom: var(--space-xl);
}

.schedule-block:last-child {
  margin-bottom: 0;
}

.schedule-block-title {
  font-size: 0.9rem;
  font-weight: var(--fw-semibold);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid rgba(8, 145, 178, 0.15);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.schedule-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
  margin-bottom: 2px;
}

.schedule-row:hover {
  background: rgba(8, 145, 178, 0.04);
}

.schedule-time {
  flex-shrink: 0;
  width: 110px;
  font-size: 0.8rem;
  font-weight: var(--fw-semibold);
  color: var(--color-accent);
  background: rgba(8, 145, 178, 0.08);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  text-align: center;
  white-space: nowrap;
  line-height: 1.6;
  margin-top: 2px;
}

.schedule-topic {
  flex: 1;
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.5;
}

.schedule-docente {
  flex-shrink: 0;
  font-size: 0.8rem;
  color: var(--color-text-light);
  font-style: italic;
  white-space: nowrap;
  line-height: 1.6;
  margin-top: 2px;
}

/* Break rows (Coffee Break, Brunch) */
.schedule-break {
  background: rgba(245, 158, 11, 0.06);
  border-left: 3px solid var(--color-gold);
}

.schedule-break:hover {
  background: rgba(245, 158, 11, 0.1);
}

.schedule-break .schedule-time {
  color: var(--color-gold);
  background: rgba(245, 158, 11, 0.1);
}

.schedule-break .schedule-topic {
  color: var(--color-text-light);
  font-style: italic;
}

/* End-of-day rows */
.schedule-end {
  border-left: 3px solid var(--color-primary);
  background: rgba(10, 22, 40, 0.04);
}

.schedule-end:hover {
  background: rgba(10, 22, 40, 0.07);
}

.schedule-end .schedule-time {
  color: var(--color-primary);
  background: rgba(10, 22, 40, 0.08);
}

.schedule-end .schedule-topic {
  font-weight: var(--fw-semibold);
  color: var(--color-text);
}

/* Focus tag pill */
.schedule-focus-tag {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.12), rgba(8, 145, 178, 0.06));
  border: 1px solid rgba(8, 145, 178, 0.25);
  color: var(--color-accent);
  font-size: 0.7rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius-full);
  line-height: 1.4;
}

/* Footer notes */
.schedule-notes {
  max-width: 900px;
  margin: var(--space-2xl) auto 0;
  padding: var(--space-lg) var(--space-xl);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
}

.schedule-notes p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

.schedule-notes p:last-child {
  margin-bottom: 0;
}

.schedule-notes strong {
  color: var(--color-text);
}

/* ---------- Promozioni ---------- */
.promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.promo-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.promo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
}

.promo-card.gold::before {
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
}

.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.promo-card h3 {
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.promo-card .promo-icon {
  font-size: 1.5rem;
}

.promo-card p {
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
}

.promo-deadline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-surface-alt);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: var(--fw-semibold);
  color: var(--color-text);
}

/* Featured promo card (Giovani) */
.promo-card.featured {
  border: 2px solid var(--color-gold);
}

.promo-card.featured::before {
  height: 5px;
}

.promo-card.featured:hover {
  box-shadow: var(--shadow-xl), 0 0 30px rgba(245, 158, 11, 0.15);
}

.promo-badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  color: #1e293b;
  font-size: 0.75rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.promo-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.promo-price-amount {
  font-size: 2.75rem;
  font-weight: var(--fw-bold);
  color: var(--color-gold);
  line-height: 1;
  font-family: var(--font-heading);
}

.promo-price-detail {
  font-size: 0.9rem;
  color: var(--color-text-light);
  font-weight: var(--fw-medium);
}

.promo-subtitle {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.promo-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-xl) 0;
}

.promo-checklist li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-xs);
  background: var(--color-surface-alt);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: var(--fw-medium);
  color: var(--color-text);
}

.promo-checklist li::first-letter {
  color: var(--color-gold);
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  color: #1e293b;
  font-weight: var(--fw-bold);
  border: none;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-gold:hover {
  color: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(245, 158, 11, 0.4);
}

.promo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-decoration: none;
}

/* ---------- Director / About ---------- */
.director-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-3xl);
  align-items: center;
}

.director-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.director-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.director-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  border: 2px solid rgba(8, 145, 178, 0.2);
}

.director-content h2 {
  margin-bottom: var(--space-sm);
}

.director-content .director-title {
  color: var(--color-accent);
  font-size: 1.1rem;
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-lg);
}

.director-content p {
  color: var(--color-text-light);
  font-size: 1.05rem;
  line-height: 1.8;
}

.director-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.director-feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--color-surface-alt);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: var(--fw-medium);
}

.director-feature .feature-icon {
  font-size: 1.25rem;
}

/* ---------- AIEM Section ---------- */
.aiem-section {
  position: relative;
  text-align: center;
  padding: var(--space-4xl) 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.aiem-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 40, 0.9),
    rgba(8, 145, 178, 0.3)
  );
}

.aiem-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.aiem-content h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-lg);
}

.aiem-content p {
  color: #cbd5e1;
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.8;
}

/* ---------- Registration Form ---------- */
.form-section {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  position: relative;
  overflow: hidden;
}

.form-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.1), transparent 70%);
  pointer-events: none;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.form-info h2 {
  color: #fff;
  margin-bottom: var(--space-lg);
}

.form-info p {
  color: #94a3b8;
  font-size: 1.05rem;
  line-height: 1.8;
}

.form-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  backdrop-filter: blur(8px);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-sm);
  color: #cbd5e1;
}

.form-group label .required {
  color: var(--color-accent-light);
}

.form-control {
  width: 100%;
  padding: 0.875rem var(--space-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-control::placeholder {
  color: #64748b;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.2);
  background: rgba(255, 255, 255, 0.12);
}

.form-control.error {
  border-color: var(--color-error);
}

.form-error {
  font-size: 0.8rem;
  color: var(--color-error);
  margin-top: var(--space-xs);
  display: none;
}

.form-control.error + .form-error {
  display: block;
}

.form-submit {
  width: 100%;
  margin-top: var(--space-md);
}

.form-success {
  display: none;
  text-align: center;
  padding: var(--space-2xl);
}

.form-success.visible {
  display: block;
}

.form-success .success-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.form-success h3 {
  color: var(--color-accent-light);
  margin-bottom: var(--space-md);
}

.form-success p {
  color: #94a3b8;
}

/* ---------- Contact Section ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  margin-bottom: var(--space-lg);
}

.contact-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.1), rgba(8, 145, 178, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  color: var(--color-accent);
}

.contact-text h4 {
  margin-bottom: var(--space-xs);
}

.contact-text p {
  color: var(--color-text-light);
  margin-bottom: 0;
}

.contact-text a {
  color: var(--color-accent);
  font-weight: var(--fw-medium);
}

.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 100%;
  min-height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: start;
  flex-wrap: wrap;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
  color: #94a3b8;
  max-width: 300px;
  font-size: 0.9rem;
  margin-top: var(--space-md);
}

.footer-links h4 {
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.footer-links a {
  display: block;
  color: #94a3b8;
  font-size: 0.9rem;
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-accent-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #64748b;
}

/* ---------- Medicina Naturale Page ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-4xl);
  background: var(--color-primary);
  color: #fff;
  text-align: center;
}

.page-hero h1 {
  color: #fff;
}

.page-hero p {
  color: #94a3b8;
  font-size: 1.1rem;
  margin-top: var(--space-md);
}

.mn-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.mn-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.mn-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.mn-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.mn-card-body {
  padding: var(--space-xl);
}

.mn-card-body h3 {
  margin-bottom: var(--space-sm);
}

.mn-card-body p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.mn-image-section {
  text-align: center;
}

.mn-image-section img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  margin: 0 auto;
  max-height: 500px;
  object-fit: cover;
}

.mn-image-section h3 {
  margin-top: var(--space-xl);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  :root {
    --space-4xl: 4rem;
  }

  .course-grid,
  .director-grid,
  .form-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: var(--space-xl);
  }

  /* Mobile Nav */
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--color-primary);
    padding: calc(var(--header-height) + var(--banner-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
    transition: right var(--transition-base);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    z-index: 999;
    overflow-y: auto;
  }

  .nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: var(--space-xs);
  }

  .nav-link {
    font-size: 1rem;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
  }

  .nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
  }

  .nav-overlay.visible {
    display: block;
  }

  .nav-separator {
    display: none;
  }

  /* Dropdown becomes flat in mobile */
  .nav-dropdown-menu {
    display: block;
    position: static;
    background: none;
    backdrop-filter: none;
    box-shadow: none;
    border: none;
    padding: 0;
    min-width: 0;
  }

  .nav-dropdown-toggle {
    display: none;
  }

  .nav-dropdown-menu .nav-link {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    font-size: 1rem;
  }

  /* Hero */
  .hero-content {
    padding-top: calc(var(--header-height) + var(--banner-height) + var(--space-xl));
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: var(--space-lg);
  }

  .hero-stat {
    flex: 1 0 30%;
  }

  /* Director */
  .director-image img {
    height: 300px;
  }

  .director-features {
    grid-template-columns: 1fr;
  }

  /* Promo Cards */
  .promo-cards {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
}

@media (max-width: 768px) {
  :root:has(.announcement-banner) {
    --banner-height: 80px;
  }

  .announcement-inner {
    flex-direction: column;
    gap: var(--space-xs);
    text-align: center;
    padding: var(--space-sm) 0;
  }

  .announcement-text {
    font-size: 0.78rem;
  }

  .announcement-btn {
    font-size: 0.75rem;
    padding: 0.25rem 0.85rem;
  }

  /* Schedule responsive */
  .schedule-row {
    flex-direction: column;
    gap: var(--space-xs);
  }

  .schedule-time {
    width: auto;
    align-self: flex-start;
  }

  .schedule-docente {
    white-space: normal;
    align-self: flex-start;
  }

  .schedule-panel {
    padding-left: var(--space-md) !important;
    padding-right: var(--space-md) !important;
  }

  .schedule-notes {
    margin-left: var(--space-md);
    margin-right: var(--space-md);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .hero-stat-value {
    font-size: 1.5rem;
  }

  .dates-card {
    padding: var(--space-lg);
  }

  .form-card {
    padding: var(--space-lg);
  }

  .accordion-trigger {
    padding: var(--space-md);
  }

  .accordion-panel-content {
    padding-left: var(--space-md);
  }

  .schedule-notes {
    padding: var(--space-md);
  }

  .schedule-focus-tag {
    font-size: 0.6rem;
  }
}

/* ---------- Cookie Consent Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: var(--space-lg) var(--space-xl);
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(8, 145, 178, 0.3);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
}

.cookie-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.cookie-content p {
  flex: 1;
  min-width: 280px;
  color: #cbd5e1;
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.6;
}

.cookie-actions {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.6rem 1.5rem;
  font-size: 0.85rem;
}

/* ---------- WhatsApp Floating Button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 998;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-base);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
  color: #fff;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

/* Push WhatsApp button up when cookie banner shows */
.cookie-banner[style*="block"] ~ .whatsapp-float {
  bottom: 100px;
}

/* ---------- Resource Cards ---------- */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.resource-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.resource-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.resource-card .resource-badge {
  display: inline-block;
  padding: 2px 10px;
  font-size: 0.7rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: #fff;
  margin-bottom: var(--space-md);
  align-self: flex-start;
}

.resource-card .resource-badge.badge-green {
  background: linear-gradient(135deg, #10b981, #059669);
}

.resource-card .resource-badge.badge-purple {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.resource-card h4 {
  font-size: 1.05rem;
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
}

.resource-card p {
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin-bottom: var(--space-lg);
  flex: 1;
}

.resource-card .resource-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9rem;
  font-weight: var(--fw-semibold);
  color: var(--color-accent);
  transition: gap var(--transition-fast);
}

.resource-card .resource-link:hover {
  gap: var(--space-md);
}

/* ---------- Subpage Hero ---------- */
.subpage-hero {
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  text-align: center;
}

.subpage-hero h1 {
  color: var(--color-text-inverse);
  margin-bottom: var(--space-md);
}

.subpage-hero p {
  color: #94a3b8;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Travel Tips */
.travel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
}

.travel-card {
  text-align: center;
  padding: var(--space-xl);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.travel-card .travel-icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

.travel-card h4 {
  margin-bottom: var(--space-sm);
}

.travel-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-actions {
    width: 100%;
    justify-content: center;
  }

  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}

/* ---------- Landmark Cards (Scopri Foggia) ---------- */
.landmark-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-xl);
}

.landmark-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.landmark-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.landmark-card-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.landmark-card-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.15), transparent);
  pointer-events: none;
}

.landmark-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.landmark-card:hover .landmark-card-img img {
  transform: scale(1.05);
}

.landmark-content {
  padding: var(--space-lg) var(--space-xl) var(--space-xl);
}

.landmark-content h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.landmark-content p {
  font-size: 0.92rem;
  color: var(--color-text-light);
  line-height: 1.65;
  margin-bottom: 0;
}

.landmark-content .photo-credit {
  font-size: 0.7rem;
  color: #94a3b8;
  font-style: italic;
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border);
  opacity: 0.7;
}

.landmark-content .photo-credit a {
  color: #94a3b8;
  text-decoration: underline;
  text-decoration-color: rgba(148, 163, 184, 0.4);
}

.landmark-content .photo-credit a:hover {
  color: var(--color-accent);
}

/* ---------- Travel Cards ---------- */
.travel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.travel-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.travel-card:hover {
  transform: translateY(-4px);
}

.travel-icon {
  font-size: 2.8rem;
  margin-bottom: var(--space-md);
}

.travel-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.travel-card p {
  font-size: 0.92rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ---------- Subpage Hero ---------- */
.page-hero {
  padding: 8rem 0 3rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: white;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Target Audience Section ---------- */
.target-grid {
  max-width: 900px;
  margin: 0 auto;
}

.target-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.target-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-accent), var(--color-accent-dark));
}

.target-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.target-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
}

.target-icon {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.target-icon svg {
  width: 100%;
  height: 100%;
}

.target-text {
  font-size: 1.1rem;
  font-weight: var(--fw-medium);
  color: var(--color-primary);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .target-list {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .target-card {
    padding: var(--space-xl);
  }
  
  .target-text {
    font-size: 1rem;
  }
}

@media (max-width: 640px) {
  .landmark-grid {
    grid-template-columns: 1fr;
  }

  .landmark-card-img {
    height: 180px;
  }

  .travel-grid {
    grid-template-columns: 1fr;
  }

  .nav-separator {
    display: none;
  }
}

/* =============================================
   MODAL STYLES
   ============================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: var(--space-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--color-surface);
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px);
  transition: transform var(--transition-base);
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: var(--color-surface-alt);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-text-light);
  transition: all var(--transition-fast);
  z-index: 2;
}

.modal-close:hover {
  background: var(--color-border);
  color: var(--color-primary);
}

.modal-content {
  padding: var(--space-2xl);
  overflow-y: auto;
}

.modal-content h2 {
  font-size: 1.75rem;
  margin-bottom: var(--space-xl);
  padding-right: var(--space-2xl);
  color: var(--color-primary);
}

.legal-text {
  color: var(--color-text);
}

.legal-text section {
  margin-bottom: var(--space-xl);
}

.legal-text h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
}

.legal-text p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.modal-footer {
  padding: var(--space-lg) var(--space-2xl);
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: flex-end;
}

/* Footer Bottom Links */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-bottom-links a {
  color: var(--color-text-light);
  font-size: 0.8rem;
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--color-accent);
}

@media (max-width: 640px) {
  .modal-content {
    padding: var(--space-xl);
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom-links {
    justify-content: center;
  }
}
