/* ========================================
   MEGUMI – Portfolio CSS
   Dark premium theme · Full responsive · i18n
   ======================================== */

/* ---- CSS Variables ---- */
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --accent: #06b6d4;
  --accent2: #f59e0b;
  --success: #10b981;
  --dark: #09090b;
  --dark-2: #111115;
  --dark-3: #18181f;
  --dark-4: #1e1e28;
  --border: rgba(255,255,255,0.07);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --gradient: linear-gradient(135deg, #6366f1, #06b6d4);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 40px rgba(99,102,241,0.25);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--dark);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark-2); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ---- Typography ---- */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-flex;
  align-items: center;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.3);
  color: var(--primary-light);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0.75rem auto 0;
}

.section-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.section-pad { padding: 100px 0; }

/* ========================================
   NAVBAR
   ======================================== */
#navbar {
  background: transparent;
  padding: 16px 0;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

#navbar.scrolled {
  background: rgba(9,9,11,0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.navbar-logo {
  height: 40px;
  width: 40px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid rgba(99,102,241,0.4);
  flex-shrink: 0;
}

.brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-left: 10px;
}

.nav-link {
  color: var(--text-secondary) !important;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 9px 14px !important;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary) !important;
  background: rgba(255,255,255,0.06);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff !important;
  border: none;
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  white-space: nowrap;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.5);
}

.toggler-icon { font-size: 1.6rem; color: var(--text-primary); }
.navbar-toggler { border: none; box-shadow: none !important; padding: 4px 8px; }
.navbar-toggler:focus { box-shadow: none; }

/* Mobile nav */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(9,9,11,0.98);
    backdrop-filter: blur(20px);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 16px;
    margin-top: 12px;
  }
  .navbar-nav { gap: 4px !important; }
  .nav-link { padding: 12px 16px !important; font-size: 1rem; border-radius: var(--radius-sm); }
  .btn-whatsapp { width: 100%; justify-content: center; padding: 12px; }
}

/* ── Mobile language toggle (in navbar row) ── */
.lang-toggle-mobile {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.lang-toggle-mobile:hover {
  background: rgba(99,102,241,0.2);
  border-color: rgba(99,102,241,0.4);
}
.lang-flag { font-size: 1rem; line-height: 1; }

/* ========================================
   HERO
   ======================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: var(--dark);
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 8s ease-in-out infinite;
  z-index: 0;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(99,102,241,0.22), transparent 70%);
  top: -150px; left: -150px;
  animation-delay: 0s;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(6,182,212,0.18), transparent 70%);
  top: 50px; right: -100px;
  animation-delay: -3s;
}
.hero-orb-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(245,158,11,0.12), transparent 70%);
  bottom: 100px; left: 30%;
  animation-delay: -5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.3);
  color: var(--primary-light);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  animation: pulse-border 3s infinite;
  flex-wrap: wrap;
}

@keyframes pulse-border {
  0%, 100% { border-color: rgba(99,102,241,0.3); box-shadow: 0 0 0 0 rgba(99,102,241,0); }
  50% { border-color: rgba(99,102,241,0.7); box-shadow: 0 0 0 6px rgba(99,102,241,0.08); }
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.12rem);
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.8;
  margin-top: 1.25rem;
}

.btn-primary-hero {
  background: var(--gradient);
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
  box-shadow: 0 6px 28px rgba(99,102,241,0.45);
  white-space: nowrap;
}
.btn-primary-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(99,102,241,0.6);
  color: #fff;
}

.btn-outline-hero {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  border: 1px solid var(--border);
  padding: 14px 24px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}
.btn-outline-hero:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
  color: var(--text-primary);
}

.hero-trust { gap: 16px !important; flex-wrap: wrap; }
.trust-item {
  font-size: 0.84rem;
  color: var(--success);
  font-weight: 600;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.trust-item i { font-size: 1rem; }

.hero-image-wrapper { perspective: 1200px; }

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  border: 1px solid var(--border);
  animation: hero-img-float 6s ease-in-out infinite;
  transform: rotateY(-5deg) rotateX(3deg);
}

@keyframes hero-img-float {
  0%, 100% { transform: rotateY(-5deg) rotateX(3deg) translateY(0); }
  50% { transform: rotateY(-5deg) rotateX(3deg) translateY(-12px); }
}

.hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.hero-image-card:hover .hero-img { transform: scale(1.04); }

.hero-image-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(9,9,11,0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(245,158,11,0.4);
  color: var(--accent2);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 1;
  animation: scroll-hint 2s ease-in-out infinite;
}
.scroll-arrow {
  width: 18px; height: 18px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
}
@keyframes scroll-hint {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(6px); }
}

/* ========================================
   ABOUT
   ======================================== */
.about-section { background: var(--dark-2); }

.about-image-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about-img-main {
  grid-column: 1 / -1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.about-img-main img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.about-img-main:hover img { transform: scale(1.04); }

.about-img-secondary {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.about-img-secondary img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.about-img-secondary:hover img { transform: scale(1.04); }

.about-floating-badge {
  background: var(--gradient);
  border-radius: var(--radius);
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 8px 32px rgba(99,102,241,0.4);
}
.about-badge-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.about-badge-text {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-align: center;
  line-height: 1.3;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  transition: var(--transition);
}
.about-feature:hover {
  border-color: rgba(99,102,241,0.3);
  background: var(--dark-4);
  transform: translateY(-2px);
}

.feature-icon {
  min-width: 40px; height: 40px;
  background: rgba(99,102,241,0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--primary-light);
  flex-shrink: 0;
}

/* ========================================
   SERVICES
   ======================================== */
.services-section { background: var(--dark); }

.service-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-card:hover {
  border-color: rgba(99,102,241,0.35);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card), 0 0 50px rgba(99,102,241,0.1);
}
.service-card:hover::before { opacity: 1; }

.service-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.service-icon-wrap {
  width: 50px; height: 50px;
  background: color-mix(in srgb, var(--icon-color) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--icon-color) 40%, transparent);
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--icon-color);
  flex-shrink: 0;
  transition: var(--transition);
}
.service-card:hover .service-icon-wrap {
  background: color-mix(in srgb, var(--icon-color) 25%, transparent);
  transform: scale(1.08) rotate(-3deg);
}

.service-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 5px 0;
  font-size: 0.865rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color 0.2s ease;
  line-height: 1.5;
}
.service-list li:last-child { border-bottom: none; }
.service-list li:hover { color: var(--text-primary); }
.service-list li i {
  color: var(--success);
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  padding: 10px 20px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.25);
  color: var(--primary-light);
  border-radius: 100px;
  font-size: 0.84rem;
  font-weight: 600;
  transition: var(--transition);
  width: fit-content;
}
.service-cta:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateX(3px);
}

/* ========================================
   GALLERY
   ======================================== */
.gallery-section { background: var(--dark-2); }

.filter-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text-primary);
}
.filter-btn.active {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 20px rgba(99,102,241,0.4);
}

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

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}
.gallery-item.hidden { display: none; }

.gallery-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
  display: block;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9,9,11,0.9) 0%, rgba(9,9,11,0.3) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-overlay-content {
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  transform: translateY(10px);
  transition: transform 0.4s ease;
}
.gallery-overlay-content i { font-size: 1.3rem; color: var(--primary-light); }

.gallery-img-wrap:hover img { transform: scale(1.08); }
.gallery-img-wrap:hover .gallery-overlay { opacity: 1; }
.gallery-img-wrap:hover .gallery-overlay-content { transform: translateY(0); }

/* Touch devices: show overlay always */
@media (hover: none) {
  .gallery-overlay { opacity: 1; background: linear-gradient(to top, rgba(9,9,11,0.7) 0%, transparent 60%); }
  .gallery-overlay-content { transform: translateY(0); }
}

/* ---- Lightbox ---- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  padding: 16px;
}
.lightbox-overlay.active { display: flex; }

.lightbox-img-container {
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img-container img {
  max-width: min(90vw, 900px);
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 80px rgba(0,0,0,0.8);
  animation: lb-in 0.3s ease;
}
@keyframes lb-in {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox-close {
  position: fixed;
  top: 16px; right: 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  z-index: 10000;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); transform: rotate(90deg); }

.lightbox-nav {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  z-index: 10000;
}
.lightbox-nav:hover { background: rgba(99,102,241,0.4); border-color: var(--primary); }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

/* ========================================
   STATS
   ======================================== */
.stats-section { background: var(--dark); }

.stat-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 20px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.stat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99,102,241,0.4);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========================================
   CTA
   ======================================== */
.cta-section { background: var(--dark-2); }

.cta-card {
  background: var(--dark-3);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: var(--radius-lg);
  padding: 56px 44px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.cta-orb-1 { width: 300px; height: 300px; background: rgba(99,102,241,0.25); top: -80px; left: -80px; }
.cta-orb-2 { width: 250px; height: 250px; background: rgba(6,182,212,0.2); bottom: -60px; right: -60px; }

.cta-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2.3rem);
  font-weight: 800;
  color: var(--text-primary);
  position: relative; z-index: 1;
  margin-bottom: 10px;
}
.cta-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  position: relative; z-index: 1;
  margin: 0;
}

.btn-cta-main {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  border: none;
  padding: 15px 30px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
  box-shadow: 0 6px 30px rgba(37,211,102,0.4);
  position: relative; z-index: 1;
  white-space: nowrap;
}
.btn-cta-main:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(37,211,102,0.55);
  color: #fff;
}

/* ========================================
   FOOTER
   ======================================== */
.footer { background: var(--dark-2); border-top: 1px solid var(--border); }

.footer-logo { height: 40px; width: 40px; object-fit: cover; border-radius: 10px; border: 2px solid rgba(99,102,241,0.3); }

.footer-brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-text { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }

.footer-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 0.88rem; color: var(--text-muted); transition: color 0.25s ease; display: flex; align-items: center; }
.footer-links a:hover { color: var(--primary-light); }

.footer-social { display: flex; gap: 12px; }
.social-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: var(--transition);
}
.social-icon.whatsapp-icon:hover {
  background: #25d366; border-color: #25d366; color: #fff;
  transform: translateY(-3px); box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ========================================
   FLOATING BUTTONS STACK
   Bottom-right: WA → Lang → BackTop
   ======================================== */

/* WhatsApp */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 997;
  width: 58px; height: 58px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.65rem;
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
  transition: var(--transition);
  animation: wa-pulse 2.5s infinite;
}
.wa-float:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 40px rgba(37,211,102,0.65);
  color: #fff;
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 6px 28px rgba(37,211,102,0.5), 0 0 0 0 rgba(37,211,102,0.4); }
  50% { box-shadow: 0 6px 28px rgba(37,211,102,0.5), 0 0 0 14px rgba(37,211,102,0); }
}

.wa-float-tooltip {
  position: absolute;
  right: 66px;
  background: rgba(9,9,11,0.92);
  color: #fff;
  padding: 6px 13px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.wa-float:hover .wa-float-tooltip { opacity: 1; transform: translateX(0); }

/* Language Float Button */
.lang-float {
  position: fixed;
  bottom: 98px; right: 28px;
  z-index: 998;
  width: 58px; height: 58px;
  background: var(--dark-3);
  border: 1px solid rgba(99,102,241,0.35);
  color: var(--text-primary);
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.lang-float:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-4px) scale(1.08);
  box-shadow: var(--shadow-glow);
}

.lang-float-flag { font-size: 1.3rem; line-height: 1; }
.lang-float-label { font-size: 0.65rem; font-weight: 800; letter-spacing: 0.05em; line-height: 1; }

.lang-float-tooltip {
  position: absolute;
  right: 66px;
  background: rgba(9,9,11,0.92);
  color: #fff;
  padding: 6px 13px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.lang-float:hover .lang-float-tooltip { opacity: 1; transform: translateX(0); }

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 168px; right: 28px;
  z-index: 997;
  width: 44px; height: 44px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

/* ── Tablet landscape / small desktop (≤ 1200px) ── */
@media (max-width: 1199px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-img { height: 360px; }
}

/* ── Tablet portrait (≤ 991px) ── */
@media (max-width: 991px) {
  .section-pad { padding: 80px 0; }

  .hero-title { font-size: clamp(2.2rem, 7vw, 3.6rem); }
  .hero-subtitle { max-width: 100%; }
  .hero-img { height: 320px; }
  .hero-image-card { transform: none; animation: hero-img-float-mobile 6s ease-in-out infinite; }
  @keyframes hero-img-float-mobile {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }

  .about-image-grid { grid-template-columns: 1fr; }
  .about-img-secondary, .about-floating-badge { display: none; }
  .about-img-main img { height: 260px; }

  .cta-card { padding: 40px 28px; }
  .cta-title { text-align: center; }
  .cta-subtitle { text-align: center; }
  .col-lg-4.text-lg-end { text-align: center !important; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  /* Float buttons shift up slightly on tablet */
  .wa-float { bottom: 24px; right: 24px; width: 54px; height: 54px; font-size: 1.5rem; }
  .lang-float { bottom: 90px; right: 24px; width: 54px; height: 54px; }
  .back-to-top { bottom: 158px; right: 24px; width: 42px; height: 42px; }
}

/* ── Large phone landscape / small tablet (≤ 767px) ── */
@media (max-width: 767px) {
  .section-pad { padding: 64px 0; }
  .section-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }

  .hero-section { min-height: 100svh; }
  .hero-title { font-size: clamp(2rem, 9vw, 2.8rem); }
  .hero-subtitle { font-size: 0.95rem; }
  .hero-img { height: 260px; }
  .hero-trust { gap: 10px !important; }
  .trust-item { font-size: 0.8rem; }
  .hero-scroll-hint { display: none; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .stat-card { padding: 28px 16px; }
  .stat-number { font-size: 2.2rem; }

  .cta-card { padding: 32px 20px; }
  .btn-cta-main { font-size: 0.88rem; padding: 13px 22px; }

  /* Footer stack */
  .footer .row > div { border-top: 1px solid var(--border); padding-top: 20px; }
  .footer .row > div:first-child { border-top: none; }
}

/* ── Phone portrait (≤ 480px) ── */
@media (max-width: 480px) {
  .section-pad { padding: 52px 0; }
  .section-subtitle { font-size: 0.92rem; }

  /* Hero full-width CTAs */
  .hero-ctas { flex-direction: column; }
  .btn-primary-hero, .btn-outline-hero { width: 100%; justify-content: center; }

  /* Hero image smaller */
  .hero-img { height: 220px; }
  .hero-image-card { border-radius: var(--radius); }

  /* Services: single column */
  .service-card { padding: 22px 18px; }
  .service-title { font-size: 1.1rem; }
  .service-list li { font-size: 0.83rem; }

  /* Gallery single column */
  .gallery-grid { grid-template-columns: 1fr; gap: 12px; }

  /* Filter pills: smaller */
  .filter-btn { padding: 7px 14px; font-size: 0.8rem; }
  .gallery-filters { gap: 8px !important; }

  /* About features: single col */
  .about-feature { padding: 12px; }
  .feature-icon { min-width: 36px; height: 36px; font-size: 1rem; }

  /* Stats 2x2 */
  .stat-card { padding: 24px 12px; }
  .stat-number { font-size: 2rem; }

  /* Float buttons smaller on tiny screens */
  .wa-float { width: 50px; height: 50px; font-size: 1.4rem; bottom: 20px; right: 16px; }
  .lang-float { width: 50px; height: 50px; bottom: 82px; right: 16px; }
  .back-to-top { width: 40px; height: 40px; bottom: 146px; right: 16px; font-size: 1rem; }
  .wa-float-tooltip, .lang-float-tooltip { right: 60px; }

  /* Footer */
  .footer .col-6 { width: 100%; }
  .footer-heading { margin-top: 4px; }
}

/* ── Extra small (≤ 360px) ── */
@media (max-width: 360px) {
  .hero-title { font-size: 1.85rem; }
  .brand-name { font-size: 1.1rem; }
  .hero-badge { font-size: 0.75rem; padding: 6px 12px; }
}
