/* ===== GLOBAL DESIGN SYSTEM ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --fire: #ff4500;
  --fire-dark: #cc2200;
  --gold: #e8a020;
  --bg: #0a0602;
  --bg2: #110c04;
  --bg3: #1a1208;
  --surface: #1e1508;
  --border: rgba(255,69,0,0.18);
  --text: #f5ede0;
  --muted: #9a8070;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 16px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--fire); border-radius: 3px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(10,6,2,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s;
}

.navbar.scrolled { padding: 0.6rem 2rem; }

.logo {
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.logo span { color: var(--fire); }

.logo-img {
  height: 64px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: opacity 0.2s;
}
.logo-img:hover { opacity: 0.85; }

.logo-img--footer {
  height: 80px;
  filter: brightness(1.1);
}

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

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--fire);
  transition: width 0.3s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--fire); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* CRM BUTTON */
.btn-crm {
  padding: 0.55rem 1.2rem;
  background: var(--fire);
  border: 1.5px solid var(--fire);
  color: #fff;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(255,69,0,0.35);
}
.btn-crm:hover {
  background: var(--fire-dark);
  border-color: var(--fire-dark);
  color: #fff;
  box-shadow: 0 0 30px rgba(255,69,0,0.65);
  transform: translateY(-2px);
}

/* desktop CRM visible, mobile CRM item hidden */
.nav-crm-mobile { display: none; }

/* right side group: CRM + burger */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

/* BURGER */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  position: relative;
  z-index: 1100;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
}

.btn-fire {
  background: var(--fire);
  color: #fff;
  box-shadow: 0 0 24px rgba(255,69,0,0.4);
}
.btn-fire:hover {
  background: var(--fire-dark);
  box-shadow: 0 0 40px rgba(255,69,0,0.7);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--fire);
  color: var(--fire);
  transform: translateY(-2px);
}

.btn-sm {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  background: var(--fire);
  color: #fff;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-sm:hover { background: var(--fire-dark); transform: translateY(-1px); }

.full-btn { width: 100%; justify-content: center; }

/* ===== TAG PILL ===== */
.tag-pill {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: rgba(255,69,0,0.12);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fire);
  margin-bottom: 1rem;
}

/* ===== SECTION HEAD ===== */
.section-head {
  text-align: center;
  margin-bottom: 3rem;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: 2px;
  line-height: 1.1;
}
.section-head h2 em { color: var(--fire); font-style: normal; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.ph-bg-text {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(6rem, 22vw, 18rem);
  color: rgba(255,69,0,0.04);
  letter-spacing: 10px;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.ph-content { position: relative; z-index: 1; }
.ph-content h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 6rem);
  letter-spacing: 3px;
  line-height: 1.05;
  margin-bottom: 1rem;
}
.ph-content h1 em { color: var(--fire); font-style: normal; }
.ph-content p { color: var(--muted); font-size: 1.1rem; }

/* ===== CTA STRIP ===== */
.cta-strip {
  background: linear-gradient(135deg, var(--bg2), var(--bg3));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 2rem;
  text-align: center;
}
.cta-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  letter-spacing: 3px;
  margin-bottom: 2rem;
}
.cta-strip h2 span { color: var(--fire); }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 5rem 2rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 2px;
  color: var(--fire);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.footer-about p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 1.5rem 0;
  max-width: 300px;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}
.footer-social-link {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.3s;
}
.footer-social-link:hover {
  background: var(--fire);
  border-color: var(--fire);
  color: #fff;
  transform: translateY(-3px);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--fire); }

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-contact-info p {
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  gap: 0.8rem;
}
.footer-contact-info span { color: var(--fire); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy { color: var(--muted); font-size: 0.85rem; }
.footer-legal { display: flex; gap: 2rem; }
.footer-legal a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .footer-about p { margin-left: auto; margin-right: auto; }
  .footer-socials { justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar { padding: 1rem 1.2rem; }

  .burger { display: flex; }
  .nav-crm-desktop { display: none; }
  .nav-crm-mobile { display: flex; align-items: center; }
  .nav-crm-mobile .btn-crm { font-size: 0.9rem; padding: 0.65rem 1.6rem; }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 75vw;
    max-width: 300px;
    height: 100vh;
    background: var(--bg2);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
    border-left: 1px solid var(--border);
    z-index: 1050;
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1.1rem; }

  .btn { padding: 0.75rem 1.5rem; font-size: 0.85rem; }
}

/* ===== FLOATING ACTIONS ===== */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 2000;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255,255,255,0.1);
}

.float-btn:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 8px 25px rgba(255,69,0,0.3);
}

.float-btn.whatsapp { background: #25D366; color: white; }
.float-btn.call { background: var(--fire); color: white; }
.float-btn.map { background: var(--gold); color: white; }

@media (max-width: 768px) {
  .floating-actions { bottom: 1.5rem; right: 1.5rem; gap: 0.8rem; }
  .float-btn { width: 50px; height: 50px; font-size: 1.3rem; }
}
