:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #eef3fa;
  --text: #10233e;
  --muted: #4e6281;
  --primary: #0c63ce;
  --primary-dark: #083f84;
  --accent: #12b3a8;
  --border: #d7e1ef;
  --shadow: 0 12px 36px rgba(17, 40, 72, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 25;
  backdrop-filter: blur(9px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
}

.brand-logo {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.brand-mark {
  width: 34px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--primary), var(--accent));
}

.brand-text {
  font-size: 0.98rem;
  letter-spacing: 0.03em;
}

.mobile-menu-btn {
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  font-size: 1.15rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.main-nav a {
  color: var(--muted);
  font-weight: 600;
  transition: 0.2s;
}

.main-nav a:hover {
  color: var(--primary);
}

.lang-switch {
  display: inline-flex;
  background: var(--surface-2);
  border-radius: 10px;
  padding: 4px;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  padding: 0.45rem 0.62rem;
  border-radius: 8px;
  cursor: pointer;
}

.lang-btn.active {
  color: #fff;
  background: var(--primary);
}

.hero {
  position: relative;
  min-height: 65vh;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
  display: grid;
  place-items: center;
  color: #fff;
  padding: 2rem 0;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(6, 32, 73, 0.84), rgba(7, 78, 146, 0.6));
}

.hero-content {
  position: relative;
  width: min(1140px, 92vw);
  margin: 0 auto;
  z-index: 2;
}

.hero-content h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 5vw, 3.05rem);
  line-height: 1.15;
  max-width: 16ch;
}

.hero-content p {
  margin: 0 0 1.4rem;
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  padding: 0.8rem 1.1rem;
  border-radius: 10px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn.primary {
  background: #fff;
  color: var(--primary-dark);
}

.btn.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.68);
  background: transparent;
}

.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.55rem;
  z-index: 3;
}

.hero-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  opacity: 0.7;
  background: #fff;
}

.hero-dots button.active {
  width: 26px;
  opacity: 1;
}

.section {
  padding: clamp(2.8rem, 6vw, 5rem) 0;
}

.section.alt {
  background: var(--surface);
}

.section-head h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.3rem, 3vw, 2rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 65ch;
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.4rem;
}

#aboutContent p {
  color: var(--muted);
  line-height: 1.75;
}

.highlight-box {
  background: linear-gradient(160deg, #0c4fa8, #0f7fbc);
  color: #fff;
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.highlight-box ul {
  margin: 0;
  padding-left: 1.1rem;
}

.highlight-box li {
  margin-bottom: 0.7rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
}

.service-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.03rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.gallery-layout {
  margin-top: 1.2rem;
}

.gallery-stage {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.gallery-stage img {
  width: 100%;
  height: clamp(220px, 42vw, 440px);
  object-fit: cover;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(6, 21, 38, 0.58);
  color: #fff;
  font-size: 1.7rem;
  cursor: pointer;
}

.gallery-nav.prev {
  left: 14px;
}

.gallery-nav.next {
  right: 14px;
}

.gallery-thumbs {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.6rem;
}

.gallery-thumbs button {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
}

.gallery-thumbs img {
  width: 100%;
  height: 84px;
  object-fit: cover;
}

.gallery-thumbs button.active {
  outline: 2px solid var(--primary);
}

.news-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.news-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.news-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.news-body {
  padding: 0.9rem;
}

.news-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.news-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.link-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.link-grid a {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 0.9rem;
  font-weight: 600;
}

.contact-layout {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1rem;
}

.contact-info {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 14px;
  padding: 1rem;
  color: var(--muted);
}

.contact-info h3 {
  margin-top: 0;
  color: var(--text);
}

.office-list {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.office-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem;
  background: var(--surface-2);
}

.office-card h4 {
  margin: 0 0 0.4rem;
  color: var(--text);
  font-size: 0.98rem;
}

.office-card p {
  margin: 0.2rem 0;
}

.contact-form {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 14px;
  padding: 1rem;
  display: grid;
  gap: 0.8rem;
}

.form-header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.form-header p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.contact-form span {
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font: inherit;
}

.contact-form button {
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 0.82rem 1.1rem;
  color: #fff;
  background: var(--primary);
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.form-status {
  margin: 0.2rem 0 0;
  min-height: 1.4rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.form-status.success {
  color: #12703a;
}

.form-status.error {
  color: #b11a1a;
}

.map-wrap {
  margin-top: 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.map-wrap iframe {
  width: 100%;
  height: 320px;
  border: 0;
}

.site-footer {
  padding: 1.1rem 0;
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-wrap p {
  margin: 0;
  color: var(--muted);
}

.whatsapp-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  border-radius: 999px;
  padding: 0.8rem 1rem;
  font-weight: 700;
  color: #fff;
  background: #24c867;
  box-shadow: var(--shadow);
}

@media (max-width: 980px) {
  .main-nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 0.8rem 4vw;
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav.open {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
    margin-left: auto;
  }

  .lang-switch {
    margin-left: 0.25rem;
  }

  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-grid {
    grid-template-columns: 1fr 1fr;
  }

  .link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .map-wrap iframe {
    height: 280px;
  }
}

@media (max-width: 640px) {
  .nav-wrap {
    flex-wrap: wrap;
    row-gap: 0.5rem;
  }

  .brand {
    width: calc(100% - 50px);
  }

  .brand-text {
    font-size: 0.82rem;
  }

  .brand-logo {
    height: 40px;
  }

  .lang-switch {
    width: 100%;
    justify-content: center;
  }

  .hero {
    min-height: 72vh;
  }

  .service-grid,
  .news-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .whatsapp-btn {
    right: 12px;
    bottom: 12px;
    padding: 0.7rem 0.9rem;
    font-size: 0.9rem;
  }

  .map-wrap iframe {
    height: 240px;
  }
}
