/* ============================================================
   VetJets USA — Main Stylesheet
   Version: 1.0 | Built: March 2026
   Stack: Tailwind CSS (CDN) + Custom overrides
   Brand: PLACEHOLDER — swap hex values when brand package arrives
   ============================================================ */

/* --- BRAND TOKENS (swap these when brand package arrives) --- */
:root {
  --color-navy:      #1B2B5E;   /* PRIMARY — placeholder */
  --color-red:       #C8102E;   /* ACCENT / CTA — placeholder */
  --color-white:     #FFFFFF;
  --color-offwhite:  #F8F8F8;
  --color-text:      #1A1A1A;
  --color-text-muted:#6B7280;
  --color-border:    #E5E7EB;
  --color-amber:     #F59E0B;   /* Alert / badge */
  --color-purple:    #5C2D91;   /* Purple Heart */

  --font-heading:    'Montserrat', sans-serif;   /* placeholder */
  --font-body:       'Inter', sans-serif;        /* placeholder */

  --radius:          0.5rem;
  --radius-lg:       1rem;
  --shadow:          0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg:       0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

/* --- RESET + BASE --- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-navy);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--color-red); }

/* --- FOCUS / ACCESSIBILITY --- */
:focus-visible {
  outline: 3px solid var(--color-amber);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
p  { font-size: 1rem; line-height: 1.75; margin-bottom: 1rem; }

.text-large { font-size: 1.125rem; }
.text-small  { font-size: 0.875rem; }
.text-muted  { color: var(--color-text-muted); }

/* --- LAYOUT --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px)  { .container { padding: 0 2rem; } }
@media (min-width: 1024px) { .container { padding: 0 2.5rem; } }

.section { padding: 4rem 0; }
.section-lg { padding: 6rem 0; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  border: 2px solid transparent;
  min-height: 44px; /* WCAG touch target */
  min-width: 44px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
}
.btn-primary:hover {
  background: #a50d25;
  border-color: #a50d25;
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}
.btn-secondary:hover {
  background: #14225a;
  border-color: #14225a;
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}
.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-navy);
}

.btn-purple {
  background: var(--color-purple);
  color: var(--color-white);
  border-color: var(--color-purple);
}
.btn-purple:hover {
  background: #4a2275;
  border-color: #4a2275;
  color: var(--color-white);
}

.btn-outline-navy {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}
.btn-outline-navy:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

.btn-lg {
  padding: 1.125rem 2.25rem;
  font-size: 1.125rem;
}

/* --- HEADER / NAV --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.375rem;
  color: var(--color-navy);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.site-logo:hover { color: var(--color-navy); }

.site-logo img {
  height: 44px;
  width: auto;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1024px) { .site-nav { display: flex; } }

.nav-link {
  padding: 0.5rem 0.875rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-text);
  border-radius: var(--radius);
  transition: all 0.2s ease;
}
.nav-link:hover {
  color: var(--color-navy);
  background: var(--color-offwhite);
}
.nav-link.active { color: var(--color-navy); }

.header-cta {
  display: none;
  gap: 0.75rem;
}
/* Show CTAs at same breakpoint as nav — avoids hamburger + CTA collision window */
@media (min-width: 1024px) { .header-cta { display: flex; } }

/* Tighten nav link padding at exactly the 1024px breakpoint to ease crowding */
@media (min-width: 1024px) and (max-width: 1199px) {
  .nav-link { padding: 0.5rem 0.5rem; font-size: 0.875rem; }
  .header-cta .btn { padding: 0.625rem 1rem; font-size: 0.875rem; }
}

/* Hamburger (mobile) */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
@media (min-width: 1024px) { .hamburger { display: none; } }

.hamburger span {
  display: block;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.25rem 1.5rem;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
}
.mobile-nav.open { display: flex; }

.mobile-nav .nav-link {
  padding: 0.75rem 1rem;
  font-size: 1rem;
}

.mobile-nav .btn {
  margin-top: 0.5rem;
  width: 100%;
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 75vh;
  min-height: max(75vh, 580px);
  display: flex;
  align-items: center;
  background: var(--color-navy);
  overflow: hidden;
}

/* No CSS pseudo-element needed — real hero photo handles the right-side imagery */

/* Ghost jet silhouette — ascending upper-right */
.hero-aircraft {
  position: absolute;
  top: 18%;
  right: 3%;
  width: 52%;
  max-width: 660px;
  opacity: 0.11;
  fill: #ffffff;
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero-aircraft {
    top: auto;
    bottom: -5%;
    right: -10%;
    width: 90%;
    opacity: 0.06;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: 65% center;
  background-repeat: no-repeat;
  opacity: 0.92;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Strong left protect → transparent right: keeps text crisp, lets photo breathe on the right */
  background: linear-gradient(
    to right,
    rgba(11, 20, 50, 0.97) 0%,
    rgba(11, 20, 50, 0.97) 30%,
    rgba(11, 20, 50, 0.80) 48%,
    rgba(11, 20, 50, 0.35) 65%,
    rgba(11, 20, 50, 0.0)  82%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 3rem 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-amber);
  margin-bottom: 1.25rem;
}

.hero-content h1 {
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.hero-content h1 span { color: var(--color-amber); }

.hero-subheadline {
  font-size: 1.1875rem;
  color: rgba(255,255,255,0.88);
  max-width: 580px;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-trust {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
}

.hero-trust span { color: var(--color-amber); font-weight: 700; }

/* --- IMPACT COUNTER --- */
.impact-bar {
  background: var(--color-navy);
  padding: 2.5rem 0;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .impact-grid { grid-template-columns: repeat(4, 1fr); }
}

.impact-stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-amber);
  line-height: 1;
  display: block;
}

.impact-stat-label {
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.375rem;
  display: block;
}

/* --- SECTION HEADINGS --- */
.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.section-heading .eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 0.75rem;
}

.section-heading h2 { margin-bottom: 0.75rem; }
.section-heading p {
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.0625rem;
}

/* --- DUAL CTA CARDS --- */
.dual-cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .dual-cta-grid { grid-template-columns: 1fr 1fr; }
}

.dual-cta-card {
  background: var(--color-offwhite);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dual-cta-card.card-navy {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-white);
}
.dual-cta-card.card-navy h3 { color: var(--color-white); }
.dual-cta-card.card-navy p  { color: rgba(255,255,255,0.8); }

.dual-cta-card.card-red {
  background: var(--color-red);
  border-color: var(--color-red);
  color: var(--color-white);
}
.dual-cta-card.card-red h3 { color: var(--color-white); }
.dual-cta-card.card-red p  { color: rgba(255,255,255,0.85); }

.dual-cta-card .card-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.dual-cta-card h3 { margin-bottom: 0; font-size: 1.375rem; }
.dual-cta-card p { margin-bottom: 0; }
.dual-cta-card .btn { align-self: flex-start; margin-top: auto; padding-top: 1.25rem; }

/* --- PARTNER STRIP --- */
.partner-strip {
  background: var(--color-offwhite);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 2.5rem 0;
}

.partner-strip-label {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.partner-logo-link {
  opacity: 0.65;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
}
.partner-logo-link:hover { opacity: 1; }

.partner-logo-link img {
  max-height: 48px;
  width: auto;
}

.partner-name-placeholder {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-navy);
  letter-spacing: 0.02em;
}

/* --- STORY TEASER --- */
.story-card {
  background: var(--color-navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .story-card { grid-template-columns: 1fr 1fr; }
}

.story-card-image {
  min-height: 280px;
  background: var(--color-text-muted);
  background-size: cover;
  background-position: center;
}

.story-card-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}

.story-card blockquote {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--color-white);
  line-height: 1.6;
  margin: 0;
  padding-left: 1.25rem;
  border-left: 3px solid var(--color-amber);
}

.story-card cite {
  color: rgba(255,255,255,0.65);
  font-size: 0.9375rem;
  font-style: normal;
  font-weight: 600;
}

/* --- NEWSLETTER STRIP --- */
.newsletter-strip {
  background: var(--color-navy);
  padding: 4rem 0;
  text-align: center;
}

.newsletter-strip h2 { color: var(--color-white); margin-bottom: 0.5rem; }
.newsletter-strip p  { color: rgba(255,255,255,0.7); margin-bottom: 2rem; }

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 460px;
  margin: 0 auto;
}

@media (min-width: 480px) {
  .newsletter-form { flex-direction: row; }
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.875rem 1.25rem;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
  color: var(--color-white);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: border-color 0.2s;
  min-height: 44px;
}

.newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,0.45); }
.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--color-amber);
}

/* --- FOOTER --- */
.site-footer {
  background: #111827;
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px)  { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand .site-logo { color: var(--color-white); margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9375rem; color: rgba(255,255,255,0.6); max-width: 280px; line-height: 1.7; }

.footer-col h4 {
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9375rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--color-white); }

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  transition: all 0.2s;
}
.footer-social a:hover {
  background: var(--color-red);
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal a { color: rgba(255,255,255,0.45); }
.footer-legal a:hover { color: rgba(255,255,255,0.75); }

/* --- CARDS + UTILITIES --- */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-body { padding: 1.75rem; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-amber { background: rgba(245,158,11,0.15); color: #B45309; }
.badge-navy  { background: rgba(27,43,94,0.1);   color: var(--color-navy); }
.badge-red   { background: rgba(200,16,46,0.1);  color: var(--color-red); }
.badge-green { background: rgba(16,185,129,0.1); color: #065F46; }

.divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 2rem 0;
}

.text-center { text-align: center; }
.text-navy   { color: var(--color-navy); }
.text-red    { color: var(--color-red); }
.text-amber  { color: var(--color-amber); }

/* --- FORMS (global) --- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-text);
}

.form-label .required {
  color: var(--color-red);
  margin-left: 0.25rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color 0.2s, box-shadow 0.2s;
  min-height: 44px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(27,43,94,0.12);
}

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

.form-hint {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.form-file-upload {
  border: 2px dashed var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: var(--color-offwhite);
}

.form-file-upload:hover {
  border-color: var(--color-navy);
  background: rgba(27,43,94,0.04);
}

.form-file-upload input[type="file"] { display: none; }

.form-file-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.form-file-label strong { color: var(--color-navy); }

/* --- ALERT / NOTICE BAR --- */
.notice-bar {
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.4);
  border-radius: var(--radius);
  padding: 0.875rem 1.25rem;
  font-size: 0.9375rem;
  color: #92400E;
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
}

/* --- PAGE HERO (inner pages) --- */
.page-hero {
  background: var(--color-navy);
  padding: 4rem 0;
}

.page-hero h1 { color: var(--color-white); margin-bottom: 0.75rem; }
.page-hero p  { color: rgba(255,255,255,0.75); max-width: 600px; font-size: 1.125rem; }

/* --- GRID UTILITIES --- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px)  { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: 1fr 1fr 1fr; } }

.grid-4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* --- SCREEN READER ONLY (accessibility) --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* --- SKIP LINK (accessibility) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--color-navy);
  color: var(--color-white);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 700;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* --- ANIMATIONS --- */
@media (prefers-reduced-motion: no-preference) {
  .fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- CONTACT PAGE --- */
@media (min-width: 768px) {
  .contact-layout { grid-template-columns: 1fr 1fr !important; }
}

/* --- PRINT --- */
@media print {
  .site-header, .site-footer, .hero-actions, .newsletter-strip { display: none; }
  body { font-size: 12pt; }
}
