/* La Filipina (lafilipina.es) — CSS estático optimizado (sin Tailwind CDN en runtime) */
:root {
  --brand-burdeos: #840a05;
  --brand-beige: #fee4cb;
  --brand-naranja: #ff4a08;
  --brand-verde: #438601;
  --primary: #840a05;
  --on-primary: #fee4cb;
  --secondary: #ff4a08;
  --on-secondary: #ffffff;
  --tertiary: #438601;
  --on-tertiary: #ffffff;
  --background: #fee4cb;
  --on-background: #2b1410;
  --surface: #fee4cb;
  --surface-container-lowest: #fff9f2;
  --surface-container-low: #f8d8b8;
  --surface-container: #f2cba5;
  --surface-variant: #e8be96;
  --on-surface: #2b1410;
  --on-surface-variant: #5c2c24;
  --inverse-surface: #840a05;
  --outline-variant: #d49a74;
  --header-offset: 8.5rem;
}

@media (min-width: 768px) {
  :root { --header-offset: 10.5rem; }
}

/* Preflight */
*, ::before, ::after { box-sizing: border-box; border: 0 solid var(--outline-variant); }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-offset); font-family: 'Inter', system-ui, -apple-system, sans-serif; }
body { margin: 0; line-height: inherit; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
a { color: inherit; text-decoration: inherit; }
button { font-family: inherit; font-size: 100%; line-height: inherit; color: inherit; margin: 0; padding: 0; background: transparent; cursor: pointer; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
strong { font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

section[id] { scroll-margin-top: var(--header-offset); }

.plating-pattern {
  background-image: radial-gradient(#dfb38a 1px, transparent 1px);
  background-size: 20px 20px;
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brand-naranja);
  outline-offset: 2px;
}

#cookie-consent-dialog::backdrop {
  background-color: rgba(43, 20, 16, 0.55);
  backdrop-filter: blur(3px);
}

/* Layout & Positioning */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.inset-0 { inset: 0; }
.top-0 { top: 0; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.overflow-hidden { overflow: hidden; }
.hidden { display: none; }
.flex { display: flex; }
.grid { display: grid; }
.flex-1 { flex: 1 1 0%; }
.flex-col { flex-direction: column; }
.flex-col-reverse { flex-direction: column-reverse; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-start { justify-content: flex-start; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Spacing */
.m-auto { margin: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-16 { margin-bottom: 4rem; }
.p-0 { padding: 0; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-7 { padding-left: 1.75rem; padding-right: 1.75rem; }
.px-margin-mobile { padding-left: 20px; padding-right: 20px; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pb-8 { padding-bottom: 2rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-20 { gap: 5rem; }
.gap-gutter { gap: 24px; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
.space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 2rem; }
.space-y-10 > :not([hidden]) ~ :not([hidden]) { margin-top: 2.5rem; }
.space-y-12 > :not([hidden]) ~ :not([hidden]) { margin-top: 3rem; }

/* Sizing */
.w-10 { width: 2.5rem; }
.w-auto { width: auto; }
.w-full { width: 100%; }
.w-\[calc\(100\%-2\.5rem\)\] { width: calc(100% - 2.5rem); }
.h-10 { height: 2.5rem; }
.h-20 { height: 5rem; }
.h-28 { height: 7rem; }
.h-auto { height: auto; }
.h-full { height: 100%; }
.h-\[85vh\] { height: 85vh; }
.min-h-\[600px\] { min-height: 600px; }
.min-h-screen { min-height: 100vh; }
.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-3xl { max-width: 48rem; }
.max-w-container-max { max-width: 1280px; }

/* Typography */
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.font-body-md, .font-body-lg { font-family: 'Inter', system-ui, -apple-system, sans-serif; }
.font-display-lg, .font-headline-md, .font-label-sm { font-family: 'Amatic SC', cursive; }
.text-body-md { font-size: 16px; line-height: 1.55; letter-spacing: 0; font-weight: 400; }
.text-body-lg { font-size: 18px; line-height: 1.6; letter-spacing: -0.01em; font-weight: 400; }
.text-headline-md { font-size: 36px; line-height: 1.15; letter-spacing: 0.02em; font-weight: 700; }
.text-label-sm { font-size: 20px; line-height: 1.1; letter-spacing: 0.08em; font-weight: 700; }
.text-display-lg-mobile { font-size: 48px; line-height: 1.1; letter-spacing: 0.02em; font-weight: 700; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; font-weight: 700; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.font-light { font-weight: 300; }
.leading-relaxed { line-height: 1.625; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-\[0\.15em\] { letter-spacing: 0.15em; }
.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.underline { text-decoration-line: underline; }
.underline-offset-4 { text-underline-offset: 4px; }

/* Colors */
.bg-background { background-color: var(--background); }
.bg-background\/95 { background-color: rgba(254, 228, 203, 0.95); }
.bg-surface { background-color: var(--surface); }
.bg-surface-container { background-color: var(--surface-container); }
.bg-surface-container-low { background-color: var(--surface-container-low); }
.bg-surface-container-lowest { background-color: var(--surface-container-lowest); }
.bg-primary { background-color: var(--primary); }
.bg-inverse-surface\/50 { background-color: rgba(132, 10, 5, 0.5); }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-on-background { color: var(--on-background); }
.text-on-surface { color: var(--on-surface); }
.text-on-surface-variant { color: var(--on-surface-variant); }
.text-on-surface-variant\/70 { color: rgba(92, 44, 36, 0.7); }
.text-on-primary { color: var(--on-primary); }
.text-on-primary\/90 { color: rgba(254, 228, 203, 0.9); }

/* Selection */
.selection\:bg-primary ::selection, .selection\:bg-primary::selection { background-color: var(--primary); }
.selection\:text-on-primary ::selection, .selection\:text-on-primary::selection { color: var(--on-primary); }

/* Borders, Radius & Effects */
.border { border-width: 1px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-primary { border-color: var(--primary); }
.border-outline-variant\/20 { border-color: rgba(212, 154, 116, 0.2); }
.border-outline-variant\/30 { border-color: rgba(212, 154, 116, 0.3); }
.border-outline-variant\/40 { border-color: rgba(212, 154, 116, 0.4); }
.border-outline-variant\/50 { border-color: rgba(212, 154, 116, 0.5); }
.border-outline-variant\/60 { border-color: rgba(212, 154, 116, 0.6); }
.rounded-lg { border-radius: 0.25rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 0.75rem; }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1); }
.drop-shadow-sm { filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.08)); }
.filter.brightness-0.invert { filter: brightness(0) invert(1) drop-shadow(0 1px 1px rgba(0, 0, 0, 0.08)); }
.opacity-90 { opacity: 0.9; }
.opacity-95 { opacity: 0.95; }
.mix-blend-multiply { mix-blend-mode: multiply; }
.backdrop-blur-sm { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }
.object-center { object-position: center; }
.transition-colors { transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease; }
.transition-all { transition: all 150ms ease; }

/* Hover States */
.hover\:bg-secondary:hover { background-color: var(--secondary); }
.hover\:bg-surface-container:hover { background-color: var(--surface-container); }
.hover\:bg-surface-variant:hover { background-color: var(--surface-variant); }
.hover\:text-on-secondary:hover { color: var(--on-secondary); }
.hover\:text-primary:hover { color: var(--primary); }
.hover\:text-secondary:hover { color: var(--secondary); }

/* Responsive: sm (640px) */
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:justify-end { justify-content: flex-end; }
  .sm\:w-auto { width: auto; }
}

/* Responsive: md (768px) */
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .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\:justify-end { justify-content: flex-end; }
  .md\:h-28 { height: 7rem; }
  .md\:w-\[280px\] { width: 280px; }
  .md\:p-10 { padding: 2.5rem; }
  .md\:px-margin-desktop { padding-left: 64px; padding-right: 64px; }
  .md\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .md\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
  .md\:py-40 { padding-top: 10rem; padding-bottom: 10rem; }
  .md\:text-display-lg { font-size: 68px; line-height: 1.05; letter-spacing: 0.02em; font-weight: 700; }
}
