/* ========== BASE ========== */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ========== HEADER SCROLL STATE ========== */
#header.scrolled { background: rgba(10, 10, 10, 0.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 1px 8px rgba(0,0,0,0.3); }
#header.scrolled a:not(.btn-primary) { color: #FFFFFF; }
#header.scrolled .nav-link { color: #FFFFFF !important; }
#header.scrolled .nav-link:hover { color: #C9A876 !important; }

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-block;
  padding: 14px 40px;
  background: #C9A876;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}
.btn-primary:hover { background: #A98A55; box-shadow: 0 4px 12px rgba(201, 168, 118, 0.35); }
.btn-primary:active { transform: scale(0.98); }

.btn-outline {
  display: inline-block;
  padding: 14px 40px;
  background: transparent;
  color: #C9A876;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid #C9A876;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}
.btn-outline:hover { background: #C9A876; color: #0A0A0A; }
.btn-outline:active { transform: scale(0.98); }

/* ========== EYEBROW ========== */
.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #C9A876;
  margin-bottom: 20px;
}
.eyebrow::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: #C9A876;
  margin: 12px auto 0;
}
@media (min-width: 1024px) {
  .eyebrow::after { margin: 12px 0 0; }
}

/* ========== HERO PORTRAIT ========== */
.hero-portrait-wrap { position: relative; }
.hero-portrait-line {
  position: absolute;
  top: -16px;
  left: -16px;
  width: calc(100% + 32px);
  height: calc(100% + 32px);
  border: 1px solid rgba(201, 168, 118, 0.45);
  z-index: 0;
}
.hero-portrait-wrap img { transform: scale(1.12); will-change: transform; }

/* ========== FLOATING WHATSAPP ========== */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.whatsapp-float svg { width: 28px; height: 28px; fill: #FFFFFF; }
.whatsapp-float:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45); }
.whatsapp-float::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: pulse-wa 2s ease-out infinite;
}
@keyframes pulse-wa {
  0% { transform: scale(1); opacity: 0.7; }
  70%, 100% { transform: scale(1.55); opacity: 0; }
}

/* ========== BADGE ========== */
.badge-dark {
  display: inline-block;
  padding: 4px 12px;
  background: #222222;
  color: #CCCCCC;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  border-radius: 16px;
}

/* ========== REVEAL ANIMATIONS ========== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========== MENU CARDS ========== */
.menu-card {
  transform: scale(var(--card-scale, 1));
  opacity: var(--card-opacity, 1);
  transition: box-shadow 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
  will-change: transform, opacity;
}
.menu-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.3); transform: translateY(-4px) scale(var(--card-scale, 1)); }
.menu-card > div > img { transition: transform 0.5s ease; }
.menu-card:hover > div > img { transform: scale(1.06); }

/* ========== MENU SCROLL (mobile carousel) ========== */
#menu-scroll { -ms-overflow-style: none; scrollbar-width: none; }
#menu-scroll::-webkit-scrollbar { display: none; }

@media (max-width: 1023px) {
  #menu-scroll { scroll-padding-inline: 1.5rem; }
}

/* ========== SERVICE CARDS ========== */
.service-card { transition: box-shadow 0.3s ease, transform 0.3s ease; }
.service-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.3); transform: translateY(-4px); }

/* ========== GALLERY ========== */
.gallery-item img { transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.08); }

/* ========== LIGHTBOX ========== */
#lightbox { transition: opacity 0.3s ease; }
#lightbox.open { display: flex; opacity: 1; }
#lightbox:not(.open) { opacity: 0; pointer-events: none; }

/* ========== FORM ========== */
input:focus, select:focus, textarea:focus { outline: none; }
input, select, textarea { color-scheme: dark; }
select option { background: #151515; color: #FFFFFF; }
input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); }

/* ========== EXPERIENCE CONFIGURATOR ========== */
.exp-card { display: block; cursor: pointer; }
.exp-card input { position: absolute; opacity: 0; pointer-events: none; }
.exp-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 14px 12px;
  border: 1px solid #222222;
  background: rgba(0, 0, 0, 0.2);
  transition: all 0.25s ease;
}
.exp-card:hover .exp-box { border-color: rgba(201, 168, 118, 0.5); }
.exp-card input:checked ~ .exp-box { border-color: #C9A876; background: rgba(201, 168, 118, 0.08); }
.exp-card input:focus-visible ~ .exp-box { outline: 2px solid #C9A876; outline-offset: 2px; }
.exp-icon { width: 22px; height: 22px; color: #C9A876; margin-bottom: 4px; }
.exp-name { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 500; color: #FFFFFF; line-height: 1.2; }
.exp-desc { font-size: 11px; color: rgba(255, 255, 255, 0.45); line-height: 1.3; }

.chip {
  padding: 8px 16px;
  border: 1px solid #222222;
  background: rgba(0, 0, 0, 0.2);
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.chip:hover { border-color: rgba(201, 168, 118, 0.5); color: #FFFFFF; }
.chip.selected { border-color: #C9A876; background: rgba(201, 168, 118, 0.15); color: #FFFFFF; }

.range-input { -webkit-appearance: none; appearance: none; height: 4px; border-radius: 2px; background: #222222; outline: none; cursor: pointer; }
.range-input::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: #C9A876; border: 2px solid #0A0A0A;
  transition: transform 0.2s ease;
}
.range-input::-webkit-slider-thumb:hover { transform: scale(1.15); }
.range-input::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #C9A876; border: 2px solid #0A0A0A; }
.range-input::-moz-range-track { height: 4px; border-radius: 2px; background: #222222; }

/* ========== KEYFRAMES ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 640px) {
  .btn-primary, .btn-outline { padding: 12px 32px; font-size: 13px; }
  #hero h1 { font-size: 2.5rem; }
  #hero p { font-size: 1rem; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 50px; height: 50px; }
}
