/* ==========================================================================
   A2C English Language Academy — Premium Redesign
   Aesthetic: Editorial luxury meets modern web
   ========================================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  --navy: #0d1b2a;
  --navy-light: #1b2d45;
  --navy-mid: #142438;
  --orange: #f5820d;
  --orange-hover: #e0730b;
  --orange-glow: rgba(245, 130, 13, 0.15);
  --cream: #fdf8f2;
  --cream-dark: #f5ede3;
  --white: #ffffff;
  --text: #3a3a3a;
  --text-light: #6b7280;
  --text-on-dark: #c8d0da;
  --border: #e5e7eb;
  --border-dark: #2a3d55;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow: 0 4px 24px rgba(13, 27, 42, 0.08);
  --shadow-lg: 0 12px 48px rgba(13, 27, 42, 0.12);
  --shadow-hover: 0 16px 56px rgba(13, 27, 42, 0.16);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: "Outfit", system-ui, -apple-system, sans-serif;
  --font-heading: "Playfair Display", Georgia, serif;
  --container: 1200px;
  --header-h: 72px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}
ul {
  list-style: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* Global focus-visible for accessibility */
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
}
h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.015em;
}
h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 600;
}
h4 {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

em {
  font-style: italic;
  color: var(--orange);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-title {
  margin-bottom: 16px;
}
.section-subtitle {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 10px;
  padding: 12px 28px;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(245, 130, 13, 0.3);
}
.btn-primary:hover {
  background: var(--orange-hover);
  box-shadow: 0 6px 24px rgba(245, 130, 13, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  background: transparent;
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.82rem;
  border-radius: 8px;
}
.btn-lg {
  padding: 16px 36px;
  font-size: 0.95rem;
  border-radius: 12px;
}

/* ---------- Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 {
  transition-delay: 0.1s;
}
.reveal-d2 {
  transition-delay: 0.2s;
}
.reveal-d3 {
  transition-delay: 0.3s;
}
.reveal-d4 {
  transition-delay: 0.4s;
}

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  transition: all var(--transition);
  background: transparent;
}

.site-header.scrolled {
  background: rgba(13, 27, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter var(--transition);
}

.nav-list {
  display: flex;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  transition: all var(--transition-fast);
}
.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.header-cta {
  font-size: 0.82rem;
  padding: 10px 22px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  z-index: 1002;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  text-align: center;
}
.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}
.mobile-nav-link {
  display: block;
  padding: 16px 24px;
  font-size: 1.3rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  transition: all var(--transition-fast);
}
.mobile-nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(13, 27, 42, 0.92) 0%,
    rgba(13, 27, 42, 0.8) 40%,
    rgba(13, 27, 42, 0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 140px 0 100px;
}

.hero-text {
  max-width: 700px;
}

.hero-tag {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--orange);
  margin-bottom: 20px;
}

.hero-title {
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
}
.hero-title em {
  font-style: italic;
  color: var(--orange);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 64px;
  padding: 28px 36px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  max-width: fit-content;
}

.stat {
  text-align: center;
  padding: 0 32px;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-plus {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--orange);
  font-weight: 700;
}
.stat-label {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-hint span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  position: relative;
}
.hero-scroll-hint span::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  animation: scrollHint 1.8s ease-in-out infinite;
}

@keyframes scrollHint {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(12px);
    opacity: 0.3;
  }
}

/* ---------- PATH SELECTOR ---------- */
.path-selector {
  padding: 100px 0 80px;
  background: var(--cream);
  position: relative;
}
.path-selector::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, var(--white), var(--cream));
  pointer-events: none;
}

.path-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.path-card {
  background: var(--white);
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  padding: 36px 28px 28px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.path-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--orange-glow), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.path-card:hover,
.path-card.active {
  border-color: var(--orange);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.path-card:hover::before,
.path-card.active::before {
  opacity: 1;
}

.path-card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border-radius: 50%;
  color: var(--navy);
  transition: all var(--transition);
  position: relative;
  z-index: 1;
}
.path-card:hover .path-card-icon,
.path-card.active .path-card-icon {
  background: var(--navy);
  color: var(--orange);
}

.path-card-title {
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
}
.path-card-desc {
  position: relative;
  z-index: 1;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.6;
}
.path-card-price {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
}
.path-card-price small {
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--text-light);
}

.path-card-arrow {
  display: block;
  margin-top: 16px;
  color: var(--orange);
  transition: transform var(--transition);
  position: relative;
  z-index: 1;
}
.path-card.active .path-card-arrow {
  transform: rotate(180deg);
}

/* ---------- EXPANDABLE SECTIONS ---------- */
.expandable-section {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s ease;
}
.expandable-section.expanded {
  max-height: 5000px;
  opacity: 1;
  padding-top: 48px;
}

/* ---------- SOLO LEARNING PACKAGES ---------- */
.solo-section {
  background: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  position: relative;
}
.pricing-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.pricing-card.popular {
  border-color: var(--orange);
  box-shadow: 0 8px 40px rgba(245, 130, 13, 0.15);
}
.pricing-card .popular-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 20px;
  border-radius: 0 0 10px 10px;
}

.pricing-card-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.pricing-card-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 20px;
}
.pricing-card-price {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1;
}
.pricing-card-price small {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-light);
}
.pricing-card-period {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

.pricing-features {
  flex: 1;
  margin-bottom: 24px;
}
.pricing-features li {
  padding: 8px 0;
  font-size: 0.88rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
}
.pricing-features li::before {
  content: "";
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  background: var(--orange-glow);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 13l4 4L19 7' stroke='%23F5820D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

.pricing-card .btn {
  width: 100%;
}

/* ---------- INSTRUCTOR COURSES ---------- */
.instructor-section {
  background: var(--cream);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.course-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.course-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.course-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.course-card:hover .course-card-img img {
  transform: scale(1.05);
}

.course-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.course-card-body {
  padding: 24px;
}
.course-card-body h3 {
  margin-bottom: 8px;
}
.course-card-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.6;
}

.course-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.course-price {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
}
.course-price small {
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--text-light);
}


.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.pricing-table th {
  text-align: left;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
  padding: 10px 12px;
  border-bottom: 2px solid var(--border);
}
.pricing-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.pricing-table tr:last-child td {
  border-bottom: none;
}
.pricing-table .level-label {
  font-weight: 600;
  color: var(--navy);
}
.pricing-table .price-cell {
  font-weight: 600;
  color: var(--navy);
}

/* ---------- SPEAKING CLUB ---------- */
.speaking-section {
  background: var(--white);
}

.speaking-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.speaking-hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.speaking-hero-img img {
  width: 100%;
  height: clamp(240px, 40vw, 400px);
  object-fit: cover;
}

.speaking-features {
  margin-bottom: 28px;
}
.speaking-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: var(--navy);
  font-weight: 500;
}
.speaking-feature svg {
  color: var(--orange);
  flex-shrink: 0;
}

.speaking-pricing {
  margin-bottom: 28px;
}

.speaking-price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-bottom: 16px;
}
.speaking-price-table th {
  text-align: left;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
  padding: 8px 10px;
  border-bottom: 2px solid var(--border);
}
.speaking-price-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
}
.speaking-price-table .level-label {
  font-weight: 600;
  color: var(--navy);
}
.speaking-price-table .price-cell {
  font-weight: 600;
  color: var(--navy);
}

/* ---------- PRICING CONFIGURATOR ---------- */
.pricing-configurator {
  padding: 100px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.pricing-configurator::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 130, 13, 0.06), transparent);
  pointer-events: none;
}

.pricing-configurator .section-tag {
  color: var(--orange);
}
.pricing-configurator .section-title {
  color: var(--white);
}
.pricing-configurator .section-title em {
  color: var(--orange);
}
.pricing-configurator .section-subtitle {
  color: var(--text-on-dark);
}

.configurator {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.config-steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.config-label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 12px;
}

.config-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 44px;
}
.config-option {
  padding: 10px 20px;
  border: 2px solid var(--border-dark);
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all var(--transition-fast);
  background: transparent;
}
.config-option:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}
.config-option.selected {
  border-color: var(--orange);
  background: rgba(245, 130, 13, 0.12);
  color: var(--orange);
}
.config-option:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.config-result {
  background: var(--navy-mid);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.config-result-label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 8px;
}
.config-result-price {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}
.config-result-price.updated {
  animation: priceFlash 0.4s ease;
}
@keyframes priceFlash {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
    color: var(--orange);
  }
  100% {
    transform: scale(1);
  }
}
.config-result-note {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 24px;
}
.config-result .btn {
  width: 100%;
}

/* ---------- WHY US ---------- */
.why-us {
  padding: 100px 0;
  background: var(--cream);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.why-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border-radius: 50%;
  color: var(--orange);
  transition: all var(--transition);
}
.why-card:hover .why-icon {
  background: var(--navy);
}

.why-card h3 {
  margin-bottom: 8px;
}
.why-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  padding: 100px 0;
  background: var(--white);
}

.testimonial-slider {
  overflow: hidden;
  position: relative;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  min-width: 100%;
  padding: 0 40px;
}

.testimonial-stars {
  font-size: 1.3rem;
  color: var(--orange);
  margin-bottom: 20px;
  letter-spacing: 4px;
  text-align: center;
}

.testimonial-text {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 500;
  font-style: italic;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 28px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.testimonial-author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--cream);
}
.testimonial-author strong {
  display: block;
  font-weight: 600;
  color: var(--navy);
}
.testimonial-author span {
  font-size: 0.85rem;
  color: var(--text-light);
}

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}
.testimonial-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: all var(--transition-fast);
}
.testimonial-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.testimonial-dots {
  display: flex;
  gap: 8px;
}
.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  padding: 0;
}
.testimonial-dot.active {
  background: var(--orange);
  transform: scale(1.2);
}

/* ---------- ABOUT / TEAM ---------- */
.about {
  padding: 100px 0;
  background: var(--cream);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text .section-tag {
  text-align: left;
}
.about-text .section-title {
  text-align: left;
  margin-bottom: 24px;
}
.about-text p {
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.75;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.about-highlight {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.about-highlight strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 4px;
}
.about-highlight span {
  font-size: 0.85rem;
  color: var(--text-light);
}

.team-cards .section-tag {
  text-align: left;
  margin-bottom: 20px;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.team-photo {
  height: 240px;
  overflow: hidden;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.team-card:hover .team-photo img {
  transform: scale(1.05);
}

.team-card h3 {
  padding: 16px 20px 4px;
  font-size: 1.1rem;
}
.team-card p {
  padding: 0 20px 16px;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ---------- CONTACT ---------- */
.contact {
  padding: 100px 0;
  background: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}
.form-group input,
.form-group textarea {
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--cream);
  transition: all var(--transition-fast);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--orange-glow);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}

.form-status {
  font-size: 0.9rem;
  font-weight: 500;
  min-height: 24px;
}
.form-status.success {
  color: #059669;
}
.form-status.error {
  color: #dc2626;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--white);
}
.contact-info-card h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-on-dark);
}
.contact-list li svg {
  color: var(--orange);
  flex-shrink: 0;
}
.contact-list li a {
  color: var(--text-on-dark);
}
.contact-list li a:hover {
  color: var(--orange);
}

.social-links {
  display: flex;
  gap: 12px;
}
.social-links a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  color: var(--text-on-dark);
  transition: all var(--transition-fast);
}
.social-links a:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(245, 130, 13, 0.1);
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.contact-map iframe {
  width: 100%;
  max-width: 100%;
  display: block;
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  padding: 80px 0;
  background: var(--cream);
}
.cta-banner-inner {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner-inner::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 130, 13, 0.1), transparent);
  pointer-events: none;
}
.cta-banner-inner::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 130, 13, 0.06), transparent);
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.cta-banner h2 em {
  color: var(--orange);
}
.cta-banner p {
  color: var(--text-on-dark);
  margin-bottom: 32px;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}
.cta-banner-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.cta-banner .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}
.cta-banner .btn-outline:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--navy);
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--navy);
  padding: 64px 0 0;
  color: var(--text-on-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-dark);
}

.footer-logo {
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}

.footer-about p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 0.85rem;
  margin-bottom: 16px;
}
.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition-fast);
}
.footer-links a:hover {
  color: var(--orange);
}

.footer-contact p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}
.footer-contact a {
  color: rgba(255, 255, 255, 0.6);
}
.footer-contact a:hover {
  color: var(--orange);
}

.footer-contact .social-links a {
  width: 38px;
  height: 38px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a:hover {
  color: var(--orange);
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(245, 130, 13, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--transition);
  z-index: 100;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 24px rgba(245, 130, 13, 0.4);
}

/* ---------- COURSE PRICING MODAL ---------- */
.price-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(13, 27, 42, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.price-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.price-modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 36px 32px;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.2);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.price-modal-overlay.active .price-modal {
  transform: translateY(0) scale(1);
}

.price-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: all var(--transition-fast);
}
.price-modal-close:hover { background: var(--cream); color: var(--navy); }

.price-modal-header h3 {
  font-size: 1.4rem;
  margin-bottom: 24px;
  padding-right: 36px;
}

.price-modal-group-label {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange);
  margin: 20px 0 8px;
}
.price-modal-group-label:first-child { margin-top: 0; }

.price-modal-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 4px;
}

.price-modal-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.price-modal-footer .btn { width: 100%; }

@media (max-width: 768px) {
  .price-modal-overlay { padding: 8px; }
  .price-modal { padding: 24px 16px; max-height: 92vh; border-radius: var(--radius-lg); }
  .price-modal-header h3 { font-size: 1.15rem; }
}

/* ---------- BOOKING POPUP ---------- */
.booking-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(13, 27, 42, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.booking-overlay.active {
  opacity: 1;
  visibility: visible;
}

.booking-modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: none;       /* Firefox: sakrij traku */
  -ms-overflow-style: none;    /* stariji Edge: sakrij traku */
  padding: 32px 36px;
  position: relative;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.booking-overlay.active .booking-modal {
  transform: translateY(0) scale(1);
}
/* Chrome/Safari: sakrij scroll traku (sadrzaj i dalje skrolabilan) */
.booking-modal::-webkit-scrollbar { display: none; }

.booking-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: all var(--transition-fast);
  z-index: 1;
}
.booking-close:hover {
  background: var(--cream);
  color: var(--navy);
}

.booking-header {
  margin-bottom: 18px;
}
.booking-header h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.booking-header p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.booking-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.booking-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.booking-form .form-group label,
.booking-form .booking-times legend {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}

.booking-form input,
.booking-form textarea,
.booking-form select {
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--cream);
  transition: all var(--transition-fast);
  outline: none;
  resize: vertical;
  font-family: inherit;
  width: 100%;
}
.booking-form input:focus,
.booking-form textarea:focus,
.booking-form select:focus {
  border-color: var(--orange);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--orange-glow);
}
.booking-form input::placeholder,
.booking-form textarea::placeholder {
  color: #aaa;
}
.booking-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%236B7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 36px;
  cursor: pointer;
}

/* Checkboxes */
.booking-times {
  border: none;
  padding: 0;
  margin: 0;
}
.booking-times legend {
  margin-bottom: 10px;
  display: block;
}
.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}
.checkbox-label:hover {
  border-color: var(--orange);
  background: var(--orange-glow);
}
.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.checkbox-custom {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid var(--border);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  background: var(--white);
}
.checkbox-label input:checked ~ .checkbox-custom {
  background: var(--orange);
  border-color: var(--orange);
}
.checkbox-label input:checked ~ .checkbox-custom::after {
  content: "";
  width: 10px;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 13l4 4L19 7' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
.checkbox-label input:focus-visible ~ .checkbox-custom {
  box-shadow: 0 0 0 3px var(--orange-glow);
}

/* Submit button states */
.booking-submit {
  width: 100%;
  margin-top: 4px;
  position: relative;
}
.booking-submit-loading {
  display: none;
  align-items: center;
  gap: 8px;
}
.booking-submit.loading .booking-submit-text {
  display: none;
}
.booking-submit.loading .booking-submit-loading {
  display: inline-flex;
}
.booking-submit.loading {
  pointer-events: none;
  opacity: 0.7;
}

.booking-status {
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  min-height: 20px;
}
.booking-status.error {
  color: #dc2626;
}

/* Success state */
.booking-success {
  display: none;
  text-align: center;
  padding: 24px 0;
}
.booking-success[aria-hidden="false"] {
  display: block;
}
.booking-success-icon {
  margin-bottom: 20px;
}
.booking-success h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.booking-success p {
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.6;
}

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

/* --- Tablet landscape (1024px) --- */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .configurator {
    grid-template-columns: 1fr;
  }
  .config-result {
    position: static;
  }
  .about-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Tablet portrait / Large phones (768px) --- */
@media (max-width: 768px) {
  :root {
    --header-h: 60px;
  }

  /* Header */
  .main-nav,
  .header-cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .logo img {
    height: 30px;
  }

  /* Hero - critical mobile fix */
  .hero {
    min-height: auto;
  }
  .hero-content {
    padding: 100px 0 60px;
  }
  .hero-tag {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 28px;
    line-height: 1.6;
  }
  .hero-subtitle br {
    display: none;
  }
  .hero-ctas {
    flex-direction: column;
    gap: 12px;
  }
  .hero-ctas .btn {
    width: 100%;
    text-align: center;
  }
  .btn-lg {
    padding: 14px 24px;
    font-size: 0.9rem;
  }

  .hero-stats {
    flex-direction: row;
    justify-content: center;
    gap: 0;
    margin-top: 40px;
    padding: 20px 16px;
    width: 100%;
    max-width: 100%;
  }
  .stat {
    padding: 0 16px;
  }
  .stat-number {
    font-size: 1.6rem;
  }
  .stat-plus {
    font-size: 1.1rem;
  }
  .stat-label {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
  }
  .stat-divider {
    width: 1px;
    height: 32px;
  }

  .hero-scroll-hint {
    display: none;
  }

  /* Section spacing */
  .path-selector {
    padding: 60px 0 48px;
  }
  .why-us,
  .testimonials,
  .about,
  .contact {
    padding: 60px 0;
  }
  .pricing-configurator {
    padding: 60px 0;
  }
  .cta-banner {
    padding: 48px 0;
  }
  .section-header {
    margin-bottom: 32px;
  }
  .section-subtitle {
    font-size: 0.92rem;
  }
  .expandable-section.expanded {
    padding-top: 32px;
  }

  /* Path cards - horizontal scroll on mobile */
  .path-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .path-card {
    padding: 24px 20px 20px;
    display: grid;
    grid-template-columns: 56px 1fr auto;
    grid-template-rows: auto auto;
    text-align: left;
    gap: 0 16px;
    align-items: center;
  }
  .path-card-icon {
    width: 56px;
    height: 56px;
    margin: 0;
    grid-row: 1 / 3;
  }
  .path-card-icon svg {
    width: 28px;
    height: 28px;
  }
  .path-card-title {
    margin-bottom: 2px;
    font-size: 1rem;
  }
  .path-card-desc {
    display: none;
  }
  .path-card-price {
    grid-column: 2;
    font-size: 0.92rem;
  }
  .path-card-arrow {
    grid-row: 1 / 3;
    grid-column: 3;
    margin-top: 0;
  }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .pricing-card {
    padding: 24px 20px;
  }
  .pricing-card-price {
    font-size: 2rem;
  }

  /* Course cards */
  .course-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .course-card-img {
    height: 160px;
  }
  .course-card-body {
    padding: 20px;
  }
  .course-card-body p {
    font-size: 0.85rem;
    margin-bottom: 12px;
  }

  /* Responsive tables */
  .course-pricing-expand .pricing-table-wrap,
  .speaking-pricing {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .pricing-table,
  .speaking-price-table {
    min-width: 360px;
  }

  /* Speaking */
  .speaking-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .speaking-hero-img img {
    height: 220px;
  }

  /* Why us */
  .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .why-card {
    padding: 24px 16px;
  }
  .why-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 14px;
  }
  .why-icon svg {
    width: 28px;
    height: 28px;
  }
  .why-card h3 {
    font-size: 0.95rem;
  }
  .why-card p {
    font-size: 0.82rem;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 0 8px;
  }
  .testimonial-text {
    font-size: 1rem;
    padding: 0;
  }
  .testimonial-nav {
    margin-top: 28px;
  }
  .testimonial-btn {
    width: 38px;
    height: 38px;
  }
  .testimonial-author img {
    width: 44px;
    height: 44px;
  }
  .testimonial-author strong {
    font-size: 0.9rem;
  }
  .testimonial-author span {
    font-size: 0.78rem;
  }

  /* About */
  .about-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-highlights {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .about-highlight {
    padding: 16px;
  }
  .about-highlight strong {
    font-size: 1.5rem;
  }
  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .team-photo {
    height: 180px;
  }
  .team-card h3 {
    font-size: 0.95rem;
    padding: 12px 14px 2px;
  }
  .team-card p {
    font-size: 0.78rem;
    padding: 0 14px 12px;
  }

  /* Contact */
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .form-group input,
  .form-group textarea {
    padding: 12px 14px;
    font-size: 0.9rem;
  }
  .contact-info-card {
    padding: 24px 20px;
  }
  .contact-map iframe {
    height: 180px;
  }

  /* Configurator */
  .config-result-price {
    font-size: 2.2rem;
  }
  .config-result {
    padding: 28px 20px;
  }
  .config-options {
    gap: 8px;
  }
  .config-option {
    padding: 10px 16px;
    font-size: 0.85rem;
  }

  /* CTA Banner */
  .cta-banner-inner {
    padding: 40px 20px;
    border-radius: var(--radius-lg);
  }
  .cta-banner-actions {
    flex-direction: column;
  }
  .cta-banner-actions .btn {
    width: 100%;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .footer-about {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* Booking popup */
  .booking-overlay {
    padding: 8px;
  }
  .booking-modal {
    padding: 24px 18px;
    max-height: 95vh;
    border-radius: var(--radius-lg);
  }
  .booking-form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .checkbox-grid {
    grid-template-columns: 1fr;
  }
  .booking-header h2 {
    font-size: 1.2rem;
  }
  .booking-header p {
    font-size: 0.82rem;
  }
  .booking-form {
    gap: 14px;
  }
  .booking-form input,
  .booking-form textarea,
  .booking-form select {
    padding: 11px 14px;
    font-size: 0.88rem;
  }
}

/* --- Small phones (480px) --- */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  /* Hero */
  .hero-content {
    padding: 88px 15px 48px;
  }
  .hero-stats {
    padding: 16px 8px;
  }
  .stat {
    padding: 0 10px;
  }
  .stat-number {
    font-size: 1.3rem;
  }
  .stat-label {
    font-size: 0.62rem;
  }
  .stat-divider {
    height: 24px;
  }

  /* Path cards even more compact */
  .path-card {
    padding: 18px 16px 16px;
  }
  .path-card-icon {
    width: 48px;
    height: 48px;
  }
  .path-card-icon svg {
    width: 24px;
    height: 24px;
  }
  .path-card-title {
    font-size: 0.92rem;
  }
  .path-card-price {
    font-size: 0.85rem;
  }

  /* Config */
  .config-options {
    gap: 6px;
  }
  .config-option {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
  .config-result-price {
    font-size: 1.8rem;
  }

  /* Why us - single column on very small */
  .why-grid {
    grid-template-columns: 1fr;
  }

  /* Team - single column */
  .team-grid {
    grid-template-columns: 1fr;
  }
  .team-photo {
    height: 220px;
  }

  /* About */
  .about-highlights {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Testimonial */
  .testimonial-text {
    font-size: 0.92rem;
  }

  /* Course card image shorter */
  .course-card-img {
    height: 140px;
  }

  /* CTA */
  .cta-banner-inner {
    padding: 32px 16px;
  }
  .cta-banner h2 {
    font-size: 1.3rem;
  }
  .cta-banner p {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  /* Pricing card */
  .pricing-card-price {
    font-size: 1.8rem;
  }

  /* Booking */
  .booking-modal {
    padding: 20px 14px;
  }
  .booking-header h2 {
    font-size: 1.1rem;
  }
  .checkbox-label {
    padding: 9px 10px;
    font-size: 0.8rem;
  }
}

/* --- Very small phones (360px) --- */
@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .btn-lg {
    padding: 12px 20px;
    font-size: 0.85rem;
  }
  .hero-stats {
    flex-direction: column;
    gap: 12px;
  }
  .stat-divider {
    width: 40px;
    height: 1px;
  }
  .stat {
    padding: 0;
  }
}

/* ---------- Print ---------- */
@media print {
  .site-header,
  .hamburger,
  .mobile-nav-overlay,
  .back-to-top,
  .hero-scroll-hint,
  .cta-banner,
  .contact-map,
  .social-links {
    display: none !important;
  }
  body {
    font-size: 12pt;
  }
  .hero {
    min-height: auto;
    page-break-after: always;
  }
}

/* ---------- ZAKAZIVANJE (booking CTA sekcija) ---------- */
.book-cta {
  padding: 100px 0;
  background-color: var(--navy);
  /* Vrh sekcije ostaje cist navy (linearna maska) pa se nastavlja na cenovnik
     bez reza; topli sjaj se gradi tek ka centru/dnu - prirodan, mek prelaz. */
  background-image:
    linear-gradient(to bottom, var(--navy) 0%, rgba(13, 27, 42, 0) 24%),
    radial-gradient(80% 60% at 50% 58%, rgba(245, 130, 13, 0.11), rgba(245, 130, 13, 0) 62%),
    radial-gradient(48% 45% at 90% 96%, rgba(245, 130, 13, 0.06), rgba(245, 130, 13, 0) 55%);
  position: relative;
}
.book-cta .section-header { position: relative; z-index: 1; }
.book-cta .section-tag { color: var(--orange); }
.book-cta .section-title { color: var(--white); }
.book-cta .section-title em { color: var(--orange); }
.book-cta .section-subtitle { color: var(--text-on-dark); }

.book-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0 40px;
  position: relative;
  z-index: 1;
}
.book-step {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: all var(--transition);
}
.book-step:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-4px);
}
.book-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-family: inherit;     /* Outfit (sans) - cifre se lepse centriraju nego Playfair */
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  margin-bottom: 18px;
}
.book-step h3 { color: var(--white); margin-bottom: 8px; font-size: 1.15rem; }
.book-step p { color: var(--text-on-dark); font-size: 0.9rem; line-height: 1.6; }

.book-actions {
  text-align: center;
  position: relative;
  z-index: 1;
}
.book-register {
  margin-top: 16px;
  color: var(--text-on-dark);
  font-size: 0.92rem;
}
.book-register a {
  color: var(--orange);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.book-register a:hover { color: var(--orange-hover); }

/* Booking link u navigaciji - blago istaknut */
.nav-link--book { color: var(--orange); font-weight: 600; }
.nav-link--book::after { display: none; }

@media (max-width: 860px) {
  .book-steps { grid-template-columns: 1fr; gap: 16px; }
  .book-cta { padding: 72px 0; }
}
