/* =====================
   RESET
===================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* =====================
   VARIABLES
===================== */
:root {
  --primary: #2563EB;
  --orange: #FF6B35;
  --bg: #f5f7fb;
  --text: #1e293b;
  --max-width: 1200px;
}

/* =====================
   BASE
===================== */
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

/* =====================
   LAYOUT
===================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* =====================
   HEADER
===================== */
.header {
  background: white;
  border-bottom: 1px solid #e5e7eb;
}

.header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header__logo img {
  height: 40px;
}

.logo-mobile {
  display: none;
}


/* ACTIONS */
.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-btn {
  display: none;
  font-size: 20px;
}

/* NAV */
.nav {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
}

.nav__links {
  display: flex;
  gap: 20px;
}

.nav__links a:hover {
  color: var(--primary);
}

.nav__user {
  display: flex;
  gap: 16px;
}

/* =====================
   SLIDER
===================== */
.slider-bleed {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.slider {
  position: relative;
}

.slider-frame {
  overflow: hidden;
  border-radius: 16px;
}

.slider-track {
  display: flex;
}

.slide {
  min-width: 100%;
}

.slide img {
  width: 100%;
}

/* ARROWS */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  border: 1px solid #ddd;
  cursor: pointer;
}

.prev { left: -20px; }
.next { right: -20px; }

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 768px) {

  .logo-desktop {
    display: none;
  }

  .logo-mobile {
    display: block;
  }

  .nav {
    display: none;
  }

  .menu-btn {
    display: block;
  }

}

/*-------------------------------- Corrigiendo css -----------------------------------*/
:root{
  --tm-orange: #FF6B35;
  --tm-orange-hover: #E55627;
  --tm-blue: #004E89;
  --tm-gray-light: #F8F9FA;
  --max-width: 1200px;
  --titulo-naranja:#ffff;
  --titulo-azul: #2563EB;
}

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', system-ui, Arial, sans-serif;
}

/* Estilos base para toda la página */
html, body {
  font-family: sans-serif; /* Cambiala por la fuente que quieras */
  background-color: #ffffff;
  background: #F9FAFB;
  background: #f0f0f0;
  color: #333333;
  line-height: 1.5rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}


/* Enlaces */
a {
  text-decoration: none;
  color: inherit;
}

/*------------------------------------------------------------------------------------------------------------------*/
/* =====================
   RESET
===================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* =====================
   VARIABLES
===================== */
:root {
  --color-bg: #ffffff;
  --color-text: #000000;
}

/* =====================
   BASE
===================== */
html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
}

/* =====================
   MEDIA DEFAULT
===================== */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* =====================
   FORM RESET
===================== */
input,
button,
textarea,
select {
  font: inherit;
}

/* =====================
   LINKS & BUTTONS
===================== */
a {
  text-decoration: none;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

/* ==========================================
   DESARROLLO DE LA PÁGINA WEB
========================================== */
/*----------------------------------------------------------------------------------------------------------*/

/* Imágenes que se adapten */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Focus visible personalizado para accesibilidad */
.focus-ring:focus {
  outline: 3px solid rgba(0,78,137,0.18);
  outline-offset: 3px;
}

/* Card subtle lift */
.card-lift {
  transition: transform .18s ease, box-shadow .18s ease;
}
.card-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(2,6,23,.08);
}

/* Tiny horizontal scroll snap para productos destacados */
.snap-x { scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.snap-child { scroll-snap-align: start; }

/* Badge */
.badge {
  background: linear-gradient(90deg, var(--tm-orange), var(--tm-orange-hover));
  color: white;
  font-weight: 600;
}

.page-shell {
  max-width: 1366px; 
  margin: 0 auto;    
  padding: 0 4rem;
  width: 100%;
  background: #fff;
}

@media(max-width: 1100px){
  .page-shell{
    padding: 0 2rem;
  }
}

@media (max-width: 1024px) {
  .page-shell {
    padding: 0 2rem;
  }
}
@media (max-width: 768px) {
  .page-shell {
    padding: 0 2rem;
  }
}
@media (max-width: 480px) {
  .page-shell {
    padding: 0 1rem;
  }
}


/* Go To Top Button */
#goTopBtn {
  position: fixed;
  bottom: 24px;
  right: 10px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: #F4F4F4;
  color: #2563EB;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  z-index: 9999;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

#goTopBtn:hover {
  background-color: #2563EB;
  background-color: #0a8fd8;
  color: #ffffff;
  
}

#goTopBtn.show {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 480px) {
  #goTopBtn {
    display: none;
  }
}




