/* ── TRIARCH SECURITY — DARK THEME ── */

:root {
  --cyan:      #00d4ff;
  --cyan-dim:  #00a8cc;
  --purple:    #7b2fff;
  --teal:      #40e0d0;
  --teal-dim:  #2ab5a6;
  --bg:        #08090c;
  --bg-card:   #0f1117;
  --bg-dark:   #050608;
  --bg-mid:    #0c0e14;
  --border:    rgba(0, 212, 255, 0.10);
  --border-hl: rgba(0, 212, 255, 0.30);
  --text:      #e2e8f0;
  --text-dim:  #94a3b8;
  --text-muted:#5a6a82;
  --font-body: 'Inter', sans-serif;
  --font-head: 'Rajdhani', sans-serif;
  --nav-h:     70px;
  --radius:    6px;
  --radius-lg: 12px;
  --trans:     0.25s ease;
  --max-w:     1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

a { color: var(--teal); text-decoration: none; transition: color var(--trans); }
a:hover { color: var(--teal-dim); }
img { display: block; max-width: 100%; }
strong { color: var(--text); }

.accent { color: var(--teal); }

/* ── LAYOUT ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section-dark { background: var(--bg-dark); }
.section-intro { background: var(--bg-mid); }

.section-header { margin-bottom: 56px; }

.section-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--teal);
  margin-bottom: 16px;
}

.section-rule {
  width: 50px;
  height: 2px;
  background: var(--teal);
  opacity: 0.5;
  margin-top: 12px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: all var(--trans);
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  color: #05111a;
  box-shadow: 0 0 20px rgba(64, 224, 208, 0.25);
}
.btn-primary:hover {
  box-shadow: 0 0 36px rgba(64, 224, 208, 0.5);
  transform: translateY(-1px);
  color: #05111a;
}

.btn-ghost {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border-hl);
}
.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* ── NAV ── */
.nav-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(8, 9, 12, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--trans), border-color var(--trans);
}
.nav-header.scrolled {
  background: rgba(8, 9, 12, 0.98);
  border-bottom-color: var(--border-hl);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-img {
  width: 36px; height: 36px;
  object-fit: contain;
}
.nav-logo-text {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  padding: 6px 14px;
  border-radius: var(--radius);
  letter-spacing: 0.04em;
  transition: color var(--trans);
}
.nav-links a:hover { color: var(--text); }

.btn-nav {
  background: linear-gradient(135deg, var(--teal), var(--cyan)) !important;
  color: #05111a !important;
  padding: 7px 18px !important;
  border-radius: var(--radius) !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  font-size: 12px !important;
}

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

/* ── HERO ── */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 65% at 75% 50%, rgba(64, 224, 208, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 15% 60%, rgba(0, 212, 255, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 60% 60% at 50% 100%, rgba(123, 47, 255, 0.05) 0%, transparent 70%);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(64, 224, 208, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(64, 224, 208, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 64px;
}

.hero-eyebrow {
  font-size: 14px;
  color: var(--teal);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  font-style: italic;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}

.hero-taglines {
  margin-bottom: 40px;
}
.hero-taglines p {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 600;
  color: var(--text-dim);
  line-height: 1.6;
}

.hero-logo-wrap {
  flex-shrink: 0;
}
.hero-logo-glow {
  width: clamp(180px, 22vw, 300px);
}

/* ── INTRO ── */
.intro-layout { max-width: 800px; }

.intro-lead {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 28px;
  line-height: 1.55;
}

.intro-text p {
  color: var(--text-dim);
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.75;
}
.intro-text p:last-child { margin-bottom: 0; }
.intro-text strong { color: var(--teal); }

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: border-color var(--trans), box-shadow var(--trans), transform var(--trans);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, var(--teal), var(--cyan));
  opacity: 0;
  transition: opacity var(--trans);
}

.service-card:hover {
  border-color: rgba(64, 224, 208, 0.3);
  box-shadow: 0 8px 32px rgba(64, 224, 208, 0.06);
  transform: translateY(-2px);
}
.service-card:hover::before { opacity: 1; }

.service-card--wide {
  grid-column: 1 / -1;
}

.service-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.service-card p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.75;
}
.service-card strong { color: var(--text); }

/* ── QUOTE BANNER ── */
.quote-banner {
  position: relative;
  padding: 80px 24px;
  overflow: hidden;
}

.quote-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.75), rgba(0,0,0,0.75)),
    linear-gradient(135deg, rgba(64, 224, 208, 0.08) 0%, rgba(123, 47, 255, 0.08) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.quote-text {
  position: relative;
  z-index: 2;
  font-family: var(--font-head);
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  letter-spacing: 0.01em;
}

/* ── CONTACT ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: start;
}

.contact-booking-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 32px;
  transition: color var(--trans);
}
.contact-booking-link:hover { color: var(--teal-dim); }
.booking-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.contact-form-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--text);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.03em;
}

.required { color: var(--teal); }

.form-group input,
.form-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color var(--trans), box-shadow var(--trans);
  resize: none;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(64, 224, 208, 0.1);
}

.form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.form-success {
  display: none;
  color: var(--teal);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 16px;
  border: 1px solid rgba(64, 224, 208, 0.3);
  border-radius: var(--radius);
  background: rgba(64, 224, 208, 0.05);
}

.recaptcha-note {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.6;
}
.recaptcha-note a { color: var(--text-muted); text-decoration: underline; }
.recaptcha-note a:hover { color: var(--teal); }

.contact-image-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 48px;
}

.contact-logo-display {
  position: relative;
  width: 200px; height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-logo {
  width: 200px; height: 200px;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

.contact-logo-ring { display: none; }

@keyframes ring-pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%       { opacity: 0.9; transform: scale(1.03); }
}

/* ── FOOTER ── */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 28px 24px;
  text-align: center;
}
.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-logo-wrap { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card--wide { grid-column: auto; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-image-wrap { display: none; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(8, 9, 12, 0.98);
    flex-direction: column;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .form-actions { flex-direction: column; align-items: stretch; }
  .form-actions .btn { justify-content: center; }
}
