/* ============================================
   GLOBAL SUCCESS TEACHING - Components
   ============================================ */

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(11, 29, 58, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.8rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1001;
}

.nav-brand .logo-icon {
  width: 45px;
  height: 45px;
  background: var(--gold-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
}

.nav-brand .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-brand .brand-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}

.nav-brand .brand-tagline {
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--secondary);
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.5px;
  position: relative;
  padding: 0.3rem 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 1px;
  transition: width var(--transition-base);
}

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

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

.nav-cta {
  padding: 0.6rem 1.5rem;
  background: var(--gold-gradient);
  color: var(--primary) !important;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  transition: all var(--transition-base);
}

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

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* ---------- Language Switcher ---------- */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 1001;
}

.lang-switch {
  display: flex;
  gap: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-btn {
  padding: 0.35rem 0.7rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition-fast);
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
}

.lang-btn:hover {
  color: var(--white);
}

.lang-btn.active {
  background: var(--gold-gradient);
  color: var(--primary);
}

.nav-menu .lang-switch {
  display: none;
}

.lang-switch-desktop {
  display: flex;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  padding: 5px;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

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

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

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

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--hero-gradient);
  position: relative;
  overflow: hidden;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(232, 181, 71, 0.05) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(26, 58, 92, 0.3) 0%, transparent 50%);
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: 780px;
  padding: 2rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  background: rgba(232, 181, 71, 0.1);
  border: 1px solid rgba(232, 181, 71, 0.2);
  border-radius: 50px;
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-badge i {
  font-size: 0.7rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  line-height: 1.1;
}

.hero h1 .highlight {
  display: block;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* CSS FALLBACK — JS effects.js sayfa açılır açılmaz tam piksel yüksekliği
     ölçüp inline style.minHeight ile kilitler. Bu değerler JS yüklenmeden
     önceki ~50ms için fallback. CLS = 0 garantisi.
     3.6em = en uzun cümlenin 3 satıra sardığı durum (dar ekran) için yer açar. */
  min-height: 3.6em;
}

@media (min-width: 768px) {
  .hero h1 .highlight {
    min-height: 2.4em;
  }
}

@media (min-width: 1200px) {
  /* Geniş ekranda en uzun cümle tek satıra sığar */
  .hero h1 .highlight {
    min-height: 1.3em;
  }
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 640px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat {
  text-align: center;
}

.hero-stat .number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.hero-stat .label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-decoration {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  z-index: 2;
  pointer-events: none;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(232, 181, 71, 0.1);
}

.hero-ring:nth-child(1) {
  width: 100%;
  height: 100%;
  animation: heroRingSpin 30s linear infinite;
}

.hero-ring:nth-child(2) {
  width: 75%;
  height: 75%;
  top: 12.5%;
  left: 12.5%;
  border-color: rgba(232, 181, 71, 0.15);
  animation: heroRingSpin 25s linear infinite reverse;
}

.hero-ring:nth-child(3) {
  width: 50%;
  height: 50%;
  top: 25%;
  left: 25%;
  border-color: rgba(232, 181, 71, 0.2);
  animation: heroRingSpin 20s linear infinite;
}

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

/* ---------- Service Cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-slow);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transition: transform var(--transition-base);
  transform-origin: left;
}

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

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

.service-icon {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
  transition: all var(--transition-base);
}

.service-icon.icon-blue {
  background: rgba(11, 29, 58, 0.06);
  color: var(--primary);
}

.service-icon.icon-gold {
  background: rgba(232, 181, 71, 0.1);
  color: var(--secondary-dark);
}

.service-icon.icon-accent {
  background: rgba(26, 58, 92, 0.08);
  color: var(--accent);
}

.service-card:hover .service-icon {
  background: var(--gold-gradient);
  color: var(--primary);
  transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--secondary-dark);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.service-card .card-link:hover {
  gap: 0.7rem;
  color: var(--secondary);
}

.service-features {
  list-style: none;
  margin: 1rem 0 1.5rem;
}

.service-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.service-features li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-size: 0.75rem;
}

/* ---------- Glass Cards (for dark sections) ---------- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: all var(--transition-base);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(232, 181, 71, 0.3);
  transform: translateY(-5px);
}

/* ---------- Success Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  counter-reset: step;
}

.step-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  position: relative;
  counter-increment: step;
}

.step-card::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(232, 181, 71, 0.1);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
  transition: color var(--transition-base);
}

.step-card:hover::before {
  color: rgba(232, 181, 71, 0.25);
}

.step-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(232, 181, 71, 0.08);
  border: 2px solid rgba(232, 181, 71, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem auto 1.5rem;
  font-size: 1.5rem;
  color: var(--secondary);
  transition: all var(--transition-base);
}

.step-card:hover .step-icon {
  background: var(--gold-gradient);
  color: var(--primary);
  border-color: transparent;
  transform: scale(1.1);
  box-shadow: var(--shadow-gold);
}

.step-card h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.step-card p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.step-connector {
  position: absolute;
  top: 50%;
  right: -1rem;
  width: 2rem;
  height: 2px;
  background: linear-gradient(to right, var(--secondary), transparent);
  display: none;
}

/* ---------- About Preview ---------- */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image .placeholder-icon {
  font-size: 5rem;
  color: rgba(232, 181, 71, 0.3);
}

.about-image-frame {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--secondary);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.3;
}

.about-experience-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--gold-gradient);
  color: var(--primary);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-gold);
  z-index: 2;
}

.about-experience-badge .number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.about-experience-badge .text {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1.2rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.highlight-item i {
  color: var(--secondary);
  font-size: 1.1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.highlight-item span {
  font-size: 0.92rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: var(--hero-gradient);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(232, 181, 71, 0.06) 0%, transparent 60%);
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-size: 1.15rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------- Page Banner ---------- */
.page-banner {
  background: var(--hero-gradient);
  padding: calc(100px + 4rem) 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(232, 181, 71, 0.05) 0%, transparent 60%);
}

.page-banner .container {
  position: relative;
  z-index: 2;
}

.page-banner h1 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

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

.page-banner .breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
}

.page-banner .breadcrumb a {
  color: var(--secondary);
}

.page-banner .breadcrumb span {
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--primary-dark);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--secondary), transparent);
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding: 5rem 0 3rem;
}

.footer-brand .brand-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--primary);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.footer-contact-item i {
  color: var(--secondary);
  font-size: 0.9rem;
  margin-top: 0.3rem;
  flex-shrink: 0;
}

.footer-contact-item span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

.footer-contact-item a:hover {
  color: var(--secondary);
}

.footer-newsletter input {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  transition: all var(--transition-fast);
}

.footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.footer-newsletter input:focus {
  outline: none;
  border-color: var(--secondary);
  background: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- Contact Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-info-card {
  display: flex;
  gap: 1.2rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
  margin-bottom: 1.25rem;
}

.contact-info-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold);
  transform: translateX(5px);
}

.contact-info-card .icon-box {
  width: 55px;
  height: 55px;
  border-radius: var(--radius-sm);
  background: rgba(232, 181, 71, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-info-card p {
  font-size: 0.9rem;
  margin: 0;
}

.contact-form {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 1.5px solid #E5E7EB;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--white);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(232, 181, 71, 0.1);
}

.form-control::placeholder {
  color: #9CA3AF;
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* ---------- Lesson Detail Cards ---------- */
.lesson-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
}

.lesson-detail:nth-child(even) {
  direction: rtl;
}

.lesson-detail:nth-child(even) > * {
  direction: ltr;
}

.lesson-detail + .lesson-detail {
  border-top: 1px solid var(--border-light);
}

.lesson-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/12;
  position: relative;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
}

.lesson-visual .visual-icon {
  font-size: 5rem;
  color: rgba(232, 181, 71, 0.25);
}

.lesson-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.lesson-content p {
  margin-bottom: 1.5rem;
}

/* ---------- Testimonial / Quote ---------- */
.quote-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  position: relative;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.quote-card::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--secondary);
  opacity: 0.2;
  position: absolute;
  top: 1rem;
  left: 2rem;
  line-height: 1;
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-gold);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  cursor: pointer;
}

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

.back-to-top:hover {
  transform: translateY(-5px);
}

/* ---------- WhatsApp Float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 999;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.5rem;
  background: #25D366;
  color: var(--white);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: all var(--transition-base);
}

.whatsapp-float a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
}

.whatsapp-float i {
  font-size: 1.3rem;
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.preloader-logo span:first-child {
  color: var(--white);
}

.preloader-logo span:last-child {
  color: var(--secondary);
}

.preloader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.preloader-bar::after {
  content: '';
  display: block;
  width: 40%;
  height: 100%;
  background: var(--gold-gradient);
  border-radius: 2px;
  animation: preloaderSlide 1s ease infinite;
}

@keyframes preloaderSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ==============================================
   RESPONSIVE - Full Device Spectrum
   ============================================== */

/* ---------- 1024px: Tablets ---------- */
@media (max-width: 1024px) {
  .services-grid,
  .services-grid[style*="grid-template-columns"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem;
  }

  .steps-grid,
  .steps-grid[style*="grid-template-columns"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem;
  }

  .about-preview {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image-wrapper {
    max-width: 380px;
    margin: 0 auto;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .lesson-detail,
  .lesson-detail[style*="direction"] {
    grid-template-columns: 1fr !important;
    gap: 2rem;
    direction: ltr !important;
  }

  .lesson-detail > * {
    direction: ltr !important;
  }

  .lesson-detail:nth-child(even) {
    direction: ltr;
  }

  .lesson-visual {
    aspect-ratio: 16/9;
    max-height: 300px;
  }

  .hero-decoration {
    display: none;
  }

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

  .hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
  }
}

/* ---------- 768px: Mobile Nav + Single Column ---------- */
@media (max-width: 768px) {
  /* --- Navigation --- */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: var(--primary);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem 2rem;
    gap: 1.2rem;
    transition: right var(--transition-base);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .lang-switch-desktop {
    display: none !important;
  }

  .nav-menu .lang-switch {
    display: flex;
    margin-top: 1.5rem;
    align-self: flex-start;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 0.5rem 0;
    width: 100%;
  }

  .nav-cta {
    margin-top: 1rem;
    text-align: center;
    width: 100%;
    display: block;
    padding: 0.8rem 1.5rem;
  }

  .navbar {
    padding: 0.8rem 0;
  }

  .nav-brand .logo-icon {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
    border-radius: 10px;
  }

  .nav-brand .brand-name {
    font-size: 1rem;
  }

  .nav-brand .brand-tagline {
    font-size: 0.6rem;
  }

  /* --- Hero --- */
  .hero {
    min-height: auto;
    min-height: 100dvh;
    padding-top: 80px;
  }

  .hero-content {
    padding: 1rem 0;
  }

  .hero-badge {
    font-size: 0.7rem;
    padding: 0.4rem 1rem;
    margin-bottom: 1.5rem;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.7;
  }

  .hero-buttons {
    flex-direction: column;
    margin-bottom: 2rem;
  }

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

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding-top: 1.5rem;
  }

  .hero-stat .number {
    font-size: 2rem;
  }

  .hero-stat .label {
    font-size: 0.7rem;
  }

  /* --- Grids → Single Column --- */
  .services-grid,
  .services-grid[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }

  .steps-grid,
  .steps-grid[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  /* --- Cards --- */
  .service-card {
    padding: 2rem 1.5rem;
  }

  .glass-card {
    padding: 1.5rem;
  }

  .step-card {
    padding: 2rem 1rem;
  }

  .step-card::before {
    font-size: 3rem;
  }

  .step-icon {
    width: 65px;
    height: 65px;
    font-size: 1.3rem;
  }

  /* --- About --- */
  .about-image-wrapper {
    max-width: 300px;
  }

  .about-experience-badge {
    bottom: -15px;
    left: -10px;
    padding: 1rem;
  }

  .about-experience-badge .number {
    font-size: 2rem;
  }

  .about-experience-badge .text {
    font-size: 0.65rem;
  }

  .about-image-frame {
    top: -10px;
    right: -10px;
  }

  .about-highlights {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  /* --- Lesson Detail --- */
  .lesson-detail {
    padding: 2.5rem 0;
  }

  .lesson-visual {
    aspect-ratio: 16/10;
    max-height: 240px;
  }

  .lesson-visual .visual-icon {
    font-size: 3.5rem;
  }

  .lesson-content h3 {
    font-size: 1.4rem;
  }

  /* --- Contact Form --- */
  .contact-form {
    padding: 2rem 1.5rem;
  }

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

  .form-control {
    padding: 0.85rem 1rem;
    font-size: 16px; /* prevents iOS zoom */
  }

  select.form-control {
    font-size: 16px;
  }

  .contact-info-card {
    padding: 1.2rem;
  }

  .contact-info-card .icon-box {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }

  .contact-info-card:hover {
    transform: none;
  }

  /* --- Page Banner --- */
  .page-banner {
    padding: calc(75px + 2.5rem) 0 2.5rem;
  }

  .page-banner h1 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-banner p {
    font-size: 1rem;
  }

  /* --- Footer --- */
  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 0 2rem;
  }

  .footer-brand p {
    font-size: 0.88rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
    font-size: 0.8rem;
  }

  /* --- CTA --- */
  .cta-section p {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 320px;
  }

  /* --- Float Buttons --- */
  .whatsapp-float a span {
    display: none;
  }

  .whatsapp-float a {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    padding: 0;
    justify-content: center;
  }

  .whatsapp-float {
    bottom: 1.25rem;
    left: 1.25rem;
  }

  .back-to-top {
    width: 44px;
    height: 44px;
    bottom: 1.25rem;
    right: 1.25rem;
    font-size: 0.9rem;
  }

  /* --- Map --- */
  iframe {
    height: 280px !important;
  }
}

/* ---------- 576px: Small Phones ---------- */
@media (max-width: 576px) {
  .hero h1 {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }

  .hero-stats {
    gap: 1rem;
  }

  .hero-stat .number {
    font-size: 1.7rem;
  }

  .service-card {
    padding: 1.5rem 1.25rem;
  }

  .service-icon {
    width: 55px;
    height: 55px;
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .service-card h3 {
    font-size: 1.15rem;
  }

  .service-card p,
  .service-features li {
    font-size: 0.88rem;
  }

  .step-card {
    padding: 1.5rem 0.75rem;
  }

  .about-image-wrapper {
    max-width: 260px;
  }

  .lesson-visual {
    max-height: 200px;
  }

  .contact-form {
    padding: 1.5rem 1.25rem;
  }

  .preloader-logo {
    font-size: 1.5rem;
  }

  .preloader-bar {
    width: 160px;
  }

  iframe {
    height: 220px !important;
  }
}

/* ---------- 400px: Very Small Phones ---------- */
@media (max-width: 400px) {
  .hero-badge {
    font-size: 0.6rem;
    padding: 0.35rem 0.8rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .hero-stat .number {
    font-size: 1.5rem;
  }

  .hero-stat .label {
    font-size: 0.6rem;
    letter-spacing: 0.5px;
  }

  .nav-menu {
    width: 100vw;
    padding: 2rem 1.5rem;
  }

  .service-card {
    padding: 1.25rem 1rem;
  }

  .footer-social a {
    width: 38px;
    height: 38px;
    font-size: 0.8rem;
  }

  .about-image-wrapper {
    max-width: 220px;
  }

  .about-experience-badge {
    padding: 0.75rem;
    bottom: -10px;
    left: -5px;
  }

  .about-experience-badge .number {
    font-size: 1.5rem;
  }

  .whatsapp-float a {
    width: 48px;
    height: 48px;
  }

  .back-to-top {
    width: 40px;
    height: 40px;
    font-size: 0.8rem;
  }
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: rgba(11, 29, 58, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: slideUpConsent 0.5s ease;
}
@keyframes slideUpConsent {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-content {
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.cookie-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  margin: 0;
}
.cookie-content a {
  color: var(--gold);
  text-decoration: underline;
}
.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}
.cookie-buttons .btn-sm {
  padding: 0.5rem 1.5rem;
  font-size: 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}
.cookie-buttons .btn-primary {
  background: var(--gold);
  color: var(--navy);
  border: none;
}
.cookie-buttons .btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}
.cookie-buttons .btn-sm:not(.btn-primary) {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.cookie-buttons .btn-sm:not(.btn-primary):hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .cookie-consent {
    padding: 1rem;
  }
}
