:root {
  --primary: #735FF2;
  --primary-dark: #5944e0;
  --text: #121212;
  --muted: #5f6472;
  --line: #1b1b1b;
  --bg: #ffffff;
  --soft: #f7f4ff;
  --cream: #f8f2df;
  --mint: #dff4dd;
  --lilac: #ebe4ff;
  --shadow: 6px 6px 0 #111111;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 999px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(115, 95, 242, 0.08), transparent 25%),
    linear-gradient(180deg, #fbfaff 0%, #ffffff 30%, #fbfbff 100%);
  line-height: 1.65;
}

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

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

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.section {
  padding: 5.5rem 0;
}

.alt-section {
  background: linear-gradient(180deg, rgba(115, 95, 242, 0.05), rgba(115, 95, 242, 0.02));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 2px solid rgba(17, 17, 17, 0.08);
}

.logo{
  width:42px;height:42px;border-radius:50%;
  /* background:
    radial-gradient(14px 14px at 30% 30%, rgba(255,255,255,.8), transparent 60%),
    linear-gradient(135deg, var(--brand), var(--brand3)); */
  box-shadow: 0 16px 26px rgba(115,95,242,.28);
}

.logo-img{
  border-radius: 50%;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

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

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  font-size: 0.82rem;
  color: var(--muted);
}

.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-grid;
  place-items: center;
  font-weight: 800;
  background: var(--soft);
  border: 2px solid var(--line);
  box-shadow: 4px 4px 0 #111;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.site-nav a {
  padding: 0.72rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.site-nav a.active {
  background: var(--soft);
  border: 2px solid var(--line);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.4rem;
  border: 2px solid var(--line);
  font-weight: 700;
  box-shadow: 4px 4px 0 #111111;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #111111;
}

.btn-solid {
  background: var(--primary);
  color: #fff;
}

.btn-outline {
  background: #fff;
}

.eyebrow {
  display: inline-block;
  padding: 0.42rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--line);
  background: #fff;
  box-shadow: 3px 3px 0 #111;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-grid,
.grid-two,
.map-grid,
.contact-grid,
.principal-panel,
.profile-panel,
.footer-grid {
  display: grid;
  gap: 2rem;
}

.hero-grid,
.principal-panel,
.profile-panel,
.map-grid,
.contact-grid {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.hero-card,
.content-card,
.map-card,
.gallery-card,
.facility-card,
.stack-card,
.table-card,
.note-card {
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.soft-panel,
.cream-panel {
  padding: 2rem;
}

.soft-panel { background: var(--soft); }
.cream-panel { background: #fffdfa; }
.mint-card { background: var(--mint); }
.cream-card { background: var(--cream); }
.lilac-card { background: var(--lilac); }

.hero-card h1,
.inner-hero h1 {
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  line-height: 1.05;
  margin: 0 0 1rem;
}

.hero-card p,
.inner-hero p,
.content-card p,
.profile-content p,
.principal-content p,
.map-grid p,
.note-card p {
  color: var(--muted);
}

.hero-actions,
.mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.stat-chip {
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--line);
  background: #fff;
  font-weight: 600;
}

.stack-visual {
  position: relative;
  min-height: 440px;
}

.stack-card {
  position: absolute;
  width: min(100%, 420px);
  padding: 1.6rem;
}

.stack-card:nth-child(1) { top: 0; left: 0; }
.stack-card:nth-child(2) { top: 110px; left: 40px; }
.stack-card:nth-child(3) { top: 220px; left: 80px; }

.card-tag {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.82);
}

.section-head {
  margin-bottom: 2rem;
}

.section-head.center {
  text-align: center;
}

.section-head h2,
.principal-content h2,
.profile-content h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.1;
  margin: 0;
}

.info-grid,
.facility-grid,
.gallery-grid {
  display: grid;
  gap: 1.4rem;
}

.info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.facility-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.feature-box,
.facility-card {
  padding: 1.5rem;
}

.feature-box {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 4px 4px 0 #111;
}

.facility-number {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  font-weight: 800;
  border-radius: 18px;
  border: 2px solid var(--line);
  background: #fff;
  margin-bottom: 1rem;
}

.decorative-frame {
  padding: 14px;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.decorative-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  min-height: 360px;
}

.large-frame img {
  min-height: 460px;
}

.signature {
  margin-top: 1.3rem;
  font-weight: 700;
}

.inner-hero {
  padding-top: 4.5rem;
  padding-bottom: 2rem;
}

.inner-hero .container {
  max-width: 820px;
}

.flowchart {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.flow-step {
  padding: 1.4rem 2rem;
  min-width: 220px;
  text-align: center;
  font-weight: 800;
  border: 2px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.flow-arrow {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.table-card {
  background: #fff;
  padding: 2rem;
}

.table-wrap {
  overflow-x: auto;
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
  overflow: hidden;
  border-radius: 24px;
}

.table-wrap th,
.table-wrap td {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(17, 17, 17, 0.12);
  text-align: left;
}

.table-wrap thead th {
  background: var(--soft);
}

.table-wrap tbody tr:nth-child(even) {
  background: rgba(115, 95, 242, 0.04);
}

.note-card {
  margin-top: 1.75rem;
  padding: 1.5rem;
  background: var(--cream);
}

.gallery-card {
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-card h3 {
  margin: 0;
  padding: 1.1rem 1.2rem 1.35rem;
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 2px solid rgba(17, 17, 17, 0.08);
}

.footer-grid {
  grid-template-columns: 1.4fr 0.6fr;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

.nav-toggle,
.nav-toggle-label {
  display: none;
}

@media (max-width: 1024px) {
  .hero-grid,
  .principal-panel,
  .profile-panel,
  .map-grid,
  .contact-grid,
  .grid-two,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .stack-visual {
    min-height: 500px;
  }
}

@media (max-width: 820px) {
  .nav-toggle-label {
    display: flex;
    width: 54px;
    height: 54px;
    border: 2px solid var(--line);
    border-radius: 18px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    box-shadow: 4px 4px 0 #111;
    background: #fff;
    cursor: pointer;
  }

  .nav-toggle-label span {
    width: 24px;
    height: 2px;
    background: var(--text);
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 24px;
    border: 2px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-toggle:checked ~ .site-nav {
    display: flex;
  }

  .info-grid,
  .facility-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .stack-visual {
    min-height: 380px;
  }

  .stack-card {
    width: calc(100% - 1rem);
  }

  .stack-card:nth-child(1) { left: 0; }
  .stack-card:nth-child(2) { left: 18px; top: 100px; }
  .stack-card:nth-child(3) { left: 36px; top: 200px; }

  .flowchart {
    flex-direction: column;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 4rem 0;
  }

  .brand strong {
    font-size: 0.92rem;
  }

  .brand small {
    font-size: 0.75rem;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .hero-card,
  .soft-panel,
  .cream-panel,
  .table-card {
    padding: 1.35rem;
  }

  .stack-visual {
    min-height: 360px;
  }

  .decorative-frame img,
  .large-frame img {
    min-height: 280px;
  }
}

