:root {
  --color-primary: #0F0F0F;
  --color-secondary: #FFFFFF;
  --color-accent: #D8A962;
  --color-accent-dark: #977645;
  --color-bg: #F5F5F5;
  --color-text: #1A1A1A;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--color-text);
  background-color: var(--color-secondary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* FAQ accordion */
.faq-answer {
  display: none;
}

.faq-answer.is-open {
  display: block;
}

.faq-icon.rotated {
  transform: rotate(180deg);
}

/* Image placeholders */
.img-placeholder {
  user-select: none;
}

/* Form input focus ring */
input:focus,
textarea:focus,
select:focus {
  outline: none;
}

/* Smooth nav link underline */
nav a {
  text-decoration: none;
}

/* Gallery hover effect */
.gallery-item {
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Mobile menu transition */
#mobile-menu {
  transition: opacity 0.2s ease;
}

/* Netlify form success */
.form-success {
  display: none;
  background-color: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 12px;
  padding: 16px;
  color: #16a34a;
  font-size: 0.875rem;
  text-align: center;
}

/* Scrollbar styling */
html {
  scrollbar-width: auto;
  scrollbar-color: #9ca3af #f1f1f1;
}

::-webkit-scrollbar {
  width: 14px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #9ca3af;
  border-radius: 8px;
  border: 3px solid #f1f1f1;
}
::-webkit-scrollbar-thumb:hover {
  background: #6b7280;
}

/* Print */
@media print {
  header, footer, #contacto form, .no-print { display: none !important; }
  body { color: black; background: white; }
}
