/* CLEVER VİZE & DANIŞMANLIK - Ana Stil Dosyası */
:root {
  --primary: #F5A623;
  --primary-dark: #E09000;
  --secondary: #4A7C8C;
  --secondary-dark: #3A6575;
  --text: #333333;
  --text-light: #666666;
  --bg: #FFFFFF;
  --bg-light: #F8F9FA;
  --bg-dark: #2C3E50;
  --border: #E0E0E0;
  --success: #27AE60;
  --error: #E74C3C;
  --warning: #F39C12;
  --info: #3498DB;
  --radius: 8px;
  --shadow: 0 2px 10px rgba(0,0,0,0.1);
  --shadow-lg: 0 4px 20px rgba(0,0,0,0.15);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
  overflow-x: clip;
}

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

a:hover {
  color: var(--secondary-dark);
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: var(--bg);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  background: var(--bg-dark);
  color: white;
  padding: 8px 0;
  font-size: 14px;
}

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

.header-contact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.header-instagram {
  font-size: 17px;
  line-height: 1;
}

.header-top a {
  color: white;
}

.header-top a:hover {
  color: var(--primary);
}

.header-main {
  padding: 15px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 60px;
  width: auto;
}

.nav {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav a {
  color: var(--text);
  font-weight: 500;
  padding: 10px 0;
  position: relative;
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
}

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

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text);
}

/* Hero Slider */
.hero {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 10;
  width: 90%;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
}

.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: var(--transition);
}

.hero-dot.active {
  background: var(--primary);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 16px;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--secondary);
  color: white;
}

.btn-secondary:hover {
  background: var(--secondary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-light {
  background: var(--bg-light);
}

.section-dark {
  background: var(--bg-dark);
  color: white;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 36px;
  color: var(--text);
  margin-bottom: 15px;
}

.section-dark .section-title h2 {
  color: white;
}

.section-title p {
  color: var(--text-light);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

.section-title .divider {
  width: 80px;
  height: 4px;
  background: var(--primary);
  margin: 20px auto 0;
  border-radius: 2px;
}

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

.service-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.service-card .icon {
  width: 80px;
  height: 80px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 36px;
  color: var(--primary);
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--text);
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 20px;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-item {
  text-align: center;
  padding: 30px;
}

.feature-item .icon {
  width: 70px;
  height: 70px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 30px;
  color: white;
}

.feature-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.feature-item p {
  color: var(--text-light);
}

/* Countries */
.countries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.country-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}

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

.country-card .flag {
  font-size: 40px;
  margin-bottom: 10px;
}

.country-card h4 {
  font-size: 16px;
  color: var(--text);
}

/* Country Detail */
.country-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.country-detail-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.country-detail-image img {
  width: 100%;
  height: auto;
}

.country-detail-content h1 {
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--text);
}

.country-detail-content .visa-types {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 24px;
}

.visa-types-heading {
  margin: 26px 0 0;
  font-size: 20px;
  color: var(--text);
}

.visa-type-tag {
  background: var(--bg-light);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  color: var(--secondary);
  border: 1px solid var(--border);
}

.info-list {
  list-style: none;
  margin: 20px 0;
}

.info-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
}

.info-list li strong {
  color: var(--text);
}

.info-list li span {
  color: var(--text-light);
}

/* Application Form */
.application-form {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 16px;
  transition: var(--transition);
  font-family: inherit;
}

/* Tarayıcıların varsayılan select yüksekliği farklıdır; tüm form alanlarını eşit tutar. */
.form-group input:not([type="checkbox"]),
.form-group select {
  height: 52px;
}

.form-group input[type="checkbox"] {
  width: auto;
  height: auto;
  margin: 0 8px 0 0;
  padding: 0;
  vertical-align: middle;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.1);
}

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

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
}

.checkbox-group label {
  font-weight: normal;
  font-size: 14px;
  color: var(--text-light);
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 30px;
}

.blog-card {
  min-width: 0;
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.blog-card-image {
  height: 200px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

/* Harici bir blog görseli erişilemezse kartın düzeni bozulmadan yerel
   logoya dönülür. */
.blog-card-image img { max-width: 100%; }

.blog-card:hover .blog-card-image img {
  transform: scale(1.1);
}

.blog-card-content {
  padding: 25px;
}

.blog-card-content .category {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  margin-bottom: 10px;
}

.blog-card-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.blog-card-content h3 a {
  color: var(--text);
}

.blog-card-content h3 a:hover {
  color: var(--primary);
}

.blog-card-content p {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 15px;
}

.blog-card-content .meta {
  display: flex;
  gap: 15px;
  font-size: 13px;
  color: var(--text-light);
}

/* Visa Success Gallery */
.visa-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

.visa-gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.visa-gallery-item:hover {
  transform: scale(1.05);
}

.visa-gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Stüdyodan gelen görseller Instagram Story ölçüsündedir (1080 × 1920).
   Ana sayfada asla kare karta kırpılmadan, tasarımdaki tam oranıyla görünür. */
#success-visa-gallery {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  gap: 12px;
  overflow: hidden;
  /* requestAnimationFrame ile piksel bazlı akışta smooth, Safari'nin yeni
     kaydırmaları iptal etmesine yol açıyordu. Ok düğmeleri JS ile yönetilir. */
  scroll-behavior: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding: 8px 4px;
}

#success-visa-gallery::-webkit-scrollbar { display: none; }

#success-visa-gallery .visa-gallery-loading {
  width: 100%;
  min-height: 220px;
  display: grid;
  place-items: center;
  margin: 0;
  color: var(--text-light);
  font-weight: 600;
}

#success-visa-gallery .visa-gallery-item {
  /* Masaüstünde aynı pencerede altı dikey taslak görünür. */
  flex: 0 0 calc((100% - 60px) / 6);
  min-width: 0;
  background: #f7f7f2;
}

#success-visa-gallery .visa-gallery-item img {
  display: block;
  aspect-ratio: 9 / 16;
  height: auto;
  object-fit: contain;
  background: #f7f7f2;
}

.visa-gallery-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.visa-gallery-control {
  position: relative;
  z-index: 2;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 34px;
  line-height: 36px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.visa-gallery-control:hover,
.visa-gallery-control:focus-visible {
  background: var(--secondary);
  transform: scale(1.08);
}

/* Form sayfasından ayrılmadan KVKK metnini okumak için pencere. */
.legal-modal {
  width: min(860px, calc(100vw - 28px));
  max-height: min(82vh, 800px);
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
}

.legal-modal::backdrop { background: rgba(13, 27, 42, .62); }

.legal-modal-panel { display: flex; flex-direction: column; max-height: inherit; }

.legal-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}

.legal-modal-header h2 { margin: 0; font-size: clamp(20px, 3vw, 28px); }

.legal-modal-close {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.legal-modal-content { overflow: auto; padding: 22px; }
.legal-modal-content h2 { margin: 22px 0 10px; font-size: 20px; }
.legal-modal-content h2:first-child { margin-top: 0; }
.legal-modal-content p { line-height: 1.7; }

@media (max-width: 640px) {
  .visa-gallery-carousel {
    display: block;
    padding: 0 46px;
  }

  .visa-gallery-control {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 38px;
    height: 38px;
    margin-top: -19px;
    padding: 0;
    font-size: 28px;
    line-height: 36px;
  }

  .visa-gallery-prev { left: 0; }
  .visa-gallery-next { right: 0; }

  #success-visa-gallery {
    width: 100%;
    gap: 10px;
    padding: 6px 0;
  }

  #success-visa-gallery .visa-gallery-item { flex-basis: min(62vw, 240px); }
}

@media (min-width: 641px) and (max-width: 980px) {
  #success-visa-gallery .visa-gallery-item { flex-basis: calc((100% - 24px) / 3); }
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg);
  border-radius: var(--radius);
  margin-bottom: 15px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--bg-light);
}

.faq-question .icon {
  transition: var(--transition);
}

.faq-item.active .faq-question .icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 20px 20px;
  color: var(--text-light);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

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

a.contact-info-item {
  color: inherit;
  text-decoration: none;
}

a.contact-info-item:hover h4,
a.contact-info-item:hover p {
  color: var(--primary-dark);
}

.contact-info-item .icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-info-item h4 {
  margin-bottom: 5px;
  color: var(--text);
}

.contact-info-item p {
  color: var(--text-light);
}

.map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 300px;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: white;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 40px;
  padding-bottom: 40px;
}

.footer-col h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--primary);
}

.footer-col p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 15px;
}

.footer-col ul {
  list-style: none;
}

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

.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.cookie-consent {
  position: fixed;
  z-index: 1100;
  left: 50%;
  right: auto;
  bottom: 18px;
  width: min(880px, calc(100% - 32px));
  padding: 16px 20px;
  background: #ffffff;
  color: var(--text);
  border: 1px solid rgba(24, 48, 73, .2);
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(11, 30, 48, .26);
  opacity: 1;
  transform: translateX(-50%);
}

.cookie-consent__content {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.cookie-consent h2 {
  margin: 0 0 4px;
  font-size: 18px;
}

.cookie-consent p {
  margin: 0 0 5px;
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.5;
}

.cookie-consent a {
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 600;
}

.cookie-consent__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

@media (max-width: 640px) {
  .cookie-consent {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-width: none;
    padding: 14px;
    border-radius: 12px;
    transform: none;
  }

  .cookie-consent__content {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-consent__actions {
    flex-direction: row;
    width: 100%;
  }

  .cookie-consent__actions .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 8px;
    font-size: 13px;
  }
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  color: rgba(255,255,255,0.7);
}

a.footer-contact-item {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

a.footer-contact-item:hover,
a.footer-contact-item:focus-visible {
  color: #fff;
}

.footer-contact-item .icon {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
}

.footer-disclaimer {
  max-width: 1000px;
  margin: 12px auto 0;
  font-size: 12px;
  line-height: 1.65;
  opacity: 0.82;
}

.footer-policy-links {
  margin-top: 8px;
  font-size: 13px;
}

.footer-policy-links a {
  color: inherit;
  text-decoration: underline;
}

.footer-policy-links span {
  margin: 0 7px;
}

/* Yönetim ayarlarından bağımsız, sabit Lysir Labs yapımcı imzası. */
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lysir-mark {
  display: block;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  object-fit: contain;
  background: transparent;
  filter: brightness(0) invert(1) brightness(1.8) contrast(1.2);
}

/* WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 30px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
}

/* Cloudflare Turnstile, yalnızca Render'da ilgili anahtarlar tanımlandığında
   başvuru formlarında görünür. */
.turnstile-holder {
  margin: 18px 0 12px;
  min-height: 65px;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 42px;
  margin-bottom: 15px;
}

.page-header p {
  font-size: 18px;
  opacity: 0.9;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 14px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.8);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb span {
  color: var(--primary);
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-item .number {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary);
}

.stat-item .label {
  font-size: 18px;
  color: var(--text-light);
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  counter-reset: step;
}

.process-step {
  text-align: center;
  padding: 30px;
  position: relative;
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 20px;
}

.process-step h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.process-step p {
  color: var(--text-light);
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 24px;
  margin: 30px 0 15px;
  color: var(--text);
}

.legal-content h3 {
  font-size: 20px;
  margin: 25px 0 10px;
  color: var(--text);
}

.legal-content p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.legal-content ul {
  margin: 15px 0 15px 30px;
  color: var(--text-light);
}

.legal-content ul li {
  margin-bottom: 8px;
}

/* Thank You Page */
.thank-you {
  text-align: center;
  padding: 100px 0;
}

.thank-you .icon {
  width: 100px;
  height: 100px;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  font-size: 50px;
  color: white;
}

.thank-you h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.thank-you p {
  font-size: 18px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 30px;
}

/* Admin Panel */
.admin-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: var(--bg-dark);
  color: white;
  padding: 20px;
}

.admin-sidebar .logo {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 20px;
}

.admin-sidebar .logo img {
  height: 40px;
}

.admin-nav {
  list-style: none;
}

.admin-nav li {
  margin-bottom: 5px;
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  color: rgba(255,255,255,0.7);
  border-radius: var(--radius);
  transition: var(--transition);
}

.admin-nav a:hover,
.admin-nav a.active {
  background: rgba(255,255,255,0.1);
  color: white;
}

.admin-main {
  padding: 30px;
  background: var(--bg-light);
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.admin-header h1 {
  font-size: 28px;
}

.admin-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.admin-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 25px;
  box-shadow: var(--shadow);
}

.admin-card .number {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
}

.admin-card .label {
  color: var(--text-light);
  margin-top: 5px;
}

.admin-table {
  width: 100%;
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.admin-table table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.admin-table th {
  background: var(--bg-light);
  font-weight: 600;
}

.admin-table tr:hover {
  background: var(--bg-light);
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.status-pending {
  background: #FFF3CD;
  color: #856404;
}

.status-approved {
  background: #D4EDDA;
  color: #155724;
}

.status-rejected {
  background: #F8D7DA;
  color: #721C24;
}

/* Responsive */
@media (max-width: 992px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow);
  }

  .nav.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .country-detail {
    grid-template-columns: 1fr;
  }

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

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

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    display: none;
  }
}

@media (max-width: 768px) {
  html, body { max-width: 100%; }

  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .header-top { padding: 10px 0; }

  .header-top .container { display: block; }

  .header-contact {
    align-items: flex-start;
    gap: 8px 12px;
  }

  .header-contact a {
    min-width: 0;
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  .header-contact .header-instagram {
    flex: 0 0 100%;
    font-size: 20px;
  }

  .header-main { padding: 11px 0; }

  .logo img { height: 54px; }

  .section {
    padding: 60px 0;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .hero {
    height: 400px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .countries-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

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

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .stat-item .number {
    font-size: clamp(34px, 11vw, 44px);
    line-height: 1.1;
    overflow-wrap: anywhere;
  }

  .stat-item .label { font-size: 16px; }

  .whatsapp-float {
    right: 16px;
    bottom: max(18px, env(safe-area-inset-bottom));
    width: 54px;
    height: 54px;
    font-size: 27px;
  }

  .back-to-top {
    right: 16px !important;
    bottom: max(82px, calc(env(safe-area-inset-bottom) + 68px)) !important;
    width: 46px !important;
    height: 46px !important;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

/* Loading */
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: 100px;
  right: 30px;
  padding: 15px 25px;
  border-radius: var(--radius);
  color: white;
  font-weight: 500;
  z-index: 9999;
  animation: slideIn 0.3s ease;
}

.toast-success {
  background: var(--success);
}

.toast-error {
  background: var(--error);
}

.toast-info {
  background: var(--info);
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Search Box */
.search-box {
  position: relative;
  max-width: 400px;
}

.search-box input {
  width: 100%;
  padding: 12px 45px 12px 15px;
  border: 1px solid var(--border);
  border-radius: 25px;
  font-size: 16px;
}

.search-box button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  color: white;
  cursor: pointer;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 25px;
  background: var(--bg);
  cursor: pointer;
  transition: var(--transition);
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.pagination button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.pagination button:hover,
.pagination button.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Rich Text Editor */
.rich-editor {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.rich-editor-toolbar {
  display: flex;
  gap: 5px;
  padding: 10px;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.rich-editor-toolbar button {
  width: 35px;
  height: 35px;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.rich-editor-toolbar button:hover {
  background: var(--primary);
  color: white;
}

.rich-editor-content {
  min-height: 300px;
  padding: 15px;
  outline: none;
}

.rich-editor-content:focus {
  background: #FAFAFA;
}

/* Image Upload */
.image-upload {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.image-upload:hover {
  border-color: var(--primary);
  background: rgba(245, 166, 35, 0.05);
}

.image-upload .icon {
  font-size: 48px;
  color: var(--text-light);
  margin-bottom: 15px;
}

.image-upload p {
  color: var(--text-light);
}

.image-preview {
  margin-top: 15px;
}

.image-preview img {
  max-width: 200px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 30px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9);
  transition: var(--transition);
}

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

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-light);
}

.modal-close:hover {
  color: var(--error);
}

/* Tooltip */
.tooltip {
  position: relative;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-dark);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.tooltip:hover::after {
  opacity: 1;
  visibility: visible;
}

/* Progress Bar */
.progress-bar {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 4px;
  transition: width 0.3s ease;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.badge-primary {
  background: var(--primary);
  color: white;
}

.badge-secondary {
  background: var(--secondary);
  color: white;
}

.badge-success {
  background: var(--success);
  color: white;
}

.badge-warning {
  background: var(--warning);
  color: white;
}

.badge-error {
  background: var(--error);
  color: white;
}

/* Card */
.card {
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-header {
  padding: 20px;
  border-bottom: 1px solid var(--border);
}

.card-body {
  padding: 20px;
}

.card-footer {
  padding: 20px;
  border-top: 1px solid var(--border);
  background: var(--bg-light);
}

/* Alert */
.alert {
  padding: 15px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-success {
  background: #D4EDDA;
  color: #155724;
  border: 1px solid #C3E6CB;
}

.alert-error {
  background: #F8D7DA;
  color: #721C24;
  border: 1px solid #F5C6CB;
}

.alert-warning {
  background: #FFF3CD;
  color: #856404;
  border: 1px solid #FFEEBA;
}

.alert-info {
  background: #D1ECF1;
  color: #0C5460;
  border: 1px solid #BEE5EB;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-state .icon {
  font-size: 64px;
  color: var(--border);
  margin-bottom: 20px;
}

.empty-state h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.empty-state p {
  color: var(--text-light);
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .whatsapp-float,
  .admin-sidebar {
    display: none !important;
  }

  .admin-main {
    padding: 0;
  }
}
