/* ==========================================================================
   ESTILOS GENERALES - RAIZAS.ES
   ========================================================================== */


/* ==========================================================================
   1. FUENTES (@font-face)
   ========================================================================== */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/fraunces-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/fraunces-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-600.woff2') format('woff2');
}


/* ==========================================================================
   2. TAILWIND BASE (Reset y estilos base)
   ========================================================================== */
*, ::after, ::before {
  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, sans-serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  line-height: inherit;
  font-family: 'Inter', sans-serif;
  background: #F7F3EE;
  color: #2B2B2B;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
  font-family: 'Fraunces', serif;
  font-weight: 400;
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  text-decoration: inherit;
}

b, strong {
  font-weight: bolder;
}

button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  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, svg, video {
  display: block;
  vertical-align: middle;
}

img, video {
  max-width: 100%;
  height: auto;
}


/* ==========================================================================
   3. PALETA DE COLORES
   ========================================================================== */

/* Colores principales */
.bg-cream { background-color: #E6D9CA; }
.bg-sand { background-color: #EBE3D7; }
.bg-forest { background-color: #435744; }
.bg-terra { background-color: #F7AA48; }
.bg-white { background-color: #ffffff; }
.bg-sage { background-color: #6B7F5E; }
.bg-sage-dark { background-color: #4F6147; }
.bg-terra-dark { background-color: #A86442; }

.text-cream { color: #F7F3EE; }
.text-sand { color: #EBE3D7; }
.text-forest { color: #435744; }
.text-terra { color: #F7AA48; }
.text-charcoal { color: #2B2B2B; }
.text-sage { color: #6B7F5E; }
.text-sage-dark { color: #4F6147; }
.text-terra-dark { color: #A86442; }
.text-white { color: #ffffff; }

.border-cream { border-color: #F7F3EE; }
.border-sand { border-color: #EBE3D7; }
.border-forest { border-color: #435744; }
.border-terra { border-color: #F7AA48; }
.border-sage { border-color: #6B7F5E; }
.border-white { border-color: #ffffff; }

.accent-forest { accent-color: #435744; }

/* Colores de error/advertencia */
.text-red-700 { color: rgb(185 28 28); }
.bg-red-100 { background-color: rgb(254 226 226); }
.border-red-400 { border-color: rgb(248 113 113); }

/* Opacidades para fondos */
.bg-cream\/85 { background-color: rgb(247 243 238 / 0.85); }
.bg-cream\/5 { background-color: rgb(247 243 238 / 0.05); }
.bg-sand\/60 { background-color: rgba(198, 190, 178, 0.6); }
.bg-sand\/70 { background-color: rgb(235 227 215 / 0.7); }
.bg-terra\/10 { background-color: rgb(200 125 90 / 0.1); }
.bg-terra\/30 { background-color: rgb(200 125 90 / 0.3); }
.bg-sage\/15 { background-color: rgb(107 127 94 / 0.15); }
.bg-forest\/5 { background-color: rgb(45 58 43 / 0.05); }

/* Opacidades para texto */
.text-charcoal\/50 { color: rgb(43 43 43 / 0.5); }
.text-charcoal\/60 { color: rgb(43 43 43 / 0.6); }
.text-charcoal\/70 { color: rgb(43 43 43 / 0.7); }
.text-charcoal\/75 { color: rgb(43 43 43 / 0.75); }
.text-charcoal\/80 { color: rgb(43 43 43 / 0.8); }

.text-cream\/50 { color: rgb(247 243 238 / 0.5); }
.text-cream\/60 { color: rgb(247 243 238 / 0.6); }
.text-cream\/75 { color: rgb(247 243 238 / 0.75); }
.text-cream\/80 { color: rgb(247 243 238 / 0.8); }
.text-cream\/85 { color: rgb(247 243 238 / 0.85); }
.text-cream\/90 { color: rgb(247 243 238 / 0.9); }

.text-forest\/50 { color: rgb(45 58 43 / 0.5); }
.text-sage-dark\/70 { color: rgb(79 97 71 / 0.7); }

/* Opacidades para bordes */
.border-sand\/60 { border-color: rgb(235 227 215 / 0.6); }
.border-cream\/10 { border-color: rgb(247 243 238 / 0.1); }
.border-cream\/20 { border-color: rgb(247 243 238 / 0.2); }

/* Opacidad general */
.opacity-0 { opacity: 0; }
.opacity-20 { opacity: 0.2; }
.opacity-100 { opacity: 1; }


/* ==========================================================================
   4. LAYOUT Y POSICIONAMIENTO
   ========================================================================== */
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.sticky { position: sticky; }
.static { position: static; }

.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0px; }
.top-4 { top: 1rem; }
.left-0 { left: 0px; }
.left-4 { left: 1rem; }
.left-8 { left: 2rem; }
.right-0 { right: 0px; }
.right-4 { right: 1rem; }
.right-6 { right: 1.5rem; }
.bottom-0 { bottom: 0px; }
.bottom-6 { bottom: 1.5rem; }
.-bottom-6 { bottom: -1.5rem; }
.-left-6 { left: -1.5rem; }
.-top-3 { top: -0.75rem; }
.-top-4 { top: -1rem; }
.-right-4 { right: -1rem; }

.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }


/* ==========================================================================
   5. FLEXBOX
   ========================================================================== */
.flex { display: flex; }
.inline-flex { display: inline-flex; }

.flex-col { flex-direction: column; }
.flex-col-reverse { flex-direction: column-reverse; }
.flex-row { flex-direction: row; }
.flex-row-reverse { flex-direction: row-reverse; }

.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }

.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }
.items-baseline { align-items: baseline; }

.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-start { justify-content: flex-start; }
.justify-around { justify-content: space-around; }
.justify-evenly { justify-content: space-evenly; }

.self-auto { align-self: auto; }
.self-start { align-self: flex-start; }
.self-end { align-self: flex-end; }
.self-center { align-self: center; }
.self-stretch { align-self: stretch; }

.flex-1 { flex: 1 1 0%; }
.flex-auto { flex: 1 1 auto; }
.flex-initial { flex: 0 1 auto; }
.flex-none { flex: none; }

.flex-grow { flex-grow: 1; }
.flex-grow-0 { flex-grow: 0; }
.flex-shrink { flex-shrink: 1; }
.flex-shrink-0 { flex-shrink: 0; }


/* ==========================================================================
   6. GRID
   ========================================================================== */
.grid { display: grid; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

.col-span-1 { grid-column: span 1 / span 1; }
.col-span-2 { grid-column: span 2 / span 2; }
.col-span-3 { grid-column: span 3 / span 3; }
.col-span-4 { grid-column: span 4 / span 4; }
.col-span-full { grid-column: 1 / -1; }

.col-start-1 { grid-column-start: 1; }
.col-start-2 { grid-column-start: 2; }
.row-start-1 { grid-row-start: 1; }
.row-start-2 { grid-row-start: 2; }

.grid-rows-1 { grid-template-rows: repeat(1, minmax(0, 1fr)); }
.grid-rows-2 { grid-template-rows: repeat(2, minmax(0, 1fr)); }

.place-content-center { place-content: center; }
.place-items-center { place-items: center; }
.place-items-start { place-items: start; }
.place-self-center { place-self: center; }


/* ==========================================================================
   7. ESPACIADO (Gap, Margin, Padding)
   ========================================================================== */

/* Gaps */
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.gap-20 { gap: 5rem; }

/* Space between */
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-4 > * + * { margin-left: 1rem; }

/* Margins */
.m-0 { margin: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.my-auto { margin-top: auto; margin-bottom: auto; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.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-16 { margin-top: 4rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mb-16 { margin-bottom: 4rem; }

.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.ml-4 { margin-left: 1rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-4 { margin-right: 1rem; }

.-mt-1 { margin-top: -0.25rem; }
.-mt-7 { margin-top: -1.75rem; }
.-mt-40 { margin-top: -10rem; }
.-mt-60 { margin-top: -15rem; }

/* Padding */
.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }

.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }

.pt-4 { padding-top: 1rem; }
.pt-8 { padding-top: 2rem; }
.pt-10 { padding-top: 2.5rem; }
.pt-32 { padding-top: 8rem; }
.pt-40 { padding-top: 10rem; }

.pb-4 { padding-bottom: 1rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-10 { padding-bottom: 2.5rem; }
.pb-20 { padding-bottom: 5rem; }

.pl-2 { padding-left: 0.5rem; }
.pl-4 { padding-left: 1rem; }
.pl-6 { padding-left: 1.5rem; }
.pr-4 { padding-right: 1rem; }


/* ==========================================================================
   8. TAMAÑO (Width, Height, Aspect Ratio)
   ========================================================================== */
.w-1 { width: 0.25rem; }
.w-1\.5 { width: 0.375rem; }
.w-2 { width: 0.5rem; }
.w-4 { width: 1rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.w-32 { width: 8rem; }
.w-40 { width: 10rem; }
.w-48 { width: 12rem; }
.w-full { width: 100%; }
.w-screen { width: 100vw; }
.w-auto { width: auto; }

.h-1 { height: 0.25rem; }
.h-1\.5 { height: 0.375rem; }
.h-2 { height: 0.5rem; }
.h-4 { height: 1rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-20 { height: 5rem; }
.h-24 { height: 6rem; }
.h-32 { height: 8rem; }
.h-40 { height: 10rem; }
.h-full { height: 100%; }
.h-screen { height: 100vh; }
.h-auto { height: auto; }

.min-h-screen { min-height: 100vh; }
.min-h-0 { min-height: 0; }

.max-w-xs { max-width: 20rem; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-full { max-width: 100%; }

.aspect-\[4\/5\] { aspect-ratio: 4 / 5; }
.aspect-video { aspect-ratio: 16 / 9; }

.size-full { width: 100%; height: 100%; }


/* ==========================================================================
   9. TIPOGRAFÍA
   ========================================================================== */
.text-\[10px\] { font-size: 10px; }
.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-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; }
.text-5xl { font-size: 3rem; line-height: 1; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

.font-thin { font-weight: 100; }
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.font-serif { font-family: Fraunces, Georgia, serif; }
.font-sans { font-family: Inter, system-ui, sans-serif; }

.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }
.normal-case { text-transform: none; }

.italic { font-style: italic; }
.not-italic { font-style: normal; }

.underline { text-decoration-line: underline; }
.line-through { text-decoration-line: line-through; }
.no-underline { text-decoration-line: none; }

.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; }
.leading-loose { line-height: 2; }
.leading-\[1\.05\] { line-height: 1.05; }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-normal { letter-spacing: 0em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }
.tracking-\[0\.3em\] { letter-spacing: 0.3em; }

.whitespace-normal { white-space: normal; }
.whitespace-nowrap { white-space: nowrap; }
.whitespace-pre { white-space: pre; }
.whitespace-pre-wrap { white-space: pre-wrap; }

.break-words { word-wrap: break-word; overflow-wrap: break-word; }


/* ==========================================================================
   10. OBJETOS E IMÁGENES
   ========================================================================== */
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.object-fill { object-fit: fill; }
.object-center { object-position: center; }
.object-top { object-position: top; }
.object-bottom { object-position: bottom; }


/* ==========================================================================
   11. BORDES Y REDONDEOS
   ========================================================================== */
.border { border-width: 1px; }
.border-0 { border-width: 0; }
.border-2 { border-width: 2px; }
.border-4 { border-width: 4px; }

.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }
.border-l { border-left-width: 1px; }
.border-r { border-right-width: 1px; }
.border-y { border-top-width: 1px; border-bottom-width: 1px; }
.border-x { border-left-width: 1px; border-right-width: 1px; }

.border-solid { border-style: solid; }
.border-dashed { border-style: dashed; }

.rounded-none { border-radius: 0; }
.rounded-sm { border-radius: 0.125rem; }
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-4xl { border-radius: 2rem; }
.rounded-full { border-radius: 9999px; }
.rounded-\[2rem\] { border-radius: 2rem; }

.rounded-t-4xl { border-top-left-radius: 2rem; border-top-right-radius: 2rem; }
.rounded-t-3xl { border-top-left-radius: 1.5rem; border-top-right-radius: 1.5rem; }


/* ==========================================================================
   12. EFECTOS (Sombras, Blur, Filtros)
   ========================================================================== */
.shadow-sm { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
.shadow { box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); }
.shadow-md { box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); }
.shadow-inner { box-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 0.05); }

.backdrop-blur { backdrop-filter: blur(8px); }
.backdrop-blur-sm { backdrop-filter: blur(4px); }
.backdrop-blur-md { backdrop-filter: blur(12px); }
.backdrop-blur-lg { backdrop-filter: blur(16px); }

.blur { filter: blur(8px); }
.blur-sm { filter: blur(4px); }
.blur-md { filter: blur(12px); }
.blur-lg { filter: blur(16px); }
.blur-2xl { filter: blur(40px); }

.grayscale { filter: grayscale(100%); }
.grayscale-0 { filter: grayscale(0); }
.grayscale-80 { filter: grayscale(80%); }

.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-scroll { overflow: scroll; }
.overflow-x-hidden { overflow-x: hidden; }
.overflow-y-hidden { overflow-y: hidden; }

.resize-none { resize: none; }
.resize { resize: both; }

.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }
.cursor-not-allowed { cursor: not-allowed; }

.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }

.select-none { user-select: none; }
.select-text { user-select: text; }

.ring { box-shadow: 0 0 0 3px rgb(59 130 246 / 0.5); }
.ring-2 { box-shadow: 0 0 0 2px var(--tw-ring-color, rgb(59 130 246 / 0.5)); }

.outline-none { outline: 2px solid transparent; outline-offset: 2px; }

.will-change-transform { will-change: transform; }
.will-change-opacity { will-change: opacity; }


/* ==========================================================================
   13. TRANSICIONES Y TRANSFORMACIONES
   ========================================================================== */
.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-all {
  transition-property: all;
  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-opacity {
  transition-property: opacity;
  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;
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-filter {
  transition-property: filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-filters {
  transition-property: filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-75 { transition-duration: 75ms; }
.duration-100 { transition-duration: 100ms; }
.duration-150 { transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.duration-350 { transition-duration: 350ms; }
.duration-500 { transition-duration: 500ms; }
.duration-700 { transition-duration: 700ms; }
.duration-1000 { transition-duration: 1000ms; }

.ease-linear { transition-timing-function: linear; }
.ease-in { transition-timing-function: cubic-bezier(0.4, 0, 1, 1); }
.ease-out { transition-timing-function: cubic-bezier(0, 0, 0.2, 1); }
.ease-in-out { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.ease-in-out-quad { transition-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.translate-x-0 { --tw-translate-x: 0px; transform: translateX(0); }
.translate-x-\[-10px\] { transform: translateX(-10px); }
.translate-x-\[-4px\] { transform: translateX(-4px); }
.translate-x-\[4px\] { transform: translateX(4px); }
.translate-x-\[7px\] { transform: translateX(7px); }

.translate-y-0 { transform: translateY(0); }
.translate-y-1 { transform: translateY(0.25rem); }
.translate-y-2 { transform: translateY(0.5rem); }
.translate-y-4 { transform: translateY(1rem); }

.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.translate-x-1\/2 { transform: translateX(50%); }
.translate-y-1\/2 { transform: translateY(50%); }

.rotate-0 { transform: rotate(0deg); }
.rotate-45 { transform: rotate(45deg); }
.rotate-90 { transform: rotate(90deg); }
.rotate-180 { transform: rotate(180deg); }
.rotate-\[-15deg\] { transform: rotate(-15deg); }

.scale-0 { transform: scale(0); }
.scale-50 { transform: scale(0.5); }
.scale-75 { transform: scale(0.75); }
.scale-90 { transform: scale(0.9); }
.scale-95 { transform: scale(0.95); }
.scale-100 { transform: scale(1); }
.scale-105 { transform: scale(1.05); }
.scale-110 { transform: scale(1.1); }
.scale-125 { transform: scale(1.25); }

.hover\:scale-96:hover { transform: scale(0.96); }

.skew-x-0 { transform: skewX(0); }

.transform-gpu {
  transform: translate3d(var(--tw-translate-x), var(--tw-translate-y), 0) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.translate-z-0 { transform: translateZ(0); }

.origin-center { transform-origin: center; }
.origin-top { transform-origin: top; }
.origin-bottom { transform-origin: bottom; }
.origin-top-center { transform-origin: top center; }


/* ==========================================================================
   14. ESTADOS HOVER Y FOCUS
   ========================================================================== */
.hover\:border-sage:hover { border-color: #6B7F5E; }
.hover\:border-terra:hover { border-color: #F7AA48; }

.hover\:text-terra:hover { color: #F7AA48; }
.hover\:text-cream:hover { color: #F7F3EE; }
.hover\:text-forest:hover { color: #435744; }
.hover\:text-white:hover { color: #ffffff; }

.hover\:bg-forest:hover { background-color: #435744; }
.hover\:bg-terra:hover { background-color: #F7AA48; }
.hover\:bg-cream:hover { background-color: #F7F3EE; }

.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); }

.hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }
.hover\:-translate-y-2:hover { transform: translateY(-0.5rem); }
.hover\:translate-y-\[-2px\]:hover { transform: translateY(-2px); }

.group:hover .group-hover\:grayscale-80 { filter: grayscale(80%); }
.group:hover .group-hover\:-translate-y-full { transform: translateY(-100%); }

.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px rgb(59 130 246 / 0.5); }

.focus-visible\:ring-2:focus-visible { box-shadow: 0 0 0 2px rgb(59 130 246 / 0.5); }
.focus-visible\:outline-none:focus-visible { outline: 2px solid transparent; outline-offset: 2px; }


/* ==========================================================================
   15. DISPLAY Y VISIBILIDAD
   ========================================================================== */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }


/* ==========================================================================
   16. ESTILOS PERSONALIZADOS (Componentes específicos)
   ========================================================================== */

/* Animación reveal al hacer scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Botones */
.btn-primary {
  background: #435744;
  color: #F7F3EE;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: #F7AA48;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(200,125,90,0.3);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-secondary {
  border: 1.5px solid #435744;
  color: #435744;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-secondary:hover {
  background: #435744;
  color: #F7F3EE;
  transform: translateY(-2px);
}

/* Efecto grano/textura */
.grain::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
}

/* Acordeón FAQ */
details[open] summary .chevron {
  transform: rotate(180deg);
}

summary::-webkit-details-marker {
  display: none;
}

summary {
  list-style: none;
  cursor: pointer;
}

.chevron {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Tarjetas de especialidades */
.specialty-card {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.specialty-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -20px rgba(45, 58, 43, 0.25);
  background: #ffffff;
}

/* Enlaces de navegación */
.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #435744;
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: #F7AA48;
}

/* Círculos de números */
.number-circle {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EBE3D7;
  color: #435744;
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  border-radius: 50%;
}

/* Marquesina */
.marquee-track {
  display: flex;
  gap: 3rem;
  animation: scroll 40s linear infinite;
}

/* Separador de ola */
.wave-divider {
  width: 100%;
  height: 60px;
  background: linear-gradient(to bottom, transparent 50%, #EBE3D7 50%);
}

/* Inputs y formularios */
input, textarea, select {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #6B7F5E;
  box-shadow: 0 0 0 3px rgba(107, 127, 94, 0.1);
}

/* Comillas de testimonios */
.quote-mark {
  font-family: 'Fraunces', serif;
  font-size: 5rem;
  line-height: 0.5;
  color: #F7AA48;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #F7F3EE;
}

::-webkit-scrollbar-thumb {
  background: #EBE3D7;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #6B7F5E;
}

/* Selección de texto */
::selection {
  background: #F7AA48;
  color: #F7F3EE;
}


/* ==========================================================================
   17. ANIMACIONES KEYFRAMES
   ========================================================================== */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
  50% { transform: translateY(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}

@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

@keyframes scroll-indicator {
  0%, 100% { transform: translate(-50%, 0); opacity: 1; }
  50% { transform: translate(-50%, 100%); opacity: 0; }
}

.animate-fade-up { animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.animate-fade-in { animation: fadeIn 1.2s ease-out forwards; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.animate-spin { animation: spin 1s linear infinite; }
.animate-bounce { animation: bounce 1s infinite; }
.animate-ping { animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite; }
.animate-scroll-indicator { animation: scroll-indicator 2s ease-in-out infinite; }


/* ==========================================================================
   18. RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Pantallas pequeñas (≥640px) */
@media (min-width: 640px) {
  .sm\:inline-block { display: inline-block; }
  .sm\:block { display: block; }
  .sm\:flex { display: flex; }
  .sm\:hidden { display: none; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:ml-1 { margin-left: 0.25rem; }
  .sm\:mb-6 { margin-bottom: 1.5rem; }
}

/* Pantallas medianas (≥768px) */
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:block { display: block; }
  .md\:inline-block { display: inline-block; }
  .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-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:text-5xl { font-size: 3rem; line-height: 1; }
  .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .md\:flex-row { flex-direction: row; }
  .md\:flex-col { flex-direction: column; }
  .md\:items-end { align-items: flex-end; }
  .md\:items-start { align-items: flex-start; }
  .md\:justify-start { justify-content: flex-start; }
  .md\:justify-end { justify-content: flex-end; }
  .md\:items-center { align-items: center; }
  .md\:ml-auto { margin-left: auto; }
  .md\:mr-auto { margin-right: auto; }
  .md\:gap-x-8 { column-gap: 2rem; }
  .md\:gap-y-8 { row-gap: 2rem; }
  .md\:gap-12 { gap: 3rem; }
  .md\:gap-16 { gap: 4rem; }
  .md\:p-10 { padding: 2.5rem; }
  .md\:p-12 { padding: 3rem; }
  .md\:p-20 { padding: 5rem; }
  .md\:py-12 { padding-top: 3rem; padding-bottom: 3rem; }
  .md\:py-30 { padding-top: 7.5rem; padding-bottom: 7.5rem; }
  .md\:px-20 { padding-left: 5rem; padding-right: 5rem; }
  .md\:pt-20 { padding-top: 5rem; }
  .md\:pb-20 { padding-bottom: 5rem; }
  .md\:pl-12 { padding-left: 3rem; }
  .md\:pr-8 { padding-right: 2rem; }
  .md\:mt-0 { margin-top: 0; }
  .md\:mt-2 { margin-top: 0.5rem; }
  .md\:mb-0 { margin-bottom: 0; }
  .md\:mb-30 { margin-bottom: 7.5rem; }
  .md\:text-left { text-align: left; }
  .md\:text-right { text-align: right; }
  .md\:max-w-\[480px\] { max-width: 480px; }
  .md\:max-w-\[54\%\] { max-width: 54%; }
  .md\:max-w-2\/5 { max-width: 40%; }
}

/* Pantallas grandes (≥1024px) */
@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:inline-block { display: inline-block; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:text-7xl { font-size: 4.5rem; line-height: 1; }
  .lg\:p-10 { padding: 2.5rem; }
  .lg\:px-12 { padding-left: 3rem; padding-right: 3rem; }
  .lg\:px-30 { padding-left: 7.5rem; padding-right: 7.5rem; }
  .lg\:pt-40 { padding-top: 10rem; }
  .lg\:pt-30 { padding-top: 7.5rem; }
  .lg\:pb-32 { padding-bottom: 8rem; }
  .lg\:pb-30 { padding-bottom: 7.5rem; }
  .lg\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
  .lg\:-mt-1 { margin-top: -0.25rem; }
  .lg\:pl-6 { padding-left: 1.5rem; }
  .lg\:max-w-full { max-width: 100%; }
  .lg\:max-w-3xl { max-width: 48rem; }
}