:root {
  --background: #eef8fb;
  --foreground: #14303c;
  --muted: #4f7383;
  --surface: #ffffff;
  --surface-elevated: #dff1f4;
  --accent: #2a8f9a;
  --accent-soft: #9fd9cb;
  --accent-contrast: #ffffff;
  --border: color-mix(in oklab, var(--foreground) 12%, transparent);
  --hero-mesh-1: #8ecfe6;
  --hero-mesh-2: #b8e8db;
  --hero-mesh-3: #eef8fb;
  --hero-scrim: linear-gradient(
    105deg,
    rgba(10, 36, 46, 0.78) 0%,
    rgba(20, 55, 66, 0.55) 42%,
    rgba(20, 55, 66, 0.2) 100%
  );
  --font-display: "Figtree", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --shadow-soft: 0 18px 50px color-mix(in oklab, var(--foreground) 8%, transparent);
  --radius: 1rem;
  color-scheme: light;
}

html[data-sector="cosmetico"] {
  --background: #fbeef0;
  --foreground: #3a1f28;
  --muted: #8a5f68;
  --surface: #fff8f7;
  --surface-elevated: #f6dde1;
  --accent: #c6577a;
  --accent-soft: #f0b8c8;
  --accent-contrast: #fff8f7;
  --hero-mesh-1: #e8a4bb;
  --hero-mesh-2: #f7d9c4;
  --hero-mesh-3: #fbeef0;
  --hero-scrim: linear-gradient(
    105deg,
    rgba(50, 18, 28, 0.78) 0%,
    rgba(70, 30, 42, 0.52) 44%,
    rgba(70, 30, 42, 0.18) 100%
  );
  --font-display: "Playfair Display", Georgia, serif;
}

html[data-sector="cafeteria"] {
  --background: #efe3d2;
  --foreground: #2a180f;
  --muted: #75553f;
  --surface: #faf4ea;
  --surface-elevated: #e8d9c4;
  --accent: #a34e22;
  --accent-soft: #d4a574;
  --accent-contrast: #fff8f0;
  --hero-mesh-1: #c4784a;
  --hero-mesh-2: #6f3f22;
  --hero-mesh-3: #efe3d2;
  --hero-scrim: linear-gradient(
    105deg,
    rgba(28, 14, 8, 0.82) 0%,
    rgba(52, 28, 16, 0.58) 45%,
    rgba(52, 28, 16, 0.22) 100%
  );
  --font-display: "Fraunces", Georgia, serif;
}

html[data-sector="cafedance"] {
  --background: #170f1f;
  --foreground: #f5e9f7;
  --muted: #af95bb;
  --surface: #23162e;
  --surface-elevated: #2f1e3d;
  --accent: #ff5d8f;
  --accent-soft: #7b3fa0;
  --accent-contrast: #1b0f24;
  --hero-mesh-1: #ff5d8f;
  --hero-mesh-2: #7b3fa0;
  --hero-mesh-3: #170f1f;
  --hero-scrim: linear-gradient(
    105deg,
    rgba(10, 6, 14, 0.9) 0%,
    rgba(22, 12, 28, 0.7) 48%,
    rgba(22, 12, 28, 0.3) 100%
  );
  --font-display: "Righteous", system-ui, sans-serif;
  color-scheme: dark;
}

html[data-sector="restaurante"] {
  --background: #100e0d;
  --foreground: #f4ece4;
  --muted: #a89888;
  --surface: #1a1614;
  --surface-elevated: #26201c;
  --accent: #d4af37;
  --accent-soft: #8b2942;
  --accent-contrast: #120f0c;
  --hero-mesh-1: #2a1614;
  --hero-mesh-2: #3d241f;
  --hero-mesh-3: #100e0d;
  --hero-scrim: linear-gradient(
    105deg,
    rgba(8, 6, 5, 0.9) 0%,
    rgba(18, 12, 10, 0.72) 48%,
    rgba(18, 12, 10, 0.35) 100%
  );
  --font-display: "Cormorant Garamond", Georgia, serif;
  color-scheme: dark;
}

html[data-sector="inmobiliaria"] {
  --background: #e8eef5;
  --foreground: #0f1f35;
  --muted: #54657a;
  --surface: #ffffff;
  --surface-elevated: #dbe4ef;
  --accent: #16365c;
  --accent-soft: #8fa3b8;
  --accent-contrast: #f8fafc;
  --hero-mesh-1: #16365c;
  --hero-mesh-2: #4a5568;
  --hero-mesh-3: #e8eef5;
  --hero-scrim: linear-gradient(
    105deg,
    rgba(8, 18, 34, 0.84) 0%,
    rgba(16, 34, 56, 0.6) 46%,
    rgba(16, 34, 56, 0.25) 100%
  );
  --font-display: "Sora", system-ui, sans-serif;
}

html[data-sector="dropshipping"] {
  --background: #0c1210;
  --foreground: #e7f4ec;
  --muted: #7d9a88;
  --surface: #141c18;
  --surface-elevated: #1c2a22;
  --accent: #c8f542;
  --accent-soft: #3f5c48;
  --accent-contrast: #10160f;
  --hero-mesh-1: #c8f542;
  --hero-mesh-2: #1f3d2e;
  --hero-mesh-3: #0c1210;
  --hero-scrim: linear-gradient(
    105deg,
    rgba(6, 12, 9, 0.9) 0%,
    rgba(12, 22, 16, 0.72) 48%,
    rgba(12, 22, 16, 0.32) 100%
  );
  --font-display: "Syne", system-ui, sans-serif;
  color-scheme: dark;
}

html[data-sector="inventario"] {
  --background: #efe6d6;
  --foreground: #1c1712;
  --muted: #6d6256;
  --surface: #fffaf2;
  --surface-elevated: #e6dccb;
  --accent: #c45c12;
  --accent-soft: #e2b36a;
  --accent-contrast: #fffaf2;
  --hero-mesh-1: #c45c12;
  --hero-mesh-2: #3a3228;
  --hero-mesh-3: #efe6d6;
  --hero-scrim: linear-gradient(
    105deg,
    rgba(22, 16, 10, 0.86) 0%,
    rgba(40, 28, 16, 0.62) 46%,
    rgba(40, 28, 16, 0.24) 100%
  );
  --font-display: "IBM Plex Sans", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  transition: background-color 0.45s ease, color 0.45s ease;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

.font-display {
  font-family: var(--font-display);
}

.hub-shell {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hub-atmosphere {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 55% at 12% -10%, color-mix(in oklab, var(--hero-mesh-1) 35%, transparent), transparent 55%),
    radial-gradient(ellipse 70% 50% at 88% 8%, color-mix(in oklab, var(--hero-mesh-2) 28%, transparent), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, color-mix(in oklab, var(--hero-mesh-3) 40%, transparent), transparent 55%),
    var(--background);
  transition: background 0.5s ease;
}

.hub-grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.035;
  mix-blend-mode: multiply;
  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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

html[data-sector="restaurante"] .hub-grain {
  opacity: 0.08;
  mix-blend-mode: soft-light;
}

.container {
  width: min(72rem, 100% - 2rem);
  margin-inline: auto;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  font-weight: 600;
  padding: 0.85rem 1.4rem;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  border: none;
  background: var(--accent);
  color: var(--accent-contrast);
}

.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn-ghost {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--foreground);
  font-weight: 500;
}

.btn-ghost:hover {
  background: color-mix(in oklab, var(--surface) 80%, var(--accent) 8%);
  border-color: color-mix(in oklab, var(--accent) 35%, transparent);
}

.input-field {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--foreground);
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-field:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 22%, transparent);
}

button:focus-visible,
a:focus-visible,
.chip:focus-visible,
.icon-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hide-sm {
  display: none;
}

@media (min-width: 640px) {
  .hide-sm {
    display: inline;
  }
}

.icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

/* Header */
.site-header {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 30;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-badge,
.icon-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: var(--accent);
  color: var(--accent-contrast);
  box-shadow: var(--shadow-soft);
}

.brand-kicker {
  margin: 0;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.brand-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sector-nav {
  display: none;
  align-items: center;
  gap: 0.15rem;
  max-width: min(46rem, calc(100% - 8rem));
  overflow-x: auto;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.25);
  padding: 0.25rem;
  backdrop-filter: blur(16px);
  scrollbar-width: thin;
}

.sector-nav a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: none;
  border-radius: 9999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
}

.sector-nav a.active {
  background: var(--accent);
  color: var(--accent-contrast);
}

.header-cta {
  display: none;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.mobile-sectors {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  padding: 0 0.75rem 0.75rem;
}

.mobile-sectors a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.3);
  color: rgba(255, 255, 255, 0.85);
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.mobile-sectors a.active {
  background: var(--accent);
  color: var(--accent-contrast);
  border-color: transparent;
}

@media (min-width: 768px) {
  .sector-nav {
    display: flex;
  }
  .mobile-sectors {
    display: none;
  }
}

@media (min-width: 1024px) {
  .header-cta {
    display: inline-flex;
  }
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(92vh, 900px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: var(--hero-scrim);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(92vh, 900px);
  padding: 7rem 0 4rem;
  color: #fff;
}

.hero-copy {
  max-width: 36rem;
  animation: fade-up 0.45s ease;
}

.hero-brand-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-brand-row .icon-badge {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 1rem;
}

.hero-brand-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 600;
  line-height: 1;
}

.hero-tagline {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--accent-soft) 70%, white);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 600;
  line-height: 1.05;
  text-wrap: balance;
}

.hero-desc {
  margin: 1.25rem 0 0;
  max-width: 28rem;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

.hero-cta {
  margin-top: 2rem;
}

.feature-list {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  max-width: 36rem;
}

@media (min-width: 640px) {
  .feature-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-content {
    justify-content: center;
    padding-top: 6rem;
  }
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: color-mix(in oklab, var(--surface) 80%, transparent);
  color: var(--accent);
  backdrop-filter: blur(6px);
  margin-top: 0.15rem;
}

.feature-list p {
  margin: 0;
}

.feature-list .label {
  font-size: 0.875rem;
  font-weight: 600;
}

.feature-list .detail {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Experience */
.experience {
  padding: 4rem 0;
}

.section-head {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  align-items: end;
  animation: fade-up 0.35s ease;
}

@media (min-width: 1024px) {
  .section-head {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-head h2 {
  margin: 0.5rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
}

.section-head .subtitle {
  margin: 0.5rem 0 0;
  max-width: 36rem;
  color: var(--muted);
}

.section-thumb {
  display: none;
  position: relative;
  height: 7rem;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
}

.section-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .section-thumb {
    display: block;
  }
}

.widget-panel {
  animation: fade-up 0.35s ease;
}

.text-muted {
  color: var(--muted);
}

.text-accent {
  color: var(--accent);
}

.panel {
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}

.panel-pad {
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .panel-pad {
    padding: 2rem;
  }
}

.shadow-panel {
  box-shadow: var(--shadow-soft);
}

.grid-2 {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .grid-2 {
    grid-template-columns: 0.95fr 1.05fr;
  }
  .grid-2.equal {
    grid-template-columns: 1fr 1fr;
  }
}

.cover {
  position: relative;
  overflow: hidden;
}

.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent);
}

.doctor-grid {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .doctor-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.doctor-card {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
  color: inherit;
}

.doctor-card.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px color-mix(in oklab, var(--accent) 30%, transparent);
}

.doctor-card img {
  width: 100%;
  height: 6rem;
  object-fit: cover;
}

.doctor-card .meta {
  padding: 0.65rem;
}

.doctor-card .meta strong {
  display: block;
  font-size: 0.75rem;
}

.doctor-card .meta span {
  font-size: 0.625rem;
  color: var(--muted);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-grid.two {
    grid-template-columns: 1fr 1fr;
  }
}

.form-grid label {
  display: block;
}

.form-grid label > span {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.mini-stats li {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0.75rem 0.5rem;
  text-align: center;
  font-size: 0.7rem;
  color: var(--muted);
}

.aspect-photo {
  aspect-ratio: 4 / 5;
}

@media (min-width: 640px) {
  .aspect-photo {
    aspect-ratio: 5 / 4;
  }
}

@media (min-width: 1024px) {
  .aspect-photo {
    aspect-ratio: 4 / 5;
  }
}

/* Cafe */
.cafe-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.menu-category {
  margin-bottom: 2rem;
}

.menu-category > p {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
}

.product-card img {
  width: 100%;
  height: 10rem;
  object-fit: cover;
}

.product-body {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem;
}

.product-body h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
}

.product-body p {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.product-body .price {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

.cart-fab {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  background: var(--foreground);
  color: var(--background);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast {
  margin-bottom: 1rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface-elevated);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
  border: none;
  padding: 0;
  cursor: pointer;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  width: min(100%, 28rem);
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  animation: slide-in 0.3s ease;
}

.drawer-head,
.drawer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.drawer-foot {
  border-bottom: none;
  border-top: 1px solid var(--border);
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cart-item img {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  object-fit: cover;
}

.qty-ctrl {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qty-ctrl button {
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 9999px;
  width: 1.75rem;
  height: 1.75rem;
  cursor: pointer;
  color: inherit;
}

.icon-btn {
  border: none;
  background: transparent;
  border-radius: 9999px;
  padding: 0.5rem;
  cursor: pointer;
  color: inherit;
}

.icon-btn:hover {
  background: var(--surface-elevated);
}

/* Restaurant */
.dish-hero {
  height: 14rem;
}

@media (min-width: 640px) {
  .dish-hero {
    height: 16rem;
  }
}

.dish-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  color: #fff;
}

.chef-grid {
  display: grid;
}

@media (min-width: 640px) {
  .chef-grid {
    grid-template-columns: 140px 1fr;
  }
}

.chef-photo {
  min-height: 9rem;
}

@media (min-width: 640px) {
  .chef-photo {
    min-height: 100%;
  }
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--accent);
}

.meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Real estate */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  text-transform: capitalize;
}

.chip.active {
  background: var(--accent);
  color: var(--accent-contrast);
  border-color: transparent;
}

.search-wrap {
  position: relative;
  max-width: 36rem;
}

.search-wrap .icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.search-wrap .input-field {
  padding-left: 2.5rem;
}

.property-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .property-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.property-card {
  width: 100%;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  text-align: left;
  cursor: pointer;
  color: inherit;
  padding: 0;
  transition: transform 0.2s ease;
}

.property-card:hover {
  transform: translateY(-2px);
}

.property-card img {
  width: 100%;
  height: 11rem;
  object-fit: cover;
}

.property-badge {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.95);
  color: #1e293b;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.property-body {
  padding: 1.25rem;
}

.property-body h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
}

.modal {
  position: fixed;
  z-index: 50;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(32rem, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  overflow: auto;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  animation: fade-up 0.25s ease;
}

.modal img.banner {
  width: 100%;
  height: 9rem;
  object-fit: cover;
}

/* Theme switcher */
.theme-switcher {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.theme-menu {
  width: min(17rem, calc(100vw - 2.5rem));
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface) 95%, transparent);
  padding: 0.5rem;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  animation: fade-up 0.2s ease;
}

.theme-menu p {
  margin: 0;
  padding: 0.5rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.theme-menu a {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: none;
  border-radius: 0.75rem;
  background: transparent;
  color: var(--foreground);
  padding: 0.65rem 0.75rem;
  text-align: left;
  cursor: pointer;
}

.theme-menu a.active {
  background: var(--accent);
  color: var(--accent-contrast);
}

.theme-menu a:not(.active):hover {
  background: var(--surface-elevated);
}

.fab {
  width: 3.5rem;
  height: 3.5rem;
  border: none;
  border-radius: 9999px;
  background: var(--accent);
  color: var(--accent-contrast);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Footer */
.site-footer {
  border-top: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
  background: color-mix(in oklab, var(--surface) 50%, transparent);
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2.5rem 0;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-brand h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.footer-brand p {
  margin: 0.35rem 0 0;
  max-width: 24rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.space-y > * + * {
  margin-top: 1rem;
}

.space-y-lg > * + * {
  margin-top: 1.5rem;
}

.hidden {
  display: none !important;
}

.row-between {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-in {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes scan-line {
  from {
    transform: scaleX(0.2);
    opacity: 0.3;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

html[data-sector="dropshipping"] .hub-grain {
  opacity: 0.07;
  mix-blend-mode: soft-light;
}

html[data-sector="cafedance"] .hub-grain {
  opacity: 0.09;
  mix-blend-mode: soft-light;
}

html[data-sector="inventario"] .hub-grain {
  opacity: 0.05;
}

.drop-grid,
.stock-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .drop-grid,
  .stock-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .drop-grid,
  .stock-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.drop-card,
.stock-card {
  overflow: hidden;
  border-radius: 1.15rem;
  border: 1px solid var(--border);
  background: var(--surface);
  text-align: left;
  color: inherit;
  padding: 0;
  width: 100%;
  cursor: pointer;
}

.drop-card img,
.stock-card img {
  width: 100%;
  height: 11rem;
  object-fit: cover;
}

.drop-body,
.stock-body {
  padding: 1rem 1.1rem 1.15rem;
}

.drop-body h4,
.stock-body h4 {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}

.drop-body > p,
.stock-body > p {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.drop-badge,
.drop-margin,
.stock-flag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  border-radius: 9999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.94);
  color: #122018;
}

.drop-margin {
  left: auto;
  right: 0.75rem;
  background: var(--accent);
  color: var(--accent-contrast);
}

.drop-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.55rem !important;
}

.drop-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
}

.drop-foot .price {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
}

.drop-cost {
  margin: 0.15rem 0 0 !important;
  font-size: 0.75rem;
}

.order-list {
  margin-top: 2.5rem;
}

.order-list ul,
.movement-list {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.order-card,
.movement-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 1rem;
  padding: 1rem 1.15rem;
}

.order-card p,
.movement-list p {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
}

.order-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.scanner-bar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: center;
  padding: 0.85rem;
  border-radius: 1.15rem;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.scanner-bar .input-field {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: 0.06em;
}

.scanner-bar .btn-primary,
.scanner-bar .btn-ghost {
  grid-column: auto;
}

.scanner-icon {
  display: flex;
  color: var(--accent);
  animation: scan-line 1.6s ease-in-out infinite alternate;
}

@media (min-width: 720px) {
  .scanner-bar {
    grid-template-columns: auto 1fr auto auto;
  }
}

.stock-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

@media (min-width: 720px) {
  .stock-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stock-stats li {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.stock-stats span {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--foreground);
}

.stock-brand {
  margin: 0;
  font-size: 0.7rem !important;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent) !important;
}

.stock-sku {
  margin: 0.45rem 0 0 !important;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem !important;
  color: var(--muted);
}

.stock-flag {
  background: #1f7a4c;
  color: #f4fff8;
}

.stock-flag.bajo {
  background: #c45c12;
  color: #fffaf2;
}

.stock-flag.agotado {
  background: #8b1e1e;
  color: #fff5f5;
}

.barcode-wrap {
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px dashed color-mix(in oklab, var(--foreground) 22%, transparent);
  background: color-mix(in oklab, var(--surface-elevated) 55%, var(--surface));
  padding: 0.75rem 0.6rem 0.35rem;
  color: var(--foreground);
}

.barcode-wrap.compact {
  margin-top: 0.75rem;
  padding: 0.5rem 0.4rem 0.15rem;
}

.barcode-svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 6.5rem;
}

.barcode-svg rect,
.barcode-svg text {
  fill: currentColor;
}

.move-delta {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.move-delta.in {
  color: #1f7a4c;
}

.move-delta.out {
  color: #8b1e1e;
}

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

  .hero-copy,
  .section-head,
  .widget-panel,
  .drawer,
  .modal,
  .theme-menu,
  .scanner-icon {
    animation: none;
  }

  body,
  .btn-primary,
  .btn-ghost,
  .input-field,
  .property-card {
    transition: none;
  }
}
