
    /* ============================================================
       CSS VARIABLES
    ============================================================ */
    :root {
      --color-primary:    #2d3748;
      --color-secondary:  #4a5568;
      --color-accent:     #3182ce;
      --color-bg:         #ffffff;
      --color-surface:    #f7fafc;
      --color-text:       #1a202c;
      --color-text-muted: #718096;
      --font-heading:     'Barlow Condensed', sans-serif;
      --font-body:        'Barlow', sans-serif;
    }

    /* ============================================================
       RESET & BASE
    ============================================================ */
    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }
    body {
      font-family: var(--font-body);
      color: var(--color-text);
      background: var(--color-bg);
      line-height: 1.7;
      overflow-x: hidden;
    }
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    a {
      text-decoration: none;
      color: inherit;
    }
    ul {
      list-style: none;
    }
    h1, h2, h3 {
      font-family: var(--font-heading);
      line-height: 1.2;
      font-weight: 700;
    }

    /* ============================================================
       UTILITY CLASSES
    ============================================================ */
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }
    .section {
      padding: 80px 0;
    }
    .section.bg-surface { background: var(--color-surface); }
    .section.bg-bg      { background: var(--color-bg); }
    .section.bg-primary { background: var(--color-primary); }
    .section-header {
      text-align: center;
      margin-bottom: 56px;
    }
    .section-label {
      display: block;
      font-size: 0.75rem;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: var(--color-accent);
      margin-bottom: 8px;
    }
    .section-header h2 {
      font-size: clamp(1.8rem, 4vw, 3rem);
    }
    .grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

    /* ============================================================
       BUTTONS
    ============================================================ */
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 14px 32px;
      border-radius: 6px;
      font-family: var(--font-heading);
      font-weight: 600;
      font-size: 1rem;
      letter-spacing: 0.5px;
      cursor: pointer;
      transition: all 0.2s ease;
      border: 2px solid transparent;
    }
    .btn-primary {
      background: var(--color-accent);
      color: #fff;
      border-color: var(--color-accent);
    }
    .btn-primary:hover {
      background: #2b6cb0;
      transform: scale(1.03);
      box-shadow: 0 8px 25px rgba(49,130,206,0.4);
    }
    .btn-primary:active { transform: scale(0.97); }
    .btn-outline {
      background: transparent;
      color: #fff;
      border-color: rgba(255,255,255,0.6);
    }
    .btn-outline:hover {
      background: rgba(255,255,255,0.15);
      transform: scale(1.03);
      box-shadow: 0 8px 25px rgba(255,255,255,0.1);
    }
    .btn-outline:active { transform: scale(0.97); }

    /* ============================================================
       SCROLL ANIMATIONS
    ============================================================ */
    .animate {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .animate.visible {
      opacity: 1;
      transform: translateY(0);
    }
    .animate-left {
      opacity: 0;
      transform: translateX(-40px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .animate-left.visible {
      opacity: 1;
      transform: translateX(0);
    }
    .animate-right {
      opacity: 0;
      transform: translateX(40px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .animate-right.visible {
      opacity: 1;
      transform: translateX(0);
    }

    /* ============================================================
       CARDS (base)
    ============================================================ */
    .card {
      background: #fff;
      border-radius: 12px;
      padding: 32px;
      box-shadow: 0 2px 16px rgba(0,0,0,0.07);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .card:hover {
      transform: translateY(-6px);
      box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    }
    .glass-card {
      background: rgba(255,255,255,0.1);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid rgba(255,255,255,0.2);
      border-radius: 12px;
      padding: 32px;
    }
    @supports not (backdrop-filter: blur(12px)) {
      .glass-card { background: rgba(255,255,255,0.15); }
    }

    /* ============================================================
       NAVBAR
    ============================================================ */
    nav#navbar {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      padding: 16px 0;
      transition: all 0.3s ease;
    }
    nav#navbar.scrolled {
      background: rgba(45,55,72,0.95);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      padding: 10px 0;
      box-shadow: 0 4px 30px rgba(0,0,0,0.3);
    }
    .nav-inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .nav-brand {
      display: flex;
      align-items: center;
      gap: 12px;
      color: #fff;
    }
    .nav-logo {
      width: 42px;
      height: 42px;
      background: var(--color-accent);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-heading);
      font-weight: 700;
      font-size: 1.1rem;
      color: #fff;
      flex-shrink: 0;
    }
    .nav-name {
      font-family: var(--font-heading);
      font-weight: 600;
      font-size: 1.1rem;
      line-height: 1.2;
    }
    .nav-menu {
      display: flex;
      gap: 32px;
      align-items: center;
    }
    .nav-menu a {
      color: rgba(255,255,255,0.85);
      font-family: var(--font-heading);
      font-weight: 500;
      font-size: 0.95rem;
      letter-spacing: 0.5px;
      position: relative;
      padding-bottom: 4px;
      transition: color 0.2s;
    }
    .nav-menu a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--color-accent);
      transition: width 0.3s ease;
    }
    .nav-menu a:hover::after,
    .nav-menu a.active::after { width: 100%; }
    .nav-menu a:hover,
    .nav-menu a.active         { color: #fff; }
    .nav-toggle {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 4px;
    }
    .nav-toggle span {
      display: block;
      width: 24px;
      height: 2px;
      background: #fff;
      transition: all 0.3s ease;
    }
    .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    @media (max-width: 767px) {
      .nav-toggle { display: flex; }
      .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(45,55,72,0.98);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        align-items: flex-start;
      }
      .nav-menu.open { display: flex; }
    }

    /* ============================================================
       HERO
    ============================================================ */
    #hero {
      position: relative;
      height: 100vh;
      min-height: 600px;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .hero-slide {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
      opacity: 0;
      transition: opacity 0.8s ease;
    }
    .hero-slide.active { opacity: 1; }
    .hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(26,32,44,0.85) 0%, rgba(45,55,72,0.7) 100%);
    }
    .hero-parallax-layer {
      position: absolute;
      inset: 0;
      pointer-events: none;
    }
    .hero-floating-shapes {
      position: absolute;
      inset: 0;
      pointer-events: none;
      overflow: hidden;
    }
    .shape {
      position: absolute;
      border-radius: 50%;
      opacity: 0.12;
    }
    .shape-1 {
      width: 300px; height: 300px;
      background: var(--color-accent);
      top: -100px; right: -50px;
      animation: floatY 7s ease-in-out infinite;
    }
    .shape-2 {
      width: 150px; height: 150px;
      background: #fff;
      bottom: 20%; left: -30px;
      animation: floatY 5s ease-in-out infinite 1s;
    }
    .shape-3 {
      width: 80px; height: 80px;
      background: var(--color-accent);
      top: 30%; right: 15%;
      animation: floatY 3s ease-in-out infinite 0.5s;
    }
    .shape-4 {
      width: 60px; height: 60px;
      border: 2px solid rgba(255,255,255,0.3);
      border-radius: 0;
      top: 60%; left: 10%;
      animation: floatY 6s ease-in-out infinite 2s;
      transform: rotate(45deg);
    }
    .shape-5 {
      width: 200px; height: 200px;
      border: 1px solid rgba(49,130,206,0.3);
      border-radius: 0;
      bottom: 10%; right: 10%;
      animation: floatY 8s ease-in-out infinite 1.5s;
    }
    @keyframes floatY {
      0%, 100% { transform: translateY(0) rotate(0deg); }
      50%       { transform: translateY(-20px) rotate(5deg); }
    }
    .hero-content {
      position: relative;
      z-index: 10;
      text-align: center;
      color: #fff;
      max-width: 900px;
      padding: 0 24px;
    }
    .hero-label {
      display: block;
      font-family: var(--font-heading);
      font-size: 0.85rem;
      letter-spacing: 4px;
      text-transform: uppercase;
      color: var(--color-accent);
      margin-bottom: 12px;
      animation: fadeInDown 0.8s ease forwards;
      opacity: 0;
      animation-delay: 0.3s;
    }
    .hero-title {
      font-size: clamp(2.5rem, 6vw, 5rem);
      font-weight: 700;
      line-height: 1.1;
      margin-bottom: 16px;
      animation: fadeInUp 0.8s ease forwards;
      opacity: 0;
      animation-delay: 0.5s;
    }
    .hero-tagline {
      font-size: clamp(1rem, 2vw, 1.3rem);
      color: rgba(255,255,255,0.8);
      max-width: 600px;
      margin: 0 auto 32px;
      animation: fadeInUp 0.8s ease forwards;
      opacity: 0;
      animation-delay: 0.7s;
    }
    .hero-cta {
      display: flex;
      gap: 16px;
      justify-content: center;
      flex-wrap: wrap;
      animation: fadeInUp 0.8s ease forwards;
      opacity: 0;
      animation-delay: 0.9s;
    }
    .hero-controls {
      position: absolute;
      bottom: 100px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 10;
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .hero-prev, .hero-next {
      width: 44px;
      height: 44px;
      border: 2px solid rgba(255,255,255,0.4);
      background: transparent;
      color: #fff;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.2s;
      font-size: 1rem;
    }
    .hero-prev:hover, .hero-next:hover {
      background: var(--color-accent);
      border-color: var(--color-accent);
    }
    .hero-dots { display: flex; gap: 8px; }
    .dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: rgba(255,255,255,0.4);
      cursor: pointer;
      transition: all 0.3s;
      border: none;
    }
    .dot.active {
      background: var(--color-accent);
      width: 24px;
      border-radius: 4px;
    }
    .hero-wave {
      position: absolute;
      bottom: -1px;
      left: 0;
      right: 0;
      z-index: 5;
    }
    .hero-wave svg { display: block; width: 100%; }
    @keyframes fadeInDown {
      from { opacity: 0; transform: translateY(-20px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(30px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    /* ============================================================
       RESPONSIVE
    ============================================================ */
    @media (max-width: 767px) {
      .section { padding: 60px 0; }
      .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
      .hero-controls { bottom: 60px; }
    }
    @media (min-width: 768px) and (max-width: 1023px) {
      .grid-4 { grid-template-columns: repeat(2, 1fr); }
    }

    /* ============================================================
       TENTANG
    ============================================================ */
    .tentang-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: start;
      margin-bottom: 48px;
    }
    .tentang-history p {
      color: var(--color-text-muted);
      margin-bottom: 16px;
      font-size: 1rem;
      line-height: 1.8;
    }
    .tentang-history p:last-child { margin-bottom: 0; }
    .vm-stack {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .vm-card {
      background: #fff;
      border-radius: 12px;
      padding: 24px 28px;
      box-shadow: 0 2px 16px rgba(0,0,0,0.06);
      border-left: 4px solid var(--color-accent);
    }
    .vm-card-header {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 12px;
    }
    .vm-card-header i {
      font-size: 1.3rem;
      color: var(--color-accent);
    }
    .vm-card-header h3 {
      font-size: 1.15rem;
      color: var(--color-primary);
    }
    .vm-card p {
      color: var(--color-text-muted);
      font-size: 0.95rem;
      line-height: 1.7;
    }
    .vm-card ul {
      padding-left: 4px;
    }
    .vm-card ul li {
      color: var(--color-text-muted);
      font-size: 0.95rem;
      padding: 4px 0;
      padding-left: 20px;
      position: relative;
    }
    .vm-card ul li::before {
      content: '';
      position: absolute;
      left: 0;
      top: 13px;
      width: 8px;
      height: 8px;
      background: var(--color-accent);
      border-radius: 50%;
    }
    .principal-card {
      background: #fff;
      border-radius: 16px;
      padding: 40px;
      box-shadow: 0 4px 24px rgba(0,0,0,0.08);
      display: flex;
      align-items: center;
      gap: 40px;
    }
    .principal-photo {
      width: 120px;
      height: 120px;
      border-radius: 50%;
      object-fit: cover;
      border: 4px solid var(--color-accent);
      flex-shrink: 0;
    }
    .principal-info h3 {
      font-size: 1.4rem;
      color: var(--color-primary);
      margin-bottom: 4px;
    }
    .principal-info .principal-title {
      font-size: 0.85rem;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--color-accent);
      margin-bottom: 16px;
    }
    .principal-info blockquote {
      border-left: 3px solid var(--color-accent);
      padding-left: 16px;
      color: var(--color-text-muted);
      font-style: italic;
      font-size: 0.97rem;
      line-height: 1.7;
      margin: 0;
    }

    /* ============================================================
       STATISTIK
    ============================================================ */
    #statistik {
      background: var(--color-primary);
      padding: 80px 0;
      text-align: center;
    }
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      margin-bottom: 48px;
    }
    .stat-card {
      text-align: center;
      color: #fff;
      padding: 36px 24px;
    }
    .stat-icon {
      font-size: 2rem;
      color: var(--color-accent);
      margin-bottom: 16px;
      opacity: 0.85;
    }
    .stat-number {
      font-family: var(--font-heading);
      font-size: 3.5rem;
      font-weight: 700;
      color: var(--color-accent);
      line-height: 1;
      margin-bottom: 8px;
    }
    .stat-label {
      font-size: 0.85rem;
      color: rgba(255,255,255,0.65);
      letter-spacing: 1px;
      text-transform: uppercase;
    }
    .accreditation-wrap {
      display: flex;
      justify-content: center;
    }
    .accreditation-badge {
      display: inline-flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      border: 2px solid #ffd700;
      border-radius: 12px;
      padding: 24px 48px;
      color: #ffd700;
    }
    .badge-stars { font-size: 1.4rem; letter-spacing: 4px; }
    .badge-title {
      font-family: var(--font-heading);
      font-size: 1.3rem;
      font-weight: 700;
      letter-spacing: 1px;
    }
    .badge-sub {
      font-size: 0.8rem;
      letter-spacing: 2px;
      text-transform: uppercase;
      opacity: 0.75;
    }

    @media (max-width: 767px) {
      .tentang-grid   { grid-template-columns: 1fr; gap: 32px; }
      .principal-card { flex-direction: column; text-align: center; padding: 28px 20px; }
      .principal-info blockquote { text-align: left; }
      .stats-grid     { grid-template-columns: repeat(2, 1fr); }
      .accreditation-badge { padding: 20px 28px; }
    }

    /* ============================================================
       PROGRAM & FASILITAS
    ============================================================ */
    .programs-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      margin-bottom: 56px;
    }
    .program-card {
      background: #fff;
      border-radius: 12px;
      padding: 32px 24px;
      box-shadow: 0 2px 16px rgba(0,0,0,0.07);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      transform-style: preserve-3d;
      cursor: default;
      border-top: 3px solid transparent;
    }
    .program-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 12px 40px rgba(0,0,0,0.14);
      border-top-color: var(--color-accent);
    }
    .program-icon {
      width: 56px;
      height: 56px;
      background: rgba(49,130,206,0.1);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      transition: background 0.3s;
    }
    .program-card:hover .program-icon {
      background: var(--color-accent);
    }
    .program-icon i {
      font-size: 1.5rem;
      color: var(--color-accent);
      transition: color 0.3s;
    }
    .program-card:hover .program-icon i {
      color: #fff;
    }
    .program-card h3 {
      font-size: 1.15rem;
      color: var(--color-primary);
      margin-bottom: 10px;
    }
    .program-card p {
      font-size: 0.9rem;
      color: var(--color-text-muted);
      line-height: 1.7;
    }

    .facilities-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
    }
    .facility-item {
      position: relative;
      overflow: hidden;
      border-radius: 10px;
      cursor: pointer;
    }
    .facility-item img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
      transition: transform 0.4s ease;
    }
    .facility-item:hover img {
      transform: scale(1.08);
    }
    .facility-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(26,32,44,0.85) 0%, transparent 55%);
      display: flex;
      align-items: flex-end;
      padding: 16px;
      opacity: 0;
      transform: translateY(8px);
      transition: opacity 0.3s ease, transform 0.3s ease;
    }
    .facility-item:hover .facility-overlay {
      opacity: 1;
      transform: translateY(0);
    }
    .facility-overlay span {
      color: #fff;
      font-family: var(--font-heading);
      font-size: 1rem;
      font-weight: 600;
      letter-spacing: 0.5px;
    }

    @media (max-width: 767px) {
      .programs-grid   { grid-template-columns: 1fr 1fr; }
      .facilities-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (min-width: 768px) and (max-width: 1023px) {
      .programs-grid   { grid-template-columns: repeat(2, 1fr); }
      .facilities-grid { grid-template-columns: repeat(2, 1fr); }
    }

    /* ============================================================
       STRUKTUR ORGANISASI
    ============================================================ */
    .org-chart-wrap {
      overflow-x: auto;
      padding: 8px 0 24px;
    }
    .org-tree,
    .org-tree ul,
    .org-tree li {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .org-tree {
      display: flex;
      justify-content: center;
    }
    /* Root li — vertical column */
    .org-tree > li {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    /* Level-1 ul (Wakasek row) */
    .org-tree > li > ul {
      display: flex;
      flex-direction: row;
      justify-content: center;
      position: relative;
      padding-top: 32px;
    }
    /* Vertical line: root → horizontal bar */
    .org-tree > li > ul::before {
      content: '';
      position: absolute;
      top: 0; left: 50%;
      width: 2px; height: 32px;
      background: #cbd5e0;
      transform: translateX(-50%);
    }
    /* Each level-1 branch */
    .org-tree > li > ul > li {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 0 12px;
      position: relative;
    }
    /* Horizontal line across level-1 siblings */
    .org-tree > li > ul > li::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 2px;
      background: #cbd5e0;
    }
    .org-tree > li > ul > li:first-child::before { left: 50%; }
    .org-tree > li > ul > li:last-child::before  { right: 50%; }
    .org-tree > li > ul > li:only-child::before  { display: none; }
    /* Vertical line: horizontal bar → level-1 node */
    .org-tree > li > ul > li::after {
      content: '';
      position: absolute;
      top: 0; left: 50%;
      width: 2px; height: 32px;
      background: #cbd5e0;
      transform: translateX(-50%);
    }

    /* Level-2 ul (Koordinator row) */
    .org-tree > li > ul > li > ul {
      display: flex;
      flex-direction: row;
      justify-content: center;
      position: relative;
      padding-top: 28px;
    }
    /* Vertical line: level-1 node → horizontal bar of level-2 */
    .org-tree > li > ul > li > ul::before {
      content: '';
      position: absolute;
      top: 0; left: 50%;
      width: 2px; height: 28px;
      background: #cbd5e0;
      transform: translateX(-50%);
    }
    /* Each level-2 leaf */
    .org-tree > li > ul > li > ul > li {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 0 8px;
      position: relative;
    }
    /* Horizontal line across level-2 siblings */
    .org-tree > li > ul > li > ul > li::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 2px;
      background: #cbd5e0;
    }
    .org-tree > li > ul > li > ul > li:first-child::before { left: 50%; }
    .org-tree > li > ul > li > ul > li:last-child::before  { right: 50%; }
    .org-tree > li > ul > li > ul > li:only-child::before  { display: none; }
    /* Vertical line: horizontal bar → level-2 node */
    .org-tree > li > ul > li > ul > li::after {
      content: '';
      position: absolute;
      top: 0; left: 50%;
      width: 2px; height: 28px;
      background: #cbd5e0;
      transform: translateX(-50%);
    }

    /* Node box */
    .org-node {
      background: #fff;
      border: 1px solid #e2e8f0;
      border-top: 3px solid var(--color-accent);
      border-radius: 8px;
      padding: 14px 20px;
      text-align: center;
      min-width: 160px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
      position: relative;
      z-index: 1;
      transition: box-shadow 0.2s, transform 0.2s;
    }
    .org-node:hover {
      box-shadow: 0 6px 20px rgba(0,0,0,0.12);
      transform: translateY(-2px);
    }
    .org-node strong {
      display: block;
      font-family: var(--font-heading);
      font-size: 0.95rem;
      color: var(--color-primary);
      margin-bottom: 4px;
      line-height: 1.3;
    }
    .org-node span {
      font-size: 0.78rem;
      color: var(--color-text-muted);
      letter-spacing: 0.3px;
    }
    /* Root node — dark style */
    .org-node-root {
      background: var(--color-primary);
      border-top-color: var(--color-accent);
      min-width: 200px;
      padding: 18px 28px;
    }
    .org-node-root strong,
    .org-node-root span {
      color: #fff;
    }
    .org-node-root span { opacity: 0.75; }
    /* Leaf node — slightly muted */
    .org-node-leaf {
      min-width: 140px;
      padding: 10px 16px;
      border-top-color: var(--color-secondary);
    }
    .org-node-leaf strong { font-size: 0.88rem; }

    @media (max-width: 767px) {
      .org-chart-wrap { overflow-x: scroll; }
      .org-tree { min-width: 640px; }
    }

    /* ============================================================
       GURU — FLIP CARDS
    ============================================================ */
    .teachers-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }
    .flip-card {
      perspective: 1000px;
      height: 320px;
      cursor: pointer;
    }
    .flip-card-inner {
      position: relative;
      width: 100%;
      height: 100%;
      transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
      transform-style: preserve-3d;
    }
    .flip-card:hover .flip-card-inner,
    .flip-card:focus-within .flip-card-inner {
      transform: rotateY(180deg);
    }
    .flip-card-front,
    .flip-card-back {
      position: absolute;
      inset: 0;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
      border-radius: 12px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 24px;
      text-align: center;
    }
    .flip-card-front {
      background: #fff;
      box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    }
    .flip-card-back {
      background: var(--color-primary);
      color: #fff;
      transform: rotateY(180deg);
    }
    .teacher-photo {
      width: 88px;
      height: 88px;
      border-radius: 50%;
      object-fit: cover;
      border: 3px solid var(--color-accent);
      margin-bottom: 14px;
    }
    .teacher-name {
      font-family: var(--font-heading);
      font-size: 1.05rem;
      color: var(--color-primary);
      margin-bottom: 10px;
      line-height: 1.3;
    }
    .teacher-subject-tag {
      display: inline-block;
      background: rgba(49,130,206,0.1);
      color: var(--color-accent);
      font-size: 0.78rem;
      padding: 4px 14px;
      border-radius: 20px;
      font-family: var(--font-heading);
      font-weight: 600;
      letter-spacing: 0.5px;
    }
    .teacher-back-icon {
      font-size: 2rem;
      color: var(--color-accent);
      margin-bottom: 12px;
    }
    .teacher-back-name {
      font-family: var(--font-heading);
      font-size: 1.05rem;
      color: #fff;
      margin-bottom: 10px;
    }
    .teacher-back-subject {
      font-size: 0.78rem;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: var(--color-accent);
      margin-bottom: 14px;
    }
    .teacher-back-quote {
      font-size: 0.88rem;
      color: rgba(255,255,255,0.7);
      font-style: italic;
      line-height: 1.65;
    }

    @media (max-width: 767px) {
      .teachers-grid { grid-template-columns: repeat(2, 1fr); }
      .flip-card     { height: 280px; }
    }
    @media (min-width: 768px) and (max-width: 1023px) {
      .teachers-grid { grid-template-columns: repeat(2, 1fr); }
    }

    /* ============================================================
       KESISWAAN — TABS
    ============================================================ */
    .tab-nav {
      display: flex;
      gap: 8px;
      justify-content: center;
      margin-bottom: 40px;
      flex-wrap: wrap;
    }
    .tab-btn {
      padding: 10px 28px;
      border: 2px solid var(--color-accent);
      border-radius: 6px;
      font-family: var(--font-heading);
      font-weight: 600;
      font-size: 0.95rem;
      cursor: pointer;
      transition: all 0.2s;
      background: transparent;
      color: var(--color-accent);
    }
    .tab-btn:hover,
    .tab-btn.active {
      background: var(--color-accent);
      color: #fff;
    }
    .tab-content { position: relative; }
    .tab-panel {
      display: none;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }
    .tab-panel.active {
      display: grid;
      animation: tabFadeIn 0.3s ease forwards;
    }
    @keyframes tabFadeIn {
      from { opacity: 0; transform: scale(0.97); }
      to   { opacity: 1; transform: scale(1); }
    }
    .kesiswaan-card {
      background: #fff;
      border-radius: 12px;
      padding: 24px;
      box-shadow: 0 2px 12px rgba(0,0,0,0.06);
      transition: transform 0.2s, box-shadow 0.2s;
    }
    .kesiswaan-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    }
    .kesiswaan-card-icon {
      width: 48px;
      height: 48px;
      background: rgba(49,130,206,0.1);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 14px;
    }
    .kesiswaan-card-icon i {
      font-size: 1.3rem;
      color: var(--color-accent);
    }
    .kesiswaan-card h3 {
      font-size: 1rem;
      color: var(--color-primary);
      margin-bottom: 8px;
    }
    .kesiswaan-card p {
      font-size: 0.88rem;
      color: var(--color-text-muted);
      line-height: 1.6;
    }
    /* Prestasi card extras */
    .prestasi-badge {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 0.72rem;
      font-family: var(--font-heading);
      font-weight: 600;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      padding: 3px 10px;
      border-radius: 20px;
      margin-top: 10px;
    }
    .prestasi-badge.nasional { background: rgba(255,215,0,0.15);  color: #b7791f; }
    .prestasi-badge.provinsi { background: rgba(160,174,192,0.2); color: #4a5568; }
    .prestasi-badge.kota     { background: rgba(205,127,50,0.15); color: #c05621; }
    .prestasi-icon { margin-bottom: 4px; }
    .prestasi-icon.nasional { color: #ffd700; }
    .prestasi-icon.provinsi { color: #a0aec0; }
    .prestasi-icon.kota     { color: #cd7f32; }

    @media (max-width: 767px) {
      .tab-panel { grid-template-columns: 1fr 1fr; }
    }

    /* ============================================================
       PRESTASI — ACHIEVEMENT GRID
    ============================================================ */
    .prestasi-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .achievement-card {
      background: #fff;
      border-radius: 12px;
      padding: 28px 24px;
      box-shadow: 0 2px 16px rgba(0,0,0,0.07);
      position: relative;
      overflow: hidden;
      transition: transform 0.3s, box-shadow 0.3s;
    }
    .achievement-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 14px 40px rgba(0,0,0,0.13);
    }
    .achievement-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 4px;
    }
    .achievement-card.nasional::before { background: linear-gradient(90deg, #ffd700, #f6ad55); }
    .achievement-card.provinsi::before { background: linear-gradient(90deg, #a0aec0, #cbd5e0); }
    .achievement-card.kota::before     { background: linear-gradient(90deg, #cd7f32, #e9994a); }
    .achievement-card-top {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      margin-bottom: 16px;
    }
    .achievement-icon {
      width: 52px; height: 52px;
      border-radius: 12px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.4rem;
    }
    .achievement-card.nasional .achievement-icon { background: rgba(255,215,0,0.15); color: #d69e2e; }
    .achievement-card.provinsi .achievement-icon { background: rgba(160,174,192,0.2); color: #718096; }
    .achievement-card.kota     .achievement-icon { background: rgba(205,127,50,0.15); color: #c05621; }
    .achievement-year {
      font-family: var(--font-heading);
      font-size: 2rem;
      font-weight: 700;
      color: #e2e8f0;
      line-height: 1;
    }
    .achievement-card h3 {
      font-size: 1.05rem;
      color: var(--color-primary);
      margin-bottom: 8px;
    }
    .achievement-card p {
      font-size: 0.88rem;
      color: var(--color-text-muted);
      line-height: 1.6;
      margin-bottom: 14px;
    }
    .achievement-level {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 0.72rem;
      font-family: var(--font-heading);
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      padding: 4px 12px;
      border-radius: 20px;
    }
    .achievement-card.nasional .achievement-level { background: rgba(255,215,0,0.15);  color: #b7791f; }
    .achievement-card.provinsi .achievement-level { background: rgba(160,174,192,0.2); color: #4a5568; }
    .achievement-card.kota     .achievement-level { background: rgba(205,127,50,0.15); color: #c05621; }

    @media (max-width: 767px)  { .prestasi-grid { grid-template-columns: 1fr; } }
    @media (min-width: 768px) and (max-width: 1023px) { .prestasi-grid { grid-template-columns: repeat(2, 1fr); } }

    /* ============================================================
       BERITA — NEWS + ANNOUNCEMENTS + CALENDAR
    ============================================================ */
    .berita-layout {
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: 32px;
      margin-bottom: 56px;
      align-items: start;
    }
    /* News grid: first card full-width, next two side by side */
    .news-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }
    .news-card:first-child { grid-column: 1 / -1; }
    .news-card {
      background: #fff;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 2px 12px rgba(0,0,0,0.07);
      transition: transform 0.3s, box-shadow 0.3s;
    }
    .news-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 10px 32px rgba(0,0,0,0.13);
    }
    .news-card-img {
      width: 100%;
      height: 180px;
      object-fit: cover;
      display: block;
      transition: transform 0.4s;
    }
    .news-card:first-child .news-card-img { height: 220px; }
    .news-card:hover .news-card-img { transform: scale(1.04); }
    .news-card-img-wrap { overflow: hidden; }
    .news-card-body { padding: 18px 20px; }
    .news-meta {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 10px;
    }
    .news-cat {
      font-family: var(--font-heading);
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      background: rgba(49,130,206,0.12);
      color: var(--color-accent);
      padding: 3px 10px;
      border-radius: 20px;
    }
    .news-date {
      font-size: 0.8rem;
      color: var(--color-text-muted);
    }
    .news-card h3 {
      font-size: 1rem;
      color: var(--color-primary);
      margin-bottom: 8px;
      line-height: 1.4;
    }
    .news-card:first-child h3 { font-size: 1.15rem; }
    .news-card p {
      font-size: 0.88rem;
      color: var(--color-text-muted);
      line-height: 1.6;
    }
    /* Announcements sidebar */
    .announcement-sidebar {
      background: #fff;
      border-radius: 12px;
      padding: 24px;
      box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    }
    .announcement-sidebar h3 {
      font-size: 1.1rem;
      color: var(--color-primary);
      margin-bottom: 16px;
      padding-bottom: 12px;
      border-bottom: 2px solid var(--color-surface);
    }
    .announcement-item {
      display: flex;
      gap: 12px;
      padding: 14px 0;
      border-bottom: 1px solid #f0f4f8;
    }
    .announcement-item:last-child { border-bottom: none; }
    .priority-dot {
      width: 8px; height: 8px;
      border-radius: 50%;
      flex-shrink: 0;
      margin-top: 7px;
    }
    .priority-dot.penting  { background: #e53e3e; }
    .priority-dot.akademik { background: var(--color-accent); }
    .priority-dot.libur    { background: #38a169; }
    .priority-dot.umum     { background: #a0aec0; }
    .announcement-text h4 {
      font-family: var(--font-heading);
      font-size: 0.95rem;
      color: var(--color-primary);
      margin-bottom: 4px;
      font-weight: 600;
    }
    .announcement-text span {
      font-size: 0.78rem;
      color: var(--color-text-muted);
    }
    /* Academic calendar */
    .kalender-wrap {
      background: #fff;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    }
    .kalender-header {
      background: var(--color-primary);
      padding: 18px 24px;
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .kalender-header i { color: var(--color-accent); font-size: 1.1rem; }
    .kalender-header h3 {
      color: #fff;
      font-size: 1.1rem;
    }
    .kalender-table {
      width: 100%;
      border-collapse: collapse;
    }
    .kalender-table th {
      background: var(--color-surface);
      padding: 12px 20px;
      text-align: left;
      font-family: var(--font-heading);
      font-size: 0.85rem;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      color: var(--color-text-muted);
    }
    .kalender-table td {
      padding: 14px 20px;
      border-bottom: 1px solid #f0f4f8;
      font-size: 0.92rem;
      color: var(--color-text);
    }
    .kalender-table tr:last-child td { border-bottom: none; }
    .kalender-table tr:hover td { background: #f7fafc; }
    .kal-badge {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-family: var(--font-heading);
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      padding: 3px 10px;
      border-radius: 20px;
    }
    .kal-badge.ujian   { background: rgba(229,62,62,0.1);    color: #c53030; }
    .kal-badge.libur   { background: rgba(56,161,105,0.1);   color: #276749; }
    .kal-badge.kegiatan{ background: rgba(49,130,206,0.1);   color: #2b6cb0; }
    .kal-badge.ppdb    { background: rgba(214,158,46,0.15);  color: #b7791f; }

    @media (max-width: 767px) {
      .berita-layout { grid-template-columns: 1fr; }
      .news-grid     { grid-template-columns: 1fr; }
      .news-card:first-child { grid-column: auto; }
    }

    /* ============================================================
       GALERI — MASONRY + LIGHTBOX
    ============================================================ */
    .galeri-grid {
      columns: 3;
      column-gap: 16px;
    }
    .galeri-item {
      break-inside: avoid;
      margin-bottom: 16px;
      position: relative;
      overflow: hidden;
      border-radius: 10px;
      cursor: pointer;
    }
    .galeri-item img {
      width: 100%;
      display: block;
      transition: transform 0.4s ease;
    }
    .galeri-item:hover img { transform: scale(1.06); }
    .galeri-overlay {
      position: absolute;
      inset: 0;
      background: rgba(26,32,44,0.6);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity 0.3s;
    }
    .galeri-item:hover .galeri-overlay { opacity: 1; }
    .galeri-overlay i {
      font-size: 1.8rem;
      color: #fff;
      opacity: 0.9;
    }
    /* Lightbox */
    .lightbox {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 9000;
      background: rgba(0,0,0,0.92);
      align-items: center;
      justify-content: center;
    }
    .lightbox.open { display: flex; }
    .lightbox-img {
      max-width: 90vw;
      max-height: 85vh;
      border-radius: 8px;
      object-fit: contain;
      box-shadow: 0 0 60px rgba(0,0,0,0.6);
    }
    .lightbox-close {
      position: absolute;
      top: 20px; right: 24px;
      background: none;
      border: none;
      color: #fff;
      font-size: 1.8rem;
      cursor: pointer;
      opacity: 0.8;
      transition: opacity 0.2s;
      line-height: 1;
    }
    .lightbox-close:hover { opacity: 1; }
    .lightbox-prev,
    .lightbox-next {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255,255,255,0.1);
      border: none;
      color: #fff;
      width: 48px; height: 48px;
      border-radius: 50%;
      font-size: 1.1rem;
      cursor: pointer;
      transition: background 0.2s;
      display: flex; align-items: center; justify-content: center;
    }
    .lightbox-prev { left: 20px; }
    .lightbox-next { right: 20px; }
    .lightbox-prev:hover,
    .lightbox-next:hover { background: var(--color-accent); }
    .lightbox-caption {
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      color: rgba(255,255,255,0.7);
      font-size: 0.9rem;
    }

    @media (max-width: 767px)  { .galeri-grid { columns: 2; } }
    @media (min-width: 768px) and (max-width: 1023px) { .galeri-grid { columns: 2; } }

    /* ============================================================
       TESTIMONI — AUTO CAROUSEL
    ============================================================ */
    .testimoni-wrap {
      position: relative;
      overflow: hidden;
    }
    .testimoni-track {
      display: flex;
      transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .testimoni-card {
      min-width: 100%;
      padding: 0 20px;
    }
    .testimoni-inner {
      background: #fff;
      border-radius: 16px;
      padding: 40px 48px;
      box-shadow: 0 4px 24px rgba(0,0,0,0.08);
      max-width: 800px;
      margin: 0 auto;
      text-align: center;
    }
    .testimoni-quote-icon {
      font-size: 2.5rem;
      color: var(--color-accent);
      opacity: 0.3;
      margin-bottom: 16px;
      line-height: 1;
    }
    .testimoni-text {
      font-size: 1.05rem;
      color: var(--color-text-muted);
      line-height: 1.8;
      font-style: italic;
      margin-bottom: 28px;
    }
    .testimoni-avatar {
      width: 64px; height: 64px;
      border-radius: 50%;
      object-fit: cover;
      border: 3px solid var(--color-accent);
      margin: 0 auto 12px;
    }
    .testimoni-name {
      font-family: var(--font-heading);
      font-size: 1.05rem;
      color: var(--color-primary);
      margin-bottom: 4px;
    }
    .testimoni-role {
      font-size: 0.82rem;
      color: var(--color-text-muted);
      letter-spacing: 0.5px;
    }
    .testimoni-stars {
      color: #ffd700;
      font-size: 0.9rem;
      margin-top: 6px;
    }
    .testimoni-nav {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 16px;
      margin-top: 32px;
    }
    .t-prev, .t-next {
      width: 40px; height: 40px;
      border: 2px solid var(--color-accent);
      background: transparent;
      color: var(--color-accent);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer;
      transition: all 0.2s;
      font-size: 0.9rem;
    }
    .t-prev:hover, .t-next:hover {
      background: var(--color-accent);
      color: #fff;
    }
    .t-dots { display: flex; gap: 8px; }
    .t-dot {
      width: 8px; height: 8px;
      border-radius: 50%;
      background: #cbd5e0;
      border: none;
      cursor: pointer;
      transition: all 0.3s;
    }
    .t-dot.active {
      background: var(--color-accent);
      width: 24px;
      border-radius: 4px;
    }

    /* ============================================================
       LOKASI
    ============================================================ */
    .lokasi-grid {
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: 32px;
      align-items: start;
    }
    .map-wrap {
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 24px rgba(0,0,0,0.1);
      height: 420px;
    }
    .map-wrap iframe {
      width: 100%;
      height: 100%;
      border: none;
      display: block;
    }
    .lokasi-info {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .lokasi-info-card {
      background: #fff;
      border-radius: 12px;
      padding: 20px 24px;
      box-shadow: 0 2px 12px rgba(0,0,0,0.07);
      display: flex;
      gap: 16px;
      align-items: flex-start;
    }
    .lokasi-info-icon {
      width: 44px; height: 44px;
      background: rgba(49,130,206,0.1);
      border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
      color: var(--color-accent);
      font-size: 1.1rem;
    }
    .lokasi-info-text h4 {
      font-family: var(--font-heading);
      font-size: 0.95rem;
      color: var(--color-primary);
      margin-bottom: 4px;
    }
    .lokasi-info-text p {
      font-size: 0.88rem;
      color: var(--color-text-muted);
      line-height: 1.6;
    }
    .lokasi-info-text a {
      color: var(--color-accent);
      font-size: 0.88rem;
    }
    .lokasi-info-text a:hover { text-decoration: underline; }
    .jam-ops-table {
      width: 100%;
      font-size: 0.85rem;
    }
    .jam-ops-table tr td:first-child {
      color: var(--color-text-muted);
      padding-right: 12px;
    }
    .jam-ops-table tr td:last-child {
      color: var(--color-primary);
      font-weight: 500;
    }
    .jam-ops-table tr td { padding: 4px 0; }

    @media (max-width: 767px) {
      .lokasi-grid { grid-template-columns: 1fr; }
      .map-wrap    { height: 280px; }
    }

    /* ============================================================
       KONTAK
    ============================================================ */
    #kontak { background: var(--color-primary); }
    .kontak-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: start;
    }
    .kontak-left h2 { color: #fff; margin-bottom: 16px; }
    .kontak-left p {
      color: rgba(255,255,255,0.7);
      margin-bottom: 32px;
      line-height: 1.7;
    }
    .wa-btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: #25d366;
      color: #fff;
      padding: 14px 28px;
      border-radius: 8px;
      font-family: var(--font-heading);
      font-weight: 700;
      font-size: 1rem;
      transition: all 0.2s;
    }
    .wa-btn:hover {
      background: #1ebe5d;
      transform: scale(1.03);
      box-shadow: 0 8px 24px rgba(37,211,102,0.4);
    }
    .kontak-form {
      background: rgba(255,255,255,0.07);
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: 16px;
      padding: 36px;
    }
    .kontak-form h3 {
      color: #fff;
      font-size: 1.3rem;
      margin-bottom: 24px;
    }
    .form-group { margin-bottom: 20px; }
    .form-group label {
      display: block;
      font-size: 0.85rem;
      color: rgba(255,255,255,0.7);
      margin-bottom: 8px;
      letter-spacing: 0.3px;
    }
    .form-group input,
    .form-group textarea {
      width: 100%;
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.2);
      border-radius: 8px;
      padding: 12px 16px;
      color: #fff;
      font-family: var(--font-body);
      font-size: 0.95rem;
      transition: border-color 0.2s, background 0.2s;
      outline: none;
    }
    .form-group input::placeholder,
    .form-group textarea::placeholder { color: rgba(255,255,255,0.35); }
    .form-group input:focus,
    .form-group textarea:focus {
      border-color: var(--color-accent);
      background: rgba(255,255,255,0.12);
    }
    .form-group textarea { resize: vertical; min-height: 120px; }
    .form-submit {
      width: 100%;
      padding: 14px;
      background: var(--color-accent);
      color: #fff;
      border: none;
      border-radius: 8px;
      font-family: var(--font-heading);
      font-weight: 700;
      font-size: 1rem;
      cursor: pointer;
      transition: all 0.2s;
      letter-spacing: 0.5px;
    }
    .form-submit:hover {
      background: #2b6cb0;
      transform: scale(1.02);
    }
    .form-submit:active { transform: scale(0.98); }

    @media (max-width: 767px) {
      .kontak-grid { grid-template-columns: 1fr; }
      .kontak-form { padding: 24px 20px; }
    }

    /* ============================================================
       FOOTER
    ============================================================ */
    #footer {
      background: #1a202c;
      padding: 56px 0 0;
      color: rgba(255,255,255,0.7);
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 48px;
      margin-bottom: 48px;
    }
    .footer-brand {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 16px;
    }
    .footer-logo {
      width: 42px; height: 42px;
      background: var(--color-accent);
      border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      font-family: var(--font-heading);
      font-weight: 700;
      font-size: 1.1rem;
      color: #fff;
      flex-shrink: 0;
    }
    .footer-name {
      font-family: var(--font-heading);
      font-weight: 600;
      font-size: 1.1rem;
      color: #fff;
    }
    .footer-desc {
      font-size: 0.9rem;
      line-height: 1.75;
      margin-bottom: 20px;
    }
    .footer-social {
      display: flex;
      gap: 10px;
    }
    .footer-social a {
      width: 38px; height: 38px;
      background: rgba(255,255,255,0.08);
      border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      color: rgba(255,255,255,0.7);
      font-size: 0.95rem;
      transition: all 0.2s;
    }
    .footer-social a:hover {
      background: var(--color-accent);
      color: #fff;
      transform: translateY(-2px);
    }
    .footer-col h4 {
      font-family: var(--font-heading);
      font-size: 1rem;
      color: #fff;
      margin-bottom: 16px;
      letter-spacing: 0.5px;
    }
    .footer-links { display: flex; flex-direction: column; gap: 10px; }
    .footer-links a {
      font-size: 0.9rem;
      color: rgba(255,255,255,0.6);
      transition: color 0.2s, padding-left 0.2s;
    }
    .footer-links a:hover {
      color: var(--color-accent);
      padding-left: 6px;
    }
    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.08);
      padding: 20px 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 0.85rem;
      flex-wrap: wrap;
      gap: 8px;
    }
    .footer-bottom span { color: rgba(255,255,255,0.45); }
    .footer-bottom a    { color: var(--color-accent); }

    @media (max-width: 767px) {
      .footer-grid   { grid-template-columns: 1fr; gap: 32px; }
      .footer-bottom { flex-direction: column; text-align: center; }
    }

    /* ============================================================
       BACK TO TOP BUTTON
    ============================================================ */
    #backToTop {
      position: fixed;
      bottom: 32px;
      right: 32px;
      z-index: 900;
      width: 44px; height: 44px;
      background: var(--color-accent);
      color: #fff;
      border: none;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 1rem;
      cursor: pointer;
      opacity: 0;
      transform: translateY(16px);
      transition: opacity 0.3s, transform 0.3s;
      box-shadow: 0 4px 16px rgba(49,130,206,0.4);
    }
    #backToTop.visible {
      opacity: 1;
      transform: translateY(0);
    }
    #backToTop:hover { background: #2b6cb0; }