/* =====================
   RESET / BASE
===================== */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #163c63;
  line-height: 1.7;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

/* =====================
   GLOBAL
===================== */

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =====================
   HERO
===================== */

.hero {
  position: relative;
  background: url("../images/bg/hero.webp") center / cover no-repeat;
  min-height: 100svh;
  padding-bottom: 120px;
}

@supports (-webkit-touch-callout: none) {
  .hero {
    min-height: -webkit-fill-available;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
}

/* =====================
   HEADER
===================== */

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 20;
}

.menu {
  display: flex;
  gap: 28px;
  align-items: center;
}

.menu a {
  text-decoration: none;
  font-weight: 600;
  color: #163c63;
}

/* =====================
   LANGUAGE FLAGS
===================== */

.menu-lang {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-lang img {
  width: 26px;
  height: auto;
}

/* =====================
   HAMBURGER
===================== */

.hamburger {
  display: none;
  position: absolute;
  left: 22px;
  top: 26px;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 9999;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #1d72d8;
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* =====================
   HERO CONTENT
===================== */

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 90px 20px 0;
  text-align: center;
  position: relative;
  z-index: 10;
}

.hero-logo {
  width: 760px;
  max-width: 95%;
  margin-bottom: 40px;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.hero-text {
  font-size: 1.1rem;
  margin-bottom: 40px;
}

/* =====================
   BUTTONS
===================== */

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn {
  padding: 15px 36px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  min-width: 220px;
}

.btn.red { background: #e63946; }
.btn.blue { background: #1d72d8; }
.btn.whatsapp { background: #25D366; }

/* =====================
   SECTIONS
===================== */

.section {
  padding: 120px 20px;
  text-align: center;
}

.section.light {
  background: #f4f8ff;
}

.section h2 {
  font-size: 2.4rem;
  margin-bottom: 30px;
}

.section p {
  max-width: 900px;
  margin: 0 auto 20px;
}

/* =====================
   WHY LIST
===================== */

.why-list {
  list-style: none;
  max-width: 600px;
  margin: 30px auto 0;
}

.why-list li {
  margin-bottom: 14px;
  font-weight: 500;
}

.why-list li::before {
  content: "✔ ";
  color: #1d72d8;
  font-weight: 700;
}

/* =====================
   GALLERY
===================== */

.gallery-wrapper {
  overflow-x: auto;
}

.gallery {
  display: flex;
  gap: 20px;
  padding: 20px;
}

.gallery img {
  height: 260px;
  border-radius: 16px;
  cursor: pointer;
  flex-shrink: 0;
}

/* =====================
   LIGHTBOX
===================== */

#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
}

.lb-close,
.lb-prev,
.lb-next {
  position: absolute;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  user-select: none;
}

.lb-close { top: 20px; right: 30px; }
.lb-prev { left: 30px; }
.lb-next { right: 30px; }

/* =====================
   MAP
===================== */

.map {
  width: 100%;
  max-width: 900px;
  height: 380px;
  border: 0;
  border-radius: 20px;
  margin: 30px auto 0;
  display: block;
}

/* =====================
   CONTACT
===================== */

.contact-block {
  margin-bottom: 60px;
}

.contact-item {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.contact-icon {
  width: 18px;
  height: 18px;
  min-width: 18px;
  fill: #1d72d8;
  flex-shrink: 0;
}

.contact-item a {
  font-size: 1.1rem;
  font-weight: 600;
  color: #163c63;
  text-decoration: none;
}

.contact-form {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #ccc;
  font-family: inherit;
}

.contact-form button {
  padding: 15px;
  border-radius: 30px;
  border: none;
  background: #1d72d8;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

/* =====================
   FOOTER
===================== */

.footer {
  background: #e6f0ff;
  padding: 120px 20px 60px;
  text-align: center;
}

.social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px 0;
}

.social img {
  width: 34px;
  height: 34px;
}

/* =====================
   MOBILE
===================== */

@media (max-width: 768px) {

  .hamburger {
    display: block;
  }

  .menu {
    position: fixed;
    inset: 0;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 9000;
  }

  .menu.active {
    transform: translateX(0);
  }

  .hero-logo {
    width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .section {
    padding: 80px 18px;
  }

  .gallery img {
    height: 200px;
  }
}

/* =====================
   MOBILE GALLERY SWIPE
===================== */

@media (max-width: 768px) {
  .gallery-wrapper {
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
  }

  .gallery {
    scroll-snap-type: x mandatory;
  }

  .gallery img {
    scroll-snap-align: start;
    touch-action: pan-x;
  }
}
