:root {
  --black: #0a0a0a;
  --charcoal: #1c1c1c;
  --dark-grey: #333333;
  --mid-grey: #6e6e6e;
  --light-grey: #d8d8d8;
  --off-white: #f2f2f2;
  --white: #ffffff;
  --bg: #f6f6f6;
  --text: #1a1a1a;
  --muted: #6e6e6e;
  --radius: 10px;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  --gradient-dark: linear-gradient(135deg, #0a0a0a 0%, #4a4a4a 100%);
  --gradient-light: linear-gradient(135deg, #4a4a4a 0%, #8a8a8a 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  background: var(--gradient-dark);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.logo {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.logo span { color: var(--light-grey); }

nav ul {
  display: flex;
  gap: 32px;
}

nav a {
  color: #cfcfcf;
  font-weight: 500;
  transition: color 0.2s;
}
nav a:hover, nav a.active { color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

/* Hero */
.hero {
  background-image: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(58, 58, 58, 0.95) 100%), url("../img/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 90px 24px;
  text-align: center;
}

.hero-logo {
  width: 800px;
  height: auto;
  margin: 0 auto 24px;
}

@media (max-width: 480px) {
  .hero-logo {
    width: 300px;
  }
}

.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 16px;
}

.hero p {
  font-size: 1.15rem;
  color: #d0d0d0;
  max-width: 640px;
  margin: 0 auto 32px;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-primary {
  background: var(--gradient-light);
  color: var(--white);
}
.btn-primary:hover { background: var(--gradient-dark); transform: translateY(-2px); }

.btn-outline {
  background: #25D366;
  border-color: #25D366;
  color: var(--white);
}

.hero .btn-outline:hover {
  background: #1ebc59;
  border-color: #1ebc59;
}

.btn-group { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* Sections */
section { padding: 70px 24px; }

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--black);
}

.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 48px;
}

/* Card grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border-top: 3px solid transparent;
  border-image: var(--gradient-light);
  border-image-slice: 1;
}

.card h3 { color: var(--black); margin-bottom: 10px; font-size: 1.15rem; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card ul { margin-top: 12px; }
.card ul li { color: var(--muted); font-size: 0.92rem; padding: 4px 0; }
.card ul li::before { content: "✓ "; color: var(--dark-grey); font-weight: 700; }

/* Journey / process */
.journey {
  background: var(--white);
}
.journey-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 1500px;
  margin: 0 auto;
}
.journey-steps .step {
  background: var(--off-white);
  border: 1px solid var(--light-grey);
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--charcoal);
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.journey-steps .arrow { color: var(--mid-grey); font-weight: 700; align-self: center; }

@media (max-width: 768px) {
  .journey-steps {
    flex-direction: column;
    align-items: center;
  }

  .journey-steps .arrow {
    transform: rotate(90deg);
  }
}

/* CTA band */
.cta-band {
  background: var(--gradient-dark);
  color: var(--white);
  text-align: center;
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band .btn-primary { background: var(--white); color: var(--black); }
.cta-band .btn-primary:hover { background: var(--light-grey); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info .card { margin-bottom: 20px; }

.whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #25D366;
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  justify-content: center;
}
.whatsapp-btn:hover { background: #1ebc59; }

form {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-group { margin-bottom: 18px; }
label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; color: var(--black); }

input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d5dce3;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--dark-grey); }

.hp-field { position: absolute; left: -9999px; }

/* Footer */
footer {
  background: var(--gradient-dark);
  color: #cfcfcf;
  text-align: center;
  padding: 30px 24px;
  font-size: 0.9rem;
}
footer a { color: var(--white); }

/* Mobile */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--charcoal);
    display: none;
    flex-direction: column;
  }
  nav.open { display: flex; }
  nav ul { flex-direction: column; padding: 16px 24px; gap: 0; }
  nav ul li { padding: 12px 0; border-bottom: 1px solid var(--dark-grey); }
  .hero h1 { font-size: 1.9rem; }
}

/* Alert messages */
.alert {
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}
.alert-success { background: #eeeeee; color: #1a1a1a; border: 1px solid #1a1a1a; }
.alert-error { background: #f5f5f5; color: #333333; border: 1px solid #333333; }
.clients {
  background: var(--white);
  padding: 60px 0;
  overflow: hidden;
}

.clients-scroll {
  width: 100%;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: scroll-clients 25s linear infinite;
}

.clients-scroll:hover .clients-track {
  animation-play-state: paused;
}

.clients-track img {
  height: 150px;
  width: 300px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.3s, opacity 0.3s;
}

.clients-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes scroll-clients {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
