/* ===== Norfolk Aircraft Interiors — Premium Design System ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --white: #FFFFFF;
  --off-white: #F7F7F5;
  --cream: #F4F4F4;
  --light-gray: #E8E6E1;
  --medium-gray: #8E8E8E;
  --dark-gray: #333333;
  --charcoal: #1F211C;
  --black: #111111;
  --red: #C61124;
  --red-hover: #a80e1e;
  --red-light: #cf2e2e;
  --text-primary: #1F211C;
  --text-secondary: #5a5a5a;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
  --header-height: 88px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --shadow-subtle: 0 1px 3px rgba(0,0,0,.06);
  --shadow-card: 0 2px 20px rgba(0,0,0,.06);
  --shadow-hover: 0 8px 40px rgba(0,0,0,.1);
  --transition: .35s cubic-bezier(.4,0,.2,1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text-primary); background: var(--white); line-height: 1.75; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-hover); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); }

/* --- Layout --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }
.section { padding: 7rem 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--charcoal); color: var(--white); }
.section--black { background: var(--black); color: var(--white); }
.section--red { background: var(--red); color: var(--white); }
.text-center { text-align: center; }

/* --- Eyebrow --- */
.eyebrow { font-family: var(--font-body); font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 3.5px; color: var(--red); margin-bottom: 1rem; display: block; }
.section--dark .eyebrow { color: var(--red-light); }

/* --- Typography --- */
h1, h2, h3 { font-family: var(--font-heading); font-weight: 500; line-height: 1.15; color: var(--charcoal); }
h4, h5, h6 { font-family: var(--font-body); font-weight: 600; line-height: 1.3; color: var(--charcoal); }
.section--dark h1, .section--dark h2, .section--dark h3,
.section--dark h4, .section--black h1, .section--black h2,
.section--red h1, .section--red h2 { color: var(--white); }
h1 { font-size: clamp(2.75rem, 5.5vw, 4rem); margin-bottom: 1.5rem; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.25rem; letter-spacing: -0.01em; }
h3 { font-size: 1.75rem; margin-bottom: .75rem; }
h4 { font-size: 1.125rem; margin-bottom: .5rem; }
p { margin-bottom: 1.125rem; color: var(--text-secondary); }
.lead { font-size: 1.125rem; line-height: 1.85; }
.section--dark p { color: rgba(255,255,255,.65); }

/* --- Decorative Line --- */
.accent-line { width: 48px; height: 2px; background: var(--red); margin-bottom: 1.5rem; }
.text-center .accent-line { margin-left: auto; margin-right: auto; }

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .9375rem 2.25rem; font-family: var(--font-body); font-weight: 600; font-size: .875rem; letter-spacing: 1px; text-transform: uppercase; border: none; transition: all var(--transition); text-align: center; justify-content: center; }
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-hover); color: var(--white); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(198,17,36,.3); }
.btn--outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.5); }
.btn--outline:hover { background: var(--white); color: var(--charcoal); border-color: var(--white); }
.btn--outline-dark { background: transparent; color: var(--charcoal); border: 1.5px solid var(--charcoal); }
.btn--outline-dark:hover { background: var(--charcoal); color: var(--white); }

.btn--sm { padding: .625rem 1.5rem; font-size: .8125rem; }
.btn--lg { padding: 1.125rem 3rem; font-size: .9375rem; }

/* --- Header --- */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: transparent; transition: all var(--transition); }
.header.scrolled { background: var(--white); box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-height); }
.header__logo { display: flex; align-items: center; }
.header__logo img { height: 38px; width: auto; }
.header__logo .logo-dark { display: none; }
.header__logo .logo-white { display: block; }
.header.scrolled .header__logo .logo-dark { display: block; }
.header.scrolled .header__logo .logo-white { display: none; }
.header__nav { display: flex; align-items: center; gap: 2.5rem; }
.header__nav a { color: rgba(255,255,255,.9); font-weight: 500; font-size: .8125rem; letter-spacing: 1.5px; text-transform: uppercase; transition: color var(--transition); }
.header.scrolled .header__nav a { color: var(--text-primary); }
.header__nav a:hover { color: var(--red); }
.header__cta { letter-spacing: 1px; }
.header.scrolled .header__cta { background: var(--red); color: var(--white); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown__toggle { display: flex; align-items: center; gap: .35rem; cursor: pointer; }
.nav-dropdown__toggle::after { content: '\25BE'; font-size: .6rem; opacity: .5; }
.nav-dropdown__menu { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(4px); background: var(--white); box-shadow: 0 12px 48px rgba(0,0,0,.12); padding: .5rem 0; min-width: 260px; opacity: 0; visibility: hidden; transition: all var(--transition); }
.nav-dropdown__menu::before { content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%); width: 12px; height: 12px; background: var(--white); rotate: 45deg; }
.nav-dropdown:hover .nav-dropdown__menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown__menu a { display: block; padding: .625rem 1.5rem; color: var(--text-secondary) !important; font-size: .8125rem; letter-spacing: .5px; text-transform: none; }
.nav-dropdown__menu a:hover { color: var(--red) !important; background: var(--cream); }

/* Mobile toggle (hamburger / X) */
.header__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; z-index: 1002; cursor: pointer; }
.header__toggle span { display: block; width: 24px; height: 2px; background: var(--white); transition: all .3s ease; transform-origin: center; }
.header.scrolled .header__toggle span { background: var(--charcoal); }
/* X state when menu is open */
.header__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--charcoal); }
.header__toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.header__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--charcoal); }
/* Mobile overlay backdrop */
.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 999; }
.mobile-overlay.active { display: block; }

/* --- 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__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(17,17,17,.82) 0%, rgba(31,33,28,.55) 60%, rgba(17,17,17,.7) 100%); }
.hero__content { position: relative; z-index: 1; max-width: 700px; padding-top: var(--header-height); }
.hero__content h1 { color: var(--white); font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 400; line-height: 1.08; }
.hero__content h1 em { font-style: italic; color: var(--white); }
.hero__content p { color: rgba(255,255,255,.7); font-size: 1.0625rem; line-height: 1.85; margin-bottom: 2.5rem; }
.hero__actions { display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: center; }
.hero--short { min-height: 55vh; }

/* --- CTA Strip --- */
.cta-strip { background: var(--charcoal); padding: 1.25rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.cta-strip__inner { display: flex; align-items: center; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.cta-strip p { color: rgba(255,255,255,.6); font-size: .875rem; font-weight: 500; letter-spacing: .5px; margin: 0; }
.cta-strip a { color: var(--white); font-weight: 600; }

/* --- Cards --- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 2rem; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }

.card { background: var(--white); overflow: hidden; box-shadow: var(--shadow-card); transition: all var(--transition); text-decoration: none; color: inherit; display: block; border: 1px solid rgba(0,0,0,.04); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); color: inherit; }
.card__image { height: 240px; overflow: hidden; }
.card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.4,0,.2,1); }
.card:hover .card__image img { transform: scale(1.06); }
.card__body { padding: 1.75rem; }
.card__body h3 { font-size: 1.375rem; font-weight: 500; }
.card__body p { font-size: .9375rem; margin-bottom: 1.25rem; line-height: 1.7; }
.card__link { font-family: var(--font-body); font-weight: 600; font-size: .8125rem; color: var(--red); letter-spacing: 1px; text-transform: uppercase; display: inline-flex; align-items: center; gap: .5rem; }
.card__link::after { content: '\2192'; transition: transform var(--transition); }
.card:hover .card__link::after { transform: translateX(4px); }

/* --- Service Features --- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; margin-top: 3rem; }
.feature { text-align: center; }
.feature__icon { width: 56px; height: 56px; margin: 0 auto 1.25rem; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--red); color: var(--red); font-size: 1.25rem; }
.feature__title { font-family: var(--font-body); font-size: .9375rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: .5rem; }
.feature p { font-size: .9375rem; }

/* --- Stats --- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; text-align: center; padding: 2rem 0; }
.stat__number { font-family: var(--font-heading); font-size: 3rem; font-weight: 400; color: var(--white); display: block; line-height: 1; margin-bottom: .5rem; }
.stat__label { font-size: .8125rem; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.5); }

/* --- FAQ --- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--light-gray); }
.faq-item__question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 0; background: none; border: none; text-align: left; font-family: var(--font-heading); font-size: 1.1875rem; font-weight: 500; color: var(--charcoal); cursor: pointer; transition: color var(--transition); }
.faq-item__question:hover { color: var(--red); }
.faq-item__icon { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all var(--transition); font-size: .875rem; color: var(--medium-gray); }
.faq-item.active .faq-item__icon { transform: rotate(45deg); color: var(--red); }
.faq-item__answer { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .4s ease; }
.faq-item.active .faq-item__answer { max-height: 500px; padding-bottom: 1.5rem; }
.faq-item__answer p { line-height: 1.85; }

/* --- Gallery --- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: .75rem; }
.gallery-grid__item { overflow: hidden; cursor: pointer; position: relative; aspect-ratio: 4/3; }
.gallery-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.4,0,.2,1); }
.gallery-grid__item:hover img { transform: scale(1.05); }

/* --- Masonry Gallery --- */
.masonry-gallery { column-count: 3; column-gap: 10px; }
.masonry-gallery__item { break-inside: avoid; margin-bottom: 10px; position: relative; overflow: hidden; cursor: pointer; }
.masonry-gallery__item img { width: 100%; display: block; transition: transform .7s cubic-bezier(.4,0,.2,1), filter .5s ease; }
.masonry-gallery__item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.35) 100%); opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.masonry-gallery__item:hover::after { opacity: 1; }
.masonry-gallery__item:hover img { transform: scale(1.04); }
.masonry-gallery__item::before { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.4,0,.2,1); z-index: 1; }
.masonry-gallery__item:hover::before { transform: scaleX(1); }

@media (max-width: 1024px) { .masonry-gallery { column-count: 2; } }
@media (max-width: 600px) { .masonry-gallery { column-count: 1; } }

/* --- Lightbox --- */
.lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.95); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all var(--transition); }
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 85vh; }
.lightbox__close { position: absolute; top: 2rem; right: 2rem; width: 44px; height: 44px; background: none; border: 1px solid rgba(255,255,255,.2); color: var(--white); font-size: 1.25rem; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all var(--transition); }
.lightbox__close:hover { border-color: var(--white); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; background: none; border: 1px solid rgba(255,255,255,.2); color: var(--white); font-size: 1.25rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox__nav--prev { left: 2rem; }
.lightbox__nav--next { right: 2rem; }
.lightbox__counter { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.5); font-size: .8125rem; font-weight: 500; letter-spacing: 1px; }

/* --- Quote Form --- */
.quote-form { max-width: 680px; margin: 0 auto; background: var(--white); border: 1px solid var(--light-gray); padding: 3rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 600; font-size: .8125rem; letter-spacing: .5px; text-transform: uppercase; margin-bottom: .5rem; color: var(--charcoal); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: .875rem 1rem; border: 1px solid var(--light-gray); font-family: var(--font-body); font-size: .9375rem; transition: border-color var(--transition); background: var(--white); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--charcoal); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

/* --- Blog Cards --- */
.blog-card { background: var(--white); overflow: hidden; border: 1px solid rgba(0,0,0,.04); transition: all var(--transition); display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.blog-card__image { height: 220px; overflow: hidden; }
.blog-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.4,0,.2,1); }
.blog-card:hover .blog-card__image img { transform: scale(1.04); }
.blog-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card__body h4 { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 500; line-height: 1.4; margin-bottom: .5rem; }
.blog-card__body h4 a { color: var(--charcoal); }
.blog-card__body h4 a:hover { color: var(--red); }
.blog-card__meta { font-size: .75rem; color: var(--medium-gray); letter-spacing: .5px; text-transform: uppercase; margin-top: auto; }

/* --- Article Layout --- */
.article { max-width: 780px; margin: 0 auto; }
.article__meta { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--light-gray); }
.article__meta span { font-size: .8125rem; color: var(--medium-gray); letter-spacing: .5px; text-transform: uppercase; }
.article__meta a { font-size: .8125rem; color: var(--red); font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.article__body h2 { font-size: 1.75rem; margin-top: 3rem; margin-bottom: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--light-gray); }
.article__body h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.article__body h3 { font-size: 1.25rem; margin-top: 2rem; margin-bottom: .75rem; font-family: var(--font-body); font-weight: 600; color: var(--charcoal); }
.article__body p { font-size: 1.0625rem; line-height: 1.9; margin-bottom: 1.25rem; }
.article__body ul { margin: 1.25rem 0; display: flex; flex-direction: column; gap: .625rem; }
.article__body ul li { display: flex; align-items: flex-start; gap: .75rem; font-size: 1.0625rem; color: var(--text-secondary); line-height: 1.7; }
.article__body ul li::before { content: '\2713'; color: var(--red); font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.article__body .article__image { margin: 2.5rem 0; overflow: hidden; }
.article__body .article__image img { width: 100%; display: block; }
.article__body .article__image figcaption { font-size: .8125rem; color: var(--medium-gray); margin-top: .75rem; font-style: italic; }
.article__body blockquote { border-left: 3px solid var(--red); padding: 1.25rem 1.5rem; margin: 2rem 0; background: var(--cream); }
.article__body blockquote p { font-size: 1.125rem; font-style: italic; color: var(--charcoal); margin-bottom: 0; }
.article__cta { margin-top: 3rem; padding: 2.5rem; background: var(--charcoal); text-align: center; }
.article__cta h3 { color: var(--white); font-family: var(--font-heading); font-weight: 500; }
.article__cta p { color: rgba(255,255,255,.6); }
.article__cta .btn { margin-top: 1rem; }
.article__nav { display: flex; justify-content: space-between; align-items: center; padding: 2rem 0; margin-top: 3rem; border-top: 1px solid var(--light-gray); }
.article__nav a { font-size: .8125rem; font-weight: 600; color: var(--red); letter-spacing: .5px; text-transform: uppercase; }

/* --- Split Section --- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
.split__image { overflow: hidden; }
.split__image img { width: 100%; height: 100%; object-fit: cover; }
.split__content .btn { margin-top: 1.5rem; }

/* --- Brands --- */
.brands-bar { display: flex; align-items: center; justify-content: center; gap: 3.5rem; flex-wrap: wrap; padding: 2rem 0; }
.brands-bar img { height: 50px; width: auto; opacity: 1; transition: transform var(--transition); }
.brands-bar img:hover { transform: scale(1.08); }

/* --- Footer --- */
.footer { background: var(--black); color: rgba(255,255,255,.5); padding: 5rem 0 0; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 4rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.footer__brand p { margin-top: 1rem; font-size: .9375rem; line-height: 1.8; }
.footer h4 { color: var(--white); font-size: .75rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 1.25rem; }
.footer__links a { display: block; padding: .3rem 0; color: rgba(255,255,255,.4); font-size: .9375rem; }
.footer__links a:hover { color: var(--red-light); }
.footer__contact p { font-size: .9375rem; margin-bottom: .5rem; }
.footer__contact a { color: var(--red-light); }
.footer__bottom { padding: 2rem 0; display: flex; justify-content: space-between; align-items: center; font-size: .8125rem; }
.footer__bottom a { color: rgba(255,255,255,.3); }
.footer__bottom a:hover { color: var(--red-light); }

/* --- Animations --- */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: .15s; }
.fade-in-delay-2 { transition-delay: .3s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .container { padding: 0 1.25rem; }
  .header__nav { position: fixed; top: 0; right: -100%; width: 300px; height: 100vh; background: var(--white); flex-direction: column; align-items: flex-start; padding: 5rem 2rem 2rem; gap: 0; transition: right var(--transition); box-shadow: -4px 0 24px rgba(0,0,0,.08); }
  .header__nav.open { right: 0; }
  .header__nav a { color: var(--text-primary) !important; padding: .875rem 0; width: 100%; font-size: .875rem; border-bottom: 1px solid var(--light-gray); }
  .header__toggle { display: flex; }
  .nav-dropdown__menu { position: static; transform: none; box-shadow: none; opacity: 1; visibility: visible; padding: 0 0 0 1rem; display: none; }
  .nav-dropdown.open .nav-dropdown__menu { display: block; }
  .hero { min-height: 75vh; }
  .hero__content h1 { font-size: 2.25rem; }
  .stats { grid-template-columns: 1fr; gap: 2rem; }
  .card-grid, .card-grid--3, .card-grid--2 { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; gap: .75rem; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .brands-bar { gap: 2rem; }
  .cta-strip__inner { flex-direction: column; gap: .75rem; text-align: center; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}
