html, body {
  overflow-x: hidden;
}
* {
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body {
  font-family: Arial;
  background:#1a1a1a;
  color:white;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  padding-top:70px;
  overflow-y: scroll; 
}

header {
  position:fixed;
  top:0;
  width:100%;
  height:70px;
  background:#111;
  border-bottom:2px solid orange;
  z-index:1000;
}

nav ul {
  display:flex;
  list-style:none;
  gap:25px;
  align-items:center;
}

nav a {
  display:flex;
  align-items:center;
  height:70px;
  color:white;
  text-decoration:none;
  font-weight:700;
  position:relative;
  padding:0 5px;
  transition:0.3s;
}

nav a::after {
  content:"";
  position:absolute;
  bottom:15px;
  left:0;
  width:0;
  height:2px;
  background:orange;
  transition:0.3s;
}

nav a:hover::after {
  width:100%;
}

nav a:hover {
  color:orange;
}

.nav {
  max-width:1200px;
  margin:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  height:70px;
  padding:0 20px;
}

.logo {
  color:orange;
  font-weight:900;
  font-size:20px;
  text-decoration:none; 
  cursor:pointer;
}

.oferta-page {
  flex:1;
  padding:40px 0;
}


 .breadcrumb {
  max-width:1160px;
  margin:0 auto 20px auto;
  padding-left:20px;
  font-weight:900;
  color:orange;
  font-size:14px;
}


.breadcrumb a {
  color:orange;
  text-decoration:none;
  font-weight:900;
  transition:0.2s;
}

.breadcrumb a:hover {
  color:#ffb84d;
}


.breadcrumb span {
  color:white;
  font-weight:900;
}


.oferta-layout {
  max-width:1200px;
  margin:0 auto;
  display:flex;
  gap:25px;
  padding:0 20px;

  overflow:hidden;  
  box-sizing:border-box;
}


.oferta-sidebar {
  width:260px;
  background:#111;
  padding:25px;
  border-radius:14px;
  box-shadow:0 10px 30px rgba(0,0,0,0.5);

  height:fit-content; 
  align-self:flex-start;
}

.oferta-sidebar ul {
  list-style:none;
}

.oferta-sidebar li {
  border-bottom:1px solid #222;
}

.oferta-sidebar a {
  display:block;
  padding:14px 5px;
  color:#ccc;
  text-decoration:none;
  font-size:14px;
  transition:0.2s;
}

.oferta-sidebar a:hover {
  color:orange;
  padding-left:10px;
}


.oferta-grid {
  flex:1;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  padding:25px;
  background:#222;
  border-radius:14px;
  box-shadow:0 10px 30px rgba(0,0,0,0.4);

  align-content:start;
}


.oferta-card {
  background:#2a2a2a;
  height:180px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  border-radius:14px;
  transition:0.25s;
  cursor:pointer;
  text-decoration:none;
  color:white;
  box-shadow:0 10px 25px rgba(0,0,0,0.5);
}


.oferta-card img {
  width:65px;
  margin-bottom:10px;
  filter:brightness(0) invert(1);
  opacity:0.85;
}


.oferta-card p {
  font-size:13px;
  font-weight:bold;
  padding:0 8px;
}


.oferta-card:hover {
  transform:translateY(-5px);
  box-shadow:
    0 15px 35px rgba(0,0,0,0.7),
    0 0 10px rgba(255,165,0,0.25);
}


footer {
  margin-top:auto;
  background:#111;
  text-align:center;
  padding:20px;
  border-top:2px solid orange;
  color:#aaa;
}




@media(max-width:1200px){
  .oferta-grid {
    grid-template-columns:repeat(3,1fr);
  }
}


@media(max-width:900px){

  .oferta-layout {
    flex-direction:column;
  }

  .oferta-sidebar {
    width:100%;
  }

 
  .oferta-sidebar ul {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
  }

  .oferta-sidebar li {
    border:none;
  }

  .oferta-sidebar a {
    background:#1f1f1f;
    padding:10px 12px;
    border-radius:10px;
  }

  .oferta-grid {
    grid-template-columns:repeat(2,1fr);
  }
}


@media(max-width:600px){

  .breadcrumb {
    font-size:12px;
  }

  .oferta-grid {
    grid-template-columns:1fr;
    gap:15px;
    padding:15px;
  }

  .oferta-card {
    height:160px;
  }

  .oferta-card img {
    width:55px;
  }

  .oferta-card p {
    font-size:12px;
  }
}


@media(max-width:400px){
  .oferta-card {
    height:140px;
  }
}
.oferta-card.external {
  position: relative;
}

.oferta-card.external::after {
  content:"↗";
  position:absolute;
  top:10px;
  right:10px;
  color:orange;
  font-size:16px;
  font-weight:bold;
  opacity:0.8;
}

.oferta-sidebar .disabled-link {
  display:block;
  padding:14px 5px;
  color:#ccc;
  font-size:14px;
  text-decoration:none;
  cursor:default;
}

.oferta-sidebar .disabled-link:hover {
  color:orange;
  padding-left:10px;
}
@media(max-width:768px){

  body {
    overflow-x: hidden;
  }

  .nav {
    padding: 0 15px;
  }

  .logo {
    font-size: 16px;
  }

  nav ul {
    gap: 15px;
  }

  section {
    padding: 40px 15px;
  }

  h1 {
    font-size: 22px;
  }

  h2 {
    font-size: 20px;
  }

  p {
    font-size: 14px;
  }

}
.oferta-sidebar {
  min-width:0;
}

.oferta-grid {
  min-width:0;
  width:100%;
}
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a; 
}

::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: orange;
}