/* ══════════════════════════════════════════
   style.css — IBO Community Site
   Dependencies: Bootstrap 5, Font Awesome 6
══════════════════════════════════════════ */


/* ─────────────────────────────────────────
   1. VARIABLES
───────────────────────────────────────── */
:root {
  --navy:          #04081a;
  --deep:          #080f2e;
  --mid:           #0d1a4a;
  --accent:        #2e6cff;
  --glow:          #4d8bff;
  --bright:        #7eb4ff;
  --white:         #e8f0ff;
  --muted:         #7a90c8;
  --gold:          #f0c060;
  --font-display:  'Syne', sans-serif;
  --font-body:     'DM Sans', sans-serif;
  --radius-sm:     8px;
  --radius-md:     12px;
  --radius-lg:     16px;
  --radius-xl:     20px;
  --shadow-glow:   0 0 32px rgba(46, 108, 255, 0.35);
  --shadow-hover:  0 8px 40px rgba(77, 139, 255, 0.45);
  --border-subtle: 1px solid rgba(46, 108, 255, 0.18);
  --border-mid:    1px solid rgba(46, 108, 255, 0.3);
}


/* ─────────────────────────────────────────
   2. RESET & BASE
   — Tutto parte da qui per cascata
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--navy);
  color: var(--white);          /* ← tutti i testi ereditano bianco */
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;             /* ← line-height globale */
  overflow-x: hidden;
}
section { position: relative; z-index: 1; }

/* ─────────────────────────────────────────
   TIPOGRAFIA GLOBALE — cascata da body
   Sovrascrivere solo dove necessario
───────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  /* colore ereditato da body = var(--white) */
}

p {
  font-size: 0.95rem;
  line-height: 1.9;
  /* colore ereditato da body = var(--white) */
}

/* Gradiente sui titoli sezione */
.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 1.1rem;
  background: linear-gradient(135deg, #ffffff 0%, var(--glow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ─────────────────────────────────────────
   3. UTILITIES
───────────────────────────────────────── */
.bg-deep { background-color: var(--deep); }
.bg-mid  { background-color: var(--mid);  }
.text-muted-custom { font-size: 0.95rem; margin-bottom: 1.1rem; line-height: 1.9; }


/* ─────────────────────────────────────────
   4. LAYOUT
───────────────────────────────────────── */
#stars-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.divider {
  position: relative; z-index: 1; height: 1px;
  background: linear-gradient(to right, transparent, rgba(46,108,255,0.4), transparent);
  margin: 0 2rem;
}


/* ─────────────────────────────────────────
   5. NAVIGATION
───────────────────────────────────────── */
.custom-nav,
.custom-nav.navbar {
  position: fixed !important;
  top: 0 !important; left: 0 !important; right: 0 !important;
  width: 100% !important;
  background: rgba(4, 8, 26, 0.92) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: var(--border-subtle) !important;
  padding: 0.6rem 0 !important;
  z-index: 1000 !important;
  transform: none !important;
  transition: none !important;
  min-height: unset !important;
}
.nav-logo     { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo-img { height: 44px; width: auto; object-fit: contain; }
.nav-links    { display: flex !important; flex-wrap: nowrap; gap: 1.5rem; list-style: none; margin: 0; padding: 0; width: max-content; }
.custom-nav .nav-link {
  font-size: 0.84rem; font-weight: 500; letter-spacing: 0.04em;
  color: #ffffff !important; padding: 0.3rem 0 !important;
  text-decoration: none; position: relative; transition: opacity 0.2s;
  white-space: nowrap; display: block;
}
.custom-nav .nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--glow);
  border-radius: 2px; transition: width 0.25s ease;
}
.custom-nav .nav-link:hover { opacity: 0.85; }
.custom-nav .nav-link:hover::after { width: 100%; }
.nav-cta {
  padding: 0.42rem 1.1rem !important; border-radius: var(--radius-sm) !important;
  background: var(--accent) !important; color: #ffffff !important;
  font-weight: 700 !important; letter-spacing: 0.02em !important;
  transition: background 0.25s, box-shadow 0.25s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover  { background: var(--glow) !important; opacity: 1 !important; box-shadow: 0 0 20px rgba(77,139,255,0.5) !important; }

.nav-cta-contact {
  padding: 0.42rem 1.1rem !important;
  border-radius: var(--radius-sm) !important;
  border: 1px solid rgba(77, 139, 255, 0.6) !important;
  color: var(--bright) !important;
  font-weight: 600 !important;
  background: rgba(46, 108, 255, 0.15) !important;
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s !important;
}
.nav-cta-contact::after { display: none !important; }
.nav-cta-contact:hover {
  background: rgba(46, 108, 255, 0.3) !important;
  border-color: var(--glow) !important;
  box-shadow: 0 0 16px rgba(77,139,255,0.4) !important;
  opacity: 1 !important;
}

@media (min-width: 768px) {
  .custom-nav .container-xl { display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: space-between !important; }
  .nav-links { gap: 2rem; width: auto; }
  .custom-nav .nav-link { font-size: 0.86rem; }
  .nav-logo-img { height: 44px; }
}


/* ─────────────────────────────────────────
   6. WIDGET LINGUA
───────────────────────────────────────── */
.lang-widget { position: fixed; bottom: 2rem; right: 1.5rem; z-index: 999; display: flex; flex-direction: column; gap: 0.5rem; }
.lang-btn {
  display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.9rem;
  border-radius: 999px; background: rgba(4,8,26,0.82); border: 1px solid rgba(46,108,255,0.25);
  backdrop-filter: blur(12px); text-decoration: none; color: var(--muted);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em;
  transition: border-color 0.25s, color 0.25s, box-shadow 0.25s, transform 0.2s; white-space: nowrap;
}
.lang-btn:hover       { border-color: var(--glow); color: var(--white); box-shadow: 0 0 20px rgba(46,108,255,0.3); transform: translateX(-3px); }
.lang-btn.lang-active { border-color: var(--glow); color: var(--white); box-shadow: 0 0 16px rgba(77,139,255,0.35); }
.lang-label { font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; }


/* ─────────────────────────────────────────
   7. INTRO
───────────────────────────────────────── */
#intro {
  position: relative; z-index: 1; width: 100%; height: 100vh;
  overflow: hidden; padding-top: 80px; box-sizing: border-box; background: #04081a;
}
.intro-img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; }
.intro-img-mobile { display: none; }


/* ─────────────────────────────────────────
   8. HERO
───────────────────────────────────────── */
#hero { position: relative; z-index: 1; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 8rem 1.5rem 6rem; overflow: hidden; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(4,8,26,0.60) 0%, rgba(4,8,26,0.50) 50%, rgba(4,8,26,0.80) 100%); z-index: 1; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: 2; }
.orb-1 { width: 520px; height: 520px; background: rgba(46,108,255,0.15); top: -120px; left: -180px; }
.orb-2 { width: 420px; height: 420px; background: rgba(77,139,255,0.09); bottom: -60px; right: -120px; }
.hero-content { position: relative; z-index: 3; }
.hero-badge {
  display: inline-block; padding: 0.52rem 1.5rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35); background: rgba(255,255,255,0.08);
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 2rem; animation: fadeUp 0.8s ease both;
}
.hero-sub   { max-width: 520px; font-size: 1.08rem; font-weight: 300; color: rgba(255,255,255,0.85); animation: fadeUp 0.8s 0.3s ease both; }
.btn-hero   { padding: 0.85rem 2.2rem; border-radius: var(--radius-sm); background: var(--accent); color: #fff; font-family: var(--font-body); font-size: 0.97rem; font-weight: 600; border: none; text-decoration: none; display: inline-flex; align-items: center; cursor: pointer; transition: background 0.25s, transform 0.2s, box-shadow 0.25s; box-shadow: var(--shadow-glow); animation: fadeUp 0.8s 0.45s ease both; }
.btn-hero:hover { background: var(--glow); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.hero-stats { animation: fadeUp 0.8s 0.6s ease both; }
.stat       { text-align: center; }
.stat-num   { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; line-height: 1.1; }
.stat-label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.75); }


/* ─────────────────────────────────────────
   9. SECTION COMMONS
───────────────────────────────────────── */
.section-inner { padding: 7rem 1.5rem; }
.section-label { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--glow); margin-bottom: 0.75rem; }


/* ─────────────────────────────────────────
   10. CHI SIAMO
───────────────────────────────────────── */
#chi-siamo { background-color: var(--navy); }
.about-photo-wrap {
  position: relative; border-radius: var(--radius-lg);
  overflow: visible; border: none; box-shadow: none;
  transition: transform 0.3s;
}
.about-photo-wrap:hover { transform: translateY(-3px); }
.about-photo-main .about-photo { height: auto; width: 100%; }
.about-photo { width: 100%; object-fit: contain; object-position: center; display: block; }
.about-photo-desktop { display: none; }
.about-photo-mobile  { display: block; }


/* ─────────────────────────────────────────
   11. SERVIZI
───────────────────────────────────────── */
#servizi { background-color: var(--deep); }
.service-circle-wrap { display: flex; justify-content: center; margin-bottom: 1.2rem; }
.service-circle {
  width: 160px; height: 160px; border-radius: 50%; overflow: hidden;
  border: 3px solid rgba(46,108,255,0.35); background: var(--mid);
  box-shadow: 0 0 30px rgba(46,108,255,0.2);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.service-circle:hover { border-color: var(--glow); box-shadow: 0 0 50px rgba(77,139,255,0.45); transform: translateY(-6px) scale(1.04); }
.service-circle-icon { display: flex; align-items: center; justify-content: center; background: rgba(46,108,255,0.1); }
.service-circle-icon i { font-size: 2.8rem; color: var(--glow); filter: drop-shadow(0 0 12px rgba(77,139,255,0.7)); }
.service-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.service-desc  { font-size: 0.84rem; line-height: 1.7; margin: 0 auto; max-width: 200px; color: rgba(232,240,255,0.85); }


/* ─────────────────────────────────────────
   12. GALLERIA
───────────────────────────────────────── */
#galleria { background-color: var(--navy); }
.gallery-carousel-wrap { position: relative; border-radius: var(--radius-xl); overflow: hidden; border: var(--border-subtle); box-shadow: 0 0 80px rgba(46,108,255,0.2); }
.gallery-inner-wrap { border-radius: var(--radius-xl); }
.gallery-slide { position: relative; width: 100%; height: 560px; overflow: hidden; background: var(--navy); }
.gallery-slide-img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; background: var(--navy); transition: transform 0.6s ease; }
.carousel-item.active .gallery-slide-img { transform: scale(1.03); }
.gallery-indicators { bottom: 4rem !important; gap: 6px; }
.gallery-indicators button { width: 8px !important; height: 8px !important; border-radius: 50% !important; background: rgba(255,255,255,0.4) !important; border: none !important; transition: background 0.25s, transform 0.25s !important; padding: 0 !important; }
.gallery-indicators button.active { background: var(--glow) !important; transform: scale(1.3); box-shadow: 0 0 10px var(--glow); }
.carousel-control-prev,
.carousel-control-next { width: auto; opacity: 0.8; }
.carousel-control-prev { left: 10px; }
.carousel-control-next { right: 10px; }
.carousel-control-prev i,
.carousel-control-next i { color: white; filter: drop-shadow(0 0 4px rgba(0,0,0,0.6)); transition: transform 0.2s; }
.carousel-control-prev:hover i,
.carousel-control-next:hover i { transform: scale(1.2); }


/* ─────────────────────────────────────────
   13. RECENSIONI
───────────────────────────────────────── */
#recensioni { background-color: var(--deep); }
.testi-card-v2 {
  border-radius: var(--radius-lg); overflow: hidden;
  background: rgba(4,8,26,0.65); border: var(--border-subtle);
  height: 100%; transition: border-color 0.3s, transform 0.3s;
}
.testi-card-v2:hover { border-color: rgba(77,139,255,0.4); transform: translateY(-5px); }
.testi-photo-v2 { width: 100%; height: 280px; object-fit: cover; object-position: top center; display: block; background: var(--mid); }
.testi-body  { padding: 1.3rem; }
.testi-name  { font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; margin-bottom: 0.15rem; }
.testi-city  { font-size: 0.78rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 0.9rem; }
.testi-quote { font-size: 1.4rem; color: rgba(46,108,255,0.35); display: block; margin-bottom: 0.5rem; }
.testi-body p { font-size: 0.9rem; font-style: italic; line-height: 1.7; margin: 0; }


/* ─────────────────────────────────────────
   14. FORM
───────────────────────────────────────── */
.custom-input,
.form-control.custom-input {
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-sm) !important;
  border: 1px solid rgba(46,108,255,0.28) !important;
  background: rgba(4,8,26,0.65) !important;
  color: var(--white) !important;
  font-family: var(--font-body); font-size: 0.94rem;
  outline: none; transition: border-color 0.25s, box-shadow 0.25s;
}
.custom-input:focus,
.form-control.custom-input:focus {
  border-color: var(--glow) !important;
  box-shadow: 0 0 0 3px rgba(77,139,255,0.15) !important;
  background: rgba(4,8,26,0.8) !important;
}
.custom-input::placeholder { color: rgba(122,144,200,0.55); }
.custom-input option { background: #080f2e; color: #e8f0ff; }
.custom-label { font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); margin-bottom: 0.4rem; }


/* ─────────────────────────────────────────
   15. CONTATTI
───────────────────────────────────────── */
#contatti { background-color: var(--navy); }
.contact-form-box { padding: 2.2rem; border-radius: var(--radius-xl); background: rgba(8,15,46,0.55); border: var(--border-subtle); }
.success-msg { font-size: 0.9rem; color: var(--glow); }
.contact-item {
  display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem;
  border-radius: var(--radius-md); background: rgba(4,8,26,0.5);
  border: var(--border-subtle); text-decoration: none; color: var(--white);
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
}
.contact-item:hover { border-color: rgba(77,139,255,0.5); background: rgba(13,26,74,0.55); color: var(--white); transform: translateX(4px); }
.contact-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); background: rgba(46,108,255,0.15); border: var(--border-subtle); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--glow); flex-shrink: 0; }
.contact-item small { display: block; font-size: 0.72rem; letter-spacing: 0.09em; text-transform: uppercase; color: rgba(232,240,255,0.6); margin-bottom: 0.15rem; }
.contact-item span  { font-size: 0.93rem; font-weight: 500; }


/* ─────────────────────────────────────────
   16. FOOTER
───────────────────────────────────────── */
.site-footer { position: relative; z-index: 1; background: var(--deep); border-top: var(--border-subtle); padding: 3rem 0 2rem; }
.footer-brand-name { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; letter-spacing: 0.03em; }
.footer-social { width: 42px; height: 42px; border-radius: 50%; background: rgba(46,108,255,0.12); border: var(--border-subtle); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 1rem; text-decoration: none; transition: background 0.25s, color 0.25s, box-shadow 0.25s, transform 0.2s; }
.footer-social:hover { background: var(--accent); color: #fff; box-shadow: var(--shadow-glow); transform: translateY(-3px); }
.footer-divider { height: 1px; background: linear-gradient(to right, transparent, rgba(46,108,255,0.25), transparent); margin-bottom: 1.5rem; }
.footer-copy { font-size: 0.82rem; color: var(--muted); }
.footer-copy strong { color: var(--white); }
.footer-legal a { font-size: 0.78rem; color: var(--muted); text-decoration: none; transition: color 0.2s; position: relative; }
.footer-legal a::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 0; height: 1px; background: var(--glow); transition: width 0.2s; }
.footer-legal a:hover { color: var(--bright); }
.footer-legal a:hover::after { width: 100%; }


/* ─────────────────────────────────────────
   17. ANIMAZIONI
───────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }


/* ─────────────────────────────────────────
   18. REVEAL
───────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.30s; }


/* ─────────────────────────────────────────
   19. SCROLL MARGIN NAVBAR
───────────────────────────────────────── */
#chi-siamo, #servizi, #galleria, #recensioni, #contatti { scroll-margin-top: 10px; }


/* ─────────────────────────────────────────
   20. COOKIE BANNER
───────────────────────────────────────── */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: rgba(4,8,26,0.97); border-top: var(--border-subtle);
  padding: 1rem 2rem; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  backdrop-filter: blur(12px);
}
#cookie-banner p { margin: 0; font-size: 0.88rem; }
#cookie-banner a { color: var(--glow); }
#cookie-banner button {
  padding: 0.5rem 1.4rem; border-radius: var(--radius-sm);
  background: var(--accent); color: #fff; border: none;
  font-weight: 600; font-size: 0.88rem; cursor: pointer;
  white-space: nowrap; transition: background 0.2s;
}
#cookie-banner button:hover { background: var(--glow); }


/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */

@media (min-width: 1400px) {
  .hero-sub      { max-width: 580px; font-size: 1.15rem; }
  .stat-num      { font-size: 2.8rem; }
  .gallery-slide { height: 620px; }
  .section-inner { padding: 8rem 2rem; }
}

@media (min-width: 1200px) {
  .about-photo-desktop { display: block; }
  .about-photo-mobile  { display: none; }
}

@media (max-width: 1200px) {
  .hero-sub      { max-width: 480px; }
  .gallery-slide { height: 480px; }
}

@media (max-width: 992px) {
  .hero-sub       { font-size: 1rem; max-width: 440px; }
  .section-inner  { padding: 6rem 1.5rem; }
  .section-title  { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
  .service-circle { width: 130px; height: 130px; }
  .gallery-slide  { height: 420px; }
  .nav-links      { gap: 1.4rem; }
  .custom-nav .nav-link { font-size: 0.8rem; }
}

@media (min-width: 768px) {
  .about-photo-desktop { display: block; }
  .about-photo-mobile  { display: none; }
}

@media (max-width: 768px) {
  .custom-nav { padding: 0.9rem 0 !important; }
  .custom-nav .container-xl { display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; gap: 0.8rem; }
  .nav-logo { justify-content: center; }
  .nav-logo-img { height: 42px; }
  .nav-links { gap: 1rem; justify-content: center; width: auto; }
  .custom-nav .nav-link { font-size: 0.72rem; white-space: nowrap; text-align: center; line-height: 1.2; }
  .nav-cta { padding: 0.38rem 0.9rem !important; font-size: 0.72rem !important; }

  #intro { height: 100vh; padding-top: 0; }
  .intro-img-desktop { display: none; }
  .intro-img-mobile  { display: block; object-fit: cover; width: 100%; height: 100%; }

  .section-inner  { padding: 5rem 1.2rem; }
  .orb-1 { width: 280px; height: 280px; }
  .orb-2 { width: 220px; height: 220px; }
  .service-circle { width: 120px; height: 120px; }
  .gallery-slide  { height: 340px; }
  .gallery-indicators { bottom: 3rem !important; }
  .contact-form-box { padding: 1.5rem; }
  .site-footer .container-xl { padding: 0 1.5rem; }
  .footer-copy, .footer-legal { width: 100%; justify-content: center; text-align: center; }
  .lang-widget { bottom: 1.5rem; right: 1rem; }

  .testi-photo-v2 { height: auto; max-height: 300px; object-fit: contain; object-position: center; border-radius: var(--radius-lg); }
  .testi-card-v2  { border-radius: var(--radius-lg); overflow: visible; }

  .about-photo-desktop { display: none; }
  .about-photo-mobile  { display: block; }
}

@media (max-width: 576px) {
  #cookie-banner { flex-direction: column; text-align: center; padding: 1rem; }
  #cookie-banner button { width: 100%; }

  #hero { padding: 7rem 1.2rem 4rem; }
  .hero-sub { font-size: 0.95rem; }
  .btn-hero { padding: 0.78rem 1.8rem; font-size: 0.9rem; }
  .hero-stats { gap: 2.5rem !important; }
  .section-inner { padding: 4.5rem 1.1rem; }
  .section-title { font-size: 1.9rem; }
  .gallery-slide { height: 280px; }
  .nav-links { gap: 0.6rem; }
  .custom-nav .nav-link { font-size: 0.58rem; }
  .nav-cta { padding: 0.28rem 0.6rem !important; font-size: 0.58rem !important; }
  .testi-photo-v2 { height: 220px; }
}

@media (max-width: 480px) {
  #hero { padding: 7rem 1rem 4rem; }
  .hero-stats { gap: 2rem !important; }
  .stat-num { font-size: 1.9rem; }
  .service-circle { width: 100px; height: 100px; }
  .gallery-slide { height: 240px; }
  .gallery-indicators { bottom: 2.5rem !important; }
  .lang-widget { bottom: 1.5rem; right: 1rem; }
  .lang-btn { padding: 0.42rem 0.7rem; font-size: 0.72rem; }
  .testi-photo-v2 { height: 200px; }
}

@media (max-width: 375px) {
  .nav-logo-img { height: 26px; }
  .nav-links { gap: 0.5rem; }
  .custom-nav .nav-link { font-size: 0.55rem; letter-spacing: 0; }
  .nav-cta { padding: 0.25rem 0.55rem !important; font-size: 0.55rem !important; }
  #hero { padding: 7rem 0.9rem 3.5rem; }
  .hero-sub { font-size: 0.88rem; }
  .btn-hero { padding: 0.7rem 1.4rem; font-size: 0.84rem; }
  .hero-stats { gap: 1.8rem !important; }
  .section-title { font-size: 1.7rem; }
  .gallery-slide { height: 210px; }
  .lang-widget { bottom: 1rem; right: 0.75rem; }
  .lang-btn { padding: 0.38rem 0.6rem; }
  .lang-label { display: none; }
  .testi-photo-v2 { height: 180px; }
}

@media (max-width: 320px) {
  .nav-logo-img { height: 22px; }
  .nav-links { gap: 0.4rem; }
  .custom-nav .nav-link { font-size: 0.5rem; }
  .nav-cta { padding: 0.22rem 0.5rem !important; font-size: 0.5rem !important; }
  #hero { padding: 7rem 0.8rem 3.5rem; }
  .hero-sub { font-size: 0.82rem; }
  .btn-hero { padding: 0.65rem 1.2rem; font-size: 0.8rem; }
  .hero-stats { gap: 1.2rem !important; }
  .stat-num { font-size: 1.6rem; }
  .section-inner { padding: 4rem 0.9rem; }
  .section-title { font-size: 1.5rem; }
  .service-circle { width: 80px; height: 80px; }
  .gallery-slide { height: 180px; }
  .contact-form-box { padding: 1rem; }
  .footer-brand-name { font-size: 1.1rem; }
  .footer-legal { flex-direction: column; gap: 0.4rem !important; align-items: center; }
  .testi-photo-v2 { height: 160px; }
}