/* ============================================================
   AeroRating™ — Main Stylesheet
   Palette: Navy #0F2537 | Charcoal #333333 | Emerald #10B981
   ============================================================ */

:root {
  --navy:        #0F2537;
  --navy-2:      #142c42;
  --navy-3:      #1a3550;
  --charcoal:    #333333;
  --charcoal-2:  #4a4a4a;
  --emerald:     #10B981;
  --emerald-dim: #0d9668;
  --gold:        #D4AF37;
  --text:        #E8EEF4;
  --text-muted:  #A0B4C8;
  --line:        rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.16);
  --glass:       rgba(20,44,66,0.72);
  --radius:      14px;
  --radius-sm:   8px;
  --shadow:      0 20px 60px rgba(0,0,0,0.45);
  --font-display:'Orbitron', system-ui, sans-serif;
  --font-body:   'Inter', system-ui, -apple-system, sans-serif;
  --container:   1180px;
  --header-h:    72px;
}

*,*::before,*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--emerald); text-decoration: none; transition: color .2s ease; }
a:hover { color: #34d399; }

h1,h2,h3,h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: .01em;
  margin: 0 0 .6em;
  color: #fff;
}

h1 { font-size: clamp(1.85rem, 3.4vw, 2.9rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.2rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); font-weight: 600; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--emerald); color: var(--navy);
  padding: 12px 20px; z-index: 9999; font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600; font-size: .95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--emerald), #0ea371);
  color: #04121c;
  box-shadow: 0 8px 24px rgba(16,185,129,.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(16,185,129,.4); color: #04121c; }
.btn-outline {
  background: transparent; color: var(--text);
  border-color: var(--line-strong);
}
.btn-outline:hover { border-color: var(--emerald); color: var(--emerald); }
.btn-call {
  background: transparent; color: var(--emerald);
  border: 1.5px solid var(--emerald);
  padding: 9px 18px; font-size: .85rem;
}
.btn-call:hover { background: var(--emerald); color: #04121c; }
.btn-call-lg { margin-top: 1.4rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(15,37,55,.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-word {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 800; letter-spacing: .04em; color: #fff;
}
.brand-accent { color: var(--emerald); }
.tm { font-size: .45em; vertical-align: super; color: var(--text-muted); font-family: var(--font-body); }
.brand-sub {
  font-size: .62rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--text-muted); margin-top: 3px;
}

.primary-nav { display: flex; gap: 26px; }
.primary-nav a {
  color: var(--text-muted); font-size: .88rem; font-weight: 500;
  position: relative; padding: 4px 0;
}
.primary-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--emerald); transition: width .25s ease;
}
.primary-nav a:hover { color: #fff; }
.primary-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  color: var(--text-muted); border: 1px solid var(--line-strong);
  padding: 5px 10px; border-radius: 6px;
}
.lang-switch:hover { color: var(--emerald); border-color: var(--emerald); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 8px; cursor: pointer;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--text); border-radius: 2px;
  transition: .25s;
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 88vh; 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; opacity: .38; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,37,55,.55) 0%, var(--navy) 92%),
              radial-gradient(ellipse at 70% 40%, rgba(16,185,129,.12), transparent 60%);
}
.hero-inner { position: relative; z-index: 1; padding-block: clamp(80px, 12vh, 140px); max-width: 820px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--emerald); font-weight: 600; margin-bottom: 1.2rem;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 12px var(--emerald); }
.hero h1 { margin-bottom: 1rem; text-shadow: 0 2px 30px rgba(0,0,0,.5); }
.lead { font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--text-muted); max-width: 70ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.8rem; }
.hero-badges {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin-top: 2.4rem; padding: 0; font-size: .78rem;
  color: var(--text-muted); letter-spacing: .06em;
}
.hero-badges li::before { content: '◆'; color: var(--emerald); margin-right: 7px; font-size: .6em; vertical-align: middle; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 110px); position: relative; }
.section-alt { background: linear-gradient(180deg, var(--navy-2), var(--navy)); }
.section-head { max-width: 780px; margin-bottom: 2.6rem; }
.kicker {
  font-size: .75rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--emerald); margin-bottom: .6rem;
}
.section-sub { color: var(--text-muted); font-size: 1.02rem; }

/* ---------- Cards ---------- */
.card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 30px);
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: var(--shadow); }
.card-wide { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 2rem; }
.card-icon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(16,185,129,.12); color: var(--emerald);
  border: 1px solid rgba(16,185,129,.25);
}
.card-wide h3 { margin-bottom: .4rem; }
.card-wide p { color: var(--text-muted); margin: 0; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ---------- Class cards ---------- */
.class-card { text-align: left; position: relative; overflow: hidden; }
.class-badge {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem;
  margin-bottom: 1rem;
}
.class-a .class-badge { background: rgba(16,185,129,.15); color: var(--emerald); border: 2px solid var(--emerald); box-shadow: 0 0 24px rgba(16,185,129,.25); }
.class-b .class-badge { background: rgba(212,175,55,.12); color: var(--gold); border: 2px solid var(--gold); }
.class-c .class-badge { background: rgba(160,180,200,.1); color: var(--text-muted); border: 2px solid var(--charcoal-2); }
.class-label { font-weight: 600; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .6rem; }
.class-a .class-label { color: var(--emerald); }
.class-b .class-label { color: var(--gold); }
.class-c .class-label { color: var(--text-muted); }

/* ---------- Sector cards ---------- */
.sector { margin-bottom: 20px; }
.sector-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0; overflow: hidden; }
.sector-media { min-height: 320px; }
.sector-media img { width: 100%; height: 100%; object-fit: cover; }
.sector-split .sector-body { padding: clamp(20px, 3vw, 34px); }
.sector-tag {
  display: inline-block; font-family: var(--font-display); font-weight: 800;
  font-size: .9rem; color: var(--emerald); border: 1px solid rgba(16,185,129,.3);
  padding: 2px 10px; border-radius: 6px; margin-bottom: 1rem;
}
.sector-sub { font-weight: 600; color: var(--text); margin-bottom: .8rem; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative; padding-left: 26px; margin-bottom: .75rem;
  color: var(--text-muted); font-size: .95rem;
}
.check-list li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--emerald); font-weight: 700;
}

/* ---------- Benefits ---------- */
.benefit h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.benefit p { color: var(--text-muted); font-size: .94rem; margin: 0; }
.benefit .card-icon { margin-bottom: 1rem; }

/* ---------- Projects ---------- */
.project-card { margin: 0; background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .3s, transform .3s; }
.project-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.project-media { aspect-ratio: 16/10; overflow: hidden; }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.project-card:hover .project-media img { transform: scale(1.04); }
.project-card figcaption { padding: 22px 26px 26px; }
.project-tag { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--emerald); }
.project-card h3 { margin: .5rem 0 .4rem; font-size: 1.1rem; }
.project-card p { color: var(--text-muted); font-size: .92rem; margin: 0; }

/* ---------- Accordion ---------- */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion-item {
  background: var(--glass); border: 1px solid var(--line);
  border-radius: var(--radius-sm); overflow: hidden;
  transition: border-color .3s;
}
.accordion-item.open { border-color: rgba(16,185,129,.35); }
.accordion-heading { margin: 0; }
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 18px 22px; background: none; border: 0; cursor: pointer;
  text-align: left; font-family: var(--font-body); font-size: .98rem; font-weight: 500;
  color: var(--text); line-height: 1.4;
}
.accordion-trigger:hover { color: #fff; }
.accordion-icon { flex-shrink: 0; color: var(--emerald); transition: transform .3s ease; }
.accordion-item.open .accordion-icon { transform: rotate(180deg); }
.accordion-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.accordion-item.open .accordion-panel { grid-template-rows: 1fr; }
.accordion-content { overflow: hidden; }
.accordion-content p {
  padding: 0 22px 20px; margin: 0; color: var(--text-muted); font-size: .94rem;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-direction: column; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; font-size: .95rem; }
.contact-list strong { color: #fff; font-weight: 600; }
.contact-ico {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(16,185,129,.1); color: var(--emerald);
  border: 1px solid rgba(16,185,129,.22);
}
.contact-list a { color: var(--text); }
.contact-list a:hover { color: var(--emerald); }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: .82rem; font-weight: 600; color: var(--text-muted); letter-spacing: .04em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  background: rgba(0,0,0,.25); border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); color: var(--text);
  font-family: var(--font-body); font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(160,180,200,.5); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(16,185,129,.15);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2310B981' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 38px; }
.field textarea { resize: vertical; min-height: 90px; }
.form-note { font-size: .78rem; color: var(--text-muted); margin: 0; text-align: center; }
.form-status { font-size: .88rem; margin: 0; min-height: 1.2em; text-align: center; }
.form-status.ok { color: var(--emerald); }
.form-status.err { color: #f87171; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0a1c2b; border-top: 1px solid var(--line);
  padding-top: 56px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: 36px; padding-bottom: 40px; }
.footer-brand p { color: var(--text-muted); font-size: .9rem; margin-top: .8rem; max-width: 38ch; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: var(--text-muted); font-size: .9rem; }
.footer-nav a:hover { color: var(--emerald); }
.footer-contact p { margin: 0 0 8px; font-size: .9rem; color: var(--text-muted); }
.footer-contact a { color: var(--text); }
.footer-contact a:hover { color: var(--emerald); }
.footer-links { font-size: .8rem !important; margin-top: 10px !important; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  padding-block: 20px; border-top: 1px solid var(--line);
}
.footer-bottom p { margin: 0; font-size: .8rem; color: var(--text-muted); }

/* ---------- Floating call ---------- */
.call-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 900;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-radius: 50px;
  background: linear-gradient(135deg, var(--emerald), #0ea371);
  color: #04121c; font-weight: 700; font-size: .85rem;
  box-shadow: 0 10px 28px rgba(16,185,129,.4);
  transition: transform .25s, box-shadow .25s;
}
.call-float:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(16,185,129,.55); color: #04121c; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
  .sector-split { grid-template-columns: 1fr; }
  .sector-media { min-height: 220px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; gap: 0;
    background: rgba(15,37,55,.98); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 10px 20px 20px;
    transform: translateY(-120%); transition: transform .35s ease;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .primary-nav.open { transform: translateY(0); }
  .primary-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; }
  .header-actions .btn-call span { display: none; }
  .header-actions .btn-call { padding: 10px; }
  .field-row { grid-template-columns: 1fr; }
  .hero { min-height: 78vh; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .call-float span { display: none; }
  .call-float { padding: 14px; border-radius: 50%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}