/* ========================================================
   AFTER CLASS GEPETO BRĂNEȘTI — Original Theme Modernizată
   Culori păstrate din site-ul vechi: violet #C86FFF + navy #4255A4
   Modernizat: layout curat, mobile-first, performanță îmbunătățită
   Fonturi originale: Josefin Sans (titluri) + Mulish (text)
   ======================================================== */

:root {
  /* Culorile originale Gepeto */
  --purple: #C86FFF;
  --purple-deep: #a04bd9;
  --purple-light: #f0e6ff;
  --navy: #4255A4;
  --navy-deep: #2d3a78;
  --orange: #FF9F67;
  --orange-deep: #ff8044;
  --gradient-purple: linear-gradient(180deg, #c054ff 0%, #5274ff 100%);
  --gradient-purple-soft: linear-gradient(115deg, rgba(120,60,175,0.78) 0%, rgba(90,90,200,0.5) 52%, rgba(120,110,210,0.26) 100%);

  /* Culori funcționale */
  --white: #ffffff;
  --bg: #ffffff;
  --bg-soft: #fafbff;
  --bg-light: #f7f7fd;
  --ink: #1a1a2e;
  --ink-soft: #4255A4;
  --muted: #6e7697;
  --line: #ece9f5;

  /* Sistem */
  --shadow-sm: 0 2px 8px rgba(66, 85, 164, 0.06);
  --shadow-md: 0 8px 25px rgba(66, 85, 164, 0.1);
  --shadow-lg: 0 20px 45px rgba(66, 85, 164, 0.12);
  --shadow-purple: 0 8px 24px rgba(200, 111, 255, 0.3);
  --radius: 14px;
  --radius-lg: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Mulish', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
}
p { color: var(--muted); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ============== NAVBAR ============== */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1240px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  transition: transform 0.25s;
}
.logo:hover { transform: scale(1.03); }
.logo-img {
  height: 56px;
  width: auto;
  display: block;
}
@media (max-width: 720px) {
  .logo-img { height: 44px; }
}

/* Footer logo - on dark navy background */
.footer-logo-img {
  height: 64px;
  width: auto;
  display: block;
  margin-bottom: 16px;
  filter: brightness(1.15);
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  font-family: 'Josefin Sans', sans-serif;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--purple); }
.nav-links a.active { color: var(--purple); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--purple);
  border-radius: 2px;
}
.nav-cta {
  background: var(--gradient-purple);
  color: white !important;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: 'Josefin Sans', sans-serif;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-purple);
}
.nav-cta:hover { opacity: 0.95; transform: translateY(-2px); }
.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--purple);
  color: var(--purple);
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 1.2rem;
}
@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: white;
    border-bottom: 1px solid var(--line);
    padding: 24px;
    gap: 18px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
}

/* ============== BUTTONS ============== */
.btn-primary {
  background: var(--gradient-purple);
  color: white;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  font-family: 'Josefin Sans', sans-serif;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: var(--shadow-purple);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(200, 111, 255, 0.4); }
.btn-primary .arrow { transition: transform 0.2s; }
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-orange {
  background: var(--orange);
  color: white;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  font-family: 'Josefin Sans', sans-serif;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 8px 24px rgba(255, 159, 103, 0.35);
}
.btn-orange:hover { background: var(--orange-deep); transform: translateY(-3px); }

.btn-outline {
  background: transparent;
  color: white;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  font-family: 'Josefin Sans', sans-serif;
  letter-spacing: 0.5px;
  display: inline-block;
  border: 2px solid rgba(255, 255, 255, 0.6);
  transition: background 0.3s, border-color 0.3s;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.15); border-color: white; }

/* ============== HERO ============== */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: white;
  padding: 80px 0;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-purple-soft);
}

/* === Variantă cu ilustrație Disney/Pixar === */
.hero-illustrated {
  min-height: 640px;
  padding: 60px 0;
}
.hero-illustrated .hero-bg img {
  object-position: center 30%;
}
/* Overlay foarte ușor doar pentru a îmbunătăți contrastul textului din partea stângă */
.hero-illustrated .hero-bg::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.2) 45%, transparent 70%);
}

/* Card cu fundal alb semi-transparent pentru text — lizibilitate maximă */
.hero-text-card {
  max-width: 580px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: 0 25px 50px rgba(66, 85, 164, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.6);
  animation: heroCardIn 0.6s ease;
}

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

.hero-illustrated .hero-badge {
  background: var(--purple-light);
  border: 1px solid rgba(200, 111, 255, 0.3);
  color: var(--purple);
  backdrop-filter: none;
}
.hero-illustrated h1 { color: var(--navy); }
.hero-illustrated h1 .accent { color: var(--purple); }
.hero-illustrated p.lead { color: var(--muted); }

/* Buton outline pentru fundal alb (înlocuiește .btn-outline care e pentru fundal închis) */
.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  font-family: 'Josefin Sans', sans-serif;
  letter-spacing: 0.5px;
  display: inline-block;
  border: 2px solid var(--navy);
  transition: background 0.3s, color 0.3s, transform 0.2s;
}
.btn-outline-dark:hover {
  background: var(--navy);
  color: white;
  transform: translateY(-2px);
}

@media (max-width: 720px) {
  .hero-illustrated { min-height: 520px; padding: 40px 0; }
  .hero-text-card { padding: 32px 26px; }
  .hero-illustrated .hero-bg img { object-position: 70% 30%; }
  .hero-illustrated .hero-bg::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.85) 70%);
  }
}
.hero-content { position: relative; z-index: 1; width: 100%; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 50px; align-items: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  font-family: 'Josefin Sans', sans-serif;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 700;
  color: white;
  margin-bottom: 22px;
  line-height: 1.15;
}
.hero h1 .accent { color: #ffe34d; font-style: italic; font-weight: 400; }
.hero p.lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.7;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 6px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  aspect-ratio: 4/5;
  transform: rotate(2deg);
  transition: transform 0.4s;
}
.hero-image-frame:hover { transform: rotate(0deg); }
.hero-image-frame img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image-frame { max-width: 320px; margin: 30px auto 0; }
}

/* ============== PAGE HEADER (subpages) ============== */
.page-header {
  padding: 80px 0 50px;
  text-align: center;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: var(--purple-light);
  border-radius: 50%;
  opacity: 0.6;
}
.page-header h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin-bottom: 14px;
  font-weight: 700;
  position: relative;
}
.page-header p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

/* ============== SECTIONS ============== */
section { padding: 90px 0; }
.section-bg-soft { background: var(--bg-light); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--purple);
  margin-bottom: 14px;
  font-family: 'Josefin Sans', sans-serif;
}
.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
}
.section-head p { font-size: 1.08rem; color: var(--muted); }

/* ============== SERVICE CARDS ============== */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.service-card {
  background: white;
  padding: 36px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-purple);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 64px;
  height: 64px;
  background: var(--purple-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 22px;
  transition: background 0.3s, transform 0.3s;
}
.service-card:hover .service-icon { background: var(--gradient-purple); transform: scale(1.05) rotate(-5deg); }
.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--navy);
}
.service-card p { font-size: 0.97rem; line-height: 1.7; }

/* ============== ADVANTAGES (about/services) ============== */
.advantages { display: grid; gap: 16px; max-width: 920px; margin: 0 auto; }
.advantage-item {
  background: white;
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, transform 0.3s;
}
.advantage-item:hover { box-shadow: var(--shadow-md); transform: translateX(6px); }
.advantage-check {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: var(--gradient-purple);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 2px;
  box-shadow: var(--shadow-purple);
}
.advantage-text strong {
  color: var(--navy);
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
  font-size: 1.1rem;
  font-family: 'Josefin Sans', sans-serif;
}
.advantage-text p { color: var(--muted); margin: 0; line-height: 1.7; }

/* ============== GALLERY ============== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 30px;
}
.gallery-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}
.gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(64, 21, 110, 0.6), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover::after { opacity: 1; }

/* ============== INFO BOX ============== */
.info-box {
  background: var(--gradient-purple);
  color: white;
  border-radius: var(--radius-lg);
  padding: 44px;
  text-align: center;
  margin: 60px auto 0;
  max-width: 920px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.info-box::before {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}
.info-box h3 {
  color: white;
  font-size: 1.55rem;
  margin-bottom: 14px;
  position: relative;
}
.info-box p { color: rgba(255, 255, 255, 0.95); font-size: 1.02rem; position: relative; line-height: 1.7; }

/* ============== PROGRAMS (an școlar + școală de vară) ============== */
.programs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
.program-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-purple);
}
.program-card.program-summer::before {
  background: linear-gradient(90deg, #FF9F67 0%, #ffc788 100%);
}
.program-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--purple-light);
  color: var(--purple);
  padding: 6px 14px;
  border-radius: 999px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.program-badge-summer {
  background: #fff0e3;
  color: #d97333;
}
.program-icon {
  font-size: 2.6rem;
  margin-bottom: 14px;
  line-height: 1;
}
.program-card h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
  font-weight: 700;
}
.program-period {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 22px;
  font-weight: 500;
}
.program-time {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--bg-light);
  padding: 18px 22px;
  border-radius: 12px;
  margin-bottom: 24px;
  border-left: 4px solid var(--purple);
}
.time-label {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.time-value {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
}
.program-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}
.program-features li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--muted);
  font-size: 0.97rem;
  border-bottom: 1px dashed var(--line);
}
.program-features li:last-child { border-bottom: none; }
.program-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 8px;
  width: 20px;
  height: 20px;
  background: var(--purple);
  color: white;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.summer-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
  flex: 1;
}
.summer-option {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 18px 22px;
  border-left: 4px solid var(--orange);
  transition: background 0.2s;
}
.summer-option:hover { background: #fff7ef; }
.summer-option-highlight {
  background: linear-gradient(135deg, #fff0e3 0%, #ffe4cd 100%);
  border-left-color: var(--orange-deep);
}
.summer-option-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
  flex-wrap: wrap;
  gap: 8px;
}
.summer-option-head strong {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 700;
}
.summer-option-time {
  font-family: 'Josefin Sans', sans-serif;
  color: var(--orange-deep);
  font-weight: 700;
  font-size: 1rem;
}
.summer-option p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
}
.summer-option p strong { color: var(--navy); }

.program-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gradient-purple);
  color: white;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-family: 'Josefin Sans', sans-serif;
  letter-spacing: 0.5px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-purple);
}
.program-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(200, 111, 255, 0.4); }
.program-cta .arrow { transition: transform 0.2s; }
.program-cta:hover .arrow { transform: translateX(4px); }
.program-cta-summer {
  background: linear-gradient(135deg, #FF9F67 0%, #ff8044 100%);
  box-shadow: 0 8px 24px rgba(255, 159, 103, 0.35);
}
.program-cta-summer:hover { box-shadow: 0 12px 30px rgba(255, 159, 103, 0.5); }

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

/* ============== CONTACT ============== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 36px; }
.contact-info {
  background: var(--gradient-purple);
  color: white;
  padding: 44px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.contact-info::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}
.contact-info::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}
.contact-info h3 { color: white; font-size: 1.5rem; margin-bottom: 28px; position: relative; }
.contact-item { margin-bottom: 24px; display: flex; align-items: flex-start; gap: 16px; position: relative; }
.contact-item .ico {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  backdrop-filter: blur(8px);
}
.contact-item .label {
  font-size: 0.78rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
  font-family: 'Josefin Sans', sans-serif;
}
.contact-item .value { font-weight: 500; font-size: 1.02rem; line-height: 1.5; }
.contact-item a:hover { text-decoration: underline; }

.contact-form {
  background: white;
  padding: 44px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.contact-form h3 { font-size: 1.5rem; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.92rem;
  color: var(--navy);
  font-family: 'Josefin Sans', sans-serif;
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.98rem;
  background: var(--bg-soft);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--purple);
  background: white;
  box-shadow: 0 0 0 4px rgba(200, 111, 255, 0.12);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 14px; text-align: center; }

.form-status {
  display: none;
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 18px;
  font-weight: 500;
  font-size: 0.95rem;
}
.form-status.success { display: block; background: #e6f9f1; color: #0a7a4d; border: 1px solid #b3e8d4; }
.form-status.error { display: block; background: #fdecec; color: #b3261e; border: 1px solid #f5c2c0; }

@media (max-width: 920px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ============== MAP ============== */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 380px;
  border: 4px solid white;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ============== CTA BANNER ============== */
.cta-banner {
  background: var(--gradient-purple);
  color: white;
  padding: 80px 32px;
  text-align: center;
  border-radius: var(--radius-lg);
  margin: 0 24px 90px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-banner::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 320px;
  height: 320px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}
.cta-banner::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}
.cta-banner h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  color: white;
  margin-bottom: 18px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.cta-banner p {
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.08rem;
  position: relative;
  z-index: 1;
  line-height: 1.7;
}
.cta-banner .btn-cta-white {
  background: white;
  color: var(--purple);
  padding: 16px 36px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Josefin Sans', sans-serif;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s, box-shadow 0.3s;
}
.cta-banner .btn-cta-white:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2); }

/* ============== FOOTER ============== */
footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 60px 0 28px;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.footer-brand p { color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; line-height: 1.7; }
.footer-col h4 {
  color: white;
  font-size: 1.05rem;
  margin-bottom: 20px;
  font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--purple); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ============== LIGHTBOX ============== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 30, 0.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: lightboxFadeIn 0.3s ease;
}
.lightbox.open { display: flex; }

@keyframes lightboxFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-content {
  position: relative;
  max-width: 1100px;
  max-height: 90vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  animation: lightboxImgIn 0.4s ease;
}

@keyframes lightboxImgIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox-counter {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Josefin Sans', sans-serif;
  transition: background 0.2s, transform 0.2s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.08);
}

.lightbox-close {
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  font-size: 1.3rem;
  z-index: 2;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  font-size: 2rem;
  line-height: 1;
  padding: 0 0 6px 0;
}
.lightbox-nav:hover { transform: translateY(-50%) scale(1.08); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

@media (max-width: 720px) {
  .lightbox { padding: 20px 10px; }
  .lightbox-close { top: 12px; right: 12px; width: 40px; height: 40px; font-size: 1.1rem; }
  .lightbox-nav { width: 44px; height: 44px; font-size: 1.6rem; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-counter { bottom: -32px; font-size: 0.82rem; }
}

/* Indicator vizual că poza e clickabilă */
.gallery-item { cursor: zoom-in; }
.gallery-item::before {
  content: '🔍';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  font-size: 2rem;
  background: rgba(255, 255, 255, 0.95);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 1;
  pointer-events: none;
}
.gallery-item:hover::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ============== FACEBOOK LINK ÎN NAVBAR ============== */
.nav-fb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--purple-light);
  color: var(--purple);
  transition: background 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
  flex-shrink: 0;
}
.nav-fb:hover {
  background: #1877F2;    /* Culoarea oficială Facebook */
  color: white;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 16px rgba(24, 119, 242, 0.35);
}
.nav-fb svg { display: block; }

/* Pe mobile — în meniul dropdown */
@media (max-width: 920px) {
  .nav-fb {
    width: 100%;
    height: auto;
    padding: 14px 20px;
    border-radius: 12px;
    background: var(--purple-light);
    color: var(--purple);
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    gap: 10px;
    justify-content: center;
  }
  .nav-fb::after {
    content: 'Facebook';
    display: inline;
  }
  .nav-fb:hover {
    background: #1877F2;
    color: white;
    transform: none;
  }
}
