:root {
  --background: #f8f4ef;
  --foreground: #2b2b2b;
  --primary: #b59b77;
  --secondary: #a19890;
  --muted: #ebe4db;
  --muted-foreground: #8f857d;
  --border: #dfd6cb;
  --overlay: #000000;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--background);
  color: var(--foreground);
}
h1,h2,h3,h4,h5,h6 { font-family: "Playfair Display", serif; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
.font-serif { font-family: "Playfair Display", serif; }
.min-h-screen { min-height: 100vh; }
.bg-background { background: var(--background); }
.bg-muted { background: var(--muted); }
.bg-muted\/40 { background: rgba(235, 228, 219, 0.4); }
.bg-primary { background: var(--primary); }
.bg-primary\/5 { background: rgba(181, 155, 119, 0.05); }
.bg-primary\/10 { background: rgba(181, 155, 119, 0.10); }
.bg-primary\/20 { background: rgba(181, 155, 119, 0.20); }
.bg-accent\/20 { background: rgba(181, 155, 119, 0.2); }
.bg-accent\/30 { background: rgba(181, 155, 119, 0.3); }
.bg-background\/80 { background: rgba(248, 244, 239, 0.8); }
.bg-background\/90 { background: rgba(248, 244, 239, 0.9); }
.bg-background\/95 { background: rgba(248, 244, 239, 0.95); }
.bg-black\/40 { background: rgba(0, 0, 0, 0.4); }
.text-background { color: var(--background); }
.text-foreground { color: var(--foreground); }
.text-foreground\/70 { color: rgba(43, 43, 43, 0.7); }
.text-foreground\/80 { color: rgba(43, 43, 43, 0.8); }
.text-foreground\/90 { color: rgba(43, 43, 43, 0.9); }
.text-muted-foreground { color: var(--muted-foreground); }
.text-primary { color: var(--primary); }
.text-primary-foreground { color: var(--background); }
.text-white { color: #fff; }
.text-white\/60 { color: rgba(255,255,255,.6); }
.text-white\/70 { color: rgba(255,255,255,.7); }
.text-white\/80 { color: rgba(255,255,255,.8); }
.border { border: 1px solid var(--border); }
.border-t { border-top: 1px solid var(--border); }
.border-b { border-bottom: 1px solid var(--border); }
.border-l-2 { border-left: 2px solid var(--primary); }
.border-border { border-color: var(--border); }
.border-border\/50 { border-color: rgba(223, 214, 203, .5); }
.border-border\/60 { border-color: rgba(223, 214, 203, .6); }
.border-primary\/30 { border-color: rgba(181, 155, 119, .3); }
.border-primary\/40 { border-color: rgba(181, 155, 119, .4); }
.border-primary\/50 { border-color: rgba(181, 155, 119, .5); }
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.inset-0 { inset: 0; }
.inset-x-0 { left: 0; right: 0; }
.top-0 { top: 0; }
.top-3 { top: .75rem; }
.bottom-0 { bottom: 0; }
.bottom-6 { bottom: 1.5rem; }
.right-0 { right: 0; }
.right-3 { right: .75rem; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.z-50 { z-index: 50; }
.z-10 { z-index: 10; }
.-z-10 { z-index: -10; }
.w-full { width: 100%; }
.w-12 { width: 3rem; }
.w-40 { width: 10rem; }
.w-24 { width: 6rem; }
.w-5 { width: 1.25rem; }
.w-2\.5 { width: .625rem; }
.h-full { height: 100%; }
.h-16 { height: 4rem; }
.h-12 { height: 3rem; }
.h-24 { height: 6rem; }
.h-40 { height: 10rem; }
.h-5 { height: 1.25rem; }
.h-px { height: 1px; }
.h-\[4\.2rem\] { height: 4.2rem; }
.max-w-7xl { max-width: 80rem; margin-left: auto; margin-right: auto; }
.max-w-6xl { max-width: 72rem; margin-left: auto; margin-right: auto; }
.max-w-4xl { max-width: 56rem; margin-left: auto; margin-right: auto; }
.max-w-3xl { max-width: 48rem; margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 42rem; margin-left: auto; margin-right: auto; }
.max-w-xl { max-width: 36rem; margin-left: auto; margin-right: auto; }
.max-w-md { max-width: 28rem; margin-left: auto; margin-right: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.my-0 { margin-top: 0; margin-bottom: 0; }
.mb-1 { margin-bottom: .25rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: .75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.mt-20 { margin-top: 5rem; }
.px-3 { padding-left: .75rem; padding-right: .75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: .25rem; padding-bottom: .25rem; }
.py-3 { padding-top: .75rem; padding-bottom: .75rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-2 { padding-top: .5rem; }
.pt-12 { padding-top: 3rem; }
.pt-24 { padding-top: 6rem; }
.pb-1 { padding-bottom: .25rem; }
.pb-6 { padding-bottom: 1.5rem; }
.p-3 { padding: .75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.gap-2 { gap: .5rem; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }
.shrink-0 { flex-shrink: 0; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-xs { font-size: .75rem; line-height: 1rem; }
.text-sm { font-size: .875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.font-medium { font-weight: 500; }
.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }
.tracking-\[0\.2em\] { letter-spacing: .2em; }
.tracking-\[0\.3em\] { letter-spacing: .3em; }
.tracking-\[0\.15em\] { letter-spacing: .15em; }
.tracking-wide { letter-spacing: .025em; }
.leading-relaxed { line-height: 1.625; }
.leading-tight { line-height: 1.2; }
.rounded-sm { border-radius: .125rem; }
.rounded-md { border-radius: .375rem; }
.rounded-lg { border-radius: .5rem; }
.rounded-full { border-radius: 9999px; }
.overflow-hidden { overflow: hidden; }
.object-cover { object-fit: cover; }
.aspect-\[3\/4\] { aspect-ratio: 3 / 4; }
.aspect-\[16\/9\] { aspect-ratio: 16 / 9; }
.rotate-45 { transform: rotate(45deg); }
.translate-x-4 { transform: translateX(1rem); }
.transition-all { transition: all .3s ease; }
.transition-colors { transition: color .3s ease, background-color .3s ease, border-color .3s ease; }
.duration-300 { transition-duration: .3s; }
.duration-500 { transition-duration: .5s; }
.duration-700 { transition-duration: .7s; }
.hover\:bg-primary\/85:hover { background: rgba(181, 155, 119, .85); }
.hover\:bg-primary\/90:hover { background: rgba(181, 155, 119, .9); }
.hover\:bg-primary:hover { background: var(--primary); }
.hover\:bg-muted:hover { background: var(--muted); }
.hover\:text-foreground:hover { color: var(--foreground); }
.hover\:text-primary:hover { color: var(--primary); }
.hover\:tracking-\[0\.25em\]:hover { letter-spacing: .25em; }
.hover\:opacity-80:hover { opacity: .8; }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-110:hover { transform: scale(1.1); }
.hover-lift { transition: transform .4s ease, box-shadow .4s ease; }
.hover-lift:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -12px rgba(43, 43, 43, .08); }
.backdrop-blur-md { backdrop-filter: blur(10px); }
.shadow-lg { box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:bg-foreground\/10 { background: rgba(43, 43, 43, .1); }
.group-hover\:scale-110:hover { transform: scale(1.1); }
.animate-fade-in-up { animation: fade-in-up .8s ease-out both; }
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.scroll-hidden { opacity: 0; transform: translateY(40px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.scroll-visible { opacity: 1; transform: translateY(0); }

.bg-transparent { background: transparent; }
.border-none { border: none; }
#site-header .hdb-header-link { color: rgba(255,255,255,.9); text-shadow: 0 1px 2px rgba(0,0,0,.5); }
#site-header.is-scrolled .hdb-header-link { color: rgba(43,43,43,.7); text-shadow: none; }
#hdb-mobile-toggle { background: transparent !important; border: none !important; }
#hdb-mobile-toggle .hidden { display: none !important; }
#site-header.is-scrolled #hdb-mobile-toggle { color: var(--foreground); text-shadow: none; }
.hdb-logo-invert { filter: brightness(0) invert(1); }
#site-header.is-scrolled .hdb-logo-invert { filter: none; }

.hdb-carousel-wrapper { overflow: hidden; }
.hdb-carousel-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.hdb-carousel-track::-webkit-scrollbar { display: none; }
.hdb-carousel-item {
  min-width: 72%;
  scroll-snap-align: start;
}
.hdb-carousel-prev,
.hdb-carousel-next {
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
}
input, select, textarea, button {
  font: inherit;
  color: inherit;
}
button { cursor: pointer; }
#hdb-contact-form button[type="submit"] { border: 1px solid transparent; }

@media (min-width: 768px) {
  .md\:hidden { display: none; }
  .md\:flex { display: flex; }
  .md\:block { display: block; }
  .md\:h-20 { height: 5rem; }
  .md\:h-\[5\.25rem\] { height: 5.25rem; }
  .md\:px-12 { padding-left: 3rem; padding-right: 3rem; }
  .md\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
  .md\:pt-28 { padding-top: 7rem; }
  .md\:p-10 { padding: 2.5rem; }
  .md\:gap-8 { gap: 2rem; }
  .md\:gap-12 { gap: 3rem; }
  .md\:gap-16 { gap: 4rem; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:text-5xl { font-size: 3rem; line-height: 1; }
  .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .md\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:text-base { font-size: 1rem; line-height: 1.5rem; }
  .md\:aspect-\[21\/9\] { aspect-ratio: 21 / 9; }
  .hdb-carousel-item { min-width: 32%; }
}
@media (min-width: 1024px) {
  .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .lg\:text-7xl { font-size: 4.5rem; line-height: 1; }
  .hdb-carousel-item { min-width: 24%; }
}

/* Placeholder styles for customizer preview - new rows visible only in Appearance > Customize */
.border-2 { border-width: 2px; }
.border-dashed { border-style: dashed; }
.hdb-placeholder {
  opacity: 0.9;
  pointer-events: none;
}

/* En customizer: las secciones siempre visibles durante la personalización */
.hdb-customizer-preview .scroll-hidden {
  opacity: 1;
  transform: translateY(0);
}
