/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #1B2D5B;
  --gold:       #C9970C;
  --gold-light: #F5C842;
  --white:      #ffffff;
  --off-white:  #f8f9fb;
  --border:     #e8eaee;
  --text:       #222222;
  --text-light: #666666;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

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

/* ── Navbar ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 48px; width: auto; }
.nav-logo span {
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a { color: var(--text-light); font-size: 0.93rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--navy); }

.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 9px 22px !important;
  border-radius: 5px !important;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 25px; height: 2px; background: var(--navy); border-radius: 2px; }

/* ── Hero ── */
#home {
  position: relative;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

/* Background slideshow */
.hero-slides { position: absolute; inset: 0; z-index: 0; }

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroSlide 18s infinite;
}

.slide-1 {
  background-image: url('https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=1920&q=80');
  animation-delay: 0s;
}
.slide-2 {
  background-image: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?auto=format&fit=crop&w=1920&q=80');
  animation-delay: 6s;
}
.slide-3 {
  background-image: url('https://images.unsplash.com/photo-1527515637-99f576c2b13a?auto=format&fit=crop&w=1920&q=80');
  animation-delay: 12s;
}

@keyframes heroSlide {
  0%   { opacity: 0; }
  8%   { opacity: 1; }
  33%  { opacity: 1; }
  41%  { opacity: 0; }
  100% { opacity: 0; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 18, 40, 0.92) 0%,
    rgba(10, 18, 40, 0.65) 50%,
    rgba(10, 18, 40, 0.45) 100%
  );
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 5% 0;
}

.hero-text { max-width: 640px; }

.hero-badge {
  display: inline-block;
  background: rgba(201,151,12,0.2);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  font-weight: 600;
}

.hero-text h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 18px;
}

.hero-text h1 span { color: var(--gold-light); }

.hero-text p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  background: var(--gold);
  color: var(--white);
  padding: 13px 28px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.1s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { background: var(--gold-light); color: var(--navy); transform: translateY(-1px); }

.btn-outline {
  border: 2px solid rgba(255,255,255,0.6);
  color: var(--white);
  padding: 11px 26px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

/* Hero stats bar */
.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 52px;
  padding: 24px 5%;
  margin-left: -5%;
  margin-right: -5%;
}

.hero-stat { flex: 1; text-align: center; }
.hero-stat h3 { font-size: 2rem; font-weight: 700; color: var(--gold-light); line-height: 1; margin-bottom: 4px; }
.hero-stat p  { font-size: 0.78rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.07em; }
.hero-stat-divider { width: 1px; height: 44px; background: rgba(255,255,255,0.2); }

/* ── Section shared ── */
section { padding: 80px 5%; }

.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.section-sub {
  color: var(--text-light);
  max-width: 560px;
  margin-bottom: 48px;
  font-size: 0.97rem;
}

/* ── Services Tab Layout ── */
#services { background: var(--off-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ── Desktop: two-column tab layout ── */
@media (min-width: 901px) {
  .services-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4px 32px;
    align-items: start;
  }

  .service-item { display: contents; }

  .tab-btn {
    grid-column: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px 16px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
    width: 100%;
  }

  .tab-btn:hover { border-color: var(--gold); background: #fffaf0; }

  .service-item.active .tab-btn {
    background: var(--navy);
    border-color: var(--navy);
  }

  .service-item.active .tab-num { color: var(--gold-light); }
  .service-item.active .tab-name { color: var(--white); }
  .service-item.active .tab-chevron { color: var(--gold-light); transform: none; }

  .tab-chevron { display: none; }

  .service-panel {
    grid-column: 2;
    grid-row: 1 / 9;
    display: none;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 48px 44px;
    animation: fadeIn 0.3s ease;
    align-self: start;
  }

  .service-item.active .service-panel { display: block; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tab-num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.tab-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.panel-img {
  width: 100%;
  height: 220px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
}

.panel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-panel h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.service-panel p {
  font-size: 0.97rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 560px;
}

.panel-points {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin-bottom: 36px;
}

.panel-points li {
  font-size: 0.9rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.panel-points li::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.panel-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.93rem;
  transition: background 0.2s;
}
.panel-cta:hover { background: var(--gold); }

/* ── About ── */
#about {
  background: var(--white);
  display: flex;
  align-items: center;
  gap: 72px;
}

.about-text { flex: 1; }

.about-features {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.feature-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--text); }
.feature-item .check { color: var(--gold); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }

.partners-wrap {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 300px;
}

.about-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.about-card img { width: 90px; margin: 0 auto 18px; }
.about-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.about-card .role { color: var(--gold); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 18px; }
.about-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.75; margin-bottom: 24px; }

.contact-detail { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.87rem; color: var(--navy); font-weight: 500; margin-bottom: 10px; }
.contact-detail a { color: var(--navy); }
.contact-detail a:hover { color: var(--gold); }

/* ── Gallery ── */
#gallery { border-top: 1px solid var(--border); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  background: var(--off-white);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5%;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.lightbox.open { opacity: 1; visibility: visible; }

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 6px;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 5%;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  padding: 8px;
}

@media (prefers-reduced-motion: reduce) {
  .gallery-item img, .lightbox { transition: none; }
}

@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; max-width: 380px; gap: 16px; }
}

/* ── Contact ── */
#contact { background: var(--off-white); border-top: 1px solid var(--border); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }

.contact-info-list { margin-top: 4px; }

.contact-item { display: flex; gap: 16px; margin-bottom: 26px; padding-bottom: 26px; border-bottom: 1px solid var(--border); }
.contact-item:last-of-type { border-bottom: none; margin-bottom: 16px; }
.contact-item .icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.contact-item h4 { font-size: 0.78rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; font-weight: 600; }
.contact-item p, .contact-item a { font-size: 0.97rem; color: var(--navy); font-weight: 500; }
.contact-item a:hover { color: var(--gold); }

.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  padding: 13px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 4px;
  transition: background 0.2s, transform 0.1s;
}
.wa-btn:hover { background: #1ebe5a; transform: translateY(-1px); }

.map-wrap { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 4px 18px rgba(0,0,0,0.07); height: 360px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ── Footer ── */
footer { background: var(--navy); color: rgba(255,255,255,0.65); padding: 48px 5% 28px; }

.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; margin-bottom: 40px; }
.footer-brand img { height: 50px; margin-bottom: 14px; border-radius: 6px; }
.footer-brand p { font-size: 0.85rem; max-width: 260px; line-height: 1.75; }

.footer-links h4 { color: var(--white); font-size: 0.82rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 0.86rem; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-light); }

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

/* ── Mobile ── */
/* ── Mobile: accordion layout ── */
@media (max-width: 900px) {
  .services-layout { display: flex; flex-direction: column; gap: 8px; }

  .service-item { display: block; }

  .tab-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px 18px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
    width: 100%;
  }

  .tab-btn:hover { border-color: var(--gold); background: #fffaf0; }

  .service-item.active .tab-btn {
    background: var(--navy);
    border-color: var(--navy);
    border-radius: 10px 10px 0 0;
  }

  .service-item.active .tab-num  { color: var(--gold-light); }
  .service-item.active .tab-name { color: var(--white); }
  .service-item.active .tab-chevron { color: rgba(255,255,255,0.7); transform: rotate(90deg); }

  .tab-chevron {
    margin-left: auto;
    font-size: 1.2rem;
    color: var(--text-light);
    transition: transform 0.25s;
    flex-shrink: 0;
  }

  .service-panel {
    display: none;
    background: var(--white);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 10px 10px;
    padding: 28px 22px;
    animation: fadeIn 0.25s ease;
  }

  .service-item.active .service-panel { display: block; }

  .panel-points { grid-template-columns: 1fr; }
  .service-panel h3 { font-size: 1.2rem; }
  .panel-img { height: 160px; margin-bottom: 16px; }
}

@media (max-width: 768px) {
  nav { padding: 0 4%; }
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links a { display: block; padding: 14px 5%; color: var(--navy); }
  .nav-cta { margin: 12px 5%; text-align: center; border-radius: 5px; display: block; }

  #home { min-height: 480px; }
  .hero-content { padding: 52px 5% 0; }
  .hero-stats-row { gap: 0; padding: 20px 5%; }
  .hero-stat h3 { font-size: 1.5rem; }

  #about { flex-direction: column; }
  .partners-wrap { width: 100%; }
  .about-features { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 32px; }

  .tab-btn { flex: 1 1 100%; }
}

@media (max-width: 480px) {
  .hero-stats-row { flex-direction: column; gap: 16px; text-align: center; }
  .hero-stat-divider { width: 60px; height: 1px; }
}
