@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;600;700;800&display=swap');

:root {
  --bg-dark: #0f0a07;
  --bg-card: #1f120c;
  --primary: #ffb703;
  --primary-hover: #ffca3a;
  --accent: #e5383b;
  --accent-hover: #ff4d4d;
  --text-main: #f0e6d2;
  --text-muted: #b0a396;
  --success: #25d366;
  --glass: rgba(31, 18, 12, 0.8);
  --border: rgba(255, 183, 3, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  text-transform: capitalize;
}

.text-gradient {
  background: linear-gradient(to right, var(--primary), #ffe6a7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- HEADER / NAV --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: rgba(15, 10, 7, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  transition: all 0.3s ease;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
}

.nav-logo {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  object-fit: cover;
}

.brand-name {
  font-size: 1.6rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--primary);
  /* Gold */
  line-height: 1;
  display: flex;
  flex-direction: column;
}

.brand-name span {
  color: var(--primary);
  /* Gold */
  font-size: 0.9rem;
}


.badge-247 {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 183, 3, 0.1);
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 3px 8px;
  border-radius: 6px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  margin-left: 10px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-cta {
  background: var(--accent);
  color: white;
  padding: 8px 16px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, background 0.2s;
}

/* Header Responsive Overrides */
@media (max-width: 768px) {
  header {
    padding: 0 15px;
  }

  .brand-name {
    font-size: 1.2rem;
  }

  .brand-name span {
    font-size: 0.8rem;
  }

  /* Badge visible on mobile now */
  .badge-247 {
    padding: 2px 6px;
    font-size: 0.6rem;
  }

  .nav-cta {
    padding: 8px;
    width: 38px;
    height: 38px;
    justify-content: center;
  }

  .nav-cta span {
    display: none;
  }

  /* Hide text, icon only */
  .nav-cta i {
    margin: 0;
    font-size: 1rem;
  }
}


.nav-cta:hover {
  background: var(--accent-hover);
  transform: scale(1.05);
}

/* --- HERO SECTION --- */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 70px;
  /* Offset for fixed header */
  background: radial-gradient(circle at center, rgba(58, 31, 18, 0.4) 0%, var(--bg-dark) 70%);
  overflow: hidden;
}

/* Dynamic background pattern */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffb703' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

.hero-content {
  text-align: center;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  animation: fadeUp 0.8s ease-out;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 183, 3, 0.1);
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.1;
  color: var(--primary);
  /* Gold */
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: var(--bg-dark);
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 0 20px rgba(255, 183, 3, 0.4);
}

.btn-secondary {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-secondary:hover {
  background: rgba(255, 183, 3, 0.1);
}

.btn-whatsapp {
  background: var(--success);
  color: #fff;
}

.btn-whatsapp:hover {
  background: #1ebc57;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.3);
}

/* --- SERVICES GRID --- */
.section {
  padding: 80px 5%;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.section-title span {
  color: var(--primary);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 30px;
  border-radius: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: var(--primary);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  display: inline-block;
  background: rgba(255, 183, 3, 0.1);
  padding: 15px;
  border-radius: 12px;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--text-main);
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.card-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* --- FEATURES / WHY CHOOSE US --- */
.features-container {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 24px;
  padding: 40px;
  border: 1px solid var(--border);
}

.feature-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.feature-item:last-child {
  margin-bottom: 0;
}

.feature-icon {
  min-width: 50px;
  height: 50px;
  background: var(--bg-dark);
  border: 1px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
}

/* --- FOOTER --- */
footer {
  background: linear-gradient(to bottom, #080503, #000000);
  padding: 80px 5% 120px;
  /* Extra padding for mobile/sticky elements */
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.5;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 50px;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.footer-logo-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  margin-bottom: 25px;
  box-shadow: 0 0 20px rgba(255, 183, 3, 0.1);
}

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  color: var(--primary);
  /* Gold */
  margin-bottom: 25px;
  font-size: 1.3rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 15px;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

/* --- TICKER --- */
/* Fixed banner bug: Made thinner (36px) */
.ticker-wrap {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: var(--primary);
  color: var(--bg-dark);
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 999;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

/* Hide ticker on mobile if we have sticky buttons */
@media(max-width: 768px) {
  .ticker-wrap {
    bottom: 70px;
    font-size: 0.8rem;
    height: 30px;
  }
}

.ticker {
  display: inline-block;
  white-space: nowrap;
  animation: scroll 20s linear infinite;
  padding-left: 100%;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* --- MOBILE CTA --- */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  background: var(--bg-dark);
  padding: 10px;
  gap: 10px;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

.mobile-btn {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.m-call {
  background: var(--accent);
  color: white;
}

.m-wa {
  background: var(--success);
  color: white;
}

/* --- ANIMATIONS --- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .nav-links {
    display: none;
  }

  .mobile-sticky-bar {
    display: flex;
  }

  header {
    padding: 0 15px;
  }

  .section {
    padding: 60px 15px;
  }

  /* Fix Grid for Mobile */
  .grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  /* Feature items stack */
  .features-container .feature-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* --- INTRO ANIMATION --- */
#intro-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.intro-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--primary);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInDown 0.8s forwards;
}

.intro-text-1 {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  /* Gold per request */
  opacity: 0;
  animation: fadeInUp 0.8s 0.5s forwards;
}

.intro-text-2 {
  font-family: 'Outfit', sans-serif;
  font-size: 4rem;
  font-weight: 900;
  color: var(--primary);
  /* Gold */
  line-height: 0.8;
  opacity: 0;
  animation: fadeInUp 0.8s 1s forwards;
}

.intro-text-3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-top: 15px;
  opacity: 0;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeIn 1s 1.5s forwards;
}

/* --- TEXT ANIMATIONS --- */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.text-reveal {
  background: linear-gradient(to right, var(--primary) 20%, #ffe6a7 40%, var(--primary) 60%);
  /* Gold gradient */
  background-size: 200% auto;
  color: var(--primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 3s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

/* --- DISPATCH FAB --- */
.dispatch-fab {
  position: fixed;
  bottom: 100px;
  right: 30px;
  background: var(--accent);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 5px 20px rgba(229, 56, 59, 0.4);
  z-index: 998;
  cursor: pointer;
  transition: transform 0.3s;
  animation: pulse-red 2s infinite;
}

.dispatch-fab:hover {
  transform: scale(1.1);
}

@keyframes pulse-red {
  0% {
    box-shadow: 0 0 0 0 rgba(229, 56, 59, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(229, 56, 59, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(229, 56, 59, 0);
  }
}