/* ============================================
   VERSTATECH & ASSOCIATES LTD
   ============================================ */

:root {
  --black: #0a0a0a;
  --white: #f8f6f2;
  --grey-100: #f0ede8;
  --grey-200: #d4d0ca;
  --grey-400: #8a8680;
  --grey-600: #4a4744;
  --grey-800: #1e1c1a;
  --accent: #c8b89a;
  --accent-dark: #a09070;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Barlow', sans-serif;
  --font-condensed: 'Barlow Condensed', sans-serif;
  --nav-h: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section { padding: 100px 0; }
.dark-section { background: var(--black); color: var(--white); }

.section-label {
  display: inline-block;
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey-400);
  border-left: 2px solid var(--accent);
  padding-left: 12px;
  margin-bottom: 20px;
}
.section-label.light { color: var(--grey-200); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 20px;
}
.section-title em { font-style: italic; color: var(--accent-dark); }
.section-title.light em { color: var(--accent); }
.section-title.light { color: var(--white); }

.section-sub { font-size: 17px; font-weight: 300; color: var(--grey-600); max-width: 520px; line-height: 1.7; }
.section-sub.light { color: var(--grey-200); }

.section-header { text-align: center; margin-bottom: 64px; }
.section-header .section-label { border-left: none; border-bottom: 2px solid var(--accent); padding-left: 0; padding-bottom: 8px; }
.section-header .section-title { margin: 16px auto; }
.section-header .section-sub { margin: 0 auto; }

/* Buttons */
.btn-primary {
  display: inline-block; background: var(--black); color: var(--white);
  font-family: var(--font-condensed); font-size: 13px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; padding: 16px 36px;
  border: 1px solid var(--black); transition: background .3s, color .3s;
}
.btn-primary:hover { background: var(--white); color: var(--black); }

.btn-ghost {
  display: inline-block; background: transparent; color: var(--white);
  font-family: var(--font-condensed); font-size: 13px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; padding: 16px 36px;
  border: 1px solid rgba(255,255,255,0.4); transition: border-color .3s, background .3s;
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

.btn-primary-dark {
  display: inline-block; background: var(--white); color: var(--black);
  font-family: var(--font-condensed); font-size: 13px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; padding: 14px 32px;
  border: 1px solid var(--white); margin-top: 20px; transition: background .3s, border-color .3s;
}
.btn-primary-dark:hover { background: var(--accent); border-color: var(--accent); }

.full-width { width: 100%; text-align: center; }

/* NAVBAR */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h); background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: all .3s;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 12px; color: var(--white); }
.nav-logo img { height: 48px; width: auto; filter: none; }
.nav-logo span {
  font-family: var(--font-condensed); font-size: 16px; font-weight: 600;
  letter-spacing: 0.06em; color: var(--white); text-transform: uppercase;
}
.nav-logo em { font-style: normal; color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  font-family: var(--font-condensed); font-size: 13px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey-200); transition: color .2s;
}
.nav-links a:hover { color: var(--white); }
.nav-links .nav-cta {
  background: var(--accent); color: var(--black); padding: 10px 22px; font-weight: 600; transition: background .2s;
}
.nav-links .nav-cta:hover { background: var(--white); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 1.5px; background: var(--white); transition: transform .3s, opacity .3s; }

/* HERO */
.hero {
  min-height: 100vh; background: var(--black);
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden; padding-top: var(--nav-h);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg-photo {
  position: absolute; inset: 0;
  background: url('../images/hero-bg.webp') center/cover no-repeat;
  opacity: 0.35;
  animation: heroZoom 12s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}
.hero-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.5) 70%, rgba(0,0,0,0.3) 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(200,184,154,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,184,154,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 80px 32px 60px; width: 100%;
}
.hero-eyebrow {
  font-family: var(--font-condensed); font-size: 12px; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 32px; animation: fadeUp .8s var(--ease-out) .1s both;
}
.hero-title {
  font-family: var(--font-display); font-size: clamp(64px, 10vw, 140px);
  font-weight: 300; line-height: 0.95; letter-spacing: -0.02em;
  color: var(--white); margin-bottom: 36px;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line:nth-child(1) { animation: slideIn .9s var(--ease-out) .2s both; }
.hero-title .line:nth-child(2) { animation: slideIn .9s var(--ease-out) .35s both; }
.hero-title .line:nth-child(3) { animation: slideIn .9s var(--ease-out) .5s both; }
.hero-title .italic { font-style: italic; color: var(--accent); }
.hero-sub {
  font-size: 17px; font-weight: 300; color: var(--grey-200); max-width: 560px;
  line-height: 1.7; margin-bottom: 48px; animation: fadeUp .8s var(--ease-out) .6s both;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeUp .8s var(--ease-out) .75s both; }
.hero-ticker {
  position: relative; z-index: 2; margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0;
  overflow: hidden; background: rgba(255,255,255,0.03);
}
.ticker-track {
  display: flex; gap: 40px; white-space: nowrap;
  animation: ticker 30s linear infinite;
  font-family: var(--font-condensed); font-size: 12px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey-400);
}
.ticker-track .dot { color: var(--accent); }

@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideIn { from { transform: translateY(100%); } to { transform: translateY(0); } }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 360px 1fr 1.4fr; gap: 60px; align-items: start; }
.about-photo-panel { position: relative; grid-row: 1 / 3; }
.about-photo { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: center; display: block; filter: grayscale(10%); }
.about-photo-badge { position: absolute; bottom: -16px; right: -16px; background: var(--black); padding: 12px 18px; display: flex; align-items: center; gap: 10px; }
.about-photo-badge img { width: 36px; height: auto; display: block; }
.about-photo-badge span { font-family: var(--font-condensed); font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); }
.about-stats { margin-top: 48px; display: flex; flex-direction: column; gap: 32px; }
.stat { padding-left: 20px; border-left: 3px solid var(--accent); }
.stat-num { display: block; font-family: var(--font-display); font-size: 48px; font-weight: 300; line-height: 1; }
.stat-text { display: block; font-family: var(--font-condensed); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey-400); margin-top: 6px; }
.about-right { padding-top: 60px; }
.about-lead { font-family: var(--font-display); font-size: 22px; font-weight: 300; line-height: 1.6; margin-bottom: 24px; }
.about-right p { font-size: 16px; font-weight: 300; color: var(--grey-600); line-height: 1.8; margin-bottom: 18px; }
.about-right p strong { color: var(--black); font-weight: 500; }
.parent-company { display: flex; gap: 20px; align-items: flex-start; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--grey-200); }
.parent-line { width: 3px; height: 60px; background: linear-gradient(to bottom, var(--accent), transparent); flex-shrink: 0; margin-top: 4px; }
.parent-label { font-family: var(--font-condensed); font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 6px !important; }
.parent-name { font-family: var(--font-display); font-size: 18px !important; color: var(--black) !important; font-weight: 400 !important; margin-bottom: 4px !important; }
.parent-est { font-size: 13px !important; color: var(--grey-400) !important; }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.1); }
.service-card { background: var(--grey-800); padding: 40px 36px; position: relative; transition: background .3s; }
.service-card::before { content: attr(data-index); position: absolute; top: 20px; right: 24px; font-family: var(--font-condensed); font-size: 11px; letter-spacing: 0.15em; color: rgba(255,255,255,0.15); }
.service-card:hover { background: #252320; }
.service-icon { width: 44px; height: 44px; margin-bottom: 24px; color: var(--accent); }
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 { font-family: var(--font-display); font-size: 22px; font-weight: 400; color: var(--white); margin-bottom: 14px; line-height: 1.2; }
.service-card p { font-size: 14px; font-weight: 300; color: var(--grey-200); line-height: 1.7; }
.service-card--cta { background: var(--accent); display: flex; flex-direction: column; justify-content: center; }
.service-card--cta::before { display: none; }
.service-card--cta:hover { background: #b8a888; }
.cta-pre { font-family: var(--font-condensed); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey-800); margin-bottom: 12px; }
.service-card--cta h3 { color: var(--black) !important; font-size: 28px; }

/* TEAM */
.team-grid { display: flex; flex-direction: column; gap: 80px; }
.team-card { display: grid; grid-template-columns: 380px 1fr; gap: 60px; align-items: start; padding-bottom: 80px; border-bottom: 1px solid var(--grey-200); }
.team-card:last-child { border-bottom: none; padding-bottom: 0; }
.team-card--reverse { direction: rtl; }
.team-card--reverse > * { direction: ltr; }
.team-photo-wrap { position: relative; flex-shrink: 0; }
.team-photo-frame { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--grey-100); }
.team-photo-frame::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.3)); z-index: 1; }
.team-photo { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: grayscale(20%) contrast(1.05); transition: transform .6s var(--ease-out), filter .4s; }
.team-card:hover .team-photo { transform: scale(1.04); filter: grayscale(0%) contrast(1.05); }
.team-badge { position: absolute; bottom: -16px; left: 24px; background: var(--black); color: var(--white); font-family: var(--font-condensed); font-size: 13px; font-weight: 700; letter-spacing: 0.2em; padding: 10px 20px; z-index: 2; }
.team-info { padding-top: 8px; }
.team-name { font-family: var(--font-display); font-size: 48px; font-weight: 300; line-height: 1; margin-bottom: 8px; }
.team-title { font-family: var(--font-condensed); font-size: 13px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 24px; }
.team-divider { width: 48px; height: 2px; background: var(--accent); margin-bottom: 24px; }
.team-bio { font-size: 15px; font-weight: 300; color: var(--grey-600); line-height: 1.8; margin-bottom: 16px; }
.team-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.team-tags span { font-family: var(--font-condensed); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey-600); border: 1px solid var(--grey-200); padding: 6px 14px; }

/* CLIENTS */
.clients-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.08); margin-bottom: 60px; }
.client-card { background: var(--grey-800); padding: 48px 36px; text-align: center; transition: background .3s; }
.client-card:hover { background: #1e1c1a; }
.client-icon { width: 56px; height: 56px; margin: 0 auto 24px; color: var(--accent); }
.client-icon svg { width: 100%; height: 100%; }
.client-card h4 { font-family: var(--font-display); font-size: 22px; font-weight: 400; color: var(--white); margin-bottom: 14px; line-height: 1.3; }
.client-card p { font-size: 14px; font-weight: 300; color: var(--grey-200); line-height: 1.7; }
.clients-quote { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 60px; }
.clients-quote blockquote { font-family: var(--font-display); font-size: clamp(20px, 3vw, 28px); font-weight: 300; font-style: italic; color: var(--grey-100); max-width: 720px; margin: 0 auto; line-height: 1.6; }
.clients-quote cite { display: block; margin-top: 20px; font-family: var(--font-condensed); font-style: normal; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: start; }
.contact-left > p { font-size: 16px; font-weight: 300; color: var(--grey-600); line-height: 1.8; margin-bottom: 40px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--grey-600); }
.contact-item svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--accent-dark); }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-family: var(--font-condensed); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey-600); }
.form-group input, .form-group select, .form-group textarea {
  background: var(--grey-100); border: 1px solid var(--grey-200); padding: 14px 18px;
  font-family: var(--font-body); font-size: 15px; font-weight: 300; color: var(--black);
  outline: none; transition: border-color .2s; appearance: none; border-radius: 0;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--black); }
.form-group textarea { resize: vertical; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%238a8680' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; cursor: pointer;
}

/* FOOTER */
.footer { background: var(--black); color: var(--white); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo { height: 64px; width: auto; filter: none; margin-bottom: 20px; }
.footer-tagline { font-family: var(--font-display); font-size: 18px; font-weight: 300; font-style: italic; color: var(--grey-200); line-height: 1.5; margin-bottom: 12px; }
.footer-copy { font-size: 12px; color: var(--grey-400); font-weight: 300; }
.footer-links h5, .footer-contact h5 { font-family: var(--font-condensed); font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.footer-links ul, .footer-contact ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links li, .footer-contact li { font-size: 14px; font-weight: 300; color: var(--grey-400); }
.footer-links a { transition: color .2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; font-size: 12px; color: var(--grey-600); font-weight: 300; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-photo-panel { grid-row: auto; max-width: 420px; }
  .about-photo-badge { right: 0; bottom: -12px; }
  .about-right { padding-top: 0; }
  .about-stats { flex-direction: row; gap: 24px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .team-card { grid-template-columns: 300px 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .container { padding: 0 20px; }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--black); flex-direction: column; gap: 0;
    padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.08);
    transform: translateY(-100%); opacity: 0; pointer-events: none; transition: transform .3s var(--ease-out), opacity .3s;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 24px; border-bottom: 1px solid rgba(255,255,255,0.04); }
  .nav-links .nav-cta { margin: 12px 24px; text-align: center; display: block; }
  .hero-title { font-size: clamp(48px, 13vw, 90px); }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions a { text-align: center; }
  .about-stats { flex-direction: column; gap: 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: 1fr; }
  .team-card, .team-card--reverse { grid-template-columns: 1fr; gap: 24px; direction: ltr; }
  .team-photo-frame { aspect-ratio: 1/1; }
  .form-row { grid-template-columns: 1fr; }
  .contact-grid { gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 46px; }
}

/* Active nav link */
.nav-links a.active { color: var(--white); }

/* Submit button base */
button[type="submit"] {
  cursor: pointer; border: none; font-family: var(--font-condensed);
  font-size: 13px; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; padding: 16px 36px; background: var(--black);
  color: var(--white); border: 1px solid var(--black); transition: background .3s, color .3s, border-color .3s;
}
button[type="submit"]:hover { background: var(--grey-800); }
