/* CSS Optimizado para Producción (con estilos base) */
:root {
    --brand-red: #940a0a;
    --brand-dark: #1e1e1e;
    --brand-light-grey: #e4e4e4;
    --brand-medium-grey: #696969;
}

/* Tailwind CSS Base Styles (Preflight) */
*, ::before, ::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: #e5e7eb; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; -moz-tab-size: 4; tab-size: 4; font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; }
body { margin: 0; line-height: inherit; }
hr { height: 0; color: inherit; border-top-width: 1px; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: inherit; }
b, strong { font-weight: bolder; }
code, kbd, samp, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 1em; }
small { font-size: 80%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sub { bottom: -0.25em; }
sup { top: -0.5em; }
table { text-indent: 0; border-color: inherit; border-collapse: collapse; }
button, input, optgroup, select, textarea { font-family: inherit; font-size: 100%; line-height: inherit; color: inherit; margin: 0; padding: 0; }
button, select { text-transform: none; }
button, [type='button'], [type='reset'], [type='submit'] { -webkit-appearance: button; background-color: transparent; background-image: none; }
img, video, canvas, audio, iframe, embed, object { display: block; vertical-align: middle; }
img, video { max-width: 100%; height: auto; }

/* Estilos personalizados y de texto para el aviso de privacidad */
.prose { color: var(--brand-medium-grey); }
.prose p { margin-top: 1.25em; margin-bottom: 1.25em; }
.prose ul { margin-top: 1.25em; margin-bottom: 1.25em; padding-left: 1.75em; list-style-type: disc; }
.prose li { margin-top: 0.5em; margin-bottom: 0.5em; }
.prose strong { color: var(--brand-dark); }
.prose a { color: var(--brand-red); text-decoration: underline; }
.prose a:hover { color: var(--brand-dark); }

/* Estilos base y personalizados */
html { scroll-behavior: smooth; }
body {
    font-family: 'Ruda', sans-serif;
    background-color: #fff;
    color: var(--brand-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, .font-brand { font-family: 'Cormorant Garamond', serif; }
.font-highlight { font-family: 'Contrail One', cursive; }

/* Animaciones */
.scroll-reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.scroll-reveal.is-visible { opacity: 1; transform: translateY(0); }
.hero-bg { background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://res.cloudinary.com/dtdyqnzgo/image/upload/v1759771955/fachada-residencia-lujo-san-luis-potosi_cdgo23.jpg'); background-size: cover; background-position: center; }
.slide-item { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.7s ease-in-out; z-index: 1; }
.slide-item.is-active { opacity: 1; z-index: 10; }
.timeline-line::after { content: ''; position: absolute; top: 1rem; left: 1rem; right: 1rem; height: 1px; background-color: rgba(148, 10, 10, 0.2); z-index: 1; }
.timeline-step .timeline-dot { transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out; }
.timeline-step.is-visible .timeline-dot { background-color: var(--brand-red); transform: scale(1.1); }
.timeline-step.is-visible .timeline-dot span { color: white; }
.project-description { transition: opacity 0.5s ease-in-out; }
@media (max-width: 768px) {
    .timeline-line::after { left: 1rem; right: auto; top: 1rem; bottom: 1rem; width: 1px; }
}

/* Clases de Tailwind CSS generadas */
.container { width: 100%; margin-left: auto; margin-right: auto; padding-left: 1.5rem; padding-right: 1.5rem; }
@media (min-width: 640px) { .container { max-width: 640px; } }
@media (min-width: 768px) { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }
@media (min-width: 1536px) { .container { max-width: 1536px; } }

.absolute { position: absolute; }
.relative { position: relative; }
.sticky { position: sticky; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.top-1\/2 { top: 50%; }
.top-4 { top: 1rem; }
.right-0 { right: 0; }
.right-4 { right: 1rem; }
.right-6 { right: 1.5rem; }
.inset-y-0 { top: 0; bottom: 0; }
.left-4 { left: 1rem; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-50 { z-index: 50; }

.mx-auto { margin-left: auto; margin-right: auto; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mr-2 { margin-right: 0.5rem; }

.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.hidden { display: none; }
.max-w-none { max-width: none; }

.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-auto { width: auto; }
.w-full { width: 100%; }
.max-w-sm { max-width: 24rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }

.-translate-y-1\/2 { transform: translateY(-50%); }
.transform { transform: translateX(0) translateY(0) rotate(0) skewX(0) skewY(0) scaleX(1) scaleY(1); }

.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: 0.5rem; }

.border-2 { border-width: 2px; }
.border-t { border-top-width: 1px; }
.border-b-2 { border-bottom-width: 2px; }
.border-white { border-color: #fff; }
.border-gray-300 { border-color: #d1d5db; }
.border-gray-400 { border-color: #9ca3af; }
.border-gray-700 { border-color: #374151; }
.border-brand-red { border-color: var(--brand-red); }
.border-transparent { border-color: transparent; }

.bg-white { background-color: #fff; }
.bg-black { background-color: #000; }
.bg-black\/30 { background-color: rgba(0, 0, 0, 0.3); }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-transparent { background-color: transparent; }
.bg-brand-dark { background-color: var(--brand-dark); }

.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-7 { padding-left: 1.75rem; padding-right: 1.75rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.pt-10 { padding-top: 2.5rem; }
.pb-1 { padding-bottom: 0.25rem; }

.text-center { text-align: center; }
.text-left { text-align: left; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.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-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; }

.leading-tight { line-height: 1.25; }

.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }

.text-white { color: #fff; }
.text-gray-200 { color: #e5e7eb; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7281; }
.text-red-500 { color: #ef4444; }
.text-brand-red { color: var(--brand-red); }
.text-brand-light-grey { color: var(--brand-light-grey); }
.text-brand-medium-grey { color: var(--brand-medium-grey); }

.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

.outline-none { outline: 2px solid transparent; outline-offset: 2px; }
.fill-none { fill: none; }
.fill-current { fill: currentColor; }
.stroke-currentColor { stroke: currentColor; }
.stroke-linecap-round { stroke-linecap: round; }
.stroke-linejoin-round { stroke-linejoin: round; }
.stroke-width-2 { stroke-width: 2; }

.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }

.overflow-hidden { overflow: hidden; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-start { justify-content: flex-start; }
.justify-between { justify-content: space-between; }

.space-x-6 > :not([hidden]) ~ :not([hidden]) { margin-right: 0; margin-left: 1.5rem; }
.space-x-8 > :not([hidden]) ~ :not([hidden]) { margin-right: 0; margin-left: 2rem; }

.gap-4 { gap: 1rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

.aspect-\[3\/2\] { aspect-ratio: 3 / 2; }
.aspect-\[9\/16\] { aspect-ratio: 9 / 16; }

.appearance-none { appearance: none; }
.pointer-events-none { pointer-events: none; }
.whitespace-nowrap { white-space: nowrap; }

.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-shadow { transition-property: box-shadow; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }

.hover\:opacity-75:hover { opacity: 0.75; }
.hover\:opacity-80:hover { opacity: 0.8; }
.hover\:bg-brand-red:hover { background-color: var(--brand-red); }
.hover\:border-brand-red:hover { border-color: var(--brand-red); }
.hover\:bg-gray-100:hover { background-color: #f3f4f6; }
.hover\:bg-gray-200:hover { background-color: #e5e7eb; }
.hover\:border-gray-400:hover { border-color: #9ca3af; }
.hover\:bg-black\/50:hover { background-color: rgba(0, 0, 0, 0.5); }
.hover\:text-brand-light-grey:hover { color: var(--brand-light-grey); }
.hover\:text-gray-300:hover { color: #d1d5db; }

.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:ring-1:focus { --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color); box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); }
.focus\:ring-brand-light-grey:focus { --tw-ring-color: var(--brand-light-grey); }

/* Responsive Styles */
@media (min-width: 768px) {
    .md\:hidden { display: none; }
    .md\:flex { display: flex; }
    .md\:h-6 { height: 1.5rem; }
    .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\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .md\:col-span-1 { grid-column: span 1 / span 1; }
    .md\:col-span-2 { grid-column: span 2 / span 2; }
    .md\:order-1 { order: 1; }
    .md\:order-2 { order: 2; }
    .md\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
    .md\:text-lg { font-size: 1.125rem; 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-6xl { font-size: 4rem; line-height: 1; }
    .md\:text-left { text-align: left; }
    .md\:mt-0 { margin-top: 0; }
    .md\:flex-row { flex-direction: row; }
    .md\:justify-start { justify-content: flex-start; }
    .md\:gap-x-12 { column-gap: 3rem; }
    .md\:gap-y-0 { row-gap: 0; }
}
@media (min-width: 1024px) {
    .lg\:col-span-1 { grid-column: span 1 / span 1; }
    .lg\:col-span-2 { grid-column: span 2 / span 2; }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:gap-24 { gap: 6rem; }
    .lg\:text-left { text-align: left; }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}