 :root {
     --gold: #D4AF37;
     --black: #050505;
     --white: #f5f5f5
 }

 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box
 }

 html {
     scroll-behavior: smooth;
     scroll-padding-top: 110px
 }

 html,
 body {
     width: 100%;
     min-height: 100%
 }

 body {
     font-family: Montserrat, sans-serif;
     color: var(--white);
     margin: 0;
     min-height: 100%;
     background: linear-gradient(rgba(0, 0, 0, .86), rgba(0, 0, 0, .86)), url('../images/logo_center.png') center/cover no-repeat fixed;
     overflow-x: hidden
 }

 .header {
     width: 100%;
     min-height: 90px;
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 0 clamp(20px, 4vw, 50px);
     background: rgba(0, 0, 0, .95);
     border-bottom: 2px solid var(--gold);
     position: sticky;
     top: 0;
     z-index: 999
 }

 .logo-section {
     display: flex;
     align-items: center;
     gap: 15px
 }

 .crest-logo {
     width: 70px
 }

 .academy-title h2 {
     color: var(--gold)
 }

 .menu-section {
     display: flex;
     gap: 30px;
     flex-wrap: wrap
 }

 .menu-section a {
     text-decoration: none;
     color: white;
     font-weight: 700
 }

 .menu-section a:hover {
     color: var(--gold)
 }

 .hero {
     position: relative;
     isolation: isolate;
     min-height: 90vh;
     width: 100%;
     display: flex;
     justify-content: center;
     align-items: center;
     text-align: center;
     padding: 80px clamp(20px, 5vw, 80px);
     overflow: hidden
 }

 .hero::before {
     content: "";
     position: absolute;
     inset: 0;
     background-image: url("../images/logo_center.png");
     background-repeat: no-repeat;
     background-position: center;
     background-size: min(70vw, 680px);
     opacity: .10;
     z-index: -1
 }

 .hero h1 {
     font-size: clamp(2.5rem, 5vw, 5rem);
     color: var(--gold);
     text-shadow: 0 2px 10px rgba(0, 0, 0, .5)
 }

 .hero-content {
     position: relative;
     z-index: 1;
     max-width: 860px;
     margin: 0 auto;
     padding: clamp(1.5rem, 3vw, 2.5rem);
     background: rgba(0, 0, 0, .55);
     border: 1px solid rgba(212, 175, 55, .25);
     border-radius: 18px;
     box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
     backdrop-filter: blur(4px)
 }

 .btn {
     display: inline-block;
     margin-top: 20px;
     padding: 15px 25px;
     background: var(--gold);
     color: black;
     text-decoration: none;
     font-weight: 700
 }

 .section {
     width: 100%;
     padding: 56px clamp(20px, 5vw, 80px)
 }

 .section h2 {
     margin-bottom: 16px
 }

 .section p {
     margin-bottom: 12px;
     line-height: 1.7
 }

 .section ul {
     margin: 12px 0 16px 24px;
     line-height: 1.8
 }

 .section li {
     margin-bottom: 6px
 }

 .measure-image {
     display: block;
     width: 100%;
     max-width: 900px;
     margin: 24px auto 0;
     border-radius: 16px;
     border: 1px solid rgba(212, 175, 55, .35);
     box-shadow: 0 10px 30px rgba(0, 0, 0, .25)
 }

 .gallery-viewer {
     display: flex;
     align-items: center;
     gap: 16px
 }

 .gallery-arrow {
     width: 48px;
     height: 48px;
     border-radius: 50%;
     border: 1px solid rgba(212, 175, 55, .35);
     background: rgba(0, 0, 0, .65);
     color: var(--white);
     font-size: 22px;
     cursor: pointer
 }

 .gallery-arrow:disabled {
     opacity: .4;
     cursor: not-allowed
 }

 .gallery-frame {
     flex: 1;
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 14px
 }

 .gallery-preview {
     display: none;
     flex: 0 0 min(16vw, 110px);
     opacity: .3;
     filter: grayscale(0.25);
     transform: scale(.88);
     pointer-events: none
 }

 .gallery-preview-left,
 .gallery-preview-right {
     min-height: 150px;
     border-radius: 14px;
     overflow: hidden;
     border: 1px solid rgba(212, 175, 55, .2)
 }

 .gallery-preview-left img,
 .gallery-preview-right img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     display: block
 }

 .gallery-stage {
     display: grid;
     grid-template-columns: repeat(2, minmax(190px, 1fr));
     gap: 16px;
     width: min(100%, 560px)
 }

 .gallery-card {
     border: 1px solid rgba(212, 175, 55, .35);
     border-radius: 16px;
     overflow: hidden;
     background: rgba(0, 0, 0, .35);
     box-shadow: 0 10px 24px rgba(0, 0, 0, .28)
 }

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

 .gallery-slides {
     display: none
 }

 .section:last-of-type {
     padding-bottom: 64px
 }

 .dark {
     background: rgba(15, 15, 15, .9)
 }

 .contact-grid {
     display: grid;
     grid-template-columns: minmax(280px, 1.2fr) minmax(260px, .8fr);
     gap: 24px;
     align-items: start
 }

 .contact-card {
     max-width: 420px;
     padding: 20px 24px;
     margin: 0;
     border: 1px solid rgba(212, 175, 55, .35);
     background: rgba(0, 0, 0, .55);
     border-radius: 12px
 }

 .contact-card p {
     margin: 6px 0
 }

 .contact-card a {
     color: var(--gold);
     text-decoration: none;
     font-weight: 600
 }

 .contact-card a:hover {
     text-decoration: underline
 }

 .cards {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
     gap: 20px
 }

 .card {
     border: 1px solid var(--gold);
     padding: 25px
 }

 .card:hover {
     box-shadow: 0 0 20px rgba(212, 175, 55, .4)
 }

 table {
     width: 100%;
     border-collapse: collapse;
     table-layout: fixed
 }

 th,
 td {
     padding: 14px;
     border-bottom: 1px solid #333;
     text-align: center;
     vertical-align: middle
 }

 th {
     background: var(--gold);
     color: #000
 }

 input,
 button {
     width: 100%;
     padding: 12px;
     margin: 10px 0
 }

 button {
     background: var(--gold);
     border: none;
     font-weight: 700
 }

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

 .hamburger-menu {
     display: flex;
     flex-direction: column;
     background: none;
     border: none;
     cursor: pointer;
     padding: 8px;
     gap: 6px;
     width: 40px;
     height: 40px;
     justify-content: center;
     align-items: center;
     margin-left: auto;
 }

 .hamburger-menu span {
     width: 28px;
     height: 3px;
     background-color: var(--white);
     border-radius: 2px;
     transition: all 0.3s ease-in-out;
     display: block;
 }

 .hamburger-menu.active span:nth-child(1) {
     transform: rotate(45deg) translate(12px, 12px);
 }

 .hamburger-menu.active span:nth-child(2) {
     opacity: 0;
 }

 .hamburger-menu.active span:nth-child(3) {
     transform: rotate(-45deg) translate(8px, -8px);
 }

 .menu-section {
     display: none;
     position: absolute;
     top: 90px;
     left: 0;
     right: 0;
     flex-direction: column;
     background: rgba(0, 0, 0, 0.98);
     padding: 20px;
     gap: 0;
     border-bottom: 2px solid var(--gold);
     z-index: 998;
     animation: slideDown 0.3s ease-in-out;
 }

 .menu-section.active {
     display: flex;
 }

 .menu-section a {
     padding: 12px 0;
     border-bottom: 1px solid rgba(212, 175, 55, 0.2);
     display: block;
     text-align: left;
     text-decoration: none;
     color: white;
     font-weight: 700;
 }

 .menu-section a:last-child {
     border-bottom: none;
 }

 .menu-section a:hover {
     color: var(--gold);
     padding-left: 10px;
     transition: padding-left 0.2s ease, color 0.2s ease;
 }

 @keyframes slideDown {
     from {
         opacity: 0;
         transform: translateY(-10px);
     }
     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 @media (max-width: 768px) {
     .header {
         flex-wrap: wrap;
         align-items: center;
     }
 }

 @media (max-width: 600px) {
     body {
         background: linear-gradient(rgba(0, 0, 0, .86), rgba(0, 0, 0, .86)), url('../images/logo_center.png') center/cover no-repeat scroll;
     }

     .crest-logo {
         width: 50px;
     }

     .academy-title h2 {
         font-size: 1.2rem;
     }

     .academy-title span {
         font-size: 0.75rem;
     }

     .hero-content {
         padding: 1rem;
     }

     .contact-grid {
         grid-template-columns: 1fr;
     }

     .gallery-stage {
         grid-template-columns: 1fr;
     }

     .hero::before {
         background-size: 60vw;
         opacity: 0.08;
     }
 }