:root {
  --ink: #082f49;
  --muted: #5b677a;
  --line: #d5e2ea;
  --bg: #f3f8fb;
  --brand: #00a896;
  --brand-dark: #007f73;
  --blue: #003f5c;
  --gold: #f7c948;
  --coral: #ff6b6b;
  --white: #ffffff;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}
a { color: inherit; text-decoration: none; }
.topbar {
  min-height: 76px;
  padding: 12px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; }
.brand img { width: 218px; max-width: 46vw; height: auto; display: block; }
nav { display: flex; gap: 22px; align-items: center; color: var(--muted); font-weight: 650; }
nav a:hover { color: var(--brand-dark); }
.navDrop {
  position: relative;
  padding: 10px 0;
}
.dropMenu {
  min-width: 210px;
  display: none;
  position: absolute;
  top: 100%;
  left: -16px;
  padding: 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(8,47,73,.16);
  z-index: 20;
}
.navDrop:hover .dropMenu,
.navDrop:focus-within .dropMenu {
  display: grid;
}
.dropMenu a {
  padding: 10px 12px;
  border-radius: 6px;
  white-space: nowrap;
}
.dropMenu a:hover {
  background: #e7f6f3;
}
.langSwitch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: #e7f6f3;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.langSwitch a {
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}
.langSwitch a.active {
  background: var(--blue);
  color: white;
}
.hero, .detailHero {
  min-height: calc(100vh - 72px);
  position: relative;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.detailHero { min-height: 560px; }
.detailHero {
  background-size: cover;
  background-position: center;
}
.heroSlides {
  position: absolute;
  inset: 0;
}
.heroSlides span {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  animation: heroFade 30s infinite;
}
.heroSlides span:nth-child(1) { opacity: 1; animation-delay: 0s; }
.heroSlides span:nth-child(2) { animation-delay: 6s; }
.heroSlides span:nth-child(3) { animation-delay: 12s; }
.heroSlides span:nth-child(4) { animation-delay: 18s; }
.heroSlides span:nth-child(5) { animation-delay: 24s; }
.heroOverlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,63,92,.88), rgba(0,168,150,.46), rgba(255,107,107,.16));
}
@keyframes heroFade {
  0% { opacity: 0; transform: scale(1.06); }
  6% { opacity: 1; }
  22% { opacity: 1; }
  30% { opacity: 0; transform: scale(1.12); }
  100% { opacity: 0; transform: scale(1.12); }
}
.heroContent {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 72px;
  color: white;
}
.heroContent.narrow { max-width: 860px; }
.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 850;
  color: var(--gold);
}
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(42px, 6vw, 78px); line-height: 1.02; letter-spacing: 0; margin-bottom: 20px; }
h2 { font-size: 34px; }
h3 { font-size: 21px; }
.homeHeroTitle {
  max-width: 760px;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.08;
}
.lead { font-size: 20px; line-height: 1.55; max-width: 700px; }
.heroCategoryChips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 720px;
  margin-top: 22px;
}
.heroCategoryChips a {
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: white;
  font-size: 13px;
  font-weight: 850;
  backdrop-filter: blur(10px);
}
.heroCategoryChips a:hover {
  background: rgba(255,255,255,.24);
}
.actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.button {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 13px 18px;
  border-radius: 8px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.button.primary { background: linear-gradient(135deg, var(--brand), #00c2ff); border-color: transparent; color: white; }
.button.primary:hover { filter: brightness(.96); transform: translateY(-1px); }
.button.ghost { background: rgba(255,255,255,.12); color: white; border-color: rgba(255,255,255,.45); }
.button.whatsapp { background: #25d366; color: white; border-color: #25d366; }
.button.danger { background: #9f1239; border-color: #9f1239; color: white; }
.button.danger:hover { background: #881337; }
.button.small { padding: 10px 14px; margin-top: 16px; }
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: white;
}
.metrics article { padding: 30px 42px; border-right: 1px solid var(--line); }
.metrics strong { display: block; font-size: 32px; }
.metrics span { color: var(--muted); font-weight: 650; }
.compact { margin-bottom: 30px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.section, .page { padding: 54px 42px; }
.sectionHead { margin-bottom: 24px; }
.sectionHead h1, .sectionHead h2 { margin-bottom: 8px; color: var(--ink); }
.muted { color: var(--muted); }
.authPage {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  padding: 32px 18px;
  background:
    linear-gradient(135deg, rgba(2,18,37,.92), rgba(8,47,73,.66), rgba(0,168,150,.26)),
    url("https://images.unsplash.com/photo-1564013799919-ab600027ffc6?auto=format&fit=crop&w=1600&q=85") center/cover;
}
.legalHero {
  padding: 74px 42px 32px;
  background:
    linear-gradient(135deg, rgba(0,63,92,.96), rgba(0,168,150,.82)),
    url("https://images.unsplash.com/photo-1560520031-3a4dc4e9de0c?auto=format&fit=crop&w=1600&q=85") center/cover;
  color: white;
}
.legalHero .sectionHead { max-width: 980px; margin-bottom: 0; }
.legalHero h1 { color: white; }
.legalGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 36px 42px;
}
.lawCard strong {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--blue);
  background: var(--gold);
  margin-bottom: 18px;
}
.legalNote { margin: 0 42px 48px; }
.loginPanel {
  width: min(100%, 460px);
  display: grid;
  gap: 18px;
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 26px 80px rgba(2,18,37,.34);
}
.loginPanel h1 {
  font-size: 34px;
  margin-bottom: 0;
}
.loginMark {
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--brand));
  color: white;
  font-weight: 900;
  letter-spacing: 0;
}
.alert {
  padding: 12px 14px;
  border-radius: 8px;
  background: #fff2f0;
  color: #a83224;
  border: 1px solid #ffd0c9;
  font-weight: 750;
}
.grid.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.card img { width: 100%; height: 230px; object-fit: cover; display: block; }
.cardBody { padding: 20px; }
.pill {
  display: inline-flex;
  background: #e9f5f2;
  color: var(--brand-dark);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  margin-bottom: 14px;
}
.cardStats { display: flex; gap: 10px; flex-wrap: wrap; color: var(--muted); font-weight: 750; }
.detailGrid, .split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, .6fr);
  gap: 26px;
  padding: 42px;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}
.adminPage {
  background:
    linear-gradient(180deg, #eef4f8, #f7fafc 360px),
    var(--bg);
}
.adminHero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  margin-bottom: 26px;
  color: white;
  background: linear-gradient(135deg, #082f49, #0f4c5c 58%, #0e7490);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(8,47,73,.18);
}
.adminHero h1 {
  color: white;
  font-size: 42px;
  margin-bottom: 8px;
}
.adminHero .muted { color: rgba(255,255,255,.78); }
.adminActions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
.adminActions .button {
  margin-top: 0;
  border-color: rgba(255,255,255,.24);
}
.adminPanel {
  border-color: #c7d7e2;
  box-shadow: 0 14px 34px rgba(8,47,73,.08);
}
.adminPanel h3 {
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.adminSettings {
  max-width: 620px;
  box-shadow: 0 14px 34px rgba(8,47,73,.08);
}
.fact, .row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.fact span, .row span { color: var(--muted); }
.progress { height: 12px; border-radius: 999px; background: #dfe8e4; overflow: hidden; margin: 24px 0 10px; }
.progress span { display: block; height: 100%; background: var(--brand); }
.investForm {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 14px;
  align-items: end;
}
label { color: var(--muted); font-weight: 750; }
input, select {
  width: 100%;
  margin-top: 8px;
  padding: 13px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font: inherit;
}
textarea {
  width: 100%;
  margin-top: 8px;
  padding: 13px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font: inherit;
  resize: vertical;
}
.featureBand {
  background: linear-gradient(180deg, #ffffff, #e9fbf7);
}
.featureGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.featureCard {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}
.featureCard strong {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: var(--gold);
  border-radius: 50%;
  margin-bottom: 16px;
}
.featureCard p { color: var(--muted); line-height: 1.55; }
.valueSection {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 34px;
  background: var(--blue);
  color: white;
}
.valueSection h2 { color: white; }
.valueList {
  display: grid;
  gap: 14px;
}
.valueList p {
  padding: 18px;
  margin: 0;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
}
.ctaBand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: linear-gradient(135deg, #00a896, #00c2ff);
  color: white;
}
.ctaBand h2 { color: white; }
.contactPage { padding-top: 0; }
.contactIntro {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, .7fr);
  gap: 34px;
  align-items: center;
  padding: 54px 0;
}
.contactForm {
  display: grid;
  gap: 16px;
}
.formGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.imagePreview {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fcfd;
}
.imagePreview img {
  width: 180px;
  height: 108px;
  object-fit: cover;
  border-radius: 6px;
}
.imagePreview span {
  color: var(--muted);
  font-weight: 750;
}
.checkLine {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.checkLine input {
  width: auto;
  margin-top: 3px;
}
.success {
  padding: 12px 14px;
  border-radius: 8px;
  background: #e8fff6;
  color: #067a5a;
  border: 1px solid #a8f0d0;
  font-weight: 750;
}
.tablePanel {
  overflow-x: auto;
}
.dataTable {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}
.dataTable th,
.dataTable td {
  text-align: left;
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.dataTable th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.dataTable a {
  color: var(--brand-dark);
  font-weight: 850;
}
.statusBadge {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e7f6f3;
  color: var(--brand-dark);
  font-weight: 850;
  font-size: 12px;
}
.investPage {
  display: grid;
  grid-template-columns: minmax(320px, .72fr) minmax(0, 1.28fr);
  gap: 26px;
  align-items: start;
}
.investPanel {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 96px;
}
.miniProject {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.miniProject:first-of-type { padding-top: 0; }
.miniProject:last-child { border-bottom: 0; padding-bottom: 0; }
.miniProject img {
  width: 180px;
  height: 130px;
  object-fit: cover;
  border-radius: 8px;
}
.miniProject h3 { margin-bottom: 6px; }
.miniProject a {
  color: var(--brand-dark);
  font-weight: 850;
}
.event { padding: 13px 0; border-bottom: 1px solid var(--line); }
.event.highlightBox {
  padding: 13px;
  border: 1px solid var(--brand);
  border-radius: 8px;
  background: #f0fffb;
}
.event b, .event span { display: block; }
.event span { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.event p { margin: 7px 0 0; color: var(--muted); }
.portfolio { display: grid; gap: 14px; }
.holding {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 18px;
  padding: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.holding.highlight {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0,168,150,.16);
}
.holding img { width: 86px; height: 66px; object-fit: cover; border-radius: 6px; }
.holding p { color: var(--muted); margin: 0; }
.holding em { font-style: normal; color: var(--brand-dark); font-weight: 800; }

@media (max-width: 900px) {
  .topbar { height: auto; padding: 18px; align-items: flex-start; gap: 14px; flex-direction: column; }
  nav { width: 100%; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
  .brand img { width: 210px; max-width: 82vw; }
  .dropMenu { left: 0; }
  .langSwitch { align-self: stretch; justify-content: space-between; }
  .hero, .detailHero { min-height: 620px; }
  .heroContent { padding: 36px 22px; }
  .homeHeroTitle { font-size: 34px; max-width: 100%; }
  .lead { font-size: 17px; line-height: 1.5; }
  .heroCategoryChips { gap: 8px; margin-top: 18px; }
  .heroCategoryChips a { font-size: 12px; padding: 7px 10px; }
  .actions { margin-top: 22px; }
  .actions .button { width: 100%; }
  h1 { font-size: 42px; }
  .metrics, .grid.cards, .detailGrid, .split, .investForm, .investPage, .miniProject, .legalGrid, .featureGrid, .valueSection, .contactIntro, .formGrid, .imagePreview { grid-template-columns: 1fr; }
  .section, .page, .detailGrid, .split { padding: 28px 18px; }
  .contactPage { padding-top: 0; }
  .contactIntro { padding: 36px 0; }
  .ctaBand { align-items: flex-start; flex-direction: column; }
  .legalHero { padding: 42px 18px 24px; }
  .legalGrid { padding: 24px 18px; }
  .legalNote { margin: 0 18px 32px; }
  .metrics article { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px; }
  .investPanel { position: static; }
  .miniProject img { width: 100%; height: 190px; }
  .imagePreview img { width: 100%; height: 190px; }
  .holding { grid-template-columns: 72px 1fr; }
  .holding b, .holding span, .holding em { grid-column: 2; }
  .adminHero { flex-direction: column; padding: 22px; }
  .adminHero h1 { font-size: 34px; }
  .adminActions { justify-content: flex-start; }
}
