/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: #1E293B;
  background-color: #F8FAFC;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  background: #D97706;
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: 0 0 4px 4px;
  z-index: 10000;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #111827;
  border-bottom: 2px solid #D97706;
  transition: background 0.3s;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  flex-shrink: 0;
}
.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  display: block;
  padding: 8px 16px;
  color: #C8D0DB;
  font-size: 0.925rem;
  font-weight: 500;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover,
.nav-link:focus-visible {
  color: #FFFFFF;
  background: #1E293B;
}
.nav-link.active {
  color: #D97706;
  font-weight: 600;
}

/* Nav Toggle (Mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.nav-toggle-bar {
  width: 24px;
  height: 2.5px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.active .nav-toggle-bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav-toggle.active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #0F172A;
  overflow: hidden;
  padding-top: 72px;
}

/* Hero Background Geometry */
.hero-bg-geometry {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.geo-circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid #334155;
}
.geo-circle-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -150px;
}
.geo-circle-2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -100px;
  border-color: #1E293B;
}
.geo-line {
  position: absolute;
  background: #1E293B;
}
.geo-line-1 {
  width: 2px;
  height: 300px;
  top: 10%;
  right: 30%;
  transform: rotate(30deg);
}
.geo-line-2 {
  width: 2px;
  height: 200px;
  bottom: 20%;
  left: 25%;
  transform: rotate(-45deg);
  background: #334155;
}
.geo-dots {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background-image: radial-gradient(circle, #1E293B 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.5;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero-content {
  max-width: 600px;
}

.hero-overline {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #D97706;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  color: #F1F5F9;
  line-height: 1.12;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.text-accent {
  color: #D97706;
}

.hero-desc {
  font-size: 1.1rem;
  color: #94A3B8;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: #D97706;
  color: #FFFFFF;
  border-color: #D97706;
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: #B45309;
  border-color: #B45309;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.3);
}

.btn-outline {
  background: transparent;
  color: #F1F5F9;
  border-color: #334155;
}
.btn-outline:hover,
.btn-outline:focus-visible {
  background: #1E293B;
  border-color: #475569;
  transform: translateY(-1px);
}

.btn-submit {
  width: 100%;
  padding: 16px 28px;
  font-size: 1rem;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 40px;
}
.hero-stat {
  display: flex;
  flex-direction: column;
}
.hero-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #D97706;
  line-height: 1.1;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: #64748B;
  font-weight: 500;
  margin-top: 2px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
}

.hero-card-stack {
  position: relative;
  width: 280px;
  height: 340px;
}

.hero-card {
  position: absolute;
  width: 200px;
  padding: 24px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: floatCard 6s ease-in-out infinite;
}

.hero-card-1 {
  top: 0;
  left: 20px;
  background: #1E293B;
  border: 2px solid #D97706;
  animation-delay: 0s;
  z-index: 3;
}

.hero-card-2 {
  top: 60px;
  left: 70px;
  background: #1E293B;
  border: 2px solid #0D9488;
  animation-delay: 1.5s;
  z-index: 2;
}

.hero-card-3 {
  top: 120px;
  left: 10px;
  background: #1E293B;
  border: 2px solid #334155;
  animation-delay: 3s;
  z-index: 1;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-card-icon {
  font-size: 1.5rem;
  color: #D97706;
}

.hero-card-2 .hero-card-icon {
  color: #0D9488;
}

.hero-card-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #CBD5E1;
  text-align: center;
}

/* ===== SECTION COMMONS ===== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-overline {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #D97706;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.65;
}

/* ===== SERVICES ===== */
.services {
  padding: 100px 0;
  background: #FFFFFF;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 32px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  border-color: #D97706;
}

.service-icon-wrap {
  width: 64px;
  height: 64px;
  background: #FEF3C7;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.925rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 16px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.service-list li {
  font-size: 0.85rem;
  color: #64748B;
  padding-left: 18px;
  position: relative;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: #D97706;
  border-radius: 50%;
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: #0F172A;
  padding: 60px 0;
}

.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: #D97706;
  line-height: 1;
  font-family: 'JetBrains Mono', 'Consolas', monospace;
}

.stat-unit {
  font-size: 1.5rem;
  font-weight: 800;
  color: #D97706;
  margin-left: 2px;
}

.stat-desc {
  font-size: 0.875rem;
  color: #94A3B8;
  margin-top: 8px;
  font-weight: 500;
}

/* ===== ABOUT ===== */
.about {
  padding: 100px 0;
  background: #F8FAFC;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-grid-pattern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 12px;
  height: 400px;
}

.about-grid-cell {
  border-radius: 8px;
}

.about-grid-cell-1 {
  background: #0F172A;
  grid-column: 1 / 3;
}
.about-grid-cell-2 {
  background: #D97706;
  grid-column: 3 / 4;
}
.about-grid-cell-3 {
  background: #1E293B;
  grid-column: 1 / 2;
}
.about-grid-cell-4 {
  background: #0D9488;
  grid-column: 2 / 3;
}
.about-grid-cell-5 {
  background: #0F172A;
  grid-column: 3 / 4;
}
.about-grid-cell-6 {
  display: none;
}

.about-content .section-title {
  margin-bottom: 20px;
}

.about-text {
  font-size: 1rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-values {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-value {
  display: flex;
  gap: 16px;
}

.about-value-number {
  flex-shrink: 0;
  font-size: 1.5rem;
  font-weight: 900;
  color: #D97706;
  line-height: 1.2;
  font-family: 'JetBrains Mono', monospace;
}

.about-value-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 4px;
}

.about-value p {
  font-size: 0.9rem;
  color: #64748B;
  line-height: 1.55;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 100px 0;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 32px;
  position: relative;
}

.testimonial-stars {
  color: #D97706;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #E2E8F0;
  padding-top: 14px;
}

.testimonial-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0F172A;
}

.testimonial-role {
  font-size: 0.8rem;
  color: #64748B;
  margin-top: 2px;
}

/* ===== CONTACT ===== */
.contact {
  padding: 100px 0;
  background: #0F172A;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info .section-title {
  color: #F1F5F9;
}

.contact-info-text {
  font-size: 1.05rem;
  color: #94A3B8;
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-detail-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail a,
.contact-detail address {
  font-size: 0.95rem;
  color: #CBD5E1;
  font-style: normal;
  line-height: 1.55;
  transition: color 0.2s;
}
.contact-detail a:hover,
.contact-detail a:focus-visible {
  color: #D97706;
}

/* Contact Form */
.contact-form {
  background: #1E293B;
  border-radius: 14px;
  padding: 36px;
  border: 1px solid #334155;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #CBD5E1;
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  color: #F1F5F9;
  background: #0F172A;
  border: 2px solid #334155;
  border-radius: 8px;
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
}
.form-input::placeholder {
  color: #475569;
}
.form-input:focus {
  border-color: #D97706;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}
.form-input.error {
  border-color: #DC2626;
}

.form-select {
  appearance: none;
  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 6L11 1' stroke='%2394A3B8' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  display: block;
  font-size: 0.78rem;
  color: #F87171;
  margin-top: 4px;
  min-height: 0;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #111827;
  border-top: 3px solid #D97706;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  padding-top: 60px;
  padding-bottom: 40px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.9rem;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-address {
  font-size: 0.85rem;
  color: #64748B;
  font-style: normal;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 0.875rem;
  color: #94A3B8;
  transition: color 0.2s;
}
.footer-col ul a:hover,
.footer-col ul a:focus-visible {
  color: #D97706;
}

.footer-bottom {
  border-top: 1px solid #1E293B;
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: #64748B;
}

/* ===== PRIVACY / TERMS PAGES ===== */
.legal-page {
  padding: 140px 0 80px;
  background: #F8FAFC;
  min-height: 100vh;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-container h1 {
  font-size: 2.2rem;
  font-weight: 900;
  color: #0F172A;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.legal-container .legal-date {
  font-size: 0.85rem;
  color: #64748B;
  margin-bottom: 40px;
  font-weight: 500;
}

.legal-container h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0F172A;
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #E2E8F0;
}

.legal-container h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1E293B;
  margin: 20px 0 10px;
}

.legal-container p {
  font-size: 1rem;
  color: #334155;
  line-height: 1.75;
  margin-bottom: 14px;
}

.legal-container ul,
.legal-container ol {
  margin-bottom: 14px;
  padding-left: 24px;
}
.legal-container li {
  font-size: 1rem;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 6px;
}

.legal-container ul {
  list-style: disc;
}
.legal-container ol {
  list-style: decimal;
}

.legal-container a {
  color: #D97706;
  text-decoration: underline;
  font-weight: 500;
}
.legal-container a:hover {
  color: #B45309;
}

.legal-container address {
  font-style: normal;
  line-height: 1.6;
  color: #334155;
  margin-bottom: 14px;
}

.legal-container strong {
  color: #0F172A;
}

/* ===== FADE IN ANIMATION ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-inner {
    grid-template-columns: 1fr;
  }
  .about-visual {
    display: none;
  }
}

@media (max-width: 768px) {
  /* Nav */
  .nav-toggle {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    background: #111827;
    padding: 100px 32px 32px;
    gap: 8px;
    transition: right 0.35s ease;
    border-left: 2px solid #1E293B;
  }
  .nav-menu.open {
    right: 0;
  }
  .nav-link {
    font-size: 1.05rem;
    padding: 12px 16px;
  }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
    gap: 30px;
  }
  .hero-visual {
    height: 280px;
  }
  .hero-card-stack {
    width: 220px;
    height: 260px;
  }
  .hero-card {
    width: 160px;
  }
  .hero-card-1 {
    left: 0;
  }
  .hero-card-2 {
    left: 40px;
  }
  .hero-card-3 {
    left: 0;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Stats */
  .stats-bar-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  .stats-bar-inner {
    grid-template-columns: 1fr;
  }
  .footer-links {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
}
