/* ==========================================================================
   TKY Systems, LLC — Shared Stylesheet
   Brand: navy #1a1f35, orange gradient #f0821b -> #d84b1f
   ========================================================================== */

:root {
  --navy-900: #141829;
  --navy-800: #1a1f35;
  --navy-700: #232a45;
  --navy-600: #2f3757;
  --orange-400: #f0821b;
  --orange-500: #e8622a;
  --orange-600: #d84b1f;
  --gradient-orange: linear-gradient(135deg, var(--orange-400), var(--orange-600));
  --gradient-navy: radial-gradient(circle at 30% 25%, var(--navy-600) 0%, var(--navy-800) 55%, var(--navy-900) 100%);
  --white: #ffffff;
  --gray-050: #f7f8fa;
  --gray-100: #eef0f4;
  --gray-300: #d7dbe3;
  --gray-500: #8890a0;
  --gray-700: #4a5164;
  --gray-900: #1f2436;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-soft: 0 10px 30px rgba(20, 24, 41, 0.10);
  --shadow-card: 0 4px 18px rgba(20, 24, 41, 0.08);
  --max-width: 1180px;
  --font: 'Poppins', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

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

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; }

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--navy-800);
}

h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 16px; color: var(--gray-700); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-600);
  margin-bottom: 12px;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head p { max-width: 560px; margin-left: auto; margin-right: auto; }

.section-pad { padding: 88px 0; }
.section-pad-sm { padding: 56px 0; }

.bg-light { background: var(--gray-050); }
.bg-white { background: var(--white); }
.bg-navy {
  background: var(--gradient-navy);
  color: var(--white);
}
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy p { color: rgba(255,255,255,0.78); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--gradient-orange);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(216, 75, 31, 0.32);
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(216, 75, 31, 0.4); }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }

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

.btn-block { width: 100%; justify-content: center; }

/* ---------- Diagonal brand motif (from card design) ---------- */
.brand-motif {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 160px;
  height: 130px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.brand-motif::before,
.brand-motif::after,
.brand-motif .m-bar {
  content: "";
  position: absolute;
  bottom: -20px;
  width: 26px;
  height: 220px;
  transform: rotate(-32deg);
}
.brand-motif::before {
  right: 34px;
  background: var(--gray-500);
  opacity: 0.55;
}
.brand-motif::after {
  right: 8px;
  background: var(--navy-800);
}
.brand-motif .m-tri {
  position: absolute;
  right: -40px;
  bottom: -50px;
  width: 0;
  height: 0;
  border-left: 150px solid transparent;
  border-bottom: 150px solid var(--orange-500);
  transform: rotate(0deg);
}
.bg-navy .brand-motif::after { background: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--gray-100);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.logo-link { display: flex; align-items: center; }
.logo-link img { height: 40px; width: auto; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-desktop a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-800);
  position: relative;
  padding: 6px 0;
}
.nav-desktop a.active,
.nav-desktop a:hover { color: var(--orange-600); }
.nav-desktop a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 3px;
  border-radius: 2px;
  background: var(--gradient-orange);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy-800);
}
.header-phone svg { width: 18px; height: 18px; color: var(--orange-600); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-800);
  margin: 5px 0;
  transition: 0.2s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 8px 24px 20px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}
.nav-mobile a {
  padding: 12px 4px;
  font-weight: 600;
  border-bottom: 1px solid var(--gray-100);
  color: var(--navy-800);
}
.nav-mobile a.active { color: var(--orange-600); }
.nav-mobile.open { display: flex; }

@media (max-width: 860px) {
  .nav-desktop, .header-phone { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 100px 0 110px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 { margin-bottom: 20px; }
.hero-lead { font-size: 1.1rem; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }

.hero-badges {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-badge { display: flex; align-items: center; gap: 10px; }
.hero-badge .num { font-size: 1.5rem; font-weight: 800; color: var(--white); }
.hero-badge .label { font-size: 0.78rem; color: rgba(255,255,255,0.68); max-width: 110px; line-height: 1.3; }

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 28px;
  backdrop-filter: blur(6px);
}
.hero-visual .card-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  margin-bottom: 12px;
}
.hero-visual .card-row:last-child { margin-bottom: 0; }
.hero-visual .icon-chip {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gradient-orange);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual .icon-chip svg { width: 20px; height: 20px; color: var(--white); }
.hero-visual .card-row strong { display: block; color: var(--white); font-size: 0.92rem; }
.hero-visual .card-row span { display: block; color: rgba(255,255,255,0.6); font-size: 0.78rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 72px; text-align: left; }
}

/* ---------- Services / Cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gradient-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.icon-badge svg { width: 26px; height: 26px; color: var(--white); }
.icon-badge.navy { background: var(--navy-800); }

.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: 0.95rem; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(232, 98, 42, 0.1);
  color: var(--orange-600);
  margin-bottom: 14px;
}

/* ---------- Two column feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
}
.checklist { list-style: none; padding: 0; margin: 20px 0; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-weight: 500;
  color: var(--gray-900);
}
.checklist svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--orange-600);
  margin-top: 1px;
}

.stat-panel {
  border-radius: var(--radius-lg);
  background: var(--gradient-navy);
  color: var(--white);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.stat-panel .grid-2 { gap: 28px; }
.stat-panel .stat-num { font-size: 2.1rem; font-weight: 800; }
.stat-panel .stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.7); }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: var(--radius-lg);
  background: var(--gradient-navy);
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.75); margin-bottom: 0; }
.cta-band-text { max-width: 480px; position: relative; z-index: 1; }
.cta-band .btn { position: relative; z-index: 1; }

/* ---------- Timeline / values ---------- */
.value-row {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--gray-100);
}
.value-row:last-child { border-bottom: none; }
.value-num {
  font-family: var(--font);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--orange-500);
  width: 48px;
  flex-shrink: 0;
}

/* ---------- Team ---------- */
.team-card {
  display: flex;
  gap: 24px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.team-avatar {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--gradient-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1.6rem;
}
.team-card h3 { margin-bottom: 2px; }
.team-role { color: var(--orange-600); font-weight: 700; font-size: 0.9rem; margin-bottom: 10px; display: block; }
@media (max-width: 560px) {
  .team-card { flex-direction: column; text-align: center; }
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-info-card {
  background: var(--gradient-navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
}
.contact-info-card h3 { color: var(--white); }
.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}
.contact-line .icon-chip {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-line .icon-chip svg { width: 19px; height: 19px; color: var(--orange-400); }
.contact-line strong { display: block; font-size: 0.95rem; }
.contact-line span, .contact-line a { display: block; color: rgba(255,255,255,0.75); font-size: 0.92rem; }
.contact-line a:hover { color: var(--white); }

.form-panel {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 7px;
  color: var(--navy-800);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--gray-900);
  background: var(--gray-050);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange-500);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 130px; }
.field-note { font-size: 0.82rem; color: var(--gray-500); margin-top: 24px; }

.form-status {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(232, 98, 42, 0.1);
  color: var(--orange-600);
  font-size: 0.9rem;
  font-weight: 600;
}
.form-status.show { display: block; }

/* ---------- Map / area ---------- */
.map-note {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--gray-050);
  border: 1px dashed var(--gray-300);
  font-size: 0.88rem;
  color: var(--gray-700);
  margin-top: 20px;
}
.map-note svg { width: 20px; height: 20px; color: var(--orange-600); flex-shrink: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 28px;
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  position: relative;
  z-index: 1;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
.footer-logo { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.footer-logo .tky {
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 0.01em;
}
.footer-logo .tky .t-k { color: var(--white); }
.footer-logo .tky .y { background: var(--gradient-orange); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-logo .suffix { font-weight: 600; font-size: 0.95rem; color: rgba(255,255,255,0.75); }
.footer-desc { font-size: 0.9rem; max-width: 320px; color: rgba(255,255,255,0.6); }

.footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 0.92rem; color: rgba(255,255,255,0.65); }
.footer-links a:hover { color: var(--orange-400); }

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  position: relative;
  z-index: 1;
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  padding: 72px 0 84px;
}
.page-hero .eyebrow { color: var(--orange-400); }
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
