@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #070b0f;
  --bg-raised: #0d1117;
  --bg-card: #111820;
  --accent: #6b8afd;
  --accent-dim: rgba(107, 138, 253, 0.12);
  --text: #e2e8f0;
  --text-secondary: #8896a8;
  --text-muted: #4a5568;
  --border: rgba(255, 255, 255, 0.07);
  --font: 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
.topo-bg { display: none; }

/* ════════════════════════════════════
   NAV
   ════════════════════════════════════ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 3rem;
  height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.nav.scrolled {
  background: rgba(7, 11, 15, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo img {
  height: 28px;
  width: auto;
}

.nav-logo-text {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-logo-text span {
  font-weight: 400;
  color: var(--text-secondary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a.active {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

.nav-cta {
  padding: 0.45rem 1.1rem !important;
  border: 1px solid var(--border) !important;
  border-radius: 6px !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  color: var(--text) !important;
  transition: all 0.2s !important;
}

.nav-cta:hover {
  border-color: var(--text-secondary) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.3s;
}

/* ════════════════════════════════════
   HERO
   ════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(7, 11, 15, 0.4) 0%,
    rgba(7, 11, 15, 0.6) 50%,
    rgba(7, 11, 15, 0.95) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
}

.hero-tag {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.6s 0.2s forwards;
}

.hero-title {
  font-weight: 700;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp 0.6s 0.35s forwards;
}

.hero-desc {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.6s 0.5s forwards;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.6s 0.65s forwards;
}

/* ════════════════════════════════════
   BUTTONS
   ════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.7rem 1.6rem;
  border-radius: 6px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: #fff;
  color: #000;
}

.btn-primary:hover {
  background: #e2e8f0;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
}

/* ════════════════════════════════════
   SECTIONS
   ════════════════════════════════════ */

.section {
  padding: 6rem 3rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-tag {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.section-title {
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 520px;
  line-height: 1.7;
}

/* ════════════════════════════════════
   SERVICE CARDS (image + text)
   ════════════════════════════════════ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s;
  cursor: default;
}

.service-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.service-card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.service-card:hover .service-card-img img {
  transform: scale(1.03);
}

.service-card-body {
  padding: 1.5rem;
}

.service-card-body h3 {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.service-card-body p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}

.service-card-body .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 0.75rem;
  transition: color 0.2s;
}

.service-card:hover .card-link {
  color: var(--text-secondary);
}

/* ════════════════════════════════════
   SPLIT SECTIONS (image + text alternating)
   ════════════════════════════════════ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 0;
}

.split + .split {
  border-top: 1px solid var(--border);
}

.split.reverse .split-text { order: -1; }

.split-img {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-tag {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.split-text h2 {
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.split-text p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.75;
}

/* ════════════════════════════════════
   INDUSTRIES (image bg + overlay)
   ════════════════════════════════════ */

.industries {
  position: relative;
  padding: 6rem 3rem;
  overflow: hidden;
}

.industries-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
}

.industries-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.industries-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, var(--bg), rgba(7,11,15,0.7), var(--bg));
}

.industries-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.industries-title {
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 3rem;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.industry-item h3 {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.industry-item p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ════════════════════════════════════
   CTA SECTION
   ════════════════════════════════════ */

.cta {
  padding: 6rem 3rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

.cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.cta h2 {
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.cta p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* ════════════════════════════════════
   FOOTER
   ════════════════════════════════════ */

.footer {
  border-top: 1px solid var(--border);
  padding: 4rem 3rem 2rem;
  background: var(--bg-raised);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

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

.footer-brand h4 {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-brand .footer-cert {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 500;
}

.footer-col h5 {
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.6rem;
}

.footer-col a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-col .footer-info {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ════════════════════════════════════
   ABOUT PAGE
   ════════════════════════════════════ */

.about-hero {
  position: relative;
  padding: 0;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.about-hero .hero-bg::after {
  background: linear-gradient(
    to bottom,
    rgba(7, 11, 15, 0.5) 0%,
    rgba(7, 11, 15, 0.7) 50%,
    rgba(7, 11, 15, 1) 100%
  );
}

.about-hero-content {
  position: relative;
  z-index: 1;
  padding: 8rem 2rem 4rem;
  max-width: 700px;
}

.about-hero-content h1 {
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.about-hero-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

/* About story section */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 5rem 0;
}

.about-story-left .story-tag {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-left: 2px solid var(--accent);
}

.about-story-left h2 {
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.about-story-left p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-story-right .cred-tag {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  padding-left: 1rem;
  border-left: 2px solid var(--accent);
}

.cred-list {
  list-style: none;
}

.cred-list li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.cred-list li::before {
  content: '•';
  color: var(--accent);
  font-weight: 700;
}

/* About values */
.about-values {
  position: relative;
  overflow: hidden;
}

.about-values-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
}

.about-values-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.about-values-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, var(--bg), rgba(7,11,15,0.75), var(--bg));
}

.about-values-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 3rem;
}

.about-values-inner h2 {
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 3.5rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.value-item h3 {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.value-item p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* About owner section */
.about-owner {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}

.owner-split {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
}

.owner-photo {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.owner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.owner-info h2 {
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
}

.owner-info .owner-role {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.owner-info p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* ════════════════════════════════════
   ANIMATIONS
   ════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s, transform 0.5s;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════ */

@media (max-width: 768px) {
  .nav { padding: 0 1.5rem; }

  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(7, 11, 15, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    z-index: 999;
  }

  .nav-links.open { display: flex; }

  .nav-links a { font-size: 1.1rem; color: var(--text); }

  .nav-toggle { display: flex; z-index: 1001; }

  .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .section { padding: 4rem 1.5rem; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split.reverse .split-text { order: 0; }
  .services-grid { grid-template-columns: 1fr; }
  .industries { padding: 4rem 1.5rem; }
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .about-story { grid-template-columns: 1fr; gap: 3rem; }
  .values-grid { grid-template-columns: 1fr; }
  .owner-split { grid-template-columns: 1fr; }
  .owner-photo { max-width: 260px; }
  .cta { padding: 4rem 1.5rem; }
}
