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

:root {
  --primary: #2a5a9e;
  --primary-light: #3d7ace;
  --accent: #e8a838;
  --bg-light: #f4f7fa;
  --text: #333;
  --text-light: #666;
  --white: #fff;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
nav {
  background: var(--white);
  color: var(--text);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

nav .logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

nav .nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--primary-light);
}

/* Hero */
.hero {
  background: url('assets/images/hero-bg.webp') center / cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: 140px 20px 100px;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 12px;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 32px;
  opacity: 0.9;
}

.hero .btn {
  display: inline-block;
  padding: 14px 40px;
  background: var(--accent);
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Sections */
section {
  padding: 80px 0;
}

section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--primary);
}

section > .container > p.subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
  color: var(--text-light);
  font-size: 1.1rem;
}

section:nth-child(even) {
  background: var(--bg-light);
}

/* Feature cards */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.feature-card h3 {
  color: var(--primary);
  margin-bottom: 8px;
}

.feature-card h3 i {
  margin-right: 8px;
  color: #e91e63;
}

.feature-card p {
  color: var(--text-light);
}

.feature-card a {
  color: inherit;
  text-decoration: none;
  display: block;
}

/* License comparison */
.license-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.license-card {
  background: var(--white);
  border: 2px solid #e0e7ef;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
}

.license-card h3 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 8px;
  display: inline-block;
}

.license-icon {
  display: block;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.license-card ul {
  list-style: none;
  text-align: left;
  margin-top: 12px;
}

.license-card li {
  padding: 4px 0;
  border-bottom: 1px solid #eee;
}

.license-card li i {
  width: 20px;
  margin-right: 8px;
  color: var(--primary);
}

.license-card .price {
  display: block;
  margin-top: 16px;
  font-weight: 700;
  color: var(--primary);
}

.toggle-info {
  display: none;
}

.license-card .license-details {
  max-height: none;
  overflow: visible;
  text-align: left;
  font-size: 0.9rem;
  color: var(--text-light);
  padding-top: 16px;
}

.license-details p {
  margin-bottom: 12px;
  line-height: 1.5;
}

/* Comparison text */
.comparison {
  max-width: 800px;
  margin: 48px auto 0;
}

.comparison h3 {
  color: var(--primary);
  margin: 24px 0 12px;
}

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  text-align: center;
  padding-bottom: 20px;
}

.team-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center;
}

.team-card.crop-right img {
  object-position: right top;
}

.team-card h3 {
  font-size: 1.1rem;
  margin: 16px 12px 4px;
  color: var(--primary);
}

.team-card .role {
  font-weight: 600;
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.team-card .certs {
  font-size: 0.85rem;
  color: var(--text-light);
  padding: 0 12px;
  line-height: 1.4;
}

.team-card .contact-links {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.team-card .contact-links a {
  color: var(--primary-light);
  text-decoration: none;
  font-size: 0.9rem;
  word-break: break-all;
}

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

/* Contact */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info h3 {
  color: var(--primary);
  margin-bottom: 8px;
}

.contact-info p {
  margin-bottom: 24px;
  color: var(--text-light);
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: var(--font);
  font-size: 1rem;
  margin-bottom: 16px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  padding: 12px 32px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-form button:hover {
  background: var(--primary-light);
}

/* Page header */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  text-align: center;
  padding: 24px 20px;
}

.page-header h1 {
  font-size: 1.6rem;
}

/* Aircraft page */
.aircraft-grid {
  display: grid;
  gap: 48px;
}

.aircraft-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.aircraft-card .gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

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

}

.aircraft-card .info {
  padding: 24px;
}

.aircraft-card .info h2 {
  text-align: left;
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.aircraft-card .info .callsign {
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 16px;
}

.aircraft-card .info ul {
  list-style: none;
}

.aircraft-card .info li {
  padding: 4px 0;
  border-bottom: 1px solid #eee;
}

/* Footer */
footer {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 32px 20px;
}

footer a {
  color: var(--accent);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

footer .links {
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 24px;
}

/* Responsive */
@media (max-width: 768px) {
  nav .nav-toggle {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
background: var(--white);
    padding: 16px 20px;
    gap: 12px;
  }

  nav ul.open {
    display: flex;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .contact-wrapper,
  .aircraft-card {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-card img {
    height: 200px;
  }

  .aircraft-card .gallery img:first-child {
  }

  .toggle-info {
    display: inline-block;
    margin-top: 16px;
    padding: 8px 20px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
  }

  .toggle-info:hover {
    background: var(--primary-light);
  }

  .license-card .license-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding-top: 0;
  }

  .license-card .license-details.open {
    max-height: 600px;
    padding-top: 16px;
  }
}