/* ========================================
   UNAGRACO Roma - Professional Website
   Unione Commercialisti ed Esperti Contabili
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
  /* Primary Palette — UNAGRACO Institutional */
  --navy: #071C48;
  --navy-light: #09245C;
  --navy-medium: #0D3380;
  --blue: #0B2D72; /* Primary */
  --blue-light: #1555CE;
  --blue-bright: #2A73FF;

  /* Neutrals */
  --white: #ffffff;
  --off-white: #f5f6fa;
  --gray-100: #eceef4;
  --gray-200: #d8dce8;
  --gray-300: #b4bace;
  --gray-500: #6b7394;
  --gray-700: #3d4460;
  --gray-900: #1a1d2e;

  /* Accent */
  --accent-blue: #4A63C0;
  --accent-gold: #C5960C;
  --accent-gold-light: #E6B422;
  --accent-gold-bg: rgba(197, 150, 12, 0.08);
  --accent-green: #2d8f6f;
  --error: #c94c4c;
  --success: #4caf50;

  /* Typography */
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
  --border-radius: 12px;
  --border-radius-sm: 8px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(27, 42, 107, 0.06);
  --shadow-md: 0 4px 20px rgba(27, 42, 107, 0.1);
  --shadow-lg: 0 8px 40px rgba(27, 42, 107, 0.15);
  --shadow-blue: 0 4px 20px rgba(11, 45, 114, 0.3);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul { list-style: none; }

/* --- Utility Classes --- */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--accent-gold);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 640px;
  line-height: 1.7;
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger-children .fade-in:nth-child(1) { transition-delay: 0.1s; }
.stagger-children .fade-in:nth-child(2) { transition-delay: 0.2s; }
.stagger-children .fade-in:nth-child(3) { transition-delay: 0.3s; }
.stagger-children .fade-in:nth-child(4) { transition-delay: 0.4s; }

/* ========================================
   HEADER / NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  transition: var(--transition);
}

.navbar.scrolled {
  background: var(--white);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* Row 1: Logo + CTA */
.navbar-top {
  padding: 16px 0;
}

.navbar-top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-top-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-top-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  transition: var(--transition);
}

.nav-top-link:hover {
  color: var(--navy);
}

/* Row 2: Navigation */
.navbar-bottom {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  padding: 0;
}

.navbar-bottom .container {
  display: flex;
  justify-content: center;
}

.navbar-bottom .nav-links a {
  color: rgba(255, 255, 255, 0.85);
}

.navbar-bottom .nav-links a:hover {
  color: var(--white);
}

.navbar-bottom .nav-links a::after {
  background: var(--accent-gold);
}

.navbar-bottom .nav-dropdown-toggle {
  color: rgba(255, 255, 255, 0.85);
}

.navbar-bottom .nav-dropdown-toggle:hover {
  color: var(--white);
}

.navbar.scrolled .navbar-top {
  padding: 10px 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.navbar-brand .logo-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.navbar-brand .brand-text {
  display: flex;
  flex-direction: column;
  height: 60px;
  justify-content: space-between;
  padding: 4px 0; /* slight padding to perfectly align with the visual bounds of the logo */
}

.navbar-brand .brand-name {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.5px;
}

.navbar-brand .brand-sub {
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-500);
  font-weight: 700;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding: 12px 0;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--navy);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hide mobile-specific links on desktop */
.mobile-only-link {
  display: none;
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  padding: 4px 0;
  transition: var(--transition);
}

.nav-dropdown-toggle:hover {
  color: var(--navy);
}

.nav-dropdown-toggle svg {
  transition: var(--transition);
}

.nav-dropdown:hover .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  margin-top: 12px;
  z-index: 100;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  height: 12px;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px !important;
  font-size: 0.88rem;
  color: var(--gray-700) !important;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-dropdown-menu a::after {
  display: none !important;
}

.nav-dropdown-menu a:hover {
  background: var(--gray-100);
  color: var(--blue) !important;
}

.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 50px;
  font-weight: 600 !important;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-blue);
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  transform: translateY(-2px);
  background: var(--blue-light);
  box-shadow: 0 6px 24px rgba(11, 45, 114, 0.35);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  width: 26px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

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

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

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

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('../img/clay-banks-hi_52O-h5G8-unsplash.jpg') center center / cover no-repeat;
  overflow: hidden;
}

/* Dark overlay for text readability */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(7, 28, 72, 0.88) 0%,
    rgba(11, 45, 114, 0.75) 50%,
    rgba(7, 28, 72, 0.82) 100%
  );
  z-index: 1;
}

/* Subtle geometric accent on top of overlay */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background:
    linear-gradient(160deg, transparent 40%, rgba(255, 255, 255, 0.03) 40%, rgba(255, 255, 255, 0.03) 41%, transparent 41%),
    linear-gradient(160deg, transparent 50%, rgba(255, 255, 255, 0.02) 50%, rgba(255, 255, 255, 0.02) 51%, transparent 51%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
}

.hero-content {
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(11, 45, 114, 0.08);
  border: 1px solid rgba(11, 45, 114, 0.15);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeInDown 0.8s ease forwards;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

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

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

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 8px;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero-title .highlight {
  color: #ffffff;
  position: relative;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.hero-description {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s forwards;
  opacity: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(11, 45, 114, 0.45);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.btn-icon {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.btn-primary:hover .btn-icon {
  transform: translateX(4px);
}

/* Hero Right Side -- Stats/Feature cards */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeInRight 1s ease 0.5s forwards;
  opacity: 0;
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-card:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateX(-8px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-card-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: linear-gradient(135deg, rgba(230, 180, 34, 0.2), rgba(230, 180, 34, 0.08));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-gold-light);
}

.hero-card-content h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 4px;
}

.hero-card-content p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}

.hero-scroll .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ========================================
   CHI SIAMO SECTION
   ======================================== */
.about {
  padding: var(--section-padding);
  background: var(--off-white);
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-wrapper img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 60%, var(--navy-medium) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.about-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(255,255,255,0.02) 40px, rgba(255,255,255,0.02) 80px);
}

.about-placeholder-icon {
  color: var(--accent-gold-light);
  opacity: 0.7;
}

.about-placeholder-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
}

.about-placeholder-sub {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  position: relative;
}

.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  border: 3px solid var(--blue);
  border-radius: var(--border-radius);
  z-index: -1;
  opacity: 0.3;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.about-stat {
  background: var(--white);
  padding: 20px;
  border-radius: var(--border-radius-sm);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.about-stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.about-stat .stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}

.about-stat .stat-label {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 4px;
}

.about-text p {
  color: var(--gray-700);
  margin-bottom: 16px;
}

.about-text p:last-of-type {
  margin-bottom: 32px;
}

/* ========================================
   SERVIZI SECTION
   ======================================== */
.services {
  padding: var(--section-padding);
  background: var(--white);
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-header .section-subtitle {
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius);
  padding: 40px 32px;
  transition: var(--transition);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

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

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(11, 45, 114, 0.1), rgba(11, 45, 114, 0.02));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  transform: scale(1.05);
  color: var(--white);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ========================================
   VANTAGGI (Benefits) SECTION
   ======================================== */
.benefits {
  padding: var(--section-padding);
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}

.benefits::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(11, 45, 114, 0.04), transparent 70%);
  border-radius: 50%;
}

.benefits .container {
  position: relative;
  z-index: 1;
}

.benefits-header {
  text-align: center;
  margin-bottom: 60px;
}

.benefits-header .section-title {
  color: var(--navy);
}

.benefits-header .section-subtitle {
  color: var(--gray-500);
  margin: 0 auto;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}

.benefit-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}

.benefit-item:hover {
  transform: translateY(-6px);
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}

.benefit-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.4;
}

.benefit-item h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.benefit-item p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ========================================
   CTA SECTION (Pre-Footer)
   ======================================== */
.cta-section {
  padding: 80px 0;
  background: var(--white);
}

.cta-box {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 20px;
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(91, 114, 213, 0.15), transparent 70%);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: 12px;
}

.cta-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
}

.cta-box .btn-primary {
  position: relative;
  z-index: 1;
  white-space: nowrap;
  background: var(--white);
  color: var(--navy);
}

.cta-box .btn-primary:hover {
  background: var(--off-white);
}

/* ========================================
   CONTATTI SECTION
   ======================================== */
.contact {
  padding: var(--section-padding);
  background: var(--white);
}

.contact .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--off-white);
  padding: 24px;
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
}

.contact-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-card h4 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* Map container */
.contact-map {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 400px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--navy);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .brand-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-brand .brand-sub {
  font-size: 0.75rem;
  color: var(--blue-bright);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--blue-bright);
  padding-left: 4px;
}

.footer-col ul li a.coming-soon {
  position: relative;
  cursor: default;
  opacity: 0.4;
}

.footer-col ul li a.coming-soon:hover {
  color: rgba(255, 255, 255, 0.5);
  padding-left: 0;
}

.footer-col ul li a.coming-soon::after {
  content: 'Prossimamente';
  position: absolute;
  left: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--accent-gold);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.footer-col ul li a.coming-soon:hover::after {
  opacity: 1;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
  color: var(--blue-bright);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--blue-bright);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ========================================
   CONTACT SOCIAL LINKS
   ======================================== */
.contact-social {
  margin-top: 28px;
}

.contact-social h4 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(11, 45, 114, 0.35);
}

/* ========================================
   ISCRIZIONE PAGE — FORM STYLES
   ======================================== */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  padding: 180px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 30% 50%, rgba(91, 114, 213, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(91, 114, 213, 0.07) 0%, transparent 40%);
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 16px;
}

.page-header p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   ORGANI ASSOCIATIVI
   ======================================== */
.organi {
  padding: 100px 0;
  background: var(--off-white);
}

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

.organi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.organo-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 32px 36px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.organo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(20, 30, 70, 0.1);
  border-color: var(--blue);
}

.organo-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.organo-card > p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 20px;
  flex: 1;
}

.organo-details {
  list-style: none;
  padding: 16px 0 0;
  margin: 0;
  border-top: 1px solid var(--gray-100);
}

.organo-details li {
  font-size: 0.85rem;
  color: var(--gray-600);
  padding: 5px 0;
  display: flex;
  gap: 6px;
}

.organo-details li strong {
  color: var(--navy);
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 992px) {
  .organi-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
}

/* ========================================
   LEGAL / DOCUMENT PAGES (Statuto, etc.)
   ======================================== */
.legal-content {
  padding: 60px 0 100px;
  background: var(--off-white);
}

.legal-document {
  max-width: 820px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: 48px 56px;
}

.legal-download {
  text-align: right;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
}

.legal-download .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 2px solid var(--blue);
  border-radius: 50px;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
}

.legal-download .btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

.legal-download .btn-outline:hover svg {
  stroke: var(--white);
}

.legal-article {
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-100);
}

.legal-article:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.legal-article h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.legal-article h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin: 20px 0 10px;
}

.legal-article p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: 12px;
}

.legal-article ol,
.legal-article ul {
  margin: 12px 0 16px 24px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--gray-700);
}

.legal-article li {
  margin-bottom: 6px;
  padding-left: 4px;
}

@media (max-width: 768px) {
  .legal-document {
    padding: 28px 20px;
    border-radius: 12px;
  }

  .legal-download {
    text-align: center;
  }
}

.form-section {
  padding: 80px 0 100px;
  background: var(--off-white);
}

.form-container {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 20px;
  padding: 50px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light), var(--blue));
  border-radius: 20px 20px 0 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-group label .required {
  color: var(--error);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-900);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(11, 45, 114, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-300);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input.error,
.form-group select.error {
  border-color: var(--error);
  box-shadow: 0 0 0 4px rgba(201, 76, 76, 0.1);
}

.form-group .error-msg {
  font-size: 0.78rem;
  color: var(--error);
  margin-top: 4px;
  display: none;
}

.form-group input.error ~ .error-msg,
.form-group select.error ~ .error-msg {
  display: block;
}

/* Checkbox */
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  grid-column: 1 / -1;
  margin-top: 8px;
}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 2px;
  accent-color: var(--blue);
  cursor: pointer;
}

/* Radio group */
.form-radio-group {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-radio-group .form-radio {
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-radio-group input[type="radio"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  accent-color: var(--blue);
  cursor: pointer;
}

.form-radio-group label {
  font-size: 0.95rem;
  color: var(--gray-900);
  cursor: pointer;
  margin: 0;
}

.form-radio-group.error {
  outline: 1px solid var(--error);
  outline-offset: 6px;
  border-radius: var(--border-radius-sm);
}

.form-checkbox label {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.5;
  cursor: pointer;
}

.form-checkbox label a {
  color: var(--blue);
  text-decoration: underline;
}

.form-submit {
  grid-column: 1 / -1;
  margin-top: 16px;
}

.form-submit .btn {
  width: 100%;
  justify-content: center;
  padding: 18px;
  font-size: 1rem;
}

/* Honeypot */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* Success / Error messages */
.form-message {
  display: none;
  padding: 20px 24px;
  border-radius: var(--border-radius-sm);
  font-size: 0.95rem;
  margin-top: 20px;
  text-align: center;
  grid-column: 1 / -1;
}

.form-message.success {
  display: block;
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.3);
  color: var(--accent-green);
}

.form-message.error-message {
  display: block;
  background: rgba(201, 76, 76, 0.1);
  border: 1px solid rgba(201, 76, 76, 0.3);
  color: var(--error);
}

/* Loading state */
.btn.loading {
  opacity: 0.7;
  pointer-events: none;
}

.btn.loading::after {
  content: '';
  width: 18px;
  height: 18px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin-left: 8px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ========================================
   ENROLLMENT INFO SECTION
   ======================================== */
.enrollment-info {
  padding: 80px 0 0;
  background: var(--off-white);
}

.enrollment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.enrollment-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 40px 36px;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.enrollment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.enrollment-card-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(11, 45, 114, 0.1), rgba(11, 45, 114, 0.03));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 24px;
  transition: var(--transition);
}

.enrollment-card:hover .enrollment-card-icon {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: var(--white);
}

.enrollment-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 14px;
}

.enrollment-card > p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Highlighted card (payment) */
.enrollment-card-highlight {
  border: 2px solid rgba(11, 45, 114, 0.15);
  background: linear-gradient(135deg, var(--white) 0%, rgba(11, 45, 114, 0.02) 100%);
}

.enrollment-card-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light), var(--blue));
  border-radius: 20px 20px 0 0;
}

/* Fee amount */
.fee-amount {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 16px;
}

.fee-amount span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-500);
  margin-left: 4px;
}

/* IBAN details box */
.iban-details {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius-sm);
  padding: 20px;
  margin: 16px 0;
}

.iban-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
}

.iban-row:last-child {
  border-bottom: none;
}

.iban-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  min-width: 50px;
}

.iban-value {
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 500;
  text-align: right;
}

.iban-code {
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--blue);
}

.iban-note {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 8px;
}

.iban-note em {
  color: var(--navy);
  font-weight: 500;
}

/* Download button small */
.btn-sm {
  padding: 12px 24px;
  font-size: 0.88rem;
  gap: 8px;
  margin-top: auto;
}

/* ========================================
   FORM PROGRESS INDICATOR
   ======================================== */
.form-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--gray-100);
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 80px;
}

.progress-step span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  transition: var(--transition);
}

.progress-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
}

.progress-step.active .progress-dot {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: var(--white);
  box-shadow: 0 2px 10px rgba(11, 45, 114, 0.3);
}

.progress-step.active span {
  color: var(--blue);
}

.progress-step.completed .progress-dot {
  background: var(--accent-gold);
  color: var(--white);
}

.progress-step.completed span {
  color: var(--accent-gold);
}

.progress-line {
  flex: 1;
  height: 2px;
  background: var(--gray-100);
  margin: 0 8px;
  margin-bottom: 24px;
  transition: var(--transition);
}

.progress-line.active {
  background: var(--accent-gold);
}

/* ========================================
   FORM SECTION HEADERS (Steps)
   ======================================== */
.form-section-intro {
  margin-bottom: 20px;
}

.form-section-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gray-100);
}

.form-section-header:first-child,
.form-grid + .form-section-header {
  margin-top: 36px;
}

form > .form-section-header:first-child {
  margin-top: 0;
}

.form-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 12px;
}

.form-section-header h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 2px;
}

.form-section-header p {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ========================================
   TEAM SECTION (Chi Siamo)
   ======================================== */
.team-section {
  padding: var(--section-padding);
  background: var(--off-white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.team-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  text-align: center;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.team-photo-wrapper {
  position: relative;
  width: 100%;
  padding-top: 100%; /* 1:1 Aspect Ratio */
  overflow: hidden;
}

.team-photo-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover .team-photo-wrapper img {
  transform: scale(1.08);
}

.team-social-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 28, 72, 0.9) 0%, rgba(11, 45, 114, 0.2) 60%, transparent 100%);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 30px;
  transition: opacity 0.4s ease;
}

.team-card:hover .team-social-overlay {
  opacity: 1;
}

.photo-shift {
  object-position: 50% 35% !important;
}

.team-social-links {
  display: flex;
  gap: 15px;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.team-card:hover .team-social-links {
  transform: translateY(0);
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-btn:hover {
  background: var(--accent-gold);
  color: var(--white);
  transform: scale(1.1);
}

.team-info {
  padding: 24px 20px;
  background: var(--white);
  position: relative;
  z-index: 2;
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
}

.team-role {
  font-size: 0.9rem;
  color: var(--accent-gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Card without photo: reduce height */
.team-card--no-photo .team-photo-wrapper {
  padding-top: 60%;
}

.team-photo-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 60%, var(--navy-medium) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-photo-placeholder svg {
  width: 60px;
  height: 60px;
  color: rgba(255, 255, 255, 0.25);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }

  .about .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact .container {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .enrollment-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 70px 0;
  }

  .navbar-bottom {
    position: static;
    height: 0;
    overflow: visible;
    background: none;
    border: none;
    padding: 0;
  }

  .navbar-top {
    padding: 12px 0;
  }

  .nav-cta {
    padding: 8px 16px !important;
    font-size: 0.8rem !important;
  }

  .nav-top-link {
    display: none !important;
  }

  .navbar-brand .brand-text {
    justify-content: center;
    gap: 4px;
  }

  .navbar-brand .brand-name {
    font-size: 1.4rem;
    line-height: 1;
  }

  .navbar-brand .brand-sub {
    font-size: 0.7rem;
    line-height: 1;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .nav-links.active {
    transform: translateX(0);
    display: flex;
  }

  .nav-links a {
    color: var(--gray-700) !important;
  }

  .nav-links a:hover {
    color: var(--navy) !important;
  }

  .mobile-only-link {
    display: block !important;
  }

  /* Dark overlay behind mobile menu */
  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 28, 72, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .nav-overlay.active {
    display: block;
    opacity: 1;
  }

  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    padding: 0 0 0 16px;
    background: transparent;
    border-radius: 0;
    transition: opacity 0.3s, visibility 0.3s, max-height 0.3s ease;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 300px;
  }

  .nav-dropdown-menu a {
    padding: 6px 0 !important;
    font-size: 0.85rem;
  }

  .nav-dropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .nav-dropdown-toggle {
    color: var(--gray-700) !important;
  }

  .nav-dropdown-toggle svg {
    transition: transform 0.3s;
  }

  .nav-dropdown.open .nav-dropdown-toggle svg {
    transform: rotate(180deg);
  }

  .hero {
    min-height: auto;
    padding: 140px 0 80px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-card {
    padding: 20px;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    flex-direction: column;
    text-align: center;
    padding: 40px 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-progress {
    gap: 0;
  }

  .progress-step span {
    font-size: 0.6rem;
  }

  .progress-dot {
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
  }

  .form-container {
    padding: 32px 24px;
  }

  .enrollment-card {
    padding: 32px 24px;
  }

  .fee-amount {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .navbar-brand .brand-name {
    font-size: 0.95rem;
  }
  .navbar-brand .brand-sub {
    font-size: 0.55rem;
    letter-spacing: 0.5px;
    max-width: 200px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
