/* ============================================
   GLOBAL STYLES & VARIABLES
   ============================================ */

:root {
  --primary: #1a1a2e;
  --secondary: #d4af37;
  --accent: #ff6b35;
  --bg-light: #f5f5f5;
  --text-dark: #1a1a2e;
  --text-light: #666;
  --border-color: #e0e0e0;
  --font-body: 'Roboto', sans-serif;
  --font-heading: 'Poppins', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
  background: #fff;
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 40px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--secondary);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--primary);
}

.section-header h2 span {
  color: var(--secondary);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.divider {
  width: 60px;
  height: 4px;
  background: var(--secondary);
  margin: 20px auto 0;
}

/* ============================================
   TOP BAR
   ============================================ */

.top-bar {
  background: var(--primary);
  color: #fff;
  padding: 12px 0;
  font-size: 0.9rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-left a,
.top-bar-left span {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.top-bar-left a:hover {
  color: var(--secondary);
}

.top-bar-left .sep {
  color: rgba(255, 255, 255, 0.3);
}

.top-bar-right {
  display: flex;
  align-items: center;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 50%;
  transition: all 0.3s;
  text-decoration: none;
}

.social-icons a:hover {
  background: var(--secondary);
  color: var(--primary);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-radius: 8px;
  font-size: 1.5rem;
}

.logo-text .brand {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.logo-text .tagline {
  font-size: 0.75rem;
  color: var(--secondary);
  font-weight: 600;
}

nav#mainNav ul {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}

nav#mainNav a {
  display: block;
  padding: 8px 16px;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s;
  position: relative;
}

nav#mainNav a:hover,
nav#mainNav a.active {
  color: var(--secondary);
  background: rgba(212, 175, 55, 0.08);
}

.nav-cta {
  background: var(--secondary) !important;
  color: var(--primary) !important;
  font-weight: 700;
  padding: 10px 18px !important;
  border-radius: 20px;
}

.nav-cta:hover {
  background: var(--accent) !important;
  color: #fff !important;
}

.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  list-style: none;
  min-width: 200px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s;
  margin-top: 8px;
  z-index: 1000;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li {
  border-bottom: 1px solid var(--border-color);
}

.dropdown li:last-child {
  border-bottom: none;
}

.dropdown a {
  display: block;
  padding: 12px 16px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.dropdown a:hover {
  background: var(--bg-light);
  color: var(--secondary);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================
   PAGE HERO
   ============================================ */

.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #2d2d44 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 24px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.breadcrumb a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: var(--secondary);
}

.breadcrumb span {
  color: var(--secondary);
}

.breadcrumb .current {
  color: var(--secondary);
  font-weight: 600;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--secondary);
  color: var(--primary);
}

.btn-primary:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(255, 107, 53, 0.3);
}

.btn-dark {
  background: var(--primary);
  color: #fff;
}

.btn-dark:hover {
  background: var(--secondary);
  color: var(--primary);
}

.btn-white {
  background: #fff;
  color: var(--primary);
}

.btn-white:hover {
  background: var(--bg-light);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-outline-white:hover {
  background: #fff;
  color: var(--primary);
}

.btn-full {
  width: 100%;
}

/* ============================================
   CARDS & COMPONENTS
   ============================================ */

.card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.reveal {
  animation: reveal 0.6s ease-out forwards;
  opacity: 0;
}

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

.reveal-left {
  animation: reveal-left 0.6s ease-out forwards;
  opacity: 0;
}

@keyframes reveal-left {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.reveal-right {
  animation: reveal-right 0.6s ease-out forwards;
  opacity: 0;
}

@keyframes reveal-right {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: var(--primary);
  color: #fff;
  padding-top: 60px;
}

.footer-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
  line-height: 1.8;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 6px;
  font-size: 1.2rem;
}

.footer-logo .text .brand {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #fff;
}

.footer-logo .text .tag {
  font-size: 0.75rem;
  color: var(--secondary);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s;
}

.footer-social a:hover {
  background: var(--secondary);
  color: var(--primary);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

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

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact-item .ico {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--secondary);
  flex-shrink: 0;
}

.footer-contact-item div {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-contact-item a {
  color: var(--secondary);
  text-decoration: none;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-inner a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom-inner a:hover {
  color: #fff;
}

/* ============================================
   FOOTER BACKLINK SECTION
   ============================================ */

.footer-backlink-section {
  width: 100%;
  margin-top: 24px;
}

.footer-backlink-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.footer-backlink-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 12px;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-sizing: border-box;
  word-break: break-word;
  transition: all 0.2s ease;
}

.footer-backlink-grid a:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

@media (max-width: 768px) {
  .footer-backlink-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .footer-backlink-grid a {
    min-height: 44px;
    padding: 9px 10px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .footer-backlink-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   FIXED BUTTONS
   ============================================ */

.whatsapp-btn,
.call-fixed {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
  z-index: 50;
}

.whatsapp-btn {
  background: #25d366;
  bottom: 80px;
}

.whatsapp-btn:hover {
  background: #1fa855;
  transform: scale(1.1);
}

.call-fixed {
  background: var(--secondary);
  color: var(--primary);
}

.call-fixed:hover {
  background: var(--accent);
  color: #fff;
  transform: scale(1.1);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  nav#mainNav {
    display: none;
  }

  .section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .top-bar .container {
    flex-direction: column;
    gap: 12px;
  }

  .top-bar-left {
    justify-content: center;
    width: 100%;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
  text-align: center;
}

.text-white {
  color: #fff;
}

.bg-primary {
  background: var(--primary);
}

.bg-secondary {
  background: var(--secondary);
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

.py-40 {
  padding: 40px 0;
}
