/* ============================================
   SERVICE PAGES — Shared Styles
   Used by premios-empresa, trofeos-deportivos,
   disenos-especiales, personalizacion
============================================ */

/* Header (service pages use a simpler sticky header) */
header {
  background: rgba(10, 10, 11, 0.95);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 50;
}

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

.logo {
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: var(--muted-foreground);
  border-bottom: 1px solid var(--border);
  background: var(--background);
}
.breadcrumbs a { transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs span { margin: 0 0.5rem; }

/* Hero */
.hero {
  padding: 4rem 0 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.icon-wrapper {
  width: 80px;
  height: 80px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin: 0 auto 2rem;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #e4c06e, #c9a84c, #a07830);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  color: var(--muted-foreground);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Content Sections */
.content-section { padding: 4rem 0; }
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.feature-img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.feature-content h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}
.feature-content p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s;
  gap: 0.5rem;
}
.btn-gold {
  background: var(--gold);
  color: #000;
  border: none;
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}
.btn-outline {
  border: 1px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover {
  background: rgba(201,168,76,0.1);
}

/* Gallery Section (service pages) */
.gallery-section {
  padding: 5rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
@media (min-width: 640px) { .gallery-section { padding: 7rem 0; } }

/* Footer */
footer {
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid var(--border);
  color: var(--muted-foreground);
}
footer a { color: var(--gold); transition: color 0.2s; }
footer a:hover { color: var(--gold-light); }

/* Desktop Nav & Dropdowns */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
  align-self: center;
}
@media (min-width: 1024px) { .nav-desktop { display: flex; } }

.nav-link {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
  transition: color 0.2s;
  color: var(--muted-foreground);
}
.nav-link:hover { color: var(--foreground); }
.nav-link.active { color: var(--gold); }

.nav-cta {
  margin-left: 0.75rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.375rem;
  background: var(--gold);
  color: var(--background);
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--gold-light); }

.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--surface);
  min-width: 220px;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  z-index: 100;
  top: 100%;
  left: 0;
  padding: 0.5rem 0;
}
.dropdown:hover .dropdown-content {
  display: block;
  animation: fadeInNav 0.2s ease-in-out;
}
@keyframes fadeInNav {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.dropdown-content a {
  color: var(--muted-foreground);
  padding: 10px 20px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  transition: all 0.2s;
  text-align: left;
}
.dropdown-content a:hover {
  background-color: rgba(255,255,255,0.05);
  color: var(--gold);
}
.dropdown-content a.active {
  color: var(--gold);
}
/* Subdropdown CSS */
.dropdown-submenu {
  position: relative;
}
.dropdown-submenu .submenu-content {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background-color: var(--surface);
  min-width: 220px;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  padding: 0.5rem 0;
  margin-left: 2px;
  z-index: 101;
}
.dropdown-submenu:hover .submenu-content {
  display: block;
  animation: fadeInSubNav 0.2s ease-in-out;
}
@keyframes fadeInSubNav {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  padding: 0.5rem;
  color: var(--muted-foreground);
  background: transparent;
  border: none;
  cursor: pointer;
  align-self: center;
}
.mobile-menu-btn:hover { color: var(--foreground); }
#mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: rgba(10, 10, 11, 0.98);
  backdrop-filter: blur(20px);
  align-items: center;
  justify-content: center;
}
#mobile-menu.open { display: flex; }
#mobile-menu .mobile-close {
  position: absolute;
  top: 1.25rem;
  right: 1rem;
  padding: 0.5rem;
  color: var(--muted-foreground);
  background: none;
  border: none;
  cursor: pointer;
}
#mobile-menu .mobile-menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2rem 1.5rem;
}
#mobile-menu .mobile-nav-link {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  transition: color 0.2s;
  padding: 0.5rem 1rem;
  text-decoration: none;
}
#mobile-menu .mobile-nav-link:hover,
#mobile-menu .mobile-nav-link.active { color: var(--gold); }
#mobile-menu .mobile-sublink {
  font-size: 1.1rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
  padding: 0.25rem 1rem;
  text-decoration: none;
}
#mobile-menu .mobile-sublink:hover { color: var(--gold); }
#mobile-menu .mobile-cta {
  margin-top: 1rem;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.375rem;
  background: var(--gold);
  color: var(--background);
  text-decoration: none;
  transition: background 0.2s;
}
#mobile-menu .mobile-cta:hover { background: var(--gold-light); }

/* Mobile overrides */
@media (max-width: 768px) {
  header .btn-outline { display: none !important; }
  .mobile-menu-btn { display: flex; }
}
