/* TAC-AMC Site — Vanilla CSS */
:root {
  --bg: #0f1117;
  --bg2: #161b25;
  --bg3: #1e2535;
  --accent: #d4a843;
  --accent2: #c9933a;
  --text: #e8eaf0;
  --text2: #9ba3b8;
  --text3: #c5cad8;
  --white: #ffffff;
  --radius: 8px;
  --max: 1180px;
  --gap: clamp(1.5rem, 4vw, 3rem);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

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

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

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15,17,23,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212,168,67,0.2);
  padding: 0.9rem 1.5rem;
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-logo { display: flex; align-items: center; gap: 0.75rem; }
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; list-style: none; }
.nav-links a { color: var(--text); font-size: 0.9rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--accent); }
.nav-links .cta-link {
  background: var(--accent);
  color: #000;
  padding: 0.45rem 1.1rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: background .2s;
}
.nav-links .cta-link:hover { background: var(--accent2); color: #000; }

/* HERO */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/container12.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.3);
}
.hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--gap) 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
}
.hero-text h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.2rem;
}
.hero-text p {
  font-size: 1.1rem;
  color: var(--text3);
  margin-bottom: 2rem;
  max-width: 520px;
}
.hero-text p a { color: var(--accent); font-weight: 600; }
.hero-text p a:hover { color: var(--accent2); }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all .2s;
  border: none;
  text-decoration: none;
}
.btn-primary { background: var(--accent); color: #000; }
.btn-primary:hover { background: var(--accent2); color: #000; }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--accent); }
.btn-outline:hover { background: var(--accent); color: #000; }
.hero-form-box {
  background: rgba(22,27,37,0.95);
  border: 1px solid rgba(212,168,67,0.3);
  border-radius: 12px;
  padding: 2rem;
}
.hero-form-box h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.5rem;
  text-align: center;
}

/* SECTION BASE */
section { padding: clamp(3rem, 7vw, 6rem) 1.5rem; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}
.section-body { font-size: 1rem; color: var(--text3); max-width: 600px; line-height: 1.7; }

/* CARDS */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.stat-card {
  background: var(--bg2);
  border: 1px solid rgba(212,168,67,0.15);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color .2s;
}
.stat-card:hover { border-color: rgba(212,168,67,0.4); }
.stat-icon { font-size: 2rem; margin-bottom: 1rem; }
.stat-num { font-size: 1.8rem; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 0.9rem; color: var(--text2); margin-top: 0.5rem; line-height: 1.4; }

/* TWO-COL */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.two-col.reverse { }
.two-col img { border-radius: var(--radius); object-fit: cover; width: 100%; height: 380px; }

/* DARK SECTION */
.section-dark { background: var(--bg2); }
.section-darker { background: var(--bg3); }

/* STEPS */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.step {
  background: var(--bg2);
  border-radius: var(--radius);
  padding: 1.8rem;
  border-left: 3px solid var(--accent);
}
.step-num { font-size: 2rem; font-weight: 800; color: var(--accent); opacity: 0.6; }
.step-title { font-size: 1rem; font-weight: 600; color: var(--white); margin: 0.5rem 0; }
.step-desc { font-size: 0.9rem; color: var(--text2); }

/* PRICING */
.price-box {
  background: var(--bg2);
  border: 1px solid rgba(212,168,67,0.3);
  border-radius: 12px;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  gap: 3rem;
}
.price-amount { font-size: 3.5rem; font-weight: 800; color: var(--accent); white-space: nowrap; }
.price-desc { font-size: 0.95rem; color: var(--text3); }
.price-label { font-size: 0.85rem; color: var(--text2); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.08em; }

/* VIDEO */
.video-embed {
  position: relative;
  padding-top: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.gallery-grid img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  filter: grayscale(20%);
  transition: filter .3s;
}
.gallery-grid img:hover { filter: none; }

/* SOCIAL LINKS */
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.2rem;
  border: 1px solid rgba(212,168,67,0.3);
  border-radius: 6px;
  color: var(--text3);
  font-size: 0.9rem;
  transition: all .2s;
  background: var(--bg2);
}
.social-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(212,168,67,0.07);
}

/* APP BUTTONS */
.app-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.app-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: var(--bg3);
  border: 1px solid rgba(212,168,67,0.25);
  border-radius: 8px;
  color: var(--white);
  font-size: 0.9rem;
  transition: all .2s;
}
.app-btn:hover { border-color: var(--accent); color: var(--accent); background: rgba(212,168,67,0.07); }
.app-btn span { font-size: 1.1rem; }

/* FORM STYLES */
.form-wrap {
  background: var(--bg2);
  border: 1px solid rgba(212,168,67,0.2);
  border-radius: 12px;
  padding: 2.5rem;
  max-width: 640px;
}
.form-wrap.full { max-width: 100%; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text2);
  margin-bottom: 0.4rem;
  font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg3);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  color: var(--white);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}
.form-group select option { background: var(--bg3); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 0.8rem; color: var(--text2); margin-bottom: 1.5rem; }
.form-success {
  display: none;
  background: rgba(39,174,96,0.1);
  border: 1px solid rgba(39,174,96,0.4);
  border-radius: 8px;
  padding: 1.5rem;
  color: #27ae60;
  text-align: center;
  font-weight: 600;
}
.form-error {
  display: none;
  background: rgba(220,53,69,0.1);
  border: 1px solid rgba(220,53,69,0.3);
  border-radius: 8px;
  padding: 1rem;
  color: #dc3545;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.btn-submit {
  width: 100%;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 6px;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
  font-family: inherit;
}
.btn-submit:hover { background: var(--accent2); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* ENCOMPASS */
.encompass-cta {
  background: var(--bg2);
  border: 1px solid rgba(212,168,67,0.2);
  border-radius: 12px;
  padding: 2rem;
}

/* FOOTER */
footer {
  background: #0a0c10;
  border-top: 1px solid rgba(212,168,67,0.2);
  padding: 3rem 1.5rem 2rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand img { height: 44px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.85rem; color: var(--text2); line-height: 1.6; }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; color: var(--accent); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { font-size: 0.85rem; color: var(--text2); }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text2); }
.license-block { font-size: 0.75rem; color: var(--text2); margin-top: 0.5rem; }

/* PAGE HERO (for form pages) */
.page-hero {
  background: var(--bg2);
  border-bottom: 1px solid rgba(212,168,67,0.2);
  padding: 3rem 1.5rem 2.5rem;
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--white); margin-bottom: 0.75rem; }
.page-hero p { color: var(--text3); font-size: 1rem; }

/* DISCLAIMER BAR */
.disclaimer { background: rgba(212,168,67,0.08); border-top: 1px solid rgba(212,168,67,0.15); padding: 0.9rem 1.5rem; text-align: center; }
.disclaimer p { font-size: 0.8rem; color: var(--text2); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-form-box { order: -1; }
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .two-col img { height: 240px; }
  .video-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { gap: 0.75rem; }
  .price-box { flex-direction: column; gap: 1.5rem; text-align: center; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .nav-links .nav-hide { display: none; }
}
