/* --- HERO HEADER STYLES --- */

/* Header normal (sin scroll) */
header {
  background-color: transparent;
  position: relative;
  z-index: 100;
  padding: 1.5rem 0;
  transition: all 0.3s ease;
}

/* Header cuando hace scroll */
header.scrolled {
  background-color: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  position: sticky;
  top: 0;
  z-index: 990;
  padding: 1rem 0;
}

/* Desktop scroll mode - show hamburger directly without !important hack */
header.scrolled-desktop #hamburger-toggle {
  display: block !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Hamburger visibility fix for desktop scrolled state */
header.scrolled-desktop .nav-links {
  display: none !important;
}

/* Navigation flex layout */
nav.flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  z-index: 1001;
}

.logo img {
  max-height: 30px;
  width: auto;
}

/* Botón de contacto */
.btn-primary {
  flex-shrink: 0;
  z-index: 1003;
  margin-left: auto;
  position: relative;
}

/* Repositionar botón en scroll desktop - a 40px del logo */
header.scrolled-desktop .btn-primary {
  margin-left: 0;
  margin-right: auto;
  order: 2;
}

header.scrolled-desktop nav.flex {
  justify-content: flex-start;
  gap: 40px;
}

/* --- OFFICE CARDS (POSTALES) --- */
.postales {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.postales-image {
  background: var(--color-surface);
  border-radius: 12px;
  height: 350px;
  overflow: hidden;
  margin-bottom: 16px;
}

.postales-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.postales-title {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0.5rem 0 0 0;
}

.postales-address {
  font-family: var(--font-body);
  font-size: 1rem;
  margin: 0;
  color: var(--text-secondary);
}

/* --- SOCIAL MEDIA ICONS --- */
.social-icons-container {
  display: flex;
  justify-content: flex-start;
  gap: 1.5rem;
  padding: 2rem 0;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1.5px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #fff;
  padding: 0;
}

.social-icon-btn:hover {
  background-color: #fff;
  color: #000;
  transform: translateY(-4px);
}

.social-icon-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}
