:root {
  --navy: #062b49;
  --blue: #218fc8;
  --sky: #eaf7fd;
  --ink: #1f2937;
  --muted: #64748b;
  --line: #dbe5ec;
  --paper: #ffffff;
  --soft: #f6fafc;
  --gold: #d99a20;
  --green: #2f8f65;
  --radius: 8px;
  --shadow: 0 18px 45px rgba(6, 43, 73, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand-name {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.1;
}

.tagline {
  margin: 2px 0 0;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
}

.nav-toggle {
  display: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #334155;
  font-size: 0.94rem;
  font-weight: 700;
}

.main-nav a,
.dropdown-trigger {
  padding: 10px 0;
}

.main-nav a:hover,
.main-nav a.active,
.dropdown-trigger:hover,
.dropdown-trigger.active {
  color: var(--blue);
}

.dropdown {
  position: relative;
}

.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.dropdown-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.dropdown-menu {
  position: absolute;
  z-index: 20;
  top: 100%;
  left: -18px;
  min-width: 210px;
  display: grid;
  gap: 2px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-menu a {
  padding: 10px 12px;
  border-radius: 6px;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
  background: var(--sky);
}

.portal-link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1.2;
}

.portal-link,
.button.primary {
  color: #fff;
  background: var(--navy);
}

.button.secondary {
  color: var(--navy);
  background: #fff;
  border-color: var(--navy);
}

.button.accent {
  color: #fff;
  background: var(--blue);
}

.button:hover {
  transform: translateY(-1px);
}

.hero {
  background:
    radial-gradient(circle at 78% 20%, rgba(33, 143, 200, 0.14), transparent 24%),
    radial-gradient(circle at 18% 30%, rgba(33, 143, 200, 0.10), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #effaff 54%, #ffffff 100%);
  color: var(--ink);
}

.hero-inner {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 44px;
  align-items: center;
  padding: 78px 0 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.15;
}

.hero h1 {
  color: var(--navy);
  max-width: 720px;
  font-size: clamp(2.7rem, 6vw, 5rem);
}

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

.hero-text p:not(.eyebrow) {
  max-width: 640px;
  margin: 20px 0 0;
  color: #51677a;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 22px;
  color: var(--navy);
  background: #fff;
  border: 1px solid rgba(33, 143, 200, 0.26);
  border-radius: 999px;
  font-weight: 800;
}

.hero-media-card {
  position: relative;
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(219, 229, 236, 0.9);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(6, 43, 73, 0.16);
}

.hero-media {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: var(--sky);
  border-radius: 18px;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  color: #fff;
  opacity: 0;
  animation: heroSlide 15s infinite;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 43, 73, 0), rgba(6, 43, 73, 0.42));
  z-index: 1;
}

.slide h2 {
  color: #fff;
  max-width: 360px;
  font-size: 1.55rem;
  text-shadow: 0 2px 18px rgba(6, 43, 73, 0.5);
}

.slide.one {
  background:
    url("gallery/hero-1.webp") center / cover no-repeat,
    url("gallery/hero-1.jpg") center / cover no-repeat,
    linear-gradient(135deg, #8bd3ec, #eef9fd 42%, #2f8f65);
  opacity: 1;
}

.slide.two {
  background:
    url("gallery/hero-2.webp") center / cover no-repeat,
    url("gallery/hero-2.jpg") center / cover no-repeat,
    linear-gradient(135deg, #f5c46b, #eaf7fd 46%, #218fc8);
  animation-delay: 5s;
}

.slide.three {
  background:
    url("gallery/hero-3.webp") center / cover no-repeat,
    url("gallery/hero-3.jpg") center / cover no-repeat,
    linear-gradient(135deg, #c9e7f5, #ffffff 43%, #062b49);
  animation-delay: 10s;
}

.slide h2 {
  position: relative;
  z-index: 2;
}

.hero-media-note {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.hero-media-note span {
  display: grid;
  min-height: 78px;
  place-items: center;
  padding: 12px;
  color: var(--navy);
  background: var(--sky);
  border-radius: 16px;
  font-weight: 800;
  text-align: center;
}

@keyframes heroSlide {
  0%,
  30% {
    opacity: 1;
  }
  38%,
  92% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.section {
  padding: 68px 0;
}

.section.soft {
  background: var(--soft);
}

.section.navy {
  color: #fff;
  background: var(--navy);
}

.section.navy h2,
.section.navy h3 {
  color: #fff;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head p {
  margin: 12px 0 0;
  color: var(--muted);
}

.section.navy .section-head p {
  color: #cbdbe5;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card h3 {
  font-size: 1.35rem;
}

.card p,
.card li {
  color: var(--muted);
}

.feature-card {
  min-height: 180px;
}

.highlight-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.highlight {
  padding: 20px;
  background: var(--sky);
  border-radius: var(--radius);
}

.highlight strong {
  display: block;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.page-hero {
  padding: 58px 0;
  background: var(--sky);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 32px;
  align-items: start;
}

.check-list,
.plain-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
}

.plain-list li {
  padding-left: 0;
}

.info-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.info-item {
  padding: 18px;
  background: var(--sky);
  border-radius: var(--radius);
}

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

.gallery-card {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  background: var(--sky);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(6, 43, 73, 0.08);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  transition: transform 180ms ease;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 43, 73, 0), rgba(6, 43, 73, 0.46));
}

.gallery-card span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 1;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
}

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

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.lightbox:target {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 18, 31, 0.86);
}

.lightbox figure {
  position: relative;
  z-index: 1;
  width: min(1080px, 96vw);
  margin: 0;
  padding: 14px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #f4f8fb;
  border-radius: calc(var(--radius) - 2px);
}

.lightbox figcaption {
  padding: 10px 4px 0;
  color: var(--navy);
  font-weight: 700;
}

.lightbox-close {
  position: absolute;
  top: -18px;
  right: -18px;
  z-index: 2;
  padding: 9px 12px;
  color: #fff;
  background: var(--navy);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 800;
}

.photo-tile {
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(6, 43, 73, 0.08), rgba(6, 43, 73, 0.82)),
    var(--blue);
  border-radius: var(--radius);
  overflow: hidden;
}

.photo-tile.logo-tile {
  background:
    linear-gradient(180deg, rgba(6, 43, 73, 0.08), rgba(6, 43, 73, 0.82)),
    url("bondeni-logo.png") center / 72% no-repeat,
    #eef8fc;
}

.photo-tile h3 {
  color: #fff;
  font-size: 1.25rem;
}

.document-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.document-row + .document-row {
  margin-top: 12px;
}

.contact-box {
  padding: 20px;
  background: var(--sky);
  border-radius: var(--radius);
}

.contact-box strong {
  display: block;
  color: var(--navy);
}

.form-frame {
  width: 100%;
  min-height: 620px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.placeholder-frame {
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 28px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.site-footer {
  color: #d8e5ed;
  background: var(--navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr;
  gap: 30px;
  padding: 44px 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  padding: 4px;
  object-fit: contain;
  background: #fff;
  border-radius: var(--radius);
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
  font-size: 1.2rem;
}

.site-footer ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin: 8px 0;
}

.copyright {
  padding: 16px 0;
  color: #aebfca;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-toggle summary {
    cursor: pointer;
    padding: 10px 12px;
    color: var(--navy);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-weight: 800;
    list-style: none;
  }

  .nav-toggle summary::-webkit-details-marker {
    display: none;
  }

  .desktop-nav,
  .desktop-portal {
    display: none;
  }

  .nav-toggle .main-nav {
    width: min(320px, calc(100vw - 32px));
    display: grid;
    gap: 0;
    position: absolute;
    right: 16px;
    top: 70px;
    padding: 12px 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .mobile-group {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .mobile-group summary {
    padding: 10px 0;
    color: var(--navy);
    border: 0;
    border-radius: 0;
    cursor: pointer;
    font-weight: 800;
    list-style: none;
  }

  .mobile-group summary::-webkit-details-marker {
    display: none;
  }

  .mobile-group div {
    display: grid;
    gap: 2px;
    padding: 0 0 8px 14px;
  }

  .hero-inner,
  .split,
  .grid.two {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

  .grid.three,
  .highlight-row,
  .info-strip,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand-name {
    font-size: 1rem;
  }

  .tagline {
    display: none;
  }

  .section {
    padding: 48px 0;
  }

  .hero-inner {
    padding: 48px 0;
  }

  .hero-media-card {
    padding: 14px;
    border-radius: 18px;
  }

  .hero-media {
    min-height: 280px;
  }

  .hero-media-note {
    grid-template-columns: 1fr;
  }

  .document-row {
    grid-template-columns: 1fr;
  }
}
