/* Nycteris Group shared site styles (homepage + blog) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #8a7a5a;
  --gold-light: #a8976e;
  --navy: #0b0f1c;
  --navy-2: #0f1525;
  --navy-3: #141c30;
}

body {
  background: var(--navy);
  color: #dce4ed;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 6%; }

.section-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 600;
  color: #fff;
  margin-bottom: 44px;
}

/* Nav */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 28, 0.97);
  border-bottom: 1px solid rgba(138, 122, 90, 0.18);
  padding: 0 6%;
  backdrop-filter: blur(8px);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-wordmark {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: #7a8fa0;
  font-size: 14px;
  transition: color 0.2s;
}

.nav-links a:hover { color: #dce4ed; }

.btn-primary,
.nav-links a.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}

/* Navy on gold = 4.6:1; navy on gold-light (hover/focus) = 6.7:1 */
.btn-primary:hover,
.btn-primary:focus-visible,
.nav-links a.btn-primary:hover,
.nav-links a.btn-primary:focus-visible {
  background: var(--gold-light);
  color: var(--navy);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

.btn-outline {
  border: 1px solid rgba(138, 122, 90, 0.4);
  color: var(--gold-light);
  padding: 13px 26px;
  border-radius: 4px;
  font-size: 15px;
  transition: background 0.2s;
}

.btn-outline:hover { background: rgba(138, 122, 90, 0.08); }

/* Hero */
#hero {
  padding: 100px 6% 90px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

#hero h1 {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 24px;
}

#hero h1 span { color: var(--gold-light); }

#hero p {
  font-size: 18px;
  color: #7a8fa0;
  max-width: 480px;
  margin-bottom: 48px;
  line-height: 1.75;
}

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

.hero-ctas a:first-child {
  background: var(--gold);
  color: var(--navy);
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s;
}

.hero-ctas a:first-child:hover,
.hero-ctas a:first-child:focus-visible {
  background: var(--gold-light);
  color: var(--navy);
}

.hero-ctas a:first-child:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

.hero-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 60px rgba(0, 0, 0, 0.5);
}

.hero-logo-card img {
  width: 260px;
  height: auto;
  display: block;
}

/* Services */
#services {
  padding: 90px 6%;
  background: var(--navy-2);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--navy-3);
  border: 1px solid rgba(138, 122, 90, 0.12);
  border-radius: 8px;
  padding: 30px 26px;
}

.service-card i {
  font-size: 28px;
  color: var(--gold);
  display: block;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 13px;
  color: #6a7d8e;
  line-height: 1.75;
}

/* Fleet */
#fleet {
  padding: 90px 6%;
}

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

.fleet-card {
  background: var(--navy-3);
  border: 1px solid rgba(138, 122, 90, 0.14);
  border-radius: 10px;
  padding: 36px 32px;
}

.fleet-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.fleet-icon {
  background: rgba(138, 122, 90, 0.12);
  border-radius: 6px;
  padding: 9px 13px;
}

.fleet-icon i {
  font-size: 22px;
  color: var(--gold);
  display: block;
}

.fleet-card-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.fleet-card-header p {
  font-size: 12px;
  color: #6a7d8e;
  margin-top: 3px;
}

.spec-table {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.spec-row:last-child { border-bottom: none; }
.spec-row .label { color: #6a7d8e; font-size: 13px; }
.spec-row .value { color: #dce4ed; font-size: 13px; font-weight: 500; }
.spec-row .value.accent { color: var(--gold-light); }

.fleet-note {
  font-size: 12px;
  color: #6a7d8e;
  line-height: 1.75;
}

/* Crew */
#crew {
  padding: 90px 6%;
  border-top: 1px solid rgba(138, 122, 90, 0.12);
}

.crew-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
}

.crew-inner .section-title { margin-bottom: 20px; }

.crew-text p {
  font-size: 16px;
  color: #7a8fa0;
  line-height: 1.75;
  max-width: 560px;
}

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

.crew-stat {
  background: var(--navy-3);
  border: 1px solid rgba(138, 122, 90, 0.14);
  border-radius: 10px;
  padding: 30px 32px;
  min-width: 190px;
}

.crew-stat .num {
  display: block;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--gold-light);
  line-height: 1.1;
  margin-bottom: 8px;
}

.crew-stat .label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6a7d8e;
}

/* Contact */
#contact {
  padding: 90px 6%;
  background: var(--navy-2);
}

.contact-inner {
  max-width: 600px;
  margin: 0 auto;
}

.contact-inner > p {
  color: #6a7d8e;
  font-size: 15px;
  margin-bottom: 44px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.form-group label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6a7d8e;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--navy-3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 12px 14px;
  color: #dce4ed;
  font-size: 14px;
  transition: border-color 0.2s;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #3d5060; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(138, 122, 90, 0.5);
}

.form-group textarea { resize: vertical; font-family: inherit; }

.form-group select { cursor: pointer; }

.submit-btn {
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 4px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.2s;
  font-family: inherit;
}

.submit-btn:hover,
.submit-btn:focus-visible { background: var(--gold-light); color: var(--navy); }

.submit-btn:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

.contact-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
  color: #6a7d8e;
}

.contact-meta span,
.contact-meta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-meta i { font-size: 18px; color: var(--gold); }

.contact-meta a { color: var(--gold-light); transition: color 0.2s; }
.contact-meta a:hover { color: #dce4ed; }

/* Footer */
footer {
  padding: 36px 6%;
  border-top: 1px solid rgba(138, 122, 90, 0.12);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-inner .copy { font-size: 12px; color: #3a4d5c; }

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #6a7d8e;
  transition: color 0.2s;
}

.footer-social i { font-size: 16px; }
.footer-social:hover { color: var(--gold-light); }

.footer-logo-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 22px;
}

/* Blog */
.blog-header {
  padding: 90px 6% 40px;
}

.blog-header p {
  font-size: 16px;
  color: #7a8fa0;
  max-width: 560px;
  margin-top: -24px;
  line-height: 1.75;
}

.blog-list {
  padding: 20px 6% 100px;
  min-height: calc(100vh - 460px);
}

.nowrap { white-space: nowrap; }

.post-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 820px;
}

.post-card {
  display: block;
  background: var(--navy-3);
  border: 1px solid rgba(138, 122, 90, 0.12);
  border-radius: 8px;
  padding: 32px 30px;
  transition: border-color 0.2s;
}

.post-card:hover { border-color: rgba(138, 122, 90, 0.4); }

.post-date {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.post-card h2 {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 10px;
}

.post-card p {
  font-size: 14px;
  color: #7a8fa0;
  line-height: 1.75;
  margin-bottom: 18px;
}

.read-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-light);
}

.post-card:hover .read-more { color: #dce4ed; }

/* Blog post */
.post {
  padding: 70px 6% 90px;
}

.post-inner {
  max-width: 720px;
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--gold-light);
  margin-bottom: 36px;
  transition: color 0.2s;
}

.back-link:hover { color: #dce4ed; }

.post h1 {
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #fff;
  margin-bottom: 18px;
}

.post-byline {
  font-size: 13px;
  color: #6a7d8e;
  padding-bottom: 32px;
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(138, 122, 90, 0.18);
}

.post-body p,
.post-body li {
  font-size: 16px;
  color: #aab7c4;
  line-height: 1.8;
}

.post-body p { margin-bottom: 22px; }

.post-body h2 {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin: 44px 0 16px;
}

.post-body ul { margin: 0 0 22px 22px; padding: 0; list-style: disc; }
.post-body li { margin-bottom: 12px; }
.post-body li::marker { color: var(--gold-light); }

.post-body blockquote {
  margin: 32px 0;
  padding: 6px 0 6px 24px;
  border-left: 3px solid var(--gold-light);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
}

.post-body a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.post-body a:hover { color: #dce4ed; }

.post-body strong { color: #dce4ed; font-weight: 600; }

.post-cta {
  margin-top: 56px;
  background: var(--navy-3);
  border: 1px solid rgba(138, 122, 90, 0.18);
  border-radius: 10px;
  padding: 34px 32px;
}

.post-cta h2 {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.post-cta p {
  font-size: 15px;
  color: #7a8fa0;
  margin-bottom: 24px;
}

.post-cta .btn-primary {
  display: inline-block;
  padding: 12px 24px;
  font-size: 15px;
}

/* Responsive */
@media (max-width: 900px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
  .crew-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 780px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-logo-wrap { order: -1; }
  .hero-logo-card img { width: 200px; }
}

@media (max-width: 680px) {
  .nav-links a:not(.btn-primary) { display: none; }
  .fleet-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .post-card { padding: 26px 22px; }
  .post-cta { padding: 28px 22px; }
  .service-grid { grid-template-columns: 1fr; }
  .crew-stats { gap: 14px; }
  .crew-stat { min-width: 0; padding: 22px 16px; }
  .crew-stat .label { letter-spacing: 0.08em; white-space: nowrap; }
  .crew-stat .num { font-size: 30px; }
}
