/* ============================================================
   NOVA ENGEL — CSS Restructurado
   Variables: 6 | Colores marca solo en fondos y botones
   Textos: blanco o negro según el fondo
   ============================================================ */

/* ==============================
   VARIABLES DE COLOR
   ============================== */
:root {
  --brand:     #a69f95;   /* color de marca — taupe cálido */
  --teal:      #a5cac7;   /* secundario — verde salvia */
  --mauve:     #8b8089;   /* bloques oscuros */
  --muted:     #888888;
  --dark:      #1c1c1c;  
  --cool:      #c1c1c1;   /* opción alternativa — gris azulado */
  --surface:   #f7f8fa;   /* fondo de página */
  --surface-2: #eceff3;   /* fondo alternativo ligeramente más oscuro */
}

/* ==============================
   RESET & BASE
   ============================== */
*, *::before, *::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: currentColor;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate:      0deg;
  --tw-scale-x:     1;
  --tw-scale-y:     1;
}

html {
  scroll-behavior: smooth;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.logo-blanco {
  filter: brightness(0) invert(1);
}

img, svg { display: block; vertical-align: middle; max-width: 100%; }
button, input, textarea, select { font: inherit; }
a { color: inherit; text-decoration: inherit; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; margin: 0; }
p, ul, ol, dl { margin: 0; }
ul, ol { list-style: none; padding: 0; }

/* ==============================
   DISPLAY
   ============================== */
.block       { display: block; }
.inline-flex { display: inline-flex; }
.flex        { display: flex; }
.grid        { display: grid; }
.hidden      { display: none; }

/* ==============================
   FLEXBOX
   ============================== */
.flex-col      { flex-direction: column; }
.flex-row      { flex-direction: row; }
.flex-shrink-0, .shrink-0 { flex-shrink: 0; }
.self-start  { align-self: flex-start; }
.self-center { align-self: center; }
.self-end    { align-self: flex-end; }

.items-start   { align-items: flex-start; }
.items-center  { align-items: center; }

.justify-center  { justify-content: center; }
.justify-end     { justify-content: flex-end; }
.justify-between { justify-content: space-between; }

/* ==============================
   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-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }

.col-span-1  { grid-column: span 1 / span 1; }

/* ==============================
   GAP
   ============================== */
.gap-1  { gap: 0.25rem; }
.gap-2  { gap: 0.5rem; }
.gap-4  { gap: 1rem; }
.gap-5  { gap: 1.25rem; }
.gap-6  { gap: 1.5rem; }
.gap-8  { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }

/* ==============================
   PADDING
   ============================== */
.p-2   { padding: 0.5rem; }
.p-3   { padding: 0.75rem; }
.p-4   { padding: 1rem; }
.p-6   { padding: 1.5rem; }
.p-8   { padding: 2rem; }
.p-10  { padding: 2.5rem; }
.p-12  { padding: 3rem; }

.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; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }

.py-1  { padding-top: 0.25rem;  padding-bottom: 0.25rem; }
.py-2  { padding-top: 0.5rem;   padding-bottom: 0.5rem; }
.py-3  { padding-top: 0.75rem;  padding-bottom: 0.75rem; } /* usado por JS */
.py-4  { padding-top: 1rem;     padding-bottom: 1rem; }
.py-5  { padding-top: 1.25rem;  padding-bottom: 1.25rem; } /* usado por JS */
.py-12 { padding-top: 2rem;     padding-bottom: 2rem; }
.py-16 { padding-top: 4rem;     padding-bottom: 4rem; }
.py-24 { padding-top: 6rem;     padding-bottom: 6rem; }

@media (min-width: 768px) {
  .md\:py-24 { padding-top: 6rem;  padding-bottom: 6rem; }
  .md\:p-12  { padding: 3rem; }
  .md\:p-10  { padding: 2.5rem; }
}

.pt-4  { padding-top: 1rem; }
.pt-6  { padding-top: 1.5rem; }
.pt-8  { padding-top: 2rem; }
.pt-20 { padding-top: 5rem; }
.pt-26 { padding-top: 6rem; }
.pt-32 { padding-top: 8rem; }

.pb-1  { padding-bottom: 0.25rem; }
.pb-2  { padding-bottom: 0.5rem; }
.pb-16 { padding-bottom: 4rem; }

/* ==============================
   MARGIN
   ============================== */
.mx-auto { margin-left: auto; margin-right: auto; }

.mt-1    { margin-top: 0.25rem; }
.mt-2    { margin-top: 0.5rem; }
.mt-4    { margin-top: 1rem; }
.mt-6    { margin-top: 1.5rem; }
.mt-8    { margin-top: 2rem; }
.mt-12   { margin-top: 3rem; }
.mt-auto { margin-top: auto; }

.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-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-20 { margin-bottom: 5rem; }
.mb-24 { margin-bottom: 6rem; }
.mb-32 { margin-bottom: 8rem; }

.ml-2  { margin-left: 0.5rem; }
.ml-4  { margin-left: 1rem; }

/* Negativos */
.-mb-32 { margin-bottom: -8rem; }
.-ml-32 { margin-left:   -8rem; }
.-mr-32 { margin-right:  -8rem; }
.-mt-32 { margin-top:    -8rem; }

/* Space Between */
.space-x-1 > * + * { margin-left: 0.25rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-6 > * + * { margin-left: 1.5rem; }
.space-x-8 > * + * { margin-left: 2rem; }

.space-y-2  > * + * { margin-top: 0.5rem; }
.space-y-4  > * + * { margin-top: 1rem; }
.space-y-6  > * + * { margin-top: 1.5rem; }
.space-y-8  > * + * { margin-top: 2rem; }
.space-y-12 > * + * { margin-top: 3rem; }

/* ==============================
   ANCHURA
   ============================== */
.w-3    { width: 0.75rem; }
.w-4    { width: 1rem; }
.w-5    { width: 1.25rem; }
.w-6    { width: 1.5rem; }
.w-8    { width: 2rem; }
.w-10   { width: 2.5rem; }
.w-12   { width: 3rem; }
.w-14   { width: 3.5rem; }
.w-16   { width: 4rem; }
.w-20   { width: 5rem; }
.w-24   { width: 6rem; }
.w-32   { width: 8rem; }
.w-48   { width: 12rem; }
.w-64   { width: 16rem; }
.w-96   { width: 24rem; }
.w-auto { width: auto; }
.w-full { width: 100%; }

/* ==============================
   ALTURA
   ============================== */
.h-3    { height: 0.75rem; }
.h-4    { height: 1rem; }
.h-5    { height: 1.25rem; }
.h-6    { height: 1.5rem; }
.h-8    { height: 2rem; }
.h-10   { height: 2.5rem; }
.h-12   { height: 3rem; }
.h-14   { height: 3.5rem; }
.h-16   { height: 4rem; }
.h-20   { height: 5rem; }
.h-32   { height: 8rem; }
.h-48   { height: 12rem; }
.h-64   { height: 16rem; }
.h-68   { height: 17rem; }
.h-80   { height: 20rem; }
.h-96   { height: 24rem; }
.h-full { height: 100%; }
.h-auto  { height: auto; }

.h-\[40px\] { height: 40px; }
.h-\[50px\] { height: 50px; }
.h-\[60px\] { height: 60px; }
.h-\[75vh\] { height: 75vh; }

.min-h-full      { min-height: 100%; }
.min-h-\[500px\] { min-height: 500px; }

/* ==============================
   MAX-WIDTH
   ============================== */
.max-w-md         { max-width: 28rem; }
.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-7xl        { max-width: 80rem; }
.max-w-screen-2xl { max-width: 1536px; }

/* ==============================
   ASPECT RATIO
   ============================== */
.aspect-square { aspect-ratio: 1 / 1; }

/* ==============================
   POSICIONAMIENTO
   ============================== */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed    { position: fixed; }

.inset-0   { top: 0; right: 0; bottom: 0; left: 0; }

.top-0    { top: 0; }
.top-1\/2 { top: 50%; }
.top-1\/3 { top: 33.333333%; }

.bottom-0 { bottom: 0; }
.bottom-6 { bottom: 1.5rem; }
.bottom-8 { bottom: 2rem; }

.left-0    { left: 0; }
.left-1\/2 { left: 50%; }
.left-1\/3 { left: 33.333333%; }
.left-2\/3 { left: 66.666667%; }

.right-0  { right: 0; }
.right-8  { right: 2rem; }

/* Negativos */
.-bottom-12 { bottom: -3rem; }
.-left-12   { left:   -3rem; }

/* Z-INDEX */
.z-10      { z-index: 10; }
.z-50      { z-index: 50; }
.z-\[60\]  { z-index: 60; }

/* ==============================
   TRANSFORMS
   ============================== */
.transform,
.translate-x-full,
.translate-x-1\/2,
.translate-y-1\/2,
.translate-y-\[2\%\],
.-translate-x-1\/2,
.-translate-y-1\/2,
.scale-\[1\.5\],
.group-hover\:scale-110,
.group-hover\:rotate-6 {
  transform:
    translateX(var(--tw-translate-x))
    translateY(var(--tw-translate-y))
    rotate(var(--tw-rotate))
    scaleX(var(--tw-scale-x))
    scaleY(var(--tw-scale-y));
}

.translate-x-full    { --tw-translate-x: 100%; }
.translate-x-1\/2    { --tw-translate-x: 50%; }
.translate-y-1\/2    { --tw-translate-y: 50%; }
.translate-y-\[2\%\] { --tw-translate-y: 2%; }
.-translate-x-1\/2   { --tw-translate-x: -50%; }
.-translate-y-1\/2   { --tw-translate-y: -50%; }
.scale-\[1\.5\]      { --tw-scale-x: 1.5; --tw-scale-y: 1.5; }

/* ==============================
   TIPOGRAFÍA — FAMILIA
   ============================== */
.font-headline { font-family: 'Playfair Display', serif; }
.font-body     { font-family: 'Inter', sans-serif; }
.font-label    { font-family: 'Inter', sans-serif; }

/* ==============================
   TIPOGRAFÍA — TAMAÑO
   ============================== */
.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-2xl-plus { font-size: 1.675rem; line-height: 2.1rem; }
.text-3xl   { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl   { font-size: 2.25rem;  line-height: 2.5rem; }
.text-5xl   { font-size: 2.25rem;  line-height: 2.5rem; }

.text-\[10px\] { font-size: 10px; }
.text-\[11px\] { font-size: 11px; }
.text-\[12px\] { font-size: 12px; }

/* ==============================
   TIPOGRAFÍA — PESO
   ============================== */
.font-normal   { font-weight: 400; }
.font-medium   { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold     { font-weight: 700; }

/* ==============================
   TIPOGRAFÍA — INTERLINEADO
   ============================== */
.leading-tight   { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

/* ==============================
   TIPOGRAFÍA — TRACKING
   ============================== */
.tracking-tight       { 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; }

/* ==============================
   TIPOGRAFÍA — OTRAS
   ============================== */
.uppercase           { text-transform: uppercase; }
.text-center         { text-align: center; }
.antialiased         { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.whitespace-nowrap   { white-space: nowrap; }
.whitespace-pre-line { white-space: pre-line; }
.list-none           { list-style: none; }

/* ==============================
   COLORES — TEXTO
   ============================== */
.text-dark  { color: var(--dark); }
.text-mauve  { color: var(--mauve); }
.text-muted { color: var(--muted); }
.text-white { color: #ffffff; }
.text-black { color: #000000; }

.text-white\/50 { color: rgba(255,255,255,0.50); }
.text-white\/60 { color: rgba(255,255,255,0.60); }
.text-white\/70 { color: rgba(255,255,255,0.70); }
.text-white\/80 { color: rgba(255,255,255,0.80); }

/* ==============================
   COLORES — FONDO
   ============================== */
.bg-brand     { background-color: var(--brand); }
.bg-teal      { background-color: var(--teal); }
.bg-mauve     { background-color: var(--mauve); }
.bg-muted     { background-color: var(--muted); }
.bg-dark     { background-color: var(--dark); }
.bg-cool      { background-color: var(--cool); }
.bg-surface   { background-color: var(--surface); }
.bg-surface-2 { background-color: var(--surface-2); }
.bg-white     { background-color: #ffffff; }

/* Fondos con opacidad */
.bg-brand\/5   { background-color: rgba(166,159,149,0.05); }
.bg-brand\/10  { background-color: rgba(166,159,149,0.10); }
.bg-teal\/20   { background-color: rgba(165,202,199,0.20); }
.bg-teal\/10   { background-color: rgba(165,202,199,0.10); }
.bg-teal\/5    { background-color: rgba(165,202,199,0.05); }
.bg-mauve\/20  { background-color: rgba(139,128,137,0.20); }
.bg-white\/5   { background-color: rgba(255,255,255,0.05); }
.bg-white\/10  { background-color: rgba(255,255,255,0.10); }
.bg-white\/20  { background-color: rgba(255,255,255,0.20); }
.bg-white\/40  { background-color: rgba(255,255,255,0.40); }
.bg-white\/85  { background-color: rgba(255,255,255,0.85); }

/* ==============================
   BORDE — COLOR
   ============================== */
.border-transparent { border-color: transparent; }
.border-white       { border-color: #ffffff; }
.border-black       { border-color: #000000; }
.border-light       { border-color: rgba(0,0,0,0.08); }
.border-brand-5     { border-color: rgba(166,159,149,0.05); }
.border-white-10    { border-color: rgba(255,255,255,0.10); }
.border-white-45    { border-color: rgba(255,255,255,0.45); }

/* ==============================
   BORDE — GROSOR
   ============================== */
.border    { border-width: 1px; }
.border-2  { border-width: 2px; }
.border-t  { border-top-width: 1px; }
.border-b  { border-bottom-width: 1px; }
.border-b-2 { border-bottom-width: 2px; }

/* ==============================
   BORDE — RADIO
   ============================== */
.rounded              { border-radius: 0.25rem; }
.rounded-lg           { border-radius: 0.5rem; }
.rounded-xl           { border-radius: 0.75rem; }
.rounded-2xl          { border-radius: 1rem; }
.rounded-3xl          { border-radius: 1.5rem; }
.rounded-full         { border-radius: 9999px; }
.rounded-\[2\.5rem\]  { border-radius: 2.5rem; }
.rounded-\[3rem\]     { border-radius: 3rem; }

/* ==============================
   SOMBRAS
   ============================== */
.shadow-sm    { box-shadow: 0 1px 2px 0 rgba(0,0,0,.05); }
.shadow-md    { box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1); }
.shadow-lg    { box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1); }
.shadow-xl    { box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1); }
.shadow-2xl   { box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); }
.shadow-inner { box-shadow: inset 0 2px 4px 0 rgba(0,0,0,.05); }

/* ==============================
   OPACIDAD
   ============================== */
.opacity-0          { opacity: 0; }
.opacity-20         { opacity: 0.2; }
.opacity-40         { opacity: 0.4; }
.opacity-50         { opacity: 0.5; }
.opacity-60         { opacity: 0.6; }
.opacity-70         { opacity: 0.7; }
.opacity-80         { opacity: 0.8; }
.opacity-90         { opacity: 0.9; }
.opacity-\[0\.03\]  { opacity: 0.03; }

/* ==============================
   FILTROS
   ============================== */
.grayscale    { filter: grayscale(100%); }
.contrast-125 { filter: contrast(1.25); }
.blur-3xl     { filter: blur(64px); }

.backdrop-blur-sm { -webkit-backdrop-filter: blur(4px);  backdrop-filter: blur(4px); }
.backdrop-blur-md { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.backdrop-blur-xl { -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }

/* ==============================
   TRANSICIONES
   ============================== */
.transition-all       { transition: all 150ms cubic-bezier(0.4,0,0.2,1); }
.transition-colors    { transition: color 150ms cubic-bezier(0.4,0,0.2,1),
                                    background-color 150ms cubic-bezier(0.4,0,0.2,1),
                                    border-color 150ms cubic-bezier(0.4,0,0.2,1); }
.transition-opacity   { transition: opacity 150ms cubic-bezier(0.4,0,0.2,1); }
.transition-transform { transition: transform 150ms cubic-bezier(0.4,0,0.2,1); }

.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }

/* ==============================
   ANIMACIONES
   ============================== */
@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}
.animate-ping {
  animation: ping 1s cubic-bezier(0,0,0.2,1) infinite;
}

/* ==============================
   OVERFLOW & VISIBILITY
   ============================== */
.overflow-hidden     { overflow: hidden; }
.overflow-y-auto     { overflow-y: auto; }
.invisible           { visibility: hidden; }
.pointer-events-none { pointer-events: none; }

/* ==============================
   MISCELÁNEA
   ============================== */
.cursor-pointer { cursor: pointer; }
.object-cover   { object-fit: cover; }
.group          { }

/* ==============================
   FOCUS
   ============================== */
.focus\:outline-none:focus { outline: none; }

/* ==============================
   HOVER
   ============================== */
.hover\:bg-teal:hover      { background-color: var(--teal); }
.hover\:bg-surface:hover   { background-color: var(--surface); }
.hover\:bg-surface-2:hover { background-color: var(--surface-2); }
.hover\:bg-dark:hover      { background-color: #2f2c30; }
.hover\:bg-white:hover     { background-color: #ffffff; }
.hover\:bg-white\/10:hover { background-color: rgba(255,255,255,0.10); }
.hover\:bg-white\/20:hover { background-color: rgba(255,255,255,0.20); }
.hover\:bg-white\/60:hover { background-color: rgba(255,255,255,0.60); }

.hover\:text-white:hover   { color: #ffffff; }
.hover\:text-dark:hover    { color: #1c1c1c; }
.hover\:text-black:hover   { color: #000000; }

.hover\:border-light:hover { border-color: rgba(0,0,0,0.08); }
.hover\:border-teal:hover  { border-color: var(--teal); }
.hover\:border-brand:hover { border-color: var(--brand); }
.hover\:border-mauve:hover { border-color: var(--mauve); }

.hover\:shadow-md:hover  { box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1); }
.hover\:shadow-xl:hover  { box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1); }
.hover\:shadow-2xl:hover { box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); }

/* ==============================
   GROUP-HOVER
   ============================== */
.group:hover .group-hover\:opacity-100,
.group:focus-within .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:visible,
.group:focus-within .group-hover\:visible     { visibility: visible; }
.group:hover .group-hover\:block       { display: block; }
.group:hover .group-hover\:hidden      { display: none; }
.group:hover .group-hover\:text-white  { color: #ffffff; }
.group:hover .group-hover\:bg-brand    { background-color: var(--brand); }
.group:hover .group-hover\:bg-mauve    { background-color: var(--mauve); }
.group:hover .group-hover\:bg-teal    { background-color: var(--teal); }
.group:hover .group-hover\:scale-110   { --tw-scale-x: 1.1; --tw-scale-y: 1.1; }
.group:hover .group-hover\:rotate-6    { --tw-rotate: 6deg; }

/* Group open (details/summary) */
details[open] .group-open\:rotate-180 {
  --tw-rotate: 180deg;
  transform:
    translateX(var(--tw-translate-x))
    translateY(var(--tw-translate-y))
    rotate(var(--tw-rotate))
    scaleX(var(--tw-scale-x))
    scaleY(var(--tw-scale-y));
}

/* ==============================
   RESPONSIVE — sm: (≥640px)
   ============================== */
@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ==============================
   RESPONSIVE — nav breakpoint personalizado (768px–829px)
   En este rango se fuerza el menú móvil aunque md: diga lo contrario
   ============================== */
@media (min-width: 768px) and (max-width: 829px) {
  #top-nav .md\:flex   { display: none !important; }   /* ocultar links desktop */
  #top-nav .md\:hidden { display: block !important; }  /* mostrar botón hamburguesa */
  #mobile-menu         { display: block !important; }  /* permitir que el menú móvil funcione */
}

/* ==============================
   RESPONSIVE — nav desktop (830px–899px)
   Reduce separación entre enlaces del menú principal
   ============================== */
@media (min-width: 830px) and (max-width: 899px) {
  #top-nav .space-x-8 > * + * { margin-left: 1.4rem; }
}

/* ==============================
   RESPONSIVE — md: (≥768px)
   ============================== */
@media (min-width: 768px) {
  .md\:block    { display: block; }
  .md\:flex     { display: flex; }
  .md\:hidden   { display: none; }

  .md\:flex-row { flex-direction: row; }

  .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\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

  .md\:col-span-1  { grid-column: span 1  / span 1; }
  .md\:col-span-2  { grid-column: span 2  / span 2; }
  .md\:col-span-4  { grid-column: span 4  / span 4; }
  .md\:col-span-5  { grid-column: span 5  / span 5; }
  .md\:col-span-6  { grid-column: span 6  / span 6; }
  .md\:col-span-7  { grid-column: span 7  / span 7; }
  .md\:col-span-8  { grid-column: span 8  / span 8; }

  .md\:w-1\/2  { width: 50%; }
  .md\:w-2\/3  { width: 66.666667%; }

  .md\:h-\[60px\] { height: 60px; }
  .md\:h-\[65vh\] { height: 65vh; }
  .md\:h-\[72px\] { height: 72px; }

  .md\:text-xl       { font-size: 1.25rem;  line-height: 1.75rem; }
  .md\:text-2xl      { font-size: 1.5rem;   line-height: 2rem; }
  .md\:text-2xl-plus { font-size: 1.675rem; line-height: 2.1rem; }
  .md\:text-3xl      { font-size: 1.875rem; line-height: 2.25rem; }
  .md\:text-4xl { font-size: 2.25rem;  line-height: 2.5rem; }
  .md\:text-5xl { font-size: 3rem;     line-height: 1; }
  .md\:text-7xl { font-size: 4.5rem;   line-height: 1.13; }

  .md\:leading-none { line-height: 1; }

  .md\:px-8  { padding-left: 2rem;  padding-right: 2rem; }
  .md\:px-10  { padding-left: 2.5rem;  padding-right: 2.5rem; }
  .md\:px-12 { padding-left: 3rem;  padding-right: 3rem; }
  .md\:py-24 { padding-top: 6rem;   padding-bottom: 6rem; }
  .md\:p-16  { padding: 4rem; }
  .md\:p-20  { padding: 5rem; }
  .md\:pt-32  { padding-top: 8rem; }
  .md\:pt-0  { padding-top: 0; }

  .md\:scale-\[1\.2\] {
    --tw-scale-x: 1.2; --tw-scale-y: 1.2;
    transform:
      translateX(var(--tw-translate-x))
      translateY(var(--tw-translate-y))
      rotate(var(--tw-rotate))
      scaleX(var(--tw-scale-x))
      scaleY(var(--tw-scale-y));
  }

  .md\:translate-y-\[10\%\] {
    --tw-translate-y: 10%;
    transform:
      translateX(var(--tw-translate-x))
      translateY(var(--tw-translate-y))
      rotate(var(--tw-rotate))
      scaleX(var(--tw-scale-x))
      scaleY(var(--tw-scale-y));
  }
}

/* ==============================
   RESPONSIVE — lg: (≥1024px)
   ============================== */
@media (min-width: 1024px) {
  .lg\:flex-row    { flex-direction: row; }
  .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\:w-1\/2      { width: 50%; }
}

/* ============================================================
   COMPONENTES
   ============================================================ */

/* Skip-to-content (accesibilidad) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: var(--mauve);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 0.5rem 0;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

/* Focus visible accesible */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 3px;
}
:focus:not(:focus-visible) { outline: none; }

/* Hero */
.hero-section { height: 75vh; }
@media (min-width: 768px) {
  .hero-section { height: 65vh; }
}

/* Tarjetas bento */
.bento-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bento-card:hover { transform: translateY(-5px); }

/* Navegación */
.nav-link {
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

/* Menú móvil */
#mobile-menu { transition: transform 0.3s ease-in-out; }
#mobile-menu.translate-x-full { transform: translateX(100%); }

/* Footer */
footer a {     outline: 0;
    text-decoration: none;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s; }
footer a:hover {
  padding-left: 5px;
}
.no-padding {
    padding-left: 0px !important;
}

/* Breadcrumb (fondo oscuro) */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 70%;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1rem;
}
.breadcrumbs {
    font-size: 85%;
    opacity: .6
}
.breadcrumb a { color: rgba(255,255,255,0.65); text-decoration: none; transition: color 0.2s ease; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb-separator { color: rgba(255,255,255,0.35); font-size: 0.65rem; }

/* Breadcrumb (fondo claro) */
.breadcrumb-light         { color: #888888; }
.breadcrumb-light a       { color: #888888; }
.breadcrumb-light a:hover { color: #1c1c1c; }
.breadcrumb-light .breadcrumb-separator { color: #aaaaaa; }

/* Tarjetas con hover */
.card-hover { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* Etiqueta de sección */
.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #888888;
  display: block;
  margin-bottom: 1rem;
}

/* ==============================
   ESQUEMA DROPSHIPPING
   Imagen vertical: ancho completo en móvil, contenida en desktop
   ============================== */
.esquema-img {
  width: 100%;
  max-width: 420px;
}
@media (max-width: 767px) {
  .esquema-img { max-width: 100%; }
}

/* ==============================
   PRINT
   ============================== */
@media print {
  #top-nav, #mobile-menu, footer { display: none; }
  body { font-size: 12pt; color: #000; }
  a::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #555; }
}
