/* ============================================
   FILIZ DOGRU AKADEMI — Premium Design System
   Fonts: Playfair Display + Montserrat
   ============================================ */

:root {
  /* Brand */
  --gold: #C6A355;
  --gold-hover: #B8933D;
  --gold-light: rgba(198,163,85,0.12);
  --gold-glow: rgba(198,163,85,0.25);

  /* Neutrals */
  --black: #111110;
  --dark: #1A1917;
  --dark-alt: #222220;
  --cream: #FAF8F3;
  --cream-dark: #F2EFE8;
  --white: #FFFFFF;
  --text: #2A2A28;
  --text-muted: #7A7A72;
  --text-light: rgba(255,255,255,0.55);
  --border: #E6E3DA;
  --border-dark: rgba(255,255,255,0.08);

  /* Fonts */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Montserrat', system-ui, sans-serif;

  /* Sizing */
  --container: 1200px;
  --gap: 24px;

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.65, 0, 0.35, 1);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-hover); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}
h1 { font-size: clamp(2.8rem, 6vw, 4.2rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 500; }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); font-weight: 500; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { margin-bottom: 16px; color: var(--text-muted); font-size: 15px; }

.label-caps {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}

/* === LAYOUT === */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; position: relative; }

/* Section Header */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { margin-bottom: 16px; }
.divider { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 16px; }
.divider .line { width: 48px; height: 1px; background: var(--gold); opacity: 0.4; }
.divider .diamond { width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }

/* Ornament (inline) */
.ornament { display: flex; align-items: center; gap: 12px; }
.ornament .line { width: 40px; height: 1px; background: var(--gold); opacity: 0.4; }
.ornament .diamond { width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: 600; font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase; border: none;
  transition: all 0.35s var(--ease);
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--gold); color: #fff;
  padding: 15px 38px;
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.btn-primary:hover {
  background: var(--gold-hover); color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(198,163,85,0.35);
}
.btn-primary:hover::before { opacity: 1; }

.btn-ghost {
  background: transparent; color: var(--gold);
  padding: 0; border: none; font-size: 13px;
  letter-spacing: 0.08em; position: relative;
  text-transform: none;
}
.btn-ghost::after {
  content: '→'; margin-left: 8px;
  transition: margin-left 0.3s var(--ease);
}
.btn-ghost:hover::after { margin-left: 14px; }
.btn-ghost:hover { color: var(--gold-hover); }

.btn-secondary {
  background: transparent; color: var(--gold);
  padding: 13px 32px; border: 1px solid var(--gold);
}
.btn-secondary:hover {
  background: var(--gold); color: #fff;
  transform: translateY(-2px);
}

.btn-lg { padding: 18px 48px; font-size: 13px; }

/* === FOCUS & A11Y === */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip-link {
  position: absolute; top: -50px; left: 0;
  padding: 8px 16px; background: var(--gold); color: #fff;
  z-index: 9999; font-size: 13px;
}
.skip-link:focus { top: 0; color: #fff; }

/* === SCROLL REVEAL === */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }


/* ============================================
   HEADER
   ============================================ */
.top-bar {
  background: var(--black);
  padding: 8px 0;
  border-bottom: 1px solid rgba(198,163,85,0.1);
}
.top-bar-inner {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--text-light);
}
.top-bar-left { display: flex; align-items: center; }
.top-bar-right { display: flex; align-items: center; gap: 24px; }
.top-bar-item {
  display: flex; align-items: center; gap: 6px;
  color: var(--text-light); font-size: 12px;
  transition: color 0.2s;
}
a.top-bar-item:hover { color: var(--gold); }
.top-bar-item svg { opacity: 0.5; flex-shrink: 0; }

.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--dark);
  transition: all 0.4s var(--ease);
}
.header-scrolled .top-bar { display: none; }
.header-scrolled {
  background: rgba(17,17,16,0.97);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(198,163,85,0.08);
}

.nav-wrapper {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.nav-logo img {
  height: 44px; width: auto;
  filter: sepia(1) saturate(2.5) hue-rotate(8deg) brightness(0.9);
}
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.65); letter-spacing: 0.03em;
  position: relative; padding: 6px 0;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--gold); }
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 1px;
  background: var(--gold); transition: all 0.3s var(--ease);
  transform: translateX(-50%);
}
.nav-link:hover::after { width: 100%; }

/* Dropdown */
.nav-item-dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(10px);
  min-width: 260px; background: var(--dark);
  border: 1px solid rgba(198,163,85,0.12);
  border-top: 2px solid var(--gold);
  box-shadow: 0 24px 48px rgba(0,0,0,0.3);
  padding: 10px 0; opacity: 0; visibility: hidden;
  transition: all 0.3s var(--ease); z-index: 100;
}
.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition-delay: 80ms;
}
.dropdown-menu a {
  display: block; padding: 10px 24px;
  font-size: 13px; color: rgba(255,255,255,0.5);
  transition: all 0.2s;
}
.dropdown-menu a:hover {
  color: var(--gold); background: rgba(198,163,85,0.05);
  padding-left: 30px;
}

.nav-cta { margin-left: 16px; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 28px; height: 28px;
  background: none; border: none; padding: 0;
}
.hamburger span {
  display: block; width: 100%; height: 1.5px;
  background: rgba(255,255,255,0.8);
  transition: all 0.3s var(--ease); transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px,4.5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px,-4.5px); }

/* Mobile Menu */
.mobile-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 300; opacity: 0; visibility: hidden;
  transition: all 0.3s; backdrop-filter: blur(4px);
}
.mobile-overlay.active { opacity: 1; visibility: visible; }

.mobile-menu {
  position: fixed; top: 0; right: 0;
  width: 85vw; max-width: 380px; height: 100vh;
  background: var(--dark); z-index: 400;
  transform: translateX(100%); transition: transform 0.5s var(--ease);
  overflow-y: auto; padding: 48px 24px 32px;
}
.mobile-menu.active { transform: translateX(0); }
.mobile-nav-link {
  display: block; padding: 16px 0; font-size: 1.1rem; font-weight: 400;
  color: rgba(255,255,255,0.65);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-nav-link:hover { color: var(--gold); }

.mobile-accordion-toggle {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; background: none; border: none;
  padding: 16px 0; font-family: var(--font-body);
  font-size: 1.1rem; font-weight: 400;
  color: rgba(255,255,255,0.65);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-accordion-toggle svg {
  width: 16px; height: 16px; color: var(--gold);
  transition: transform 0.3s var(--ease);
}
.mobile-accordion-toggle.active svg { transform: rotate(180deg); }
.mobile-accordion-content {
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.mobile-accordion-content a {
  display: block; padding: 10px 16px;
  font-size: 14px; color: rgba(255,255,255,0.35);
}
.mobile-accordion-content a:hover { color: var(--gold); }
.mobile-menu .btn-primary { width: 100%; text-align: center; margin-top: 32px; }
body.menu-open { overflow: hidden; }


/* ============================================
   HERO SLIDER
   ============================================ */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  overflow: hidden; background: var(--black);
}

.hero-slider { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.4s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroKen 12s ease-in-out infinite alternate;
}
.hero-slide:nth-child(2) img { animation-delay: -4s; }
.hero-slide:nth-child(3) img { animation-delay: -8s; }

/* Overlays */
.hero-slider::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(17,17,16,0.55) 0%,
      rgba(17,17,16,0.1) 30%,
      rgba(17,17,16,0.05) 55%,
      rgba(17,17,16,0.65) 100%
    );
}
.hero::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 200px; z-index: 2;
  background: linear-gradient(to top, var(--black), transparent);
  pointer-events: none;
}

/* Corner Frames */
.hero-frame { position: absolute; z-index: 3; pointer-events: none; }
.hero-frame-tl, .hero-frame-br {
  width: 100px; height: 100px;
  border-color: rgba(198,163,85,0.3);
  border-style: solid;
}
.hero-frame-tl {
  top: 40px; left: 40px;
  border-width: 1px 0 0 1px;
  animation: frameFade 1.5s 1s var(--ease) both;
}
.hero-frame-br {
  bottom: 40px; right: 40px;
  border-width: 0 1px 1px 0;
  animation: frameFade 1.5s 1.2s var(--ease) both;
}

/* Content */
.hero-content {
  position: relative; z-index: 5;
  height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 40px 24px;
}
.hero-overline {
  font-family: var(--font-body); font-size: 12px; font-weight: 500;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
  animation: heroFadeUp 0.9s 0.3s var(--ease) both;
}
.hero h1 {
  color: #fff; font-weight: 400;
  line-height: 1.05; margin-bottom: 20px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.3);
  animation: heroFadeUp 0.9s 0.45s var(--ease) both;
}
.hero h1 em {
  font-style: italic; color: var(--gold);
  font-weight: 400;
}
.hero-divider {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin-bottom: 32px;
  animation: heroFadeUp 0.9s 0.6s var(--ease) both;
}
.hero-divider .line { width: 60px; height: 1px; background: var(--gold); opacity: 0.5; }
.hero-divider .diamond {
  width: 8px; height: 8px;
  border: 1px solid var(--gold); transform: rotate(45deg);
}
.hero-cta { animation: heroFadeUp 0.9s 0.75s var(--ease) both; }
.hero .btn-primary {
  padding: 17px 50px; letter-spacing: 0.1em;
  box-shadow: 0 4px 24px rgba(198,163,85,0.25);
}

/* Pagination */
.hero-pagination {
  position: absolute; bottom: 48px; left: 50%;
  transform: translateX(-50%); z-index: 5;
  display: flex; gap: 12px;
  animation: heroFadeUp 0.9s 1.1s var(--ease) both;
}
.hero-dot {
  width: 32px; height: 2px;
  background: rgba(255,255,255,0.2);
  border: none; padding: 0; cursor: pointer;
  transition: all 0.4s var(--ease);
  position: relative;
}
.hero-dot::after { content: ''; position: absolute; inset: -10px -6px; }
.hero-dot.active { background: var(--gold); width: 50px; }

/* Counter */
.hero-counter {
  position: absolute; bottom: 44px; right: 48px; z-index: 5;
  font-family: var(--font-display); font-size: 14px;
  color: rgba(255,255,255,0.2); letter-spacing: 0.1em;
  animation: heroFadeUp 0.9s 1.1s var(--ease) both;
}
.hero-counter .current {
  color: var(--gold); font-size: 1.3rem; font-weight: 500;
}

/* Scroll */
.hero-scroll {
  position: absolute; bottom: 48px; left: 48px; z-index: 5;
  display: flex; align-items: center; gap: 12px;
  animation: heroFadeUp 0.9s 1.2s var(--ease) both;
}
.hero-scroll span {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.25); writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes heroKen { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes heroFadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes frameFade { from { opacity: 0; transform: scale(0.88); } to { opacity: 1; transform: scale(1); } }
@keyframes scrollPulse { 0%,100% { opacity: 0.15; transform: scaleY(0.4); } 50% { opacity: 1; transform: scaleY(1); } }


/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section { background: var(--cream); overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }

.about-img-wrap { position: relative; padding: 20px; }
.about-img-wrap::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 40px; bottom: 40px;
  border: 1px solid var(--gold); opacity: 0.25;
  transition: all 0.6s var(--ease);
}
.about-img-wrap:hover::before {
  top: -8px; left: -8px; opacity: 0.4;
}
.about-img {
  position: relative; z-index: 1; overflow: hidden;
  aspect-ratio: 3/4;
}
.about-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease);
}
.about-img:hover img { transform: scale(1.04); }

/* Gold corner accent on image */
.about-img::after {
  content: ''; position: absolute;
  bottom: -1px; right: -1px;
  width: 80px; height: 80px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  opacity: 0.4;
}

.about-text { position: relative; }
.about-text h2 { margin-bottom: 12px; }
.about-text .ornament { justify-content: flex-start; margin-bottom: 24px; }
.about-text p { margin-bottom: 20px; line-height: 1.8; }


/* ============================================
   COURSES SECTION
   ============================================ */
.courses-section {
  background: var(--white); position: relative; overflow: hidden;
  padding: 80px 0 100px;
}
/* Decorative dot grid */
.courses-section::before {
  content: ''; position: absolute; top: -20px; right: -20px;
  width: 300px; height: 300px;
  background-image: radial-gradient(circle, rgba(198,163,85,0.08) 1.2px, transparent 1.2px);
  background-size: 18px 18px; pointer-events: none;
}
.courses-section::after {
  content: ''; position: absolute; bottom: -20px; left: -20px;
  width: 200px; height: 200px;
  background-image: radial-gradient(circle, rgba(198,163,85,0.05) 1.2px, transparent 1.2px);
  background-size: 18px 18px; pointer-events: none;
}

.courses-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
}

.course-card {
  display: block; position: relative; overflow: hidden;
  background: var(--cream); border-radius: 6px;
  transition: all 0.4s var(--ease);
  border: 1px solid transparent;
}
.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  border-color: var(--gold-light);
}

.course-card .card-img {
  position: relative; overflow: hidden; aspect-ratio: 4/3;
}
.course-card .card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.course-card:hover .card-img img { transform: scale(1.08); }

/* Overlay gradient + text */
.course-card .card-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top,
    rgba(17,17,16,0.85) 0%,
    rgba(17,17,16,0.3) 40%,
    transparent 70%
  );
  opacity: 0; transition: opacity 0.4s var(--ease);
  display: flex; align-items: flex-end;
  padding: 20px;
}
.course-card:hover .card-overlay { opacity: 1; }
.card-overlay-text {
  color: #fff; font-family: var(--font-body);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  transform: translateY(10px);
  transition: transform 0.4s var(--ease);
}
.course-card:hover .card-overlay-text { transform: translateY(0); }

.course-card .card-body { padding: 20px 20px 24px; }
.course-card .card-body h3 {
  font-size: 1.1rem; margin-bottom: 10px;
  transition: color 0.3s;
}
.course-card:hover .card-body h3 { color: var(--gold); }
.card-accent {
  width: 28px; height: 2px; background: var(--gold);
  transition: width 0.4s var(--ease);
}
.course-card:hover .card-accent { width: 55px; }


/* ============================================
   PARALLAX DIVIDER
   ============================================ */
.parallax-divider {
  position: relative; height: 320px; overflow: hidden;
  background: url('/assets/img/slider2.jpg') center/cover fixed;
}
.parallax-overlay {
  position: absolute; inset: 0;
  background: rgba(17,17,16,0.8);
  backdrop-filter: blur(2px);
}
.parallax-content {
  position: relative; z-index: 2;
  height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 40px 24px;
}
.parallax-content .label-caps { color: var(--gold); margin-bottom: 16px; }
.parallax-content h2 {
  color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 400; font-style: italic;
}


/* ============================================
   DEVICES SECTION
   ============================================ */
.devices-section {
  background: var(--dark); color: #E8E4DB;
  position: relative; overflow: hidden;
  padding: 100px 0;
}
/* Radial glow */
.devices-section::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(198,163,85,0.04) 0%, transparent 70%);
  transform: translate(-50%,-50%); pointer-events: none;
}
.devices-section .section-header h2 { color: #fff; }
.devices-section .section-header .label-caps { color: var(--gold); }

.devices-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }

.device-card {
  display: block; overflow: hidden; border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
  transition: all 0.4s var(--ease);
}
.device-card:hover {
  border-color: rgba(198,163,85,0.3);
  box-shadow: 0 12px 40px rgba(198,163,85,0.08);
  transform: translateY(-6px);
}
.device-card .card-img { overflow: hidden; aspect-ratio: 4/3; }
.device-card .card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.device-card:hover .card-img img { transform: scale(1.06); }
.device-card .card-body { padding: 20px; }
.device-card .card-body h3 {
  font-size: 1.15rem; color: #fff; text-align: center;
  font-weight: 500;
}


/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
  background: var(--cream-dark); position: relative;
  padding: 70px 0;
}
/* Gold lines top & bottom */
.stats-section::before,
.stats-section::after {
  content: ''; position: absolute; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--gold) 50%, transparent 95%);
  opacity: 0.25;
}
.stats-section::before { top: 0; }
.stats-section::after { bottom: 0; }

.stats-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 48px; text-align: center;
}
.stat-item { flex: 1; min-width: 140px; position: relative; }
.stat-item + .stat-item::before {
  content: ''; position: absolute; top: 50%; left: -24px;
  width: 1px; height: 50px; transform: translateY(-50%);
  background: var(--border); opacity: 0.5;
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 400; color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 13px; color: var(--text-muted);
  margin-top: 8px; font-weight: 500; letter-spacing: 0.02em;
}


/* ============================================
   APPLICATION FORM
   ============================================ */
.form-section { background: var(--cream); position: relative; overflow: hidden; }
.form-section::before {
  content: ''; position: absolute; bottom: -30px; right: -30px;
  width: 250px; height: 250px;
  background-image: radial-gradient(circle, rgba(198,163,85,0.06) 1.2px, transparent 1.2px);
  background-size: 16px 16px; pointer-events: none;
}

.form-wrapper {
  max-width: 600px; margin: 0 auto;
  background: var(--white);
  padding: 48px 40px;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border: 1px solid var(--border);
  position: relative;
}
/* Gold accent line at top */
.form-wrapper::before {
  content: ''; position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 2px; background: var(--gold);
}

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--text); margin-bottom: 6px;
}
.form-control {
  width: 100%; padding: 13px 16px;
  font-family: var(--font-body); font-size: 14px;
  color: var(--text); background: var(--cream);
  border: 1px solid var(--border); border-radius: 4px;
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-light);
}
.form-control.error { border-color: #C41E3A; }
.form-error {
  font-size: 12px; color: #C41E3A;
  margin-top: 4px; display: none;
}
.form-control.error + .form-error { display: block; }
textarea.form-control { min-height: 120px; resize: vertical; }
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A7A72' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.form-success {
  display: none; text-align: center;
  padding: 40px; color: #4A7C59; font-size: 1.1rem;
}


/* ============================================
   FOOTER
   ============================================ */
.footer-separator {
  position: relative; height: 100px;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
}
.footer-sep-line {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 50%; background: var(--dark);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.footer-sep-ornament {
  display: flex; align-items: center; gap: 14px;
  position: relative; z-index: 1;
}
.footer-sep-ornament .line { width: 50px; height: 1px; background: var(--gold); opacity: 0.35; }
.footer-sep-ornament .diamond { width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }

.site-footer { background: var(--dark); color: #E8E4DB; }
.site-footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(198,163,85,0.25) 50%, transparent 90%);
}

.footer-main { padding: 64px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }

.footer-brand p {
  color: rgba(255,255,255,0.3); font-size: 13px;
  line-height: 1.7; margin-top: 16px;
}
.footer-brand img {
  height: 40px;
  filter: sepia(1) saturate(2.5) hue-rotate(8deg) brightness(0.9);
}

.footer-heading {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 500;
  color: #fff; margin-bottom: 20px;
  position: relative; padding-bottom: 12px;
}
.footer-heading::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 24px; height: 1px; background: var(--gold);
}

.footer-links a {
  display: block; padding: 4px 0;
  font-size: 13px; color: rgba(255,255,255,0.35);
  transition: all 0.2s;
}
.footer-links a:hover { color: var(--gold); padding-left: 6px; }

.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 14px; font-size: 13px;
  color: rgba(255,255,255,0.35);
}
.footer-contact-item svg {
  flex-shrink: 0; margin-top: 2px;
  color: var(--gold); opacity: 0.5;
}
.footer-contact-item a { color: rgba(255,255,255,0.35); }
.footer-contact-item a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 24px 0;
}
.footer-bottom-inner {
  display: flex; flex-direction: column;
  gap: 12px; font-size: 12px;
  color: rgba(255,255,255,0.18);
}


/* ============================================
   PAGE BANNER (inner pages)
   ============================================ */
.page-banner {
  background: var(--cream-dark);
  border-bottom: 1px solid var(--gold-light);
  text-align: center; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  min-height: 200px; padding: 40px 24px;
}
.page-banner h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 500; margin-bottom: 12px; }
.breadcrumb { font-size: 13px; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 8px; color: var(--border); }

/* Detail pages */
.detail-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
.detail-img { overflow: hidden; border-radius: 4px; }
.detail-img img { width: 100%; height: auto; object-fit: cover; }
.detail-content h2 { margin-bottom: 16px; }
.detail-content p { margin-bottom: 16px; }
.detail-cta { margin-top: 32px; text-align: center; }

/* Blog */
.blog-card .card-img { aspect-ratio: 16/9; overflow: hidden; border-radius: 6px 6px 0 0; }
.blog-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.blog-card:hover .card-img img { transform: scale(1.04); }
.blog-card .card-date { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.blog-card .card-excerpt { font-size: 14px; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-content { max-width: 780px; margin: 0 auto; }
.article-content p { margin-bottom: 20px; }
.article-content img { margin: 32px 0; border-radius: 4px; }
.pagination { display: flex; justify-content: center; gap: 24px; padding-top: 40px; }
.pagination a { font-size: 14px; color: var(--text-muted); font-weight: 500; }
.pagination a:hover { color: var(--gold); }

/* Gallery */
.gallery-grid { columns: 1; column-gap: 16px; }
.gallery-item {
  break-inside: avoid; margin-bottom: 16px; cursor: pointer;
  overflow: hidden; border-radius: 6px;
  transition: box-shadow 0.3s var(--ease);
}
.gallery-item:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.1); }
.gallery-item img { width: 100%; transition: transform 0.6s var(--ease); }
.gallery-item:hover img { transform: scale(1.03); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,0.92);
  z-index: 500; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all 0.3s;
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 4px; }
.lightbox-close {
  position: absolute; top: 24px; right: 24px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%; color: #fff; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.12); border-color: var(--gold); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%; color: #fff; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.1); border-color: var(--gold); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.contact-info h3 { font-size: 1.3rem; margin-bottom: 24px; }
.contact-info-item { display: flex; gap: 12px; margin-bottom: 20px; font-size: 14px; color: var(--text-muted); }
.contact-info-item strong { color: var(--text); font-weight: 600; min-width: 60px; }
.contact-map { margin-top: 24px; border-radius: 6px; overflow: hidden; }
.contact-map iframe { width: 100%; height: 300px; border: none; }


/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}


/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (min-width: 768px) {
  .container { padding: 0 32px; }
  .section { padding: 100px 0; }
  .about-grid { grid-template-columns: 5fr 7fr; }
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .devices-grid { grid-template-columns: repeat(3, 1fr); }
  .detail-grid { grid-template-columns: 5fr 7fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; }
  .gallery-grid { columns: 2; }
  .contact-grid { grid-template-columns: 7fr 5fr; }
  .page-banner { min-height: 280px; }
}

/* Desktop */
@media (min-width: 1024px) {
  .section { padding: 110px 0; }
  .courses-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
  .gallery-grid { columns: 3; }
  .hamburger { display: none !important; }
}

@media (min-width: 1280px) {
  .container { padding: 0 48px; }
}

/* Mobile */
@media (max-width: 767px) {
  .nav-menu, .nav-cta-desktop { display: none; }
  .hamburger { display: flex; }
  .top-bar-left { display: none; }
  .top-bar-inner { justify-content: center; }
  .top-bar-right { gap: 16px; }

  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-frame-tl, .hero-frame-br { width: 50px; height: 50px; }
  .hero-frame-tl { top: 16px; left: 16px; }
  .hero-frame-br { bottom: 16px; right: 16px; }
  .hero-scroll, .hero-counter { display: none; }

  .about-img-wrap::before { display: none; }
  .about-img::after { display: none; }

  .stat-item + .stat-item::before { display: none; }
  .stats-grid { gap: 32px; }

  .parallax-divider { background-attachment: scroll; height: 240px; }

  .form-wrapper { padding: 32px 20px; }
}
